Exact Lean source
HybridGaussianScoreOptimum
formalization/Cloning/HybridGaussianScoreOptimum.lean
Source hash: 3457ec5f620ba68be8ce8e787f8e5bf15a759217fe906561e25111f0b4e51c66
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.
In the dependency map: Gaussian optimum
Paper ↔ Lean correspondence in this module
Declarations in this module
definition
Cloning.PCTJointGaussianWhitening.scorePhaseBodytheorem Cloning.PCTJointGaussianWhitening.scorePhaseBody_dilate_eqdefinition Cloning.PCTJointGaussianWhitening.scoreGaussianOptimaltheorem Cloning.PCTJointGaussianWhitening.scoreGaussianOptimal_eqtheorem Cloning.PCTJointGaussianWhitening.scoreGaussianOptimal_tendstotheorem Cloning.PCTJointGaussianWhitening.scoreGaussianOptimal_limsup_le1import Cloning.HybridGaussianFlatBody
2import Cloning.HybridScorePolytope
3import Cloning.PCTPhysicalFidelityLAN
4
5/-! The Gaussian optimum on the literal score-hyperplane box, expressed in
6the proved whitening coordinates. Both averaging and optimization are actual:
7normalized Lebesgue integral on the exact transported polytope, and all CPTP
8hybrid competitors before the real-radius limit. -/
9noncomputable section
10open scoped ComplexOrder InnerProductSpace Topology BigOperators
11open Filter MeasureTheory
12namespace Cloning.PCTJointGaussianWhitening
13open Cloning.Hybrid Cloning.PCTPhysicalFidelity
14set_option backward.isDefEq.respectTransparency false
15set_option maxHeartbeats 1200000
16variable {A : Type*} [Fintype A] [LinearOrder A] {k s : ℕ}
17
18def scorePhaseBody (p : A→ℝ) (hp : ∀a,0<p a)
19 (b : OrthonormalBasis (Fin (k+1)) ℝ (EuclideanSpace ℝ A))
20 (hb : b 0=sqrtSpectrum p) (s : ℕ) : PhaseBody k s where
21 carrier := scoreUnitBody p hp b hb s
22 compact := scoreUnitBody_compact p hp b hb s
23 convex := scoreUnitBody_convex p hp b hb s
24 zero_interior := scoreUnitBody_zero_interior p hp b hb s
25
26/-- Membership in the averaged region is exactly the physical score and
27oscillator coordinate cutoff, not a rectangular cutoff after whitening. -/
28theorem scorePhaseBody_dilate_eq (p : A→ℝ) (hp : ∀a,0<p a)
29 (b : OrthonormalBasis (Fin (k+1)) ℝ (EuclideanSpace ℝ A))
30 (hb : b 0=sqrtSpectrum p) (s : ℕ) {L : ℝ} (hL : 0<L) :
31 (scorePhaseBody p hp b hb s).dilate L=
32 {ξ : PhaseSpace k s | (∀a,|unwhiten p b ξ.1 a|≤L) ∧
33 (∀j,|(ξ.2 j).re|≤L ∧ |(ξ.2 j).im|≤L)} :=
34 (scoreWindow_eq_dilate p hp b hb s hL).symm
35
36/-- The exact normalized flat-prior optimization on the transported physical
37score box and oscillator box at radius L. -/
38def scoreGaussianOptimal (p : SimpleSpectrum (k+1))
39 (b : OrthonormalBasis (Fin (k+1)) ℝ (EuclideanSpace ℝ (Fin (k+1))))
40 (hb : b 0=sqrtSpectrum p.eigenvalue) (e : Fin s ≃ PairIndex (k+1))
41 (g L : ℝ) : ℝ :=
42 sSup (Set.range fun Λ : HybridChannel k s =>
43 (volume.real ((scorePhaseBody p.eigenvalue p.positive b hb s).dilate L))⁻¹ *
44 ∫ ξ in (scorePhaseBody p.eigenvalue p.positive b hb s).dilate L,
45 orbitPayoff (Real.sqrt g) Λ (reference p e) (reference p e) ξ)
46
47theorem scoreGaussianOptimal_eq (p : SimpleSpectrum (k+1))
48 (b : OrthonormalBasis (Fin (k+1)) ℝ (EuclideanSpace ℝ (Fin (k+1))))
49 (hb : b 0=sqrtSpectrum p.eigenvalue) (e : Fin s ≃ PairIndex (k+1))
50 (g : ℝ) {L : ℝ} (hL : 0<L) :
51 scoreGaussianOptimal p b hb e g L=
52 (scorePhaseBody p.eigenvalue p.positive b hb s).optimalPayoff
53 (Real.sqrt g) (reference p e) (reference p e) L := by
54 unfold scoreGaussianOptimal PhaseBody.optimalPayoff
55 congr 1
56 apply congrArg Set.range
57 funext Λ
58 exact ((scorePhaseBody p.eigenvalue p.positive b hb s).payoff_eq_normalized_dilate
59 (Real.sqrt g) Λ (reference p e) (reference p e) hL).symm
60
61/-- The full Gaussian amplification theorem at the actual physical score
62window. No product, covariance, or Gaussian restriction is imposed on the
63channel supremum, and L ranges over all real radii. -/
64theorem scoreGaussianOptimal_tendsto (p : SimpleSpectrum (k+1))
65 (b : OrthonormalBasis (Fin (k+1)) ℝ (EuclideanSpace ℝ (Fin (k+1))))
66 (hb : b 0=sqrtSpectrum p.eigenvalue) (e : Fin s ≃ PairIndex (k+1))
67 (g : ℝ) (hg : 1<g) :
68 Tendsto (scoreGaussianOptimal p b hb e g) atTop (𝓝 (universalValue g p)) := by
69 have h := (scorePhaseBody p.eigenvalue p.positive b hb s).gaussian_optimalPayoff_tendsto
70 (fun _ => 1/2) (fun _ => by norm_num) g hg
71 (fun i => p.ratio (e i)) (fun i => (p.ratio_pos (e i)).le) (fun i => p.ratio_lt_one (e i))
72 have hprod := e.prod_comp (fun ij => Thermal.modeFactor g (p.ratio ij))
73 have hlim : Tendsto ((scorePhaseBody p.eigenvalue p.positive b hb s).optimalPayoff
74 (Real.sqrt g) (reference p e) (reference p e)) atTop (𝓝 (universalValue g p)) := by
75 simpa only [reference,universalValue,classicalValue,orbitalValue,
76 Nat.cast_add,Nat.cast_one,add_sub_cancel_right,hprod] using h
77 apply hlim.congr'
78 filter_upwards [eventually_gt_atTop (0 : ℝ)] with L hL
79 exact (scoreGaussianOptimal_eq p b hb e g hL).symm
80
81/-- The named flat-prior converse on the same actual score window. -/
82theorem scoreGaussianOptimal_limsup_le (p : SimpleSpectrum (k+1))
83 (b : OrthonormalBasis (Fin (k+1)) ℝ (EuclideanSpace ℝ (Fin (k+1))))
84 (hb : b 0=sqrtSpectrum p.eigenvalue) (e : Fin s ≃ PairIndex (k+1))
85 (g : ℝ) (hg : 1<g) :
86 limsup (scoreGaussianOptimal p b hb e g) atTop≤universalValue g p :=
87 (scoreGaussianOptimal_tendsto p b hb e g hg).limsup_eq.le
88
89end Cloning.PCTJointGaussianWhitening