Yang–Mills: the 2026 Lean construction, rerun and read; the mass gap still open
OpenAI's 2026 Lean construction of 4D Yang–Mills as the expert group keeps it: settle what it proves, rerun it, read it; uniqueness and the mass gap are open, and Clay's problem unsolved

| 1 | import YM.AnalyticBridge.ANNULUS_RATIO_INSERTIONS.Meters |
| 2 | import YM.SectorNext.LARGE_FIELD_REMAINDERS.CorePacket |
| 3 | |
| 4 | |
| 5 | /-! |
| 6 | # Restriction and assignment of the drows and affvd parts |
| 7 | |
| 8 | Typed packets, with the actual geometry (no obligation here on other |
| 9 | row selections or derivative/locality estimates), for applying the |
| 10 | dyadics local charge. Partition both sets of rows without duplicate |
| 11 | indices. `hot D O...`: anchor in H_D at the orientations read, and both |
| 12 | Twins through the same plaquette. This will leave an actual complement |
| 13 | at that integrand under the Gaussian, not be subtracting two |
| 14 | independently averaged Reps. |
| 15 | -/ |
| 16 | set_option autoImplicit false |
| 17 | noncomputable section |
| 18 | namespace YM.AnalyticBridge.AnnulusRatioInsertions |
| 19 | open Function Filter Lattice Wilson RG RG.Patch Precision Exterior Tree MeasureTheory Metric Matrix Bloch |
| 20 | open Next.SectorChange Next.SectorChange.Motion Next.SectorChange.Rows |
| 21 | open Pressure Pressure.Tube Pressure.Stores Bid Push.SectorMeasure Push.SectorMeasure.Oriented |
| 22 | open SectorNext.Remainder SectorNext.Remainder.Affine |
| 23 | open scoped Topology BigOperators Classical ContDiff Matrix.Norms.Frobenius Push.SectorMeasure |
| 24 | variable {G : Gauge} {c f : Side} {S : StepData c f} {x : ℝ} |
| 25 | |
| 26 | /-- Typed isolation; model using l=500. Every old seed through |
| 27 | its full 500B halo either present in O or disjoint from the packet |
| 28 | support. No claim on geometry of any optional activity, just this packet. |
| 29 | This version is even stable under turning. -/ |
| 30 | structure Isle (O A : Stores S) (l B : ℕ) : Prop where |
| 31 | hasCost : O.costs ⊆ A.costs |
| 32 | hasAisles : O.aisles ⊆ A.aisles |
| 33 | hasFlags : O.flags ⊆ A.flags |
| 34 | lockedF (i : Cell f) : i∈A.costs → i∉O.costs → Disjoint (halo (l*B) (startPos S i)) (O.dome (l*B)) |
| 35 | lockedB (i : Bond c) : i∈A.aisles → i∉O.aisles → Disjoint (halo (l*B) (pinPos i)) (O.dome (l*B)) |
| 36 | locked (i : Site c) : i∈A.flags → i∉O.flags → Disjoint (halo (l*B) {i}) (O.dome (l*B)) |
| 37 | |
| 38 | variable {O A : Stores S} {l B : ℕ} |
| 39 | |
| 40 | |
| 41 | |
| 42 | lemma Isle.owns (h : Isle O A l (radiusB x)) (hx : 5 ≤ l) : Owns O A x := by |
| 43 | have ht : O.dome (5*radiusB x) ⊆ O.dome (l*radiusB x) := Corona.halo_mono (by gcongr) (fun _ h => h) |
| 44 | refine ⟨h.hasCost,h.hasAisles,h.hasFlags,fun i hi ht' => |
| 45 | Disjoint.mono (halo_subset _ _) ht (h.lockedF i hi ht'), fun i hi ht' => |
| 46 | Disjoint.mono (halo_subset _ _) ht (h.lockedB i hi ht'),?_⟩ |
| 47 | intro i hi ht' hu |
| 48 | exact Finset.disjoint_left.mp (h.locked i hi ht') (halo_subset _ _ (Finset.mem_singleton_self _)) (ht hu) |
| 49 | |
| 50 | lemma turn_halo (s : Signed) {x : Site c} {R Q : Support c} (h : ∀ x, x∈Q ↔ s.act x∈R) (b : ℕ) : |
| 51 | x∈halo b Q ↔ s.act x∈halo b R := by |
| 52 | simp_rw [halo_spec] |
| 53 | constructor |
| 54 | · rintro ⟨i,hi,he⟩; exact ⟨s.act i,(h i).mp hi,(separation_signed ..).trans_le he⟩ |
| 55 | rintro ⟨i,hi,he⟩; obtain ⟨j,rfl⟩ := s.actEquiv.surjective i |
| 56 | exact ⟨j,(h j).mpr hi,(separation_signed j x s) ▸ he⟩ |
| 57 | |
| 58 | lemma Isle.turn (h : Isle O A l B) (s : Signed) : Isle (turnStore s O) (turnStore s A) l B := by |
| 59 | constructor |
| 60 | · intro i hi; exact (cost_turn ..).mpr (h.hasCost ((cost_turn ..).mp hi)) |
| 61 | · intro i hi; exact (aisle_turn ..).mpr (h.hasAisles ((aisle_turn ..).mp hi)) |
| 62 | · intro i hi; exact (flag_turn ..).mpr (h.hasFlags ((flag_turn ..).mp hi)) |
| 63 | · intro i hi ht; exact (turn_incidence s _ _ _ _ (fun x => turn_halo s (fun x => (turn_start s x i).symm) _) (fun x => turn_dome s ..)).mpr |
| 64 | (h.lockedF _ ((cost_turn ..).mp hi) (mt (cost_turn ..).mpr ht)) |
| 65 | · intro i hi ht; exact (turn_incidence s _ _ _ _ (fun x => turn_halo s (fun x => (turn_pin s x i).symm) _) (fun x => turn_dome s ..)).mpr |
| 66 | (h.lockedB _ ((aisle_turn ..).mp hi) (mt (aisle_turn ..).mpr ht)) |
| 67 | intro i hi ht |
| 68 | refine (turn_incidence s _ _ _ _ (fun x => turn_halo s (fun x => by simp [s.act_injective.eq_iff]) _) (fun x => turn_dome s ..)).mpr |
| 69 | (h.locked (s.act i) ((flag_turn ..).mp hi) (mt (flag_turn ..).mpr ht)) |
| 70 | |
| 71 | lemma Isle.cleared (h : Isle O A l B) {R t : ℕ} {x : Site c} (hR : R≤l*B) (ht : t≤l*B) (hx : x∈O.dome R) : |
| 72 | x∈A.dome t → x∈O.dome t := by |
| 73 | have hl : x∈O.dome (l*B) := Corona.halo_mono hR (fun _ h => h) hx |
| 74 | intro hs |
| 75 | rw [dome,halo_spec] at hs ⊢ |
| 76 | obtain ⟨y,h1,h2⟩ := hs |
| 77 | unfold place at h1 |
| 78 | simp only [Finset.mem_union,Finset.mem_biUnion] at h1 |
| 79 | rcases h1 with ( ⟨p,hq,hP⟩|⟨p,hq,hP⟩ ) |hq |
| 80 | · have he : x∈halo (l*B) (startPos S p) := halo_spec.mpr ⟨y,hP,h2.trans ht⟩ |
| 81 | by_cases hr : p∈O.costs |
| 82 | · exact ⟨y,Finset.mem_union_left _ (Finset.mem_union_left _ (Finset.mem_biUnion.mpr ⟨p,hr,hP⟩)),h2⟩ |
| 83 | exact (Finset.disjoint_left.mp (h.lockedF p hq hr) he hl).elim |
| 84 | · have he : x∈halo (l*B) (pinPos p) := halo_spec.mpr ⟨y,hP,h2.trans ht⟩ |
| 85 | by_cases hr : p∈O.aisles |
| 86 | · exact ⟨y,Finset.mem_union_left _ (Finset.mem_union_right _ (Finset.mem_biUnion.mpr ⟨p,hr,hP⟩)),h2⟩ |
| 87 | exact (Finset.disjoint_left.mp (h.lockedB p hq hr) he hl).elim |
| 88 | have he : x∈halo (l*B) ({y}:Support c) := halo_spec.mpr ⟨y,Finset.mem_singleton_self y,h2.trans ht⟩ |
| 89 | by_cases hr : y∈O.flags |
| 90 | · exact ⟨y,Finset.mem_union_right _ hr,h2⟩ |
| 91 | exact (Finset.disjoint_left.mp (h.locked y hq hr) he hl).elim |
| 92 | |
| 93 | lemma Isle.place (h : Isle O A l B) : O.place ⊆ A.place := by |
| 94 | intro i hi |
| 95 | unfold Stores.place at hi ⊢ |
| 96 | simp only [Finset.mem_union,Finset.mem_biUnion] at hi ⊢ |
| 97 | rcases hi with ( ⟨p,hp,he⟩|⟨p,hp,he⟩ ) |hf |
| 98 | · exact Or.inl (Or.inl ⟨p,h.hasCost hp,he⟩) |
| 99 | · exact Or.inl (Or.inr ⟨p,h.hasAisles hp,he⟩) |
| 100 | exact Or.inr (h.hasFlags hf) |
| 101 | lemma Isle.burn (h : Isle O A l B) {t r : ℕ} (hr : t ≤ r) : O.dome t ⊆ A.dome r := Corona.halo_mono hr h.place |
| 102 | |
| 103 | namespace Harvest |
| 104 | |
| 105 | /-- Arguments here already channel rotated. -/ |
| 106 | def hot (O : Stores S) (D B : ℕ) : Window S where |
| 107 | face := Finset.univ.filter fun i => S.ratio.parent i.1 ∈ O.dome (D*B) |
| 108 | noise := Finset.univ.filter fun i => i.1∈ O.dome (D*B) |
| 109 | coarse := Finset.univ.filter fun i => i.1∈ O.dome (D*B) |
| 110 | rows := Finset.univ.filter fun i => i.1∈ O.dome (D*B) |
| 111 | |
| 112 | def inner (O : Stores S) (x : ℝ) := hot O 2 (radiusB x) |
| 113 | |
| 114 | def remove (M J : Window S) : Window S := ⟨M.face \ J.face,M.noise \ J.noise,M.coarse \ J.coarse,M.rows \ J.rows⟩ |
| 115 | |
| 116 | /-- open on the 2B edge, closed through `D*B`. -/ |
| 117 | def corona (O : Stores S) (D : ℕ) (x : ℝ) := remove (hot O D (radiusB x)) (inner O x) |
| 118 | |
| 119 | |
| 120 | |
| 121 | lemma in_face {i : Cell f} {D : ℕ} : i∈(hot O D B).face ↔ S.ratio.parent i.1∈O.dome (D*B) := by simp [hot] |
| 122 | lemma in_noise {i : Bond c} {D : ℕ} : i∈(hot O D B).noise ↔ i.1∈O.dome (D*B) := by simp [hot] |
| 123 | lemma in_coarse {i : Cell c} {D : ℕ} : i∈(hot O D B).coarse ↔ i.1∈O.dome (D*B) := by simp [hot] |
| 124 | lemma in_row {i : Co c Gain} {D : ℕ} : i∈(hot O D B).rows ↔ i.1∈O.dome (D*B) := by simp [hot] |
| 125 | |
| 126 | lemma mono (O : Stores S) (D d B : ℕ) (h : D≤d) : |
| 127 | (hot O D B).face ⊆ (hot O d B).face ∧ (hot O D B).noise ⊆ (hot O d B).noise ∧ |
| 128 | (hot O D B).coarse ⊆ (hot O d B).coarse ∧ (hot O D B).rows ⊆ (hot O d B).rows := by |
| 129 | have hh : O.dome (D*B) ⊆ O.dome (d*B) := Corona.halo_mono (by gcongr) (fun _ h => h) |
| 130 | exact ⟨fun i ht => in_face.mpr (hh (in_face.mp ht)),fun i ht => in_noise.mpr (hh (in_noise.mp ht)), |
| 131 | fun i ht => in_coarse.mpr (hh (in_coarse.mp ht)),fun i ht => in_row.mpr (hh (in_row.mp ht))⟩ |
| 132 | |
| 133 | lemma earns {D : ℕ} (hD : D≤l) (ht : 2≤l) (h : Isle O A l (radiusB x)) : |
| 134 | (corona O D x).annulus O A D (radiusB x) := by |
| 135 | unfold Window.annulus inSweep |
| 136 | have hi {y : Site c} (hy : y∈O.dome (D*radiusB x)) (hx : y∉O.dome (2*radiusB x)) : y∉A.dome (2*radiusB x) := |
| 137 | fun hs => hx (h.cleared (Nat.mul_le_mul_right _ hD) (Nat.mul_le_mul_right _ ht) hy hs) |
| 138 | refine ⟨fun i he => ?_,fun i he => ?_,fun i he => ?_⟩ <;> |
| 139 | simp only [corona,remove,Finset.mem_sdiff,inner,in_face,in_noise,in_coarse] at he |
| 140 | <;> exact ⟨hi he.1 he.2,he.1⟩ |
| 141 | |
| 142 | section regions |
| 143 | variable (T : Tube G S) (U : Config G f) (V : Config G c) (k : S.Choices) |
| 144 | |
| 145 | lemma already (O : Stores S) (x : ℝ) : |
| 146 | (inner O x).work T x U k V = O.assessed T x U (S.prediction U k) V := by |
| 147 | unfold inner hot assessed tally talli talll tallc talln limit intern outs coordN Window.work onWindow |
| 148 | simp only [Finset.sum_add_distrib] |
| 149 | abel |
| 150 | |
| 151 | lemma sum_work (O : Stores S) (D : ℕ) (x : ℝ) (hD : 2≤D) : |
| 152 | (corona O D x).work T x U k V + (inner O x).work T x U k V = (hot O D (radiusB x)).work T x U k V := by |
| 153 | obtain ⟨h1,h2,h3,h4⟩ := mono O 2 D (radiusB x) hD |
| 154 | unfold corona Window.work onWindow remove; dsimp only |
| 155 | have ha {ι : Type} [DecidableEq ι] (f : ι → ℝ) (A B : Finset ι) (h : B⊆A) : ∑ i∈A\B, f i = ∑ i∈A,f i - ∑ i∈B,f i := by |
| 156 | rw [eq_sub_iff_add_eq]; exact Finset.sum_sdiff h |
| 157 | unfold inner |
| 158 | simp only [ha _ _ _ h1, ha _ _ _ h2, |
| 159 | ha _ _ _ h3, ha _ _ _ h4] |
| 160 | abel |
| 161 | |
| 162 | end regions |
| 163 | |
| 164 | lemma clear_core {F : Forest S.ratio} {s : Signed} (hx : span S.patch x ≤ radiusB x/50) (h : Isle O A l (radiusB x)) {i : Where S} |
| 165 | (he : roots S i ∈ (turnStore s O).dome (2*radiusB x)) : ¬ curb (shots S x) A F x s i := by |
| 166 | have hl := (turn_dome s O (roots S i) _).mp he |
| 167 | intro hs |
| 168 | apply (guarded hx hs).1 |
| 169 | exact h.burn (show 2*radiusB x ≤ 9*radiusB x+9*radiusB x/10 by omega) hl |
| 170 | |
| 171 | lemma coronate {F : Forest S.ratio} (s : Signed) (D : ℕ) (hx : span S.patch x ≤ radiusB x/50) (h : Isle O A l (radiusB x)) : |
| 172 | emitted x (shots S x) A F (hot (turnStore s O) D (radiusB x)) s = emitted x (shots S x) A F (corona (turnStore s O) D x) s := by |
| 173 | unfold emitted corona remove |
| 174 | congr 1 |
| 175 | · ext i; simp only [Finset.mem_filter,Finset.mem_sdiff,inner,in_face] |
| 176 | constructor |
| 177 | · rintro ⟨ha,hb⟩; exact ⟨⟨ha,fun he => clear_core (i:=Sum.inl i) hx h he hb⟩,hb⟩ |
| 178 | rintro ⟨⟨h,_⟩,ha⟩; exact ⟨h,ha⟩ |
| 179 | ext i; simp only [Finset.mem_filter,Finset.mem_sdiff,inner,in_noise] |
| 180 | constructor |
| 181 | · rintro ⟨ha,hb⟩; exact ⟨⟨ha,fun he => clear_core (i:=Sum.inr i) hx h he hb⟩,hb⟩ |
| 182 | rintro ⟨⟨h,_⟩,ha⟩; exact ⟨h,ha⟩ |
| 183 | |
| 184 | variable (T : Tube G S) (x : ℝ) (V : Config G c) (k : S.Choices) (W : Stencils S) (A : Stores S) (F : Forest S.ratio) |
| 185 | (q : Chi) (d : ℝ) (Y : LinkArray G (Frozen A x F)) |
| 186 | |
| 187 | def debit (M : Window S) (s : Signed) (U : Config G f) (a : Prices G (Active A x F)) : ℝ := |
| 188 | M.work T x (pull s 0 U) (choice s k) (pull s 0 V) - extraction T x V k W A F q d Y M a s |
| 189 | |
| 190 | /-- The (row) charge in a compulsory packet. `a` here GAUSSIAN active |
| 191 | log-link arguments, so the `dyed` residual of interest uses `a=m+gz` in |
| 192 | these. C in that case will be fixed through the application and the proof |
| 193 | does not require switching it to charge by a different one. -/ |
| 194 | def debt (O : Stores S) (D : ℕ) (U : Config G f) (a : Prices G (Active A x F)) (s : Signed) : ℝ := |
| 195 | debit T x V k W A F q d Y (hot (turnStore s O) D (radiusB x)) s U a |
| 196 | |
| 197 | def crown (O : Stores S) (D : ℕ) (s : Signed) : Window S := corona (turnStore s O) D x |
| 198 | |
| 199 | def clipping (O : Stores S) (D : ℕ) (s : Signed) := emitted x (shots S x) A F (crown x O D s) s |
| 200 | |
| 201 | /-- Identify all rows of the displayed debt with the ones paid by LFR's CorePacket. |
| 202 | Use exact annulus common a. -/ |
| 203 | lemma debited {O A : Stores S} {D : ℕ} (hI : Isle O A l (radiusB x)) (ht : 2≤D) |
| 204 | (hx : span S.patch x ≤ radiusB x/50) |
| 205 | {P : Teller G} (h : P.Funds S T) {Y : LinkArray G (Frozen A x F)} (s : Signed) |
| 206 | (he : Issued x V k (shots S x) A F (hot (turnStore s O) D (radiusB x)) s) (a : Prices G (Active A x F)) (U : Config G f) : |
| 207 | debt T x V k (shots S x) A F q d Y O D U a s = credits U V O (crown x O D) (clipping x A F O D) T x k |
| 208 | (orientedLog x V (shots S x) A F q d Y a) s := by |
| 209 | unfold debt credits debit boost |
| 210 | rw [← sum_work T _ _ _ _ D x ht, already, transported T x V k (shots S x) A F q d Y h s _ a he, coronate s D hx hI] |
| 211 | unfold clipping crown; abel |
| 212 | |
| 213 | |
| 214 | |
| 215 | end Harvest |
| 216 | end YM.AnalyticBridge.AnnulusRatioInsertions |