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 Mathlib.Analysis.Fourier.Convolution |
| 2 | import Mathlib.LinearAlgebra.Lagrange |
| 3 | import YM.AnalyticBridge.ANNULUS_GAUSSIAN_INTERFACE.Guards |
| 4 | import YM.AnalyticBridge.LOCAL_GAUSSIAN_MULTIPLIER.Lens |
| 5 | import YM.AnalyticBridge.RELATIVE_LOGDET_TRACE.Reading |
| 6 | import YM.AnalyticBridge.SHARP_NORMALIZED_TAIL.Apertures |
| 7 | import YM.AnalyticBridge.SHARP_NORMALIZED_TAIL.Curtail |
| 8 | import YM.Next.BOUNDARY.Coordinates |
| 9 | import YM.Next.SCHEDULE.Blocks |
| 10 | import YM.Push.CUTOFF_PROJECTORS.Along |
| 11 | import YM.Push.CUTOFF_PROJECTORS.Bank |
| 12 | import YM.Push.CUTOFF_PROJECTORS.Passage |
| 13 | import YM.SectorNext.LARGE_FIELD_REMAINDERS.Canonical |
| 14 | |
| 15 | |
| 16 | /-! |
| 17 | Reuse Sharp's geometric work comparing fog *entries* across tag |
| 18 | synchronizations and Store completions. Here we want to choose sample just |
| 19 | by component inventory, then completing output flags, EVEN for otherwise |
| 20 | impossible components. `Rigging` doesn't quite do that (requires full |
| 21 | K.Makes of sample in nonempty case), so verify Placed & `By` ourselves |
| 22 | (including on invalid script reads) without requiring script realizability |
| 23 | at the sample. Compare to Rig.lean. Use a pad of 11B for affecting any |
| 24 | freeze query out through one B. The script later is responsible for also |
| 25 | not changing any other reads (including of mean). |
| 26 | -/ |
| 27 | set_option autoImplicit false |
| 28 | noncomputable section |
| 29 | namespace YM.PhysicalNext.Dictionary |
| 30 | open Function Filter Set Lattice RG Wilson Pressure Pressure.Tube Pressure.Stores Tree Precision Exterior MeasureTheory Matrix |
| 31 | open Next.Fluctuations Next.SectorChange Next.SectorChange.Rows Push.SectorMeasure Push.SectorMeasure.Oriented |
| 32 | open AnalyticBridge.Annulus |
| 33 | open AnalyticBridge.RelativeLogdet |
| 34 | open AnalyticBridge.Sharp |
| 35 | open scoped Topology BigOperators Classical Matrix.Norms.Frobenius ContDiff |
| 36 | |
| 37 | namespace Route |
| 38 | |
| 39 | variable {G : Gauge} {ι E : Type} [DecidableEq E] {c f : Side} {S : StepData c f} {x : ℝ} |
| 40 | {V : Config G c} {F : Forest S.ratio} {K : Cards S ι E} {A : Stores S} {n : Finset E} {Q : Finset ι} |
| 41 | |
| 42 | /-- Completion used for the actual Gaussian purchasing. Will compare |
| 43 | whenever a family `Makes`. -/ |
| 44 | def patch (x : ℝ) (V : Config G c) (A : Stores S) : Stores S := { A with flags := RG.flags (temp x) V } |
| 45 | |
| 46 | structure Localized (x : ℝ) (K : Cards S ι E) (i : ι) : Prop where |
| 47 | loaded : (K.seeds i).dome (11*radiusB x) ⊆ K.X i |
| 48 | |
| 49 | namespace Localized |
| 50 | variable (M : ∀ i, Localized x K i) (hQ : K.Makes A n Q) |
| 51 | include hQ |
| 52 | |
| 53 | lemma compare (i : ι) (hi : i∈Q) : (K.seeds i).costs ⊆ A.costs ∧ (K.seeds i).aisles ⊆ A.aisles ∧ |
| 54 | (K.seeds i).flags ⊆ A.flags := by |
| 55 | rw [← hQ.2.1]; exact ⟨fun j hj => Finset.mem_biUnion.mpr ⟨i,hi,hj⟩, fun j hj => Finset.mem_biUnion.mpr ⟨i,hi,hj⟩, |
| 56 | fun j hj => Finset.mem_biUnion.mpr ⟨i,hi,hj⟩⟩ |
| 57 | |
| 58 | private lemma far {j i : ι} {w : Site c} (hi : i∈Q) (hw : w∈K.X i) (hj : j∈Q) (hv : w∈K.X j) : i=j := |
| 59 | Classical.byContradiction (fun he => Finset.disjoint_left.mp (show Disjoint _ _ from hQ.1 hi hj he) hw hv) |
| 60 | |
| 61 | lemma reads (i : ι) (k : S.Choices) (hi : i∈Q) (h : A.flags=RG.flags (temp x) V) (F : Forest S.ratio) : |
| 62 | Physical.Reads (K.X i) A (patch x V (K.seeds i)) F F V V k k := by |
| 63 | refine ⟨fun _ _ _ => rfl,fun _ _ => rfl,fun _ _ => rfl,fun _ _ _ => Iff.rfl,fun _ _ => (h ▸ Iff.rfl),?_,?_⟩ |
| 64 | · intro j hj |
| 65 | refine ⟨fun hx=>?_,fun hz => (compare hQ i hi).1 hz⟩ |
| 66 | rw [← hQ.2.1] at hx |
| 67 | obtain ⟨l,hl,hr⟩ := Finset.mem_biUnion.mp hx |
| 68 | let y:=S.ratio.parent j.1 |
| 69 | have he1 : y∈K.X i := hj (Finset.mem_image_of_mem _ (Work.E01.base_touched j)) |
| 70 | have he2 : y∈K.X l := K.gate l (Finset.mem_union_left _ (Finset.mem_union_left _ (Finset.mem_biUnion.mpr |
| 71 | ⟨j,hr,Finset.mem_image_of_mem _ (Work.E01.base_touched j)⟩))) |
| 72 | exact (far hQ hi he1 hl he2).symm ▸ hr |
| 73 | intro j hj |
| 74 | refine ⟨fun hx=>?_,fun hz => (compare hQ i hi).2.1 hz⟩ |
| 75 | rw [← hQ.2.1] at hx |
| 76 | obtain ⟨l,hl,hr⟩ := Finset.mem_biUnion.mp hx |
| 77 | have he1 : j.1 ∈ K.X i := hj (by simp [pinPos]) |
| 78 | have he2 : j.1 ∈ K.X l := K.gate l (Finset.mem_union_left _ (Finset.mem_union_right _ (Finset.mem_biUnion.mpr |
| 79 | ⟨j,hr,by simp [pinPos]⟩))) |
| 80 | exact (far hQ hi he1 hl he2).symm ▸ hr |
| 81 | |
| 82 | private lemma placeA (w : Site c) : w∈A.place ↔ ∃ i∈Q,w∈(K.seeds i).place := by |
| 83 | rw [← hQ.2.1]; simp only [Stores.place,Cards.ports, Finset.mem_union, Finset.mem_biUnion]; grind |
| 84 | |
| 85 | include M |
| 86 | lemma weather (i : ι) (hi : i∈Q) (h : A.flags=RG.flags (temp x) V) |
| 87 | {w u : Site c} (hu : u∈K.X i) (ht : separation w u ≤ radiusB x) : |
| 88 | w∈A.dome (10*radiusB x) ↔ w∈(patch x V (K.seeds i)).dome (10*radiusB x) := by |
| 89 | unfold Stores.dome; rw [halo_spec,halo_spec] |
| 90 | constructor |
| 91 | · rintro ⟨l,hl,hl'⟩ |
| 92 | refine ⟨l,?_,hl'⟩ |
| 93 | obtain ⟨j,hj,hq⟩ := (placeA hQ l).mp hl |
| 94 | suffices i=j by |
| 95 | subst j; unfold Pressure.Stores.place at *; simp only [Finset.mem_union] at * |
| 96 | rcases hq with hq|hq |
| 97 | · exact Or.inl hq |
| 98 | exact Or.inr (show l∈RG.flags (temp x) V from h ▸ (compare hQ i hi).2.2 hq) |
| 99 | apply far hQ hi hu hj; apply (M j).loaded |
| 100 | apply halo_spec.mpr |
| 101 | exact ⟨l,hq,(separation_triangle l w u).trans ((Nat.add_le_add hl' ht).trans (by omega))⟩ |
| 102 | rintro ⟨l,hl,hl'⟩ |
| 103 | refine ⟨l,?_,hl'⟩ |
| 104 | rcases Finset.mem_union.mp hl with hl|hl |
| 105 | · exact (placeA hQ l).mpr ⟨_,hi,Finset.mem_union_left _ hl⟩ |
| 106 | exact Finset.mem_union_right _ (h.symm ▸ hl) |
| 107 | |
| 108 | lemma frost (i : ι) (hi : i∈Q) (h : A.flags=RG.flags (temp x) V) (hB : 120≤radiusB x) (e : F.Free) |
| 109 | {w : Site c} (hw : w∈K.X i) (he : separation w (S.ratio.parent e.val.1) ≤ radiusB x/20) : |
| 110 | chill A x F e ↔ chill (patch x V (K.seeds i)) x F e := by |
| 111 | unfold chill |
| 112 | refine or_congr (weather M hQ i hi h hw ((separation_comm ..).trans_le (he.trans (by omega)))) |
| 113 | (weather M hQ i hi h hw ?_) |
| 114 | rw [separation_comm]; exact (separation_triangle _ (S.ratio.parent e.val.1) _).trans |
| 115 | ((Nat.add_le_add he (Work.E03.parent_step ..)).trans (by omega)) |
| 116 | end Localized |
| 117 | |
| 118 | /-- Interior site list (symmetric endpoint check) for all Z coordinates, |
| 119 | necessary bustle of possible frozen arguments captured using whole X |
| 120 | regardless of interior. `sewn` will accommodate mean & synchronized |
| 121 | marginal panels AND the By test. `held` marks those *active* fine |
| 122 | arguments to be held in analytical FKer change; separate from F.Free |
| 123 | chill. -/ |
| 124 | structure Badge (S : StepData c f) (x : ℝ) (X : Support c) where |
| 125 | near : Support c |
| 126 | held : Finset (Bond f) |
| 127 | sewn : halo (20*radiusB x) near ⊆ X |
| 128 | |
| 129 | namespace Badge |
| 130 | variable {X : Support c} (b : Badge S x X) |
| 131 | |
| 132 | def dreams (F : Forest S.ratio) (A : Stores S) := Finset.univ.filter (fun e : F.Free => chill A x F e ∧ |
| 133 | S.ratio.parent e.val.1 ∈ X ∧ S.ratio.parent (e.val.1+Lattice.step e.val.2) ∈ X) |
| 134 | def tests (F : Forest S.ratio) (A : Stores S) := Finset.univ.filter (fun e : F.Free=> ¬chill A x F e ∧ |
| 135 | S.ratio.parent e.val.1∈b.near ∧ S.ratio.parent (e.val.1+Lattice.step e.val.2)∈b.near) |
| 136 | |
| 137 | lemma contained_site : b.near ⊆ X := Finset.Subset.trans (halo_subset ..) b.sewn |
| 138 | |
| 139 | def ribbon (F : Forest S.ratio) (A : Stores S) : Ribbon F X where |
| 140 | frost := dreams (x:=x) (X:=X) F A |
| 141 | breeze := b.tests F A |
| 142 | ice i h := (Finset.mem_filter.mp h).2.2 |
| 143 | wind i h := let p:=(Finset.mem_filter.mp h).2.2; ⟨b.contained_site p.1,b.contained_site p.2⟩ |
| 144 | |
| 145 | lemma here (F : Forest S.ratio) (A : Stores S) : (b.ribbon F A).Placed x A where |
| 146 | frost i h := (Finset.mem_filter.mp h).2.1 |
| 147 | breeze i h := (Finset.mem_filter.mp h).2.1 |
| 148 | |
| 149 | lemma bag (F : Forest S.ratio) (A : Stores S) (e : F.Free) (h : e∈(b.ribbon F A).breeze) : |
| 150 | halo (20*radiusB x) {S.ratio.parent e.val.1} ⊆ X := |
| 151 | Finset.Subset.trans (Corona.halo_mono le_rfl (Finset.singleton_subset_iff.mpr (Finset.mem_filter.mp h).2.2.1)) b.sewn |
| 152 | end Badge |
| 153 | |
| 154 | variable (M : ∀ i,Localized x K i) (B : ∀ i,Badge S x (K.X i)) (V : Config G c) (F : Forest S.ratio) |
| 155 | (hB : 120≤radiusB x) |
| 156 | |
| 157 | abbrev placed (j : ι) := (B j).ribbon F (patch x V (K.seeds j)) |
| 158 | |
| 159 | include M hB |
| 160 | lemma badge_charge (hQ : K.Makes A n Q) (i : Q) (h : A.flags=RG.flags (temp x) V) : |
| 161 | (placed B V F i.val).Placed x A := by |
| 162 | let R := B i.val; let w := placed B V F i.val |
| 163 | have hh : w.Placed x (patch x V (K.seeds i)) := Badge.here .. |
| 164 | have he (e : F.Free) (hp : S.ratio.parent e.val.1∈K.X i.val) := Localized.frost M hQ _ i.property h hB e hp |
| 165 | (by rw [separation_self]; omega) |
| 166 | refine ⟨fun e hx => (he e (w.ice e hx).1).mpr (hh.frost _ hx),fun e hx ht => (hh.breeze e hx) ((he e (w.wind e hx).1).mp ht)⟩ |
| 167 | |
| 168 | variable {T : Tube G S} {R : Rep G f} {W : ℝ} {D : Allocation G S x W} {L : Almanac T D R F} |
| 169 | |
| 170 | def clears (hf : S.patch.Branches S.kernel G) (he : Next.SectorChange.span S.patch x ≤ radiusB x/50) |
| 171 | (hr : ∀ A k, A.flags=RG.flags (temp x) V → L.C A V k=fog A F T x V k) : Roster L V K := by |
| 172 | let w := placed B V F |
| 173 | let a i := patch x V (K.seeds i) |
| 174 | refine ⟨w,a,fun _ => rfl,fun i=>Badge.here ..,?_,fun A Q m hm hk i=> badge_charge M B V F hB hk i hm,?_,?_⟩ -- order |
| 175 | · intro k l i hh; rw [hr _ _ rfl,hr _ _ rfl] |
| 176 | refine Contact.synchronized hf hB _ _ hh (fun i _ _ => Iff.rfl) ?_ |
| 177 | intro t |
| 178 | exact Finset.Subset.trans (Corona.halo_mono (by unfold Contact.billRadius; omega) (Finset.Subset.refl _)) |
| 179 | ((B i).bag F _ t.1.val t.1.property) |
| 180 | · intro A k Q m ha h i; rw [hr _ _ ha,hr _ _ rfl] |
| 181 | refine Contact.synchronized hf hB _ _ (show Tags.Synchronized (K.X i.val) k k from ⟨fun _ _=>rfl,fun _ _ _=>rfl⟩) ?_ ?_ |
| 182 | · rintro ⟨j,z⟩ e he |
| 183 | exact Localized.frost M h _ i.property ha hB e ((w i.val).wind j.val j.property).1 he |
| 184 | intro t |
| 185 | exact Finset.Subset.trans (Corona.halo_mono (by unfold Contact.billRadius; omega) (Finset.Subset.refl _)) ((B i.val).bag F _ t.1.val t.1.property) |
| 186 | intro A k Q m ha h i j hg |
| 187 | rw [hr _ _ ha] |
| 188 | apply Aperture.insulated (show Disjoint (K.X i.val) (K.X j.val) from h.1 i.property j.property (mt Subtype.ext hg)) |
| 189 | exact fun t ht=>Finset.Subset.trans (Corona.halo_mono (by omega) (Finset.Subset.refl _)) ((B i.val).bag F _ t ht) |
| 190 | end Route |
| 191 | end YM.PhysicalNext.Dictionary |