Physlib.Mathematics.VariationalCalculus.HasVarAdjoint
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`
27 declarations
Symmetry of the variational adjoint for localized transforms
Let and be transformations between function spaces. If is the variational adjoint of , and is a localized function transform, then is the variational adjoint of . A function transformation is said to be **localized** if for every compact set , there exists a compact set such that for any two functions , if for all , then for all .
The variational adjoint of the identity is the identity
The identity transformation , defined by for any function , is its own variational adjoint.
The variational adjoint of the zero operator is the zero operator
The zero transformation , defined by for all functions , has a variational adjoint given by the zero transformation , defined by for all functions .
The variational adjoint of is
Let and be transformations between function spaces. Suppose has a variational adjoint , and has a variational adjoint . Then the composition of these transformations (where ) has a variational adjoint given by the composition of their adjoints in reverse order, (where ).
Equality on test functions implies the same variational adjoint
Let and be operators between function spaces. If is the variational adjoint of , and for every test function , the equality holds, then is also the variational adjoint of .
Equality on test functions implies variational adjointness for localized transforms
Let and be transformations between function spaces. Suppose that is a variational adjoint of , and that for every test function , the condition holds. If is a localized function transform, then is also a variational adjoint of . A function transformation is said to be **localized** if for every compact set , there exists a compact set such that for any two functions , if and agree on (i.e., for all ), then and agree on (i.e., for all ).
Uniqueness of variational adjoint on test functions
Let be a space equipped with a measure (the volume measure) such that open sets are measurable, is finite on compact sets, and is strictly positive on non-empty open sets. Let be an operator mapping functions from to to functions from to . If and are both variational adjoints of , then for every test function (a smooth function with compact support), the equality holds.
Variational Adjoints of are Equal on Smooth Functions
Let and be real inner product spaces equipped with measures, and let be finite-dimensional. Assume that the volume measure on is finite on compact sets and strictly positive on non-empty open sets. Let be an operator mapping functions from to to functions from to . If and are both variational adjoints of , then for any smooth () function , it holds that .
The variational adjoint of is
Let be a function transformation from functions on to functions on , and let be its variational adjoint. Then the transformation defined by has a variational adjoint defined by .
If has variational adjoint , then has variational adjoint
Let be a function transformation mapping functions from to into functions from to , and let be a function transformation mapping functions from to into functions from to . If the transformation defined by has the variational adjoint , then has the variational adjoint .
The variational adjoint of is
Let and be function transformations mapping functions from to into functions from to . If has a variational adjoint and has a variational adjoint , then the pointwise sum transformation , defined by , has the variational adjoint , defined by .
The variational adjoint of is
Let be a finite index set. For each , let be an operator mapping functions from to to functions from to , and let be its corresponding variational adjoint mapping functions from to to functions from to . If for every , has the variational adjoint , then the sum of these operators has a variational adjoint given by the sum of their individual adjoints . Specifically, the operator mapping to the pointwise sum has the variational adjoint mapping to .
The variational adjoint of is
Let and be transformations mapping functions from to into functions from to . If has a variational adjoint and has a variational adjoint , then the pointwise difference transformation , defined by , has the variational adjoint , defined by .
Variational Adjoint of is
Suppose is an operator that maps functions to functions , and is its variational adjoint. If is a smooth () function, then the operator mapping to the pointwise product has a variational adjoint which maps a function to , where is the pointwise product of and .
Variational adjoint of right multiplication by a smooth function
Let and be spaces. Let be an operator that possesses a variational adjoint . If is a smooth function (i.e., is ), then the operator defined by the pointwise product also has a variational adjoint. This adjoint is given by the mapping , where .
Variational adjoint of is
Let be an operator mapping functions to functions , and let be its variational adjoint. If is a smooth () function, then the operator that maps to the pointwise scalar product has a variational adjoint. This adjoint maps a function to , where .
Variational adjoint of scalar multiplication by a smooth function
Let be an operator that possesses a variational adjoint . If is a smooth () function, then the operator defined by the pointwise scalar multiplication also has a variational adjoint. This adjoint is given by the mapping , where .
The variational adjoint of is
Let and be complete generalized inner product spaces over . Let be an infinitely differentiable () function that maps each point to a continuous linear map . Then the operator that maps a function to the function has a variational adjoint. This variational adjoint maps a function to the function defined by , where is the adjoint of the continuous linear map .
The variational adjoint of the derivative is the negative derivative
Let be a real generalized inner product space. The derivative operator, which maps a function to its derivative , possesses a variational adjoint. This adjoint operator maps a function to its negative derivative . This relationship corresponds to the identity for all test functions and .
The variational adjoint of is
Let be a finite-dimensional real vector space equipped with an additive Haar measure (volume), and let be a real generalized inner product space. For any fixed vector , the linear operator that maps a test function to its directional Fréchet derivative has a variational adjoint . This adjoint operator is given by , where denotes the Fréchet derivative of the test function at .
The variational adjoint of is
Let and be real generalized inner product spaces, where is finite-dimensional, proper, and equipped with an additive Haar measure. For a fixed vector , let be the linear operator that maps a function to the function , where is the adjoint of the Fréchet derivative of at . The variational adjoint of is the operator that maps a function to the function . This relationship is characterized by the identity: for all test functions and .
The variational adjoint of is
Let be the -dimensional real inner product space denoted by `Space d`. Let be the operator that maps a scalar function to its gradient field . The variational adjoint of is the operator that maps a vector field to the scalar function , where denotes the representation of a vector in the canonical basis of . This relationship is defined by the integral identity: for all test functions and .
The variational adjoint of is
Let be a -dimensional real inner product space (denoted as `Space d`). The operator that maps a scalar function to its gradient field has a variational adjoint. This adjoint maps a vector field to the scalar function defined by , where is the divergence operator. This relationship is characterized by the integral identity: for all appropriate test functions and .
The variational adjoint of is
Let be a -dimensional real inner product space (denoted as `Space d`). The divergence operator, which maps a vector field to a scalar function , has a variational adjoint. This adjoint maps a scalar function to the vector field defined by , where is the gradient operator. This relationship is characterized by the integral identity: for all appropriate test functions and .
The variational adjoint of is
Let be a measurable space where open sets are measurable, and let the volume measure on be finite on compact sets. Let and be operators with variational adjoints and , respectively. Then the product operator , which maps a function to the pair of functions , has a variational adjoint . For any function , this adjoint is given by where and are the first and second components of in , respectively.
Variational Adjoint of the First Component of an Operator
Let be a space and be target spaces. Let be an operator that maps functions to functions . If has a variational adjoint , then the operator defined by the first component of , , also has a variational adjoint . For any function , this adjoint is given by , where is the function defined by for all .
Variational Adjoint of the Second Component Operator
Let be an operator that maps functions to functions . Suppose has a variational adjoint . Then the operator defined by (the projection onto the second component of the output) also has a variational adjoint. This adjoint maps a test function to , where is the function defined by .
