Variational adjoint #
Definition of adjoint of linear function between function spaces. It is inspired by the definition of distributional adjoint of linear maps between test functions as described here: https://en.wikipedia.org/wiki/Distribution_(mathematics) under 'Preliminaries: Transpose of a linear operator' but we require that the adjoint is function between test functions too.
The key results are:
- variational adjoint is unique on test functions
- variational adjoint of identity is identity,
HasVarAdjoint.id
- variational adjoint of composition is composition of adjoint in reverse order,
HasVarAdjoint.comp
- variational adjoint of deriv is
- deriv
,HasVarAdjoint.deriv
- variational adjoint of algebraic operations is algebraic operation of adjoints,
HasVarAdjoint.neg
,HasVarAdjoint.add
,HasVarAdjoint.sub
,HasVarAdjoint.mul_left
,HasVarAdjoint.mul_right
,HasVarAdjoint.smul_left
,HasVarAdjoint.smul_right
Function transformation F
is localizable if the values of the transformed function F φ
on
some compact set K
can depend only on the values of φ
on some another compact set L
.
Equations
Instances For
Map F
from (X → U)
to (X → V)
has a variational adjoint F'
if it preserves
test functions and satisfies the adjoint relation ⟪F φ, ψ⟫ = ⟪φ, F' ψ⟫
for all test functions
φ
and ψ
for ⟪φ, ψ⟫ = ∫ x, ⟪φ x, ψ x⟫_ℝ ∂μ
.
The canonical example is the function F = deriv
that has adjoint F' = - deriv
.
This notion of adjoint allows us to do formally variational calculus as often encountered in physics textbooks. In mathematical literature, the adjoint is often defined for unbounded operators, but such formal treatement is unnecessarily complicated for physics applications.
- test_fun_preserving (φ : X → U) : IsTestFunction φ → IsTestFunction (F φ)
- test_fun_preserving' (φ : Y → V) : IsTestFunction φ → IsTestFunction (F' φ)
- ext : IsLocalizedFunctionTransform F'
Instances For
Variational adjoint is unique only when applied to test functions.
Variational adjoint is unique only when applied to smooth functions.