Offline · exact source
Exact Lean source

PCTHybridMixtureFactor

formalization/Cloning/PCTHybridMixtureFactor.lean

Source hash: dc112ae5e22432d2e6502a06efd023939d9e5b40b13b63a044f06b480272ef54

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
1import Cloning.PCTJointGaussianLaw
2import Cloning.PCTJointGaussianWhitening
3import Cloning.MixedChannelsPreparation
4import Cloning.HybridCovariantization
5 
6/-! Exact classical–quantum factorization of the physical tangent mixture in
7the genuine operator-valued L1 space. Independence is supplied by the proved
8joint pushforward law, never as a hypothesis. -/
9noncomputable section
10open MeasureTheory
11open scoped ComplexOrder InnerProductSpace Topology BigOperators
12namespace Cloning.PCTHybridMixture
13open Cloning.PCT Cloning.PCTReducedGaussian Cloning.PCTGaussianCovariance
14open Cloning.PCTGaussianOutput Cloning.PCTJointGaussianLaw
15open Cloning.InfiniteTraceClass Cloning.Hybrid Cloning.MultimodeCoherent
16open Cloning.MultimodeCoherentGaussianMixture Cloning.ThermalWitness
17set_option backward.isDefEq.respectTransparency false
18set_option maxHeartbeats 1000000
19variable {k d : ℕ}
20 
21theorem hybridTranslation_prepare (h : Fin k → ℝ) (z : Fin d → ℂ)
22    (f : (Fin k → ℝ) → ℝ) (hf : Integrable f) (X : TraceClass (Fock d)) :
23    hybridTranslation (h,z) (prepareL1 f hf X) =
24      classicalTranslation h (prepareL1 f hf (displacementTraceMap z X)) := by
25  rw [hybridTranslation_apply, ← classicalTranslation_quantumL1Action_commute]
26  congr 1
27  exact (prepareL1_compLp (displacementTraceMap z) f hf X).symm
28 
29theorem integral_hybridTranslation_quantum (h : Fin k → ℝ)
30    (f : (Fin k → ℝ) → ℝ) (hf : Integrable f) (hf0 : ∀ x, 0 ≤ f x)
31    (hfone : ∫ x, f x = 1) (X : TraceClass (Fock d))
32    (ν : Measure (Fin d → ℂ)) [IsFiniteMeasure ν] :
33    (∫ z, hybridTranslation (h,z) (prepareL1 f hf X) ∂ν) =
34      classicalTranslation h (prepareL1 f hf (∫ z, displacementTraceMap z X ∂ν)) := by
35  simp_rw [hybridTranslation_prepare]
36  let C : TraceClass (Fock d) →L[ℂ] HybridSpace k d :=
37    (classicalTranslation h).toContinuousLinearMap.comp
38      (QuantumToHybrid.prepare f hf hf0 hfone).map
39  exact C.integral_comp_comm (integrable_displacement ν X)
40 
41theorem integrable_translated_pair {A : Type*} [Fintype A]
42    (W : (A → ℝ) → (Fin k → ℝ)) (hW : Continuous W)
43    (μ : Measure (A → ℝ)) [IsFiniteMeasure μ]
44    (ν : Measure (Fin d → ℂ)) [IsFiniteMeasure ν] (X : HybridSpace k d) :
45    Integrable (fun x : (A → ℝ) × (Fin d → ℂ) => hybridTranslation (W x.1,x.2) X)
46      (μ.prod ν) := by
47  apply (integrable_const ‖X‖).mono'
48    ((continuous_hybridTranslation X).comp
49      ((hW.comp continuous_fst).prodMk continuous_snd)).aestronglyMeasurable
50  exact Filter.Eventually.of_forall fun x => (norm_hybridTranslation (W x.1,x.2) X).le
51 
52variable {A : Type*} [Fintype A] [LinearOrder A] {s : ℕ}
53 
54/-- The full tangent average factors in actual hybrid L1: the classical
55marginal averages translations of a fixed product of PCT thermal modes. -/
56theorem tangent_hybrid_average_eq_classical_average
57    (u : OrthonormalBasis (Fin (s + 1)) ℂ (Register (A × A)))
58    (p : A → ℝ) (hp : ∀ a, 0 < p a)
59    (hu : u 0 = coefficientVector (schmidtCoefficients p))
60    (hgap : ∀ i j, i < j → 0 < p i - p j)
61    (e : Fin d ≃ OrbitalPair A) (g : ℝ) (hg : 1 < g)
62    (W : (A → ℝ) → (Fin k → ℝ)) (hW : Continuous W)
63    (f : (Fin k → ℝ) → ℝ) (hf : Integrable f)
64    (hf0 : ∀ x, 0 ≤ f x) (hfone : ∫ x, f x = 1) :
65    let q : Fin d → ℝ := fun i => p (e i).1.2 / p (e i).1.1
66    (∫ z, hybridTranslation (W (tangentClassical u p z), tangentDisplacement u p e z)
67      (prepareL1 f hf (vectorMixture (numberBasis d) (productGeometric q)))
68        ∂gaussianProductMeasure (fun _ : Fin s => g-1)) =
69      ∫ h, classicalTranslation (W h) (prepareL1 f hf
70        (vectorMixture (numberBasis d) (productGeometric (fun i => Thermal.pct g (q i)))))
71          ∂classicalTangentLaw u p (g-1) := by
72  dsimp only
73  let q : Fin d → ℝ := fun i => p (e i).1.2 / p (e i).1.1
74  let X := vectorMixture (numberBasis d) (productGeometric q)
75  have hq0 (i : Fin d) : 0 < q i := div_pos (hp _) (hp _)
76  have hq1 (i : Fin d) : q i < 1 :=
77    (div_lt_one (hp _)).mpr (by linarith [hgap _ _ (e i).2])
78  have hv : 0 < g-1 := sub_pos.mpr hg
79  letI := classicalTangentLaw_probability u p hv
80  letI := gaussianProductMeasure_probability (orbitalVariance_pos p hp hgap e hv)
81  have havg := integral_jointTangent u p hp hu hgap e hv
82    (fun x : (A → ℝ) × (Fin d → ℂ) =>
83      hybridTranslation (W x.1,x.2) (prepareL1 f hf X))
84    (integrable_translated_pair W hW _ _ _)
85  change (∫ z, hybridTranslation (W (tangentClassical u p z), tangentDisplacement u p e z)
86    (prepareL1 f hf X) ∂gaussianProductMeasure (fun _ : Fin s => g-1)) = _
87  dsimp only [jointTangent] at havg
88  rw [havg]
89  simp_rw [integral_hybridTranslation_quantum _ f hf hf0 hfone X]
90  have hb : orbitalVariance p e (g-1) = fun i => pctDisplacementVariance g (q i) := by
91    funext i
92    exact orbitalVariance_eq_pctDisplacementVariance g _ _ (hp _)
93      (by linarith [hgap _ _ (e i).2])
94  rw [hb, gaussian_displacement_productThermal_pct g hg hq0 hq1]
95 
96end Cloning.PCTHybridMixture