Exact Lean source
PCTGaussianOutputTangent
formalization/Cloning/PCTGaussianOutputTangent.lean
Source hash: d260af60bf7d11806f86e1b83f15ac47014705138c6d5c0e051958426d029c7c
Full source copied without mathematical changes from the snapshot whose input hash matches the passing audit. Select a line number for a stable source pointer.
The declarations belong to the compiled inventory covered by the project’s shared axiom audit. That audit records an aggregate union, without attributing axioms to individual declarations.
Declarations in this module
definition
Cloning.PCTGaussianOutput.tangentDisplacementtheorem Cloning.PCTGaussianOutput.continuous_tangentDisplacementtheorem Cloning.PCTGaussianOutput.tangentDisplacement_characteristictheorem Cloning.PCTGaussianOutput.integrable_tangent_displacementtheorem Cloning.PCTGaussianOutput.tangent_displacement_productThermal_pct1import Cloning.PCTGaussianCovarianceJoint
2
3/-! Actual tangent displacement averaging gives the product PCT thermal
4output. This identifies the Gaussian comparison operator directly from the
5frame tangent integral, without assuming a pushforward law or independence. -/
6noncomputable section
7open MeasureTheory
8open scoped ComplexOrder InnerProductSpace Topology BigOperators
9namespace Cloning.PCTGaussianOutput
10open Cloning.PCT Cloning.PCTReducedGaussian Cloning.PCTGaussianCovariance
11open Cloning.InfiniteTraceClass Cloning.MultimodeCoherent
12open Cloning.MultimodeCoherentGaussianMixture Cloning.ThermalWitness
13set_option backward.isDefEq.respectTransparency false
14set_option maxHeartbeats 1200000
15variable {A : Type*} [Fintype A] [LinearOrder A] {s d : ℕ}
16
17def tangentDisplacement (u : Fin (s + 1) → Register (A × A)) (p : A → ℝ)
18 (e : Fin d ≃ OrbitalPair A) (z : Fin s → ℂ) : Fin d → ℂ :=
19 fun k => orbitalCoordinate p (frameTangentMatrix u z) (e k).1.1 (e k).1.2
20
21lemma continuous_tangentDisplacement (u : Fin (s + 1) → Register (A × A)) (p : A → ℝ)
22 (e : Fin d ≃ OrbitalPair A) : Continuous (tangentDisplacement u p e) := by
23 unfold tangentDisplacement orbitalCoordinate frameTangentMatrix frameTangent
24 simp only [lp.coeFn_sum, Finset.sum_apply, lp.coeFn_smul, Pi.smul_apply, smul_eq_mul]
25 fun_prop
26
27lemma tangentDisplacement_characteristic
28 (u : OrthonormalBasis (Fin (s + 1)) ℂ (Register (A × A)))
29 (p : A → ℝ) (hp : ∀ a, 0 ≤ p a)
30 (hu : u 0 = coefficientVector (schmidtCoefficients p))
31 (hgap : ∀ i j, i < j → 0 < p i - p j)
32 (e : Fin d ≃ OrbitalPair A) {v : ℝ} (hv : 0 < v) (a : Fin d → ℂ) :
33 (∫ z, weylCharacter (tangentDisplacement u p e z) (-a)
34 ∂gaussianProductMeasure (fun _ : Fin s => v)) =
35 ∏ k, Complex.exp (-((v * (p (e k).1.1 + p (e k).1.2) /
36 (p (e k).1.1 - p (e k).1.2) * ‖a k‖ ^ 2 : ℝ) : ℂ)) := by
37 have h := jointCoordinate_characteristic u p hp hu hgap hv (fun _ => 0)
38 (fun ij => a (e.symm ij))
39 simp only [zero_mul, Finset.sum_const_zero, zero_pow (by omega : 2 ≠ 0), sub_zero,
40 Complex.ofReal_zero, mul_zero, zero_add] at h
41 have he (z : Fin s → ℂ) : weylCharacter (tangentDisplacement u p e z) (-a) =
42 Complex.exp (∑ ij : OrbitalPair A,
43 (a (e.symm ij) * star (orbitalCoordinate p (frameTangentMatrix u z) ij.1.1 ij.1.2) -
44 star (a (e.symm ij)) * orbitalCoordinate p (frameTangentMatrix u z) ij.1.1 ij.1.2)) := by
45 rw [weylCharacter_eq_prod_exp, ← Complex.exp_sum,
46 ← e.sum_comp (fun ij : OrbitalPair A =>
47 a (e.symm ij) * star (orbitalCoordinate p (frameTangentMatrix u z) ij.1.1 ij.1.2) -
48 star (a (e.symm ij)) * orbitalCoordinate p (frameTangentMatrix u z) ij.1.1 ij.1.2)]
49 congr 1
50 apply Finset.sum_congr rfl
51 intro k _
52 simp only [tangentDisplacement, Equiv.symm_apply_apply, Pi.neg_apply, map_neg,
53 starRingEnd_apply]
54 ring
55 simp_rw [he]
56 rw [h, ← Complex.exp_sum]
57 congr 1
58 rw [← e.sum_comp (fun ij : OrbitalPair A =>
59 v * (p ij.1.1 + p ij.1.2) / (p ij.1.1 - p ij.1.2) * ‖a (e.symm ij)‖ ^ 2)]
60 simp only [Equiv.symm_apply_apply, Complex.ofReal_sum, Finset.sum_neg_distrib]
61
62lemma integrable_tangent_displacement
63 (u : Fin (s + 1) → Register (A × A)) (p : A → ℝ) (e : Fin d ≃ OrbitalPair A)
64 (μ : Measure (Fin s → ℂ)) [IsFiniteMeasure μ] (T : TraceClass (Fock d)) :
65 Integrable (fun z => displacementTraceMap (tangentDisplacement u p e z) T) μ := by
66 apply (integrable_const ‖T‖).mono'
67 ((continuous_displacementTraceMap T).comp (continuous_tangentDisplacement u p e)).aestronglyMeasurable
68 exact Filter.Eventually.of_forall (fun z => (displacementTraceMap_norm _ T).le)
69
70/-- The actual quantum Gaussian comparison output obtained from the
71purification tangent, with all orbital modes coupled through the same frame.
72The joint characteristic proves that the output factors as PCT thermals. -/
73theorem tangent_displacement_productThermal_pct
74 (u : OrthonormalBasis (Fin (s + 1)) ℂ (Register (A × A)))
75 (p : A → ℝ) (hp : ∀ a, 0 < p a)
76 (hu : u 0 = coefficientVector (schmidtCoefficients p))
77 (hgap : ∀ i j, i < j → 0 < p i - p j)
78 (e : Fin d ≃ OrbitalPair A) (g : ℝ) (hg : 1 < g) :
79 let q : Fin d → ℝ := fun k => p (e k).1.2 / p (e k).1.1
80 (∫ z, displacementTraceMap (tangentDisplacement u p e z)
81 (vectorMixture (numberBasis d) (productGeometric q))
82 ∂gaussianProductMeasure (fun _ : Fin s => g - 1)) =
83 vectorMixture (numberBasis d) (productGeometric (fun k => Thermal.pct g (q k))) := by
84 dsimp only
85 let q : Fin d → ℝ := fun k => p (e k).1.2 / p (e k).1.1
86 have hq0 (k : Fin d) : 0 < q k := div_pos (hp _) (hp _)
87 have hq1 (k : Fin d) : q k < 1 := by
88 exact (div_lt_one (hp _)).mpr (by linarith [hgap _ _ (e k).2])
89 have hb (k : Fin d) : 0 < pctDisplacementVariance g (q k) :=
90 pctDisplacementVariance_pos hg (hq0 k).le (hq1 k)
91 rw [← gaussian_displacement_productThermal_pct g hg hq0 hq1]
92 apply characteristic_injective
93 funext a
94 dsimp only
95 letI := gaussianProductMeasure_probability (fun _ : Fin s => sub_pos.mpr hg)
96 have h := (tracePairingCLM.flip (displacement a)).integral_comp_comm
97 (integrable_tangent_displacement u p e
98 (gaussianProductMeasure (fun _ : Fin s => g - 1))
99 (vectorMixture (numberBasis d) (productGeometric q)))
100 change (∫ z, tracePairing (displacementTraceMap (tangentDisplacement u p e z)
101 (vectorMixture (numberBasis d) (productGeometric q))) (displacement a)
102 ∂gaussianProductMeasure (fun _ : Fin s => g - 1)) =
103 tracePairing (∫ z, displacementTraceMap (tangentDisplacement u p e z)
104 (vectorMixture (numberBasis d) (productGeometric q))
105 ∂gaussianProductMeasure (fun _ : Fin s => g - 1)) (displacement a) at h
106 rw [← h]
107 simp_rw [displacement_characteristic]
108 rw [integral_mul_const, tangentDisplacement_characteristic u p (fun i => (hp i).le)
109 hu hgap e (sub_pos.mpr hg), gaussian_displacement_characteristic hb]
110 congr 1
111 apply Finset.prod_congr rfl
112 intro k _
113 rw [orbitalVariance_eq_pctDisplacementVariance g _ _ (hp _) (by linarith [hgap _ _ (e k).2])]
114
115end Cloning.PCTGaussianOutput