Exact Lean source
PCTPhysicalFidelityLAN
formalization/Cloning/PCTPhysicalFidelityLAN.lean
Source hash: a846101b521644c414f143c6a0596365b91bf4cca7449654c7c70adceb112ff4
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.PCTPhysicalFidelity.Parametersdefinition Cloning.PCTPhysicalFidelity.referencetheorem Cloning.PCTPhysicalFidelity.norm_referencedefinition Cloning.PCTPhysicalFidelity.parameterTranslationdefinition Cloning.PCTPhysicalFidelity.modeltheorem Cloning.PCTPhysicalFidelity.model_valtheorem Cloning.PCTPhysicalFidelity.norm_modeltheorem Cloning.PCTPhysicalFidelity.continuous_modeltheorem Cloning.PCTPhysicalFidelity.model_zerodefinition Cloning.PCTPhysicalFidelity.chartMatrixdefinition Cloning.PCTPhysicalFidelity.chartTensorinductive Cloning.PCTPhysicalFidelity.CompactWindowLANtheorem Cloning.PCTPhysicalFidelity.CompactWindowLAN.moving_parameters1import Cloning.PCTPhysicalState
2import Cloning.PCTTangentChartAdmissible
3import Cloning.PCTHybridMixtureChannel
4
5/-! The precise genuine mixed-LAN input required by physical PCT fidelity.
6This file does not construct LAN channels. It derives moving-parameter LAN
7from explicit compact-window estimates for the actual matrix experiment. -/
8noncomputable section
9open scoped BigOperators Matrix InnerProductSpace ComplexOrder Topology Matrix.Norms.L2Operator
10open MeasureTheory Filter NormedSpace Cloning.InfiniteTraceClass Cloning.Hybrid
11namespace Cloning.PCTPhysicalFidelity
12open Cloning.PCT Cloning.PCTReducedGaussian Cloning.PCTGaussianCovariance
13open Cloning.PCTLocalChart Cloning.PCTJointGaussianWhitening
14open Cloning.MultimodeCoherent
15set_option backward.isDefEq.respectTransparency false
16set_option maxHeartbeats 1000000
17variable {k d : ℕ}
18
19abbrev Parameters (k : ℕ) := (Fin (k+1) → ℝ) × (PairIndex (k+1) → ℂ)
20
21def reference (p : SimpleSpectrum (k+1)) (e : Fin d ≃ PairIndex (k+1)) : HybridPositive k d :=
22 gaussianThermalPositive (fun _ : Fin k => 1/2) (fun _ => by norm_num)
23 (fun i => p.ratio (e i)) (fun i => (p.ratio_pos (e i)).le) (fun i => p.ratio_lt_one (e i))
24
25@[simp] theorem norm_reference (p : SimpleSpectrum (k+1)) (e : Fin d ≃ PairIndex (k+1)) :
26 ‖(reference p e).1‖ = 1 := Cloning.MixedLANTransfer.norm_gaussianThermalPositive _ _ _ _ _
27
28def parameterTranslation (p : SimpleSpectrum (k+1))
29 (b : Fin (k+1) → EuclideanSpace ℝ (Fin (k+1))) (e : Fin d ≃ PairIndex (k+1))
30 (θ : Parameters k) : (Fin k → ℝ) × (Fin d → ℂ) :=
31 (whiten p.eigenvalue b θ.1, fun i => θ.2 (e i))
32
33def model (p : SimpleSpectrum (k+1))
34 (b : Fin (k+1) → EuclideanSpace ℝ (Fin (k+1))) (e : Fin d ≃ PairIndex (k+1))
35 (θ : Parameters k) : HybridPositive k d :=
36 (reference p e).map (translationChannel (parameterTranslation p b e θ))
37
38@[simp] theorem model_val (p : SimpleSpectrum (k+1))
39 (b : Fin (k+1) → EuclideanSpace ℝ (Fin (k+1))) (e : Fin d ≃ PairIndex (k+1))
40 (θ : Parameters k) : (model p b e θ).1 =
41 hybridTranslation (parameterTranslation p b e θ) (reference p e).1 := rfl
42
43@[simp] theorem norm_model (p : SimpleSpectrum (k+1))
44 (b : Fin (k+1) → EuclideanSpace ℝ (Fin (k+1))) (e : Fin d ≃ PairIndex (k+1))
45 (θ : Parameters k) : ‖(model p b e θ).1‖ = 1 := by
46 rw [model_val, norm_hybridTranslation, norm_reference]
47
48theorem continuous_model (p : SimpleSpectrum (k+1))
49 (b : Fin (k+1) → EuclideanSpace ℝ (Fin (k+1))) (e : Fin d ≃ PairIndex (k+1)) :
50 Continuous (fun θ => (model p b e θ).1) := by
51 apply (continuous_hybridTranslation (reference p e).1).comp
52 exact ((continuous_whiten p.eigenvalue b).comp continuous_fst).prodMk (by fun_prop)
53
54@[simp] theorem model_zero (p : SimpleSpectrum (k+1))
55 (b : Fin (k+1) → EuclideanSpace ℝ (Fin (k+1))) (e : Fin d ≃ PairIndex (k+1)) :
56 (model p b e 0).1 = (reference p e).1 := by
57 rw [model_val]
58 have he : parameterTranslation p b e 0 = 0 := by ext <;> simp [parameterTranslation, whiten]
59 rw [he, hybridTranslation_zero]
60
61def chartMatrix (p : SimpleSpectrum (k+1)) (θ : Parameters k) (L : ℕ) :
62 Matrix (Fin (k+1)) (Fin (k+1)) ℂ :=
63 exp (sampleScale L • orbitalGenerator p.eigenvalue θ.2) *
64 Matrix.diagonal (fun i => ((p.eigenvalue i + sampleScale L * θ.1 i : ℝ) : ℂ)) *
65 exp (-(sampleScale L • orbitalGenerator p.eigenvalue θ.2))
66
67def chartTensor (p : SimpleSpectrum (k+1)) (θ : Parameters k) (L : ℕ) :
68 TraceClass (Register (Fin L → Fin (k+1))) := matrixTensorPower (chartMatrix p θ L) L
69
70/-- An explicit, currently unconstructed physical mixed-LAN hypothesis.
71The same genuine channel sequences must work on every fixed compact window.
72All comparison states, tensor matrices, scales and coordinates are literal. -/
73structure CompactWindowLAN (p : SimpleSpectrum (k+1))
74 (b : Fin (k+1) → EuclideanSpace ℝ (Fin (k+1))) (e : Fin d ≃ PairIndex (k+1)) where
75 forward : ∀ L, QuantumToHybrid (Register (Fin L → Fin (k+1))) (Fock d)
76 (volume : Measure (Fin k → ℝ))
77 reverse : ∀ L, HybridToQuantum (Fock d) (Register (Fin L → Fin (k+1)))
78 (volume : Measure (Fin k → ℝ))
79 approximation : ∀ K : Set (Parameters k), IsCompact K → (∀ θ ∈ K, ∑ i, θ.1 i = 0) →
80 ∃ ε : ℕ → ℝ, Tendsto ε atTop (𝓝 0) ∧ ∀ᶠ L : ℕ in atTop, ∀ θ ∈ K,
81 ‖(forward L).map (chartTensor p θ L) - (model p b e θ).1‖ ≤ ε L ∧
82 ‖(reverse L).map (model p b e θ).1 - chartTensor p θ L‖ ≤ ε L
83
84theorem CompactWindowLAN.moving_parameters
85 {p : SimpleSpectrum (k+1)}
86 {b : Fin (k+1) → EuclideanSpace ℝ (Fin (k+1))} {e : Fin d ≃ PairIndex (k+1)}
87 (lan : CompactWindowLAN p b e) (θ : ℕ → Parameters k) (θ₀ : Parameters k)
88 (hθ : Tendsto θ atTop (𝓝 θ₀))
89 (K : Set (Parameters k)) (hK : IsCompact K) (hzero : ∀ θ ∈ K, ∑ i, θ.1 i = 0)
90 (hmem : ∀ᶠ L : ℕ in atTop, θ L ∈ K) :
91 Tendsto (fun L => ‖(lan.forward L).map (chartTensor p (θ L) L) - (model p b e θ₀).1‖)
92 atTop (𝓝 0) ∧
93 Tendsto (fun L => ‖(lan.reverse L).map (model p b e θ₀).1 - chartTensor p (θ L) L‖)
94 atTop (𝓝 0) := by
95 obtain ⟨ε, hε, hbound⟩ := lan.approximation K hK hzero
96 have hmodel : Tendsto (fun L => ‖(model p b e (θ L)).1 - (model p b e θ₀).1‖)
97 atTop (𝓝 0) := by
98 simpa using (((continuous_model p b e).tendsto θ₀).comp hθ |>.sub_const
99 (model p b e θ₀).1).norm
100 constructor
101 · apply squeeze_zero' (Eventually.of_forall (fun L => norm_nonneg _)) _
102 (by simpa using hε.add hmodel)
103 filter_upwards [hmem, hbound] with L hL hb
104 exact (norm_sub_le_norm_sub_add_norm_sub _ _ _).trans
105 (add_le_add (hb (θ L) hL).1 le_rfl)
106 · apply squeeze_zero' (Eventually.of_forall (fun L => norm_nonneg _)) _
107 (by simpa using (hmodel.const_mul 2).add hε)
108 filter_upwards [hmem, hbound] with L hL hb
109 calc
110 _ ≤ ‖(lan.reverse L).map (model p b e θ₀).1 - (lan.reverse L).map (model p b e (θ L)).1‖ +
111 ‖(lan.reverse L).map (model p b e (θ L)).1 - chartTensor p (θ L) L‖ :=
112 norm_sub_le_norm_sub_add_norm_sub _ _ _
113 _ ≤ 2 * ‖(model p b e (θ L)).1 - (model p b e θ₀).1‖ + ε L := by
114 apply add_le_add _ (hb (θ L) hL).2
115 rw [← map_sub, norm_sub_rev (model p b e (θ L)).1 (model p b e θ₀).1]
116 exact (lan.reverse L).norm_le_two _
117
118end Cloning.PCTPhysicalFidelity