Definitions for Quantum dynamical semigroups for diffusion models with Hartree interaction
DefinitionQAlgorithms_Papers_Independent_Intakenext100_P11The objects the formalized statements of Quantum dynamical semigroups for diffusion models with Hartree interaction (arXiv:math-ph/0309052) are stated in. Each was checked against the paper by a blind read-back and a moderator.
Position: Cartesian coordinates on real d-space, with its usual product Lebesgue measure.L2Space: The paper's complex L² space, as equivalence classes modulo almost-everywhere equality.CoordinateGenerator: Labels for position and momentum generators, respectively.QuadraticExpression: An ordered polynomial of total degree at most two in position and momentum. The coefficientquadratic a bmultiplies the composition a after b. Coefficients are arbitrary complex numbers; symmetry and ellipticity are not assumed.coordinateDerivative: Coordinate derivative of a smooth complex function along the kth real coordinate.generatorAction: Position is multiplication by x_k; momentum is -i times the coordinate derivative.transposeGeneratorAction: The bilinear distributional transpose of a coordinate generator: x_k stays unchanged, while -i∂_k becomes +i∂_k. No complex conjugation is taken.quadraticAction: The differential expression p₂(x,-i∇), including constant and linear terms.quadraticTransposeAction: The formal bilinear transpose of the same ordered expression. Transposition reverses each word: (A B)ᵗ = Bᵗ Aᵗ.initialQuadraticGraph: Graph of the initial realization on complex C_c^∞ functions, (3.8), PDF p.8. The explicit MemLp witnesses merely construct the L² classes of the smooth compactly supported function and its polynomial differential expression.maximalQuadraticGraph: Graph of the maximal distributional realization, (3.9), PDF p.8. A pair (u,v) belongs precisely when P u = v as distributions. The integrability clauses prevent the totalized Bochner integral from encoding an undefined pairing. For these compact tests they follow from L² and smoothness.
import Mathlib
/-!
Statements from Arnold--Sparber, arXiv:math-ph/0309052v2.
Only Lemma 3.3 is drafted here. The other assigned nodes have explicit interface
deferrals in the unit's HARD.md and GAPS.json. No finite-dimensional replacement
of the paper's trace-class evolution is used.
-/
noncomputable section
open MeasureTheory
open scoped BigOperators
namespace QAlgorithms.Papers.Independent.Intakenext100.P11
/-- Cartesian coordinates on real d-space, with its usual product Lebesgue measure. -/
abbrev Position (d : ℕ) := Fin d → ℝ
/-- The paper's complex L² space, as equivalence classes modulo almost-everywhere equality. -/
abbrev L2Space (d : ℕ) := Lp ℂ 2 (volume : Measure (Position d))
/-- Labels for position and momentum generators, respectively. -/
abbrev CoordinateGenerator (d : ℕ) := Sum (Fin d) (Fin d)
/-- An ordered polynomial of total degree at most two in position and momentum.
The coefficient `quadratic a b` multiplies the composition a after b. Coefficients
are arbitrary complex numbers; symmetry and ellipticity are not assumed. -/
structure QuadraticExpression (d : ℕ) where
constant : ℂ
linear : CoordinateGenerator d → ℂ
quadratic : CoordinateGenerator d → CoordinateGenerator d → ℂ
/-- Coordinate derivative of a smooth complex function along the kth real coordinate. -/
def coordinateDerivative {d : ℕ} (k : Fin d) (f : Position d → ℂ)
(x : Position d) : ℂ :=
fderiv ℝ f x (Pi.single k 1)
/-- Position is multiplication by x_k; momentum is -i times the coordinate derivative. -/
def generatorAction {d : ℕ} (a : CoordinateGenerator d)
(f : Position d → ℂ) : Position d → ℂ :=
match a with
| Sum.inl k => fun x => (x k : ℂ) * f x
| Sum.inr k => fun x => -Complex.I * coordinateDerivative k f x
/-- The bilinear distributional transpose of a coordinate generator: x_k stays
unchanged, while -i∂_k becomes +i∂_k. No complex conjugation is taken. -/
def transposeGeneratorAction {d : ℕ} (a : CoordinateGenerator d)
(f : Position d → ℂ) : Position d → ℂ :=
match a with
| Sum.inl k => fun x => (x k : ℂ) * f x
| Sum.inr k => fun x => Complex.I * coordinateDerivative k f x
/-- The differential expression p₂(x,-i∇), including constant and linear terms. -/
def quadraticAction {d : ℕ} (P : QuadraticExpression d)
(f : Position d → ℂ) : Position d → ℂ :=
fun x => P.constant * f x +
∑ a, P.linear a * generatorAction a f x +
∑ a, ∑ b, P.quadratic a b * generatorAction a (generatorAction b f) x
/-- The formal bilinear transpose of the same ordered expression. Transposition
reverses each word: (A B)ᵗ = Bᵗ Aᵗ. -/
def quadraticTransposeAction {d : ℕ} (P : QuadraticExpression d)
(f : Position d → ℂ) : Position d → ℂ :=
fun x => P.constant * f x +
∑ a, P.linear a * transposeGeneratorAction a f x +
∑ a, ∑ b, P.quadratic a b *
transposeGeneratorAction b (transposeGeneratorAction a f) x
/-- Graph of the initial realization on complex C_c^∞ functions, (3.8), PDF p.8.
The explicit MemLp witnesses merely construct the L² classes of the smooth
compactly supported function and its polynomial differential expression. -/
def initialQuadraticGraph {d : ℕ} (P : QuadraticExpression d) :
Set (L2Space d × L2Space d) :=
{z | ∃ f : Position d → ℂ, ContDiff ℝ ⊤ f ∧ HasCompactSupport f ∧
∃ (hf : MemLp f 2 (volume : Measure (Position d)))
(hPf : MemLp (quadraticAction P f) 2 (volume : Measure (Position d))),
z = (hf.toLp f, hPf.toLp (quadraticAction P f))}
/-- Graph of the maximal distributional realization, (3.9), PDF p.8.
A pair (u,v) belongs precisely when P u = v as distributions. The integrability
clauses prevent the totalized Bochner integral from encoding an undefined
pairing. For these compact tests they follow from L² and smoothness. -/
def maximalQuadraticGraph {d : ℕ} (P : QuadraticExpression d) :
Set (L2Space d × L2Space d) :=
{z | ∀ test : Position d → ℂ, ContDiff ℝ ⊤ test → HasCompactSupport test →
Integrable (fun x => z.2 x * test x) volume ∧
Integrable (fun x => z.1 x * quadraticTransposeAction P test x) volume ∧
(∫ x, z.2 x * test x) = ∫ x, z.1 x * quadraticTransposeAction P test x}
/-- Sanity check: the zero polynomial has zero action, including at the zero function. -/
example {d : ℕ} (f : Position d → ℂ) :
quadraticAction (QuadraticExpression.mk 0 (fun _ => 0) (fun _ _ => 0)) f = 0 := by
funext x
simp [quadraticAction]
/-- Sanity check pinning the sign of the momentum transpose. -/
example {d : ℕ} (k : Fin d) (f : Position d → ℂ) (x : Position d) :
transposeGeneratorAction (Sum.inr k) f x =
Complex.I * fderiv ℝ f x (Pi.single k 1) := by
rfl
end QAlgorithms.Papers.Independent.Intakenext100.P11
Read-back
What the Lean code literally says, in plain math · gpt-6.1-sol
QAlgorithms.Papers.Independent.Intakenext100.P11.CoordinateGenerator
For every natural number , is the disjoint union of two copies of . Thus its elements can be denoted and , with , where the labels distinguish the two copies even when their indices agree. This set has elements and is empty when .
QAlgorithms.Papers.Independent.Intakenext100.P11.L2Space
For every natural number , is the complex space on the real coordinate space , equipped with its volume measure: its elements are equivalence classes, modulo equality almost everywhere, of almost everywhere strongly measurable functions satisfying . The case , where is a singleton, is included.
QAlgorithms.Papers.Independent.Intakenext100.P11.Position
For every natural number , is the space of functions from the index set to , equivalently real coordinate vectors with coordinates. The case is included: there is exactly one function from the empty index set to , so this position space is a singleton.
QAlgorithms.Papers.Independent.Intakenext100.P11.QuadraticExpression
For every natural number , a consists of a complex number , a function , and a function , where is the disjoint union of two coordinate index sets. These are the constant, linear, and quadratic coefficient data, respectively; there are no additional conditions, including no symmetry or reality condition on the coefficients. When , both coefficient functions have empty domains, and the constant remains arbitrary.
QAlgorithms.Papers.Independent.Intakenext100.P11.coordinateDerivative
For every natural number , every index , every function , and every point , where , the coordinate derivative is defined to be , with the real vector whose -th coordinate is and whose other coordinates are . Here is the real Fréchet derivative, interpreted as the zero linear map when is not Fréchet differentiable at ; thus the definition applies to arbitrary functions without a differentiability hypothesis. When , there is no possible index .
QAlgorithms.Papers.Independent.Intakenext100.P11.generatorAction
For every natural number , every label in the disjoint index set , and every function , where , the generator action produces the function defined by and . Real coordinates are viewed as complex numbers in the first formula, is the imaginary unit, and is the -th coordinate unit vector. The real Fréchet derivative is assigned the zero linear map wherever is not differentiable; no regularity assumption on is imposed. When , there is no label .
QAlgorithms.Papers.Independent.Intakenext100.P11.initialQuadraticGraph
For every natural number and every coefficient triple , where , , , and for , the initial quadratic graph is the set of pairs , with and its volume measure, for which there exists a real-smooth function such that the closure of is compact, both and are almost everywhere strongly measurable and square-integrable, and , , where brackets denote equivalence classes modulo equality almost everywhere. The function in the second component is defined by
Here is the coordinate unit vector, and the real Fréchet derivative is assigned zero wherever the function being differentiated is not differentiable. No restrictions are imposed on the coefficients. The case is included: is a singleton, is empty, and .
QAlgorithms.Papers.Independent.Intakenext100.P11.maximalQuadraticGraph
For every natural number and every coefficient triple , where , , , and for , the maximal quadratic graph is the set of pairs , where has volume measure , satisfying the following condition: for every real-smooth function whose support closure is compact, both and are integrable and
Here and use the function representatives supplied by their elements, and , , with the coordinate unit vector and the real Fréchet derivative assigned zero wherever the function being differentiated is not differentiable. The products and coefficients in these formulas have no complex conjugation. The test functions include the zero function. The case is included, with a singleton and .
QAlgorithms.Papers.Independent.Intakenext100.P11.quadraticAction
For every natural number , every coefficient triple with , , and , and every function , where and with , the quadratic action is the function
where, for any function , and ; is the coordinate unit vector, and the real Fréchet derivative is assigned zero at points where the function being differentiated is not differentiable. In each quadratic term acts first and second. All coefficients and are unrestricted. When , both sums are empty and .
QAlgorithms.Papers.Independent.Intakenext100.P11.quadraticTransposeAction
For every natural number , every coefficient triple with arbitrary complex coefficients , , and , and every function , where and with , the quadratic transpose action is the function
where and for every function . Here is the coordinate unit vector, and the real Fréchet derivative is assigned zero wherever the function being differentiated is not differentiable. In each quadratic term acts first and second; the coefficients are used without complex conjugation. When , the sums are empty and .
QAlgorithms.Papers.Independent.Intakenext100.P11.transposeGeneratorAction
For every natural number , every label in , and every function , where , the transpose generator action produces the function defined by and . Here real coordinates are embedded in , is the imaginary unit, and is the -th coordinate unit vector. The derivative is the real Fréchet derivative, assigned the zero linear map wherever is not differentiable; the definition requires no regularity of . When , no label exists.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.