Exact Lean source
SpectralRatioMajorizationCounterexample
formalization/Cloning/SpectralRatioMajorizationCounterexample.lean
Source hash: a0dd539d46fd36e94fc6c35ac9ba3e838947207a9dd27393f065c600b440f178
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: Spectral bounds
Declarations in this module
definition
Cloning.ValueComparison.concentratedSpectrumdefinition Cloning.ValueComparison.majorizedSpectrumtheorem Cloning.ValueComparison.counterexample_majorizationtheorem Cloning.ValueComparison.majorizedSpectrum_orbital_lttheorem Cloning.ValueComparison.concentratedSpectrum_orbital_gttheorem Cloning.ValueComparison.majorization_does_not_order_orbitaltheorem Cloning.ValueComparison.majorization_does_not_order_universal1import Cloning.SpectralRatioMajorization
2
3/-! An exact three-dimensional counterexample to monotonicity under
4majorization alone. All numerical comparisons use rational square bounds. -/
5noncomputable section
6open scoped BigOperators
7namespace Cloning.ValueComparison
8set_option maxHeartbeats 1200000
9
10def concentratedSpectrum : SimpleSpectrum 3 where
11 eigenvalue := ![(9:ℝ)/10,3/50,1/25]
12 positive := by intro i; fin_cases i <;> norm_num
13 strictAnti := by intro i j h; fin_cases i <;> fin_cases j <;> norm_num at *
14 normalized := by norm_num [Fin.sum_univ_succ]
15
16def majorizedSpectrum : SimpleSpectrum 3 where
17 eigenvalue := ![(4:ℝ)/5,4/25,1/25]
18 positive := by intro i; fin_cases i <;> norm_num
19 strictAnti := by intro i j h; fin_cases i <;> fin_cases j <;> norm_num at *
20 normalized := by norm_num [Fin.sum_univ_succ]
21
22theorem counterexample_majorization : SpectrumMajorizedBy majorizedSpectrum concentratedSpectrum := by
23 intro m
24 by_cases hm : m≤3
25 · interval_cases m <;>
26 norm_num [majorizedSpectrum,concentratedSpectrum,Finset.sum_filter,Fin.sum_univ_succ]
27 · have h0 : 0<m := by omega
28 have h1 : 1<m := by omega
29 have h2 : 2<m := by omega
30 norm_num [majorizedSpectrum,concentratedSpectrum,Finset.sum_filter,Fin.sum_univ_succ,h0,h1,h2]
31
32private theorem orbitalValue_three (g : ℝ) (p : SimpleSpectrum 3) :
33 orbitalValue g p =
34 Thermal.modeFactor g (p.eigenvalue 1/p.eigenvalue 0)*
35 Thermal.modeFactor g (p.eigenvalue 2/p.eigenvalue 0)*
36 Thermal.modeFactor g (p.eigenvalue 2/p.eigenvalue 1) := by
37 classical
38 let a : PairIndex 3 := ⟨(0,1),by decide⟩
39 let b : PairIndex 3 := ⟨(0,2),by decide⟩
40 let c : PairIndex 3 := ⟨(1,2),by decide⟩
41 have hu : (Finset.univ : Finset (PairIndex 3))={a,b,c} := by decide
42 rw [orbitalValue,hu]
43 simp [a,b,c,SimpleSpectrum.ratio,mul_assoc]
44
45private theorem mode_ten_upper (q s u : ℝ) (hq : 0≤q) (hs : 0≤s)
46 (hrad : q*(9+q)≤s^2) (hu : (3163/1000+s)/(10+q)≤u) :
47 Thermal.modeFactor 10 q≤u := by
48 have h10 : Real.sqrt (10:ℝ)≤3163/1000 := Real.sqrt_le_iff.mpr ⟨by norm_num,by norm_num⟩
49 have hsqrt : Real.sqrt (q*(10-1+q))≤s := Real.sqrt_le_iff.mpr ⟨hs,by norm_num; exact hrad⟩
50 unfold Thermal.modeFactor
51 exact (div_le_div_of_nonneg_right (add_le_add h10 hsqrt) (by linarith)).trans hu
52
53private theorem mode_ten_lower (q s l : ℝ) (hq : 0≤q)
54 (hrad : s^2≤q*(9+q)) (hl : l≤(3162/1000+s)/(10+q)) :
55 l≤Thermal.modeFactor 10 q := by
56 have h10 : (3162:ℝ)/1000≤Real.sqrt 10 := Real.le_sqrt_of_sq_le (by norm_num)
57 have hsqrt : s≤Real.sqrt (q*(10-1+q)) := Real.le_sqrt_of_sq_le (by norm_num; exact hrad)
58 unfold Thermal.modeFactor
59 exact hl.trans (div_le_div_of_nonneg_right (add_le_add h10 hsqrt) (by linarith))
60
61/-- The more majorized spectrum has fidelity strictly below the exact
62rational separator 0.078. -/
63theorem majorizedSpectrum_orbital_lt : orbitalValue 10 majorizedSpectrum <39/500 := by
64 rw [orbitalValue_three]
65 norm_num [majorizedSpectrum,Matrix.cons_val_two]
66 have h1 : Thermal.modeFactor 10 (1/5)≤444/1000 :=
67 mode_ten_upper _ (1357/1000) _ (by norm_num) (by norm_num) (by norm_num) (by norm_num)
68 have h2 : Thermal.modeFactor 10 (1/20)≤382/1000 :=
69 mode_ten_upper _ (673/1000) _ (by norm_num) (by norm_num) (by norm_num) (by norm_num)
70 have h3 : Thermal.modeFactor 10 (1/4)≤457/1000 :=
71 mode_ten_upper _ (1521/1000) _ (by norm_num) (by norm_num) (by norm_num) (by norm_num)
72 have hn1 := (Thermal.modeFactor_pos (by norm_num : (1:ℝ)<10)
73 (by norm_num : (0:ℝ)≤1/5) (by norm_num : (1:ℝ)/5<1)).le
74 have hn2 := (Thermal.modeFactor_pos (by norm_num : (1:ℝ)<10)
75 (by norm_num : (0:ℝ)≤1/20) (by norm_num : (1:ℝ)/20<1)).le
76 have hn3 := (Thermal.modeFactor_pos (by norm_num : (1:ℝ)<10)
77 (by norm_num : (0:ℝ)≤1/4) (by norm_num : (1:ℝ)/4<1)).le
78 exact lt_of_le_of_lt (mul_le_mul (mul_le_mul h1 h2 hn2 (by norm_num)) h3 hn3
79 (by norm_num)) (by norm_num)
80
81/-- The less majorized spectrum has fidelity strictly above 0.078. -/
82theorem concentratedSpectrum_orbital_gt : (39:ℝ)/500<orbitalValue 10 concentratedSpectrum := by
83 rw [orbitalValue_three]
84 norm_num [concentratedSpectrum,Matrix.cons_val_two]
85 have h1 : (391:ℝ)/1000≤Thermal.modeFactor 10 (1/15) :=
86 mode_ten_lower _ (777/1000) _ (by norm_num) (by norm_num) (by norm_num)
87 have h2 : (377:ℝ)/1000≤Thermal.modeFactor 10 (2/45) :=
88 mode_ten_lower _ (634/1000) _ (by norm_num) (by norm_num) (by norm_num)
89 have h3 : (534:ℝ)/1000≤Thermal.modeFactor 10 (2/3) :=
90 mode_ten_lower _ (2538/1000) _ (by norm_num) (by norm_num) (by norm_num)
91 have hn1 : 0≤Thermal.modeFactor 10 (1/15) := le_trans (by norm_num) h1
92 have hn2 : 0≤Thermal.modeFactor 10 (2/45) := le_trans (by norm_num) h2
93 exact lt_of_lt_of_le (by norm_num : (39:ℝ)/500<(391/1000)*(377/1000)*(534/1000))
94 (mul_le_mul (mul_le_mul h1 h2 (by norm_num) hn1) h3 (by norm_num)
95 (mul_nonneg hn1 hn2))
96
97/-- Majorization alone does not imply larger orbital cloning fidelity. -/
98theorem majorization_does_not_order_orbital :
99 SpectrumMajorizedBy majorizedSpectrum concentratedSpectrum ∧
100 orbitalValue 10 majorizedSpectrum<orbitalValue 10 concentratedSpectrum :=
101 ⟨counterexample_majorization,majorizedSpectrum_orbital_lt.trans concentratedSpectrum_orbital_gt⟩
102
103/-- The same explicit spectra also disprove monotonicity of the universal
104value under majorization: its positive classical factor is spectrum-independent. -/
105theorem majorization_does_not_order_universal :
106 SpectrumMajorizedBy majorizedSpectrum concentratedSpectrum ∧
107 universalValue 10 majorizedSpectrum<universalValue 10 concentratedSpectrum := by
108 refine ⟨counterexample_majorization, ?_⟩
109 exact mul_lt_mul_of_pos_left majorization_does_not_order_orbital.2
110 (classicalValue_pos (by norm_num : (0:ℝ)<10) 3)
111
112end Cloning.ValueComparison