Offline · exact source
Exact Lean source

PCTPhysicalFidelityFrame

formalization/Cloning/PCTPhysicalFidelityFrame.lean

Source hash: 9bd27b2f39285506298b65dc1d423d8f2b81f8d4790fe43019c643ff223171e6

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.PCTPhysicalFidelityLAN
2 
3/-! The exact physical frame particles satisfy both local mixed-LAN limits
4once the explicitly stated genuine compact-window LAN property is supplied.
5Their chart, compactness, trace constraint and limit coordinates are proved. -/
6noncomputable section
7open scoped BigOperators Matrix InnerProductSpace ComplexOrder Topology Matrix.Norms.L2Operator
8open MeasureTheory Filter NormedSpace Cloning.InfiniteTraceClass Cloning.Hybrid
9namespace Cloning.PCTPhysicalFidelity
10open Cloning.PCT Cloning.PCTReducedGaussian Cloning.PCTGaussianCovariance
11open Cloning.PCTLocalChart Cloning.PCTJointGaussianWhitening Cloning.PCTPhysicalState
12open Cloning.PCTJointGaussianLaw Cloning.PCTGaussianOutput
13open Cloning.MultimodeCoherent Cloning.MultimodeCoherentGaussianMixture
14set_option backward.isDefEq.respectTransparency false
15set_option maxHeartbeats 1000000
16variable {k d s : ℕ}
17 
18@[simp] theorem chartMatrix_zero (p : SimpleSpectrum (k+1)) (L : ℕ) :
19    chartMatrix p 0 L = Matrix.diagonal (fun i => (p.eigenvalue i : ℂ)) := by
20  have hY : orbitalGenerator p.eigenvalue 0 = 0 := by
21    ext a b
22    simp [orbitalGenerator]
23  simp only [chartMatrix, Prod.fst_zero, Prod.snd_zero, hY, smul_zero, exp_zero,
24    Pi.zero_apply, mul_zero, add_zero, neg_zero, Matrix.one_mul, Matrix.mul_one]
25 
26def baseState (p : SimpleSpectrum (k+1)) : Cloning.MatrixFidelity.State (Fin (k+1)) :=
27  diagonalState p.eigenvalue (fun i => (p.positive i).le) p.normalized
28 
29@[simp] theorem chartTensor_zero (p : SimpleSpectrum (k+1)) (L : ℕ) :
30    chartTensor p 0 L = (tensorState (baseState p) L).1 := by
31  rw [chartTensor, chartMatrix_zero]
32  rfl
33 
34theorem CompactWindowLAN.seed_limits
35    {p : SimpleSpectrum (k+1)}
36    {b : Fin (k+1) → EuclideanSpace ℝ (Fin (k+1))} {e : Fin d ≃ PairIndex (k+1)}
37    (lan : CompactWindowLAN p b e) :
38    Tendsto (fun L => ‖(lan.forward L).map (tensorState (baseState p) L).1 - (reference p e).1‖)
39      atTop (𝓝 0) ∧
40    Tendsto (fun L => ‖(lan.reverse L).map (reference p e).1 - (tensorState (baseState p) L).1‖)
41      atTop (𝓝 0) := by
42  simpa only [chartTensor_zero, model_zero] using
43    lan.moving_parameters (fun _ => 0) 0 tendsto_const_nhds {0} isCompact_singleton
44      (by intro θ hθ; simp only [Set.mem_singleton_iff] at hθ; subst θ; simp)
45      (Eventually.of_forall (fun _ => Set.mem_singleton 0))
46 
47def frameModel (p : SimpleSpectrum (k+1))
48    (b : Fin (k+1) → EuclideanSpace ℝ (Fin (k+1))) (e : Fin d ≃ PairIndex (k+1))
49    (u : Fin (s+1) → Register (Fin (k+1) × Fin (k+1))) (z : Fin s → ℂ) : HybridPositive k d :=
50  model p b e (tangentParameters p.eigenvalue (frameTangentMatrix u z))
51 
52@[simp] theorem frameModel_val (p : SimpleSpectrum (k+1))
53    (b : Fin (k+1) → EuclideanSpace ℝ (Fin (k+1))) (e : Fin d ≃ PairIndex (k+1))
54    (u : Fin (s+1) → Register (Fin (k+1) × Fin (k+1))) (z : Fin s → ℂ) :
55    (frameModel p b e u z).1 =
56      hybridTranslation (whitenedJointTangent u p.eigenvalue b e z) (reference p e).1 := rfl
57 
58@[simp] theorem norm_frameModel (p : SimpleSpectrum (k+1))
59    (b : Fin (k+1) → EuclideanSpace ℝ (Fin (k+1))) (e : Fin d ≃ PairIndex (k+1))
60    (u : Fin (s+1) → Register (Fin (k+1) × Fin (k+1))) (z : Fin s → ℂ) :
61    ‖(frameModel p b e u z).1‖ = 1 := norm_model _ _ _ _
62 
63theorem integrable_frameModel (p : SimpleSpectrum (k+1))
64    (b : Fin (k+1) → EuclideanSpace ℝ (Fin (k+1))) (e : Fin d ≃ PairIndex (k+1))
65    (u : Fin (s+1) → Register (Fin (k+1) × Fin (k+1)))
66    (ν : Measure (Fin s → ℂ)) [IsFiniteMeasure ν] :
67    Integrable (fun z => (frameModel p b e u z).1) ν := by
68  apply (integrable_const (1 : ℝ)).mono'
69    (((continuous_hybridTranslation (reference p e).1).comp
70      (continuous_whitenedJointTangent u p.eigenvalue b e)).aestronglyMeasurable)
71  exact Eventually.of_forall (fun z => (norm_frameModel p b e u z).le)
72 
73theorem CompactWindowLAN.frame_limits
74    {p : SimpleSpectrum (k+1)}
75    {b : Fin (k+1) → EuclideanSpace ℝ (Fin (k+1))} {e : Fin d ≃ PairIndex (k+1)}
76    (lan : CompactWindowLAN p b e)
77    (u : OrthonormalBasis (Fin (s+1)) ℂ (Register (Fin (k+1) × Fin (k+1))))
78    (hu : u 0 = coefficientVector (schmidtCoefficients p.eigenvalue)) (z : Fin s → ℂ) :
79    Tendsto (fun L => ‖(lan.forward L).map (frameState u z L).1 - (frameModel p b e u z).1‖)
80      atTop (𝓝 0) ∧
81    Tendsto (fun L => ‖(lan.reverse L).map (frameModel p b e u z).1 - (frameState u z L).1‖)
82      atTop (𝓝 0) := by
83  have horth : ⟪coefficientVector (schmidtCoefficients p.eigenvalue),
84      coefficientVector (frameTangentMatrix u z)⟫_ℂ = 0 := by
85    rw [coefficientVector_frameTangentMatrix, ← hu]
86    exact frameTangent_orthogonal u.orthonormal z
87  obtain ⟨K, hK, hzero, hmem⟩ := exists_compact_traceZero_sampleParameters p.eigenvalue
88    p.strictAnti.injective (fun i => (p.positive i).le) p.normalized (frameTangentMatrix u z) horth
89  have h := lan.moving_parameters
90    (sampleParameters p.eigenvalue p.strictAnti.injective (frameTangentMatrix u z))
91    (tangentParameters p.eigenvalue (frameTangentMatrix u z))
92    (sampleParameters_tendsto _ _ _) K hK hzero hmem
93  have he : ∀ᶠ L : ℕ in atTop,
94      chartTensor p (sampleParameters p.eigenvalue p.strictAnti.injective (frameTangentMatrix u z) L) L =
95        (frameState u z L).1 := by
96    filter_upwards [eventually_frameParticle_exact_chart u p.eigenvalue p.strictAnti.injective
97      (fun i => (p.positive i).le) hu (fun i j hij => sub_pos.mpr (p.strictAnti hij)) z] with L hL
98    exact congrArg (fun M => matrixTensorPower M L) hL
99  constructor
100  · exact h.1.congr' (he.mono (fun L hL => by rw [hL]; rfl))
101  · exact h.2.congr' (he.mono (fun L hL => by rw [hL]; rfl))
102 
103end Cloning.PCTPhysicalFidelity