Exact Lean source
SpectralGapCompact
formalization/Cloning/SpectralGapCompact.lean
Source hash: 8821efd0cf04a56a2c70b232217646a9afe6d4530cb968193f093f1351fa5e82
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.SpectralGap.gapSetdefinition Cloning.SpectralGap.strictGapSettheorem Cloning.SpectralGap.strictGapSet_opentheorem Cloning.SpectralGap.gapSet_closedtheorem Cloning.SpectralGap.strictGapSet_subset_interiordefinition Cloning.SpectralGap.arithmeticVectortheorem Cloning.SpectralGap.arithmeticVector_sumtheorem Cloning.SpectralGap.arithmeticVector_gaptheorem Cloning.SpectralGap.arithmeticVector_last_gtdefinition Cloning.SpectralGap.arithmeticSpectrumtheorem Cloning.SpectralGap.strictGapSet_nonemptytheorem Cloning.SpectralGap.gapSet_compactdefinition Cloning.SpectralGap.mixtheorem Cloning.SpectralGap.mix_mem_strictGapSettheorem Cloning.SpectralGap.gapSet_regularClosuretheorem Cloning.SpectralGap.gapSet_hypotheses1import Cloning.SpectralAffineTheorem
2
3/-! The manuscript's concrete compact spectral sets with a positive lower
4bound on the smallest eigenvalue and each adjacent gap. -/
5noncomputable section
6open scoped Topology BigOperators
7open Filter
8namespace Cloning.SpectralGap
9variable {d : ℕ}
10set_option autoImplicit false
11set_option maxHeartbeats 1200000
12set_option backward.isDefEq.respectTransparency false
13
14def gapSet (d : ℕ) (κ : ℝ) : Set (SimpleSpectrum (d+1)) :=
15 {p | κ ≤ p.eigenvalue (Fin.last d) ∧
16 ∀ i : Fin d, κ ≤ p.eigenvalue i.castSucc - p.eigenvalue i.succ}
17
18def strictGapSet (d : ℕ) (κ : ℝ) : Set (SimpleSpectrum (d+1)) :=
19 {p | κ < p.eigenvalue (Fin.last d) ∧
20 ∀ i : Fin d, κ < p.eigenvalue i.castSucc - p.eigenvalue i.succ}
21
22theorem strictGapSet_open (d : ℕ) (κ : ℝ) : IsOpen (strictGapSet d κ) := by
23 have hc (i : Fin (d+1)) : Continuous (fun p : SimpleSpectrum (d+1) => p.eigenvalue i) :=
24 (continuous_apply i).comp SimpleSpectrum.continuous_eigenvalue
25 unfold strictGapSet
26 simp only [Set.setOf_and, Set.setOf_forall]
27 exact (isOpen_lt continuous_const (hc _)).inter
28 (isOpen_iInter_of_finite fun i : Fin d =>
29 isOpen_lt continuous_const ((hc i.castSucc).sub (hc i.succ)))
30
31theorem gapSet_closed (d : ℕ) (κ : ℝ) : IsClosed (gapSet d κ) := by
32 have hc (i : Fin (d+1)) : Continuous (fun p : SimpleSpectrum (d+1) => p.eigenvalue i) :=
33 (continuous_apply i).comp SimpleSpectrum.continuous_eigenvalue
34 unfold gapSet
35 simp only [Set.setOf_and, Set.setOf_forall]
36 exact (isClosed_le continuous_const (hc _)).inter
37 (isClosed_iInter fun i : Fin d =>
38 isClosed_le continuous_const ((hc i.castSucc).sub (hc i.succ)))
39
40theorem strictGapSet_subset_interior (d : ℕ) (κ : ℝ) :
41 strictGapSet d κ ⊆ interior (gapSet d κ) :=
42 interior_maximal (fun _ h => ⟨h.1.le,fun i => (h.2 i).le⟩)
43 (strictGapSet_open d κ)
44
45private theorem sum_fin_cast (d : ℕ) :
46 (∑ i : Fin (d+1), (i.val : ℝ)) = (d:ℝ)*(d+1)/2 := by
47 induction d with
48 | zero => simp
49 | succ d ih =>
50 rw [Fin.sum_univ_castSucc]
51 simp only [Fin.val_castSucc, Fin.val_last, ih, Nat.cast_add, Nat.cast_one]
52 ring
53
54def arithmeticVector (d : ℕ) (κ : ℝ) (i : Fin (d+1)) : ℝ :=
55 1/(d+1) + ((d:ℝ)/2-i.val)*κ
56
57theorem arithmeticVector_sum (d : ℕ) (κ : ℝ) :
58 ∑ i, arithmeticVector d κ i = 1 := by
59 have hd : (d:ℝ)+1 ≠ 0 := by positivity
60 simp only [arithmeticVector, sub_mul, Finset.sum_add_distrib, Finset.sum_sub_distrib, ← Finset.sum_mul,
61 Finset.sum_sub_distrib, Finset.sum_const, Finset.card_univ, Fintype.card_fin,
62 nsmul_eq_mul, Nat.cast_add, Nat.cast_one, sum_fin_cast]
63 field_simp
64 ring
65
66theorem arithmeticVector_gap (d : ℕ) (κ : ℝ) (i : Fin d) :
67 arithmeticVector d κ i.castSucc - arithmeticVector d κ i.succ = κ := by
68 simp only [arithmeticVector, Fin.val_castSucc, Fin.val_succ, Nat.cast_add, Nat.cast_one]
69 ring
70
71theorem arithmeticVector_last_gt (d : ℕ) {κ : ℝ}
72 (hκ : κ < 2/(((d:ℝ)+1)*(d+2))) :
73 κ < arithmeticVector d κ (Fin.last d) := by
74 have hd : 0 < (d:ℝ)+1 := by positivity
75 have hd2 : 0 < ((d:ℝ)+1)*(d+2) := by positivity
76 have h := (lt_div_iff₀ hd2).mp hκ
77 simp only [arithmeticVector, Fin.val_last]
78 have hinv : (1/((d:ℝ)+1))*((d:ℝ)+1)=1 := div_mul_cancel₀ 1 hd.ne'
79 nlinarith
80
81def arithmeticSpectrum (d : ℕ) (κ : ℝ) (hκ : 0 < κ)
82 (hupper : κ < 2/(((d:ℝ)+1)*(d+2))) : SimpleSpectrum (d+1) where
83 eigenvalue := arithmeticVector d κ
84 positive := by
85 intro i
86 have hl := arithmeticVector_last_gt d hupper
87 have hi : (i.val:ℝ) ≤ d := by exact_mod_cast Nat.le_of_lt_succ i.isLt
88 simp only [arithmeticVector, Fin.val_last] at *
89 nlinarith
90 strictAnti := Fin.strictAnti_iff_succ_lt.mpr (fun i => by
91 have h := arithmeticVector_gap d κ i
92 linarith)
93 normalized := arithmeticVector_sum d κ
94
95theorem strictGapSet_nonempty (d : ℕ) {κ : ℝ} (hκ : 0 < κ)
96 (hupper : κ < 2/(((d:ℝ)+1)*(d+2))) : (strictGapSet d κ).Nonempty := by
97 obtain ⟨t,hκt,ht⟩ := exists_between hupper
98 refine ⟨arithmeticSpectrum d t (hκ.trans hκt) ht, ?_⟩
99 exact ⟨hκt.trans (arithmeticVector_last_gt d ht),fun i => by
100 change κ < arithmeticVector d t i.castSucc - arithmeticVector d t i.succ
101 rw [arithmeticVector_gap]
102 exact hκt⟩
103
104theorem gapSet_compact (d : ℕ) {κ : ℝ} (hκ : 0 < κ) :
105 IsCompact (gapSet d κ) := by
106 let S : Set (Fin (d+1) → ℝ) := {p | (∑ i, p i)=1 ∧ κ≤p (Fin.last d) ∧
107 ∀ i : Fin d, κ≤p i.castSucc-p i.succ}
108 have he : SimpleSpectrum.eigenvalue '' gapSet d κ = S := by
109 ext p
110 constructor
111 · rintro ⟨q,hq,rfl⟩
112 exact ⟨q.normalized,hq⟩
113 · rintro ⟨hsum,hl,hgap⟩
114 have ha : StrictAnti p := Fin.strictAnti_iff_succ_lt.mpr fun i => by
115 have h := hgap i
116 linarith
117 have hp (i) : 0<p i := (hκ.trans_le hl).trans_le (ha.antitone (Fin.le_last i))
118 exact ⟨⟨p,hp,ha,hsum⟩,⟨hl,hgap⟩,rfl⟩
119 have hc : IsClosed S := by
120 have hsum : Continuous (fun p : Fin (d+1)→ℝ => ∑ i, p i) :=
121 continuous_finset_sum _ (fun i _ => continuous_apply i)
122 dsimp [S]
123 simp only [Set.setOf_and, Set.setOf_forall]
124 exact (isClosed_eq hsum continuous_const).inter
125 ((isClosed_le continuous_const (continuous_apply _)).inter
126 (isClosed_iInter fun i : Fin d => isClosed_le continuous_const
127 ((continuous_apply i.castSucc).sub (continuous_apply i.succ))))
128 have hb : S ⊆ Set.Icc (0 : Fin (d+1)→ℝ) 1 := by
129 intro p hp
130 obtain ⟨q,hq,rfl⟩ := he.symm ▸ hp
131 refine ⟨fun i => (q.positive i).le,fun i => ?_⟩
132 calc
133 q.eigenvalue i ≤ ∑ j, q.eigenvalue j :=
134 Finset.single_le_sum (fun j _ => (q.positive j).le) (Finset.mem_univ i)
135 _ = 1 := q.normalized
136 apply SimpleSpectrum.isEmbedding_eigenvalue.isCompact_iff.mpr
137 rw [he]
138 exact isCompact_Icc.of_isClosed_subset hc hb
139
140def mix (p q : SimpleSpectrum (d+1)) (t : ℝ) (ht : 0≤t) (ht1 : t≤1) :
141 SimpleSpectrum (d+1) where
142 eigenvalue i := (1-t)*p.eigenvalue i+t*q.eigenvalue i
143 positive := by
144 intro i
145 by_cases h : t=0
146 · simp [h,p.positive i]
147 · exact add_pos_of_nonneg_of_pos (mul_nonneg (by linarith) (p.positive i).le)
148 (mul_pos (lt_of_le_of_ne ht (Ne.symm h)) (q.positive i))
149 strictAnti := by
150 intro i j hij
151 have hp := p.strictAnti hij
152 have hq := q.strictAnti hij
153 by_cases h : t=0
154 · simpa [h] using hp
155 · have htp : 0<t := lt_of_le_of_ne ht (Ne.symm h)
156 nlinarith [mul_nonneg (show 0≤1-t by linarith) (sub_pos.mpr hp).le,
157 mul_pos htp (sub_pos.mpr hq)]
158 normalized := by
159 simp only [Finset.sum_add_distrib, ← Finset.mul_sum,p.normalized,q.normalized]
160 ring
161
162theorem mix_mem_strictGapSet {κ t : ℝ} {p q : SimpleSpectrum (d+1)}
163 (hp : p∈gapSet d κ) (hq : q∈strictGapSet d κ) (ht : 0<t) (ht1 : t≤1) :
164 mix p q t ht.le ht1 ∈ strictGapSet d κ := by
165 have hl : 0≤1-t := by linarith
166 constructor
167 · change κ < (1-t)*p.eigenvalue _+t*q.eigenvalue _
168 nlinarith [mul_nonneg hl (sub_nonneg.mpr hp.1),mul_pos ht (sub_pos.mpr hq.1)]
169 · intro i
170 change κ < ((1-t)*p.eigenvalue i.castSucc+t*q.eigenvalue i.castSucc)-
171 ((1-t)*p.eigenvalue i.succ+t*q.eigenvalue i.succ)
172 nlinarith [mul_nonneg hl (sub_nonneg.mpr (hp.2 i)),mul_pos ht (sub_pos.mpr (hq.2 i))]
173
174theorem gapSet_regularClosure (d : ℕ) {κ : ℝ} (hκ : 0<κ)
175 (hupper : κ < 2/(((d:ℝ)+1)*(d+2))) :
176 closure (interior (gapSet d κ)) = gapSet d κ := by
177 refine Set.Subset.antisymm (closure_minimal interior_subset (gapSet_closed d κ)) ?_
178 intro p hp
179 obtain ⟨q,hq⟩ := strictGapSet_nonempty d hκ hupper
180 have ht (n : ℕ) : 0 < 1/((n:ℝ)+1) := by positivity
181 have ht1 (n : ℕ) : 1/((n:ℝ)+1) ≤ 1 := (div_le_one (by positivity)).mpr (by have hn : (0:ℝ)≤n := Nat.cast_nonneg n; linarith)
182 let u (n : ℕ) := mix p q (1/((n:ℝ)+1)) (ht n).le (ht1 n)
183 have hu (n) : u n ∈ interior (gapSet d κ) :=
184 strictGapSet_subset_interior d κ (mix_mem_strictGapSet hp hq (ht n) (ht1 n))
185 have hc : Tendsto u atTop (𝓝 p) := by
186 apply SimpleSpectrum.isEmbedding_eigenvalue.tendsto_nhds_iff.mpr
187 apply tendsto_pi_nhds.mpr
188 intro i
189 have hz := tendsto_one_div_add_atTop_nhds_zero_nat (𝕜 := ℝ)
190 simpa [u,mix] using (((tendsto_const_nhds (x := (1:ℝ))).sub hz).mul_const (p.eigenvalue i)).add
191 (hz.mul_const (q.eigenvalue i))
192 exact mem_closure_of_tendsto hc (Eventually.of_forall hu)
193
194/-- The displayed concrete spectral family satisfies every compact-set
195hypothesis of the unknown-spectrum minimax theorem. -/
196theorem gapSet_hypotheses (d : ℕ) {κ : ℝ} (hκ : 0<κ)
197 (hupper : κ < 2/(((d:ℝ)+1)*(d+2))) :
198 IsCompact (gapSet d κ) ∧ (gapSet d κ).Nonempty ∧
199 closure (interior (SimpleSpectrum.toAffine '' gapSet d κ)) =
200 SimpleSpectrum.toAffine '' gapSet d κ := by
201 have hc := gapSet_compact d hκ
202 obtain ⟨p,hp⟩ := strictGapSet_nonempty d hκ hupper
203 exact ⟨hc,⟨p,interior_subset (strictGapSet_subset_interior d κ hp)⟩,
204 (SimpleSpectrum.regularClosure_affine_iff _ hc).mpr (gapSet_regularClosure d hκ hupper)⟩
205
206end Cloning.SpectralGap