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.PhysicalNext.ACTUAL_SECTOR_FACTOR_DICTIONARY.Packets |
| 2 | |
| 3 | /-! Expose the exact intrinsic (one Store) gate split to the Spot |
| 4 | computations. -/ |
| 5 | set_option autoImplicit false |
| 6 | set_option linter.unusedVariables false |
| 7 | noncomputable section |
| 8 | namespace YM.PhysicalNext.Dictionary.Parcel |
| 9 | open Function Filter Set Lattice RG Wilson Pressure Pressure.Tube Pressure.Stores Tree Precision Exterior MeasureTheory Matrix Bloch |
| 10 | open Next.Fluctuations Next.SectorChange Next.SectorChange.Rows Push.SectorMeasure Push.SectorMeasure.Oriented |
| 11 | open AnalyticBridge.Annulus.Map |
| 12 | open AnalyticBridge.RelativeLogdet |
| 13 | open AnalyticBridge.LocalGaussian Spot |
| 14 | open scoped Topology BigOperators Classical Matrix.Norms.Frobenius ContDiff InnerProductSpace |
| 15 | open Wires Geo Notify Voice Voice.Check SectorNext.Reconnect SectorNext.Reconnect.Words |
| 16 | variable {G : Gauge} {c f : Side} {S : StepData c f} (D : AnalyticBridge.LocalGaussian.Desk G S) |
| 17 | {F : Forest S.ratio} {A : Stores S} {k : S.Choices} |
| 18 | local notation "B" => radiusB D.betaHat |
| 19 | |
| 20 | /-- Finite catalogue for compulsory override. Nothing to do with the |
| 21 | radius of convergence. -/ |
| 22 | def host (S : StepData c f) : Finset (ListID S) := |
| 23 | Finset.univ.image Legend.row ∪ Finset.univ.image Legend.glaze ∪ Finset.univ.image Legend.deficit ∪ |
| 24 | (Finset.univ : Finset (Bond f)).image (Legend.folio ∘ barcode (Dots f) ∘ Sum.inl) ∪ Finset.univ.image Legend.thin |
| 25 | |
| 26 | lemma reception (i : ListID S) (h : (ask D i).Nonempty) : i∈host S := by |
| 27 | rcases i with i|i|i|n|n|i|i|⟨i,j,n⟩|i|i |
| 28 | · simp [host] |
| 29 | · simp [host] |
| 30 | · simp [host] |
| 31 | · by_cases ht : n∈Set.range (barcode (Dots f)) |
| 32 | · obtain ⟨i|i,rfl⟩:=ht <;> simp only [ask,placed,Sum.elim_inl,Sum.elim_inr,Finset.not_nonempty_empty] at h |
| 33 | simp [host] |
| 34 | simp only [ask,decodePlace,Function.extend_apply' _ _ _ ht, Finset.not_nonempty_empty] at h |
| 35 | case thin => simp [host] |
| 36 | all_goals simp [ask] at h |
| 37 | |
| 38 | def wanted (S : StepData c f) (x : ℝ) (A : Stores S) (i : Voice.Check.Test c f) : Prop := recorded S (address S i) (fee i*radiusB x) A |
| 39 | def wants (D : AnalyticBridge.LocalGaussian.Desk G S) (A : Stores S) (i : ListID S) : Prop := recorded S (ask D i) (askRate i*radiusB D.betaHat) A |
| 40 | |
| 41 | def kept (u : Spot D) (b : Finset ℕ) := Finset.univ.filter fun i : u.Gates b => (historical D u i).elim (wanted S D.betaHat u.A) (fun _=>True) |
| 42 | def tapped (u : Spot D) : Finset u.Log := ((host S).filter (wants D u.A)).preimage (written D u) (once D u).injOn |
| 43 | |
| 44 | variable {u : Spot D} {b : Finset ℕ} |
| 45 | lemma stays (i : u.Gates b) : i∈kept D u b ↔ (historical D u i).elim (wanted S D.betaHat u.A) (fun _=>True) := by simp [kept] |
| 46 | lemma heated (i : u.Log) : i∈tapped D u ↔ wants D u.A (written D u i) := by |
| 47 | rw [tapped, Finset.mem_preimage,Finset.mem_filter] |
| 48 | exact ⟨fun h => h.2,fun h=> ⟨reception D (written D u i) (by obtain ⟨x,h,-⟩:=Finset.not_disjoint_iff.mp h; exact ⟨_,h⟩), h⟩⟩ |
| 49 | |
| 50 | section coverage |
| 51 | local notation "A₀" => A |
| 52 | -- exact incidence from surviving intact gates and d.Valid kept predicates, not assumed once loosened. |
| 53 | lemma cost_here (i : Cell f) (h : i∈A.costs) : i.1 ∈ touched i ∧ wanted S D.betaHat A (.fine i) := by |
| 54 | have ht:= Work.E01.base_touched i |
| 55 | let q:=S.ratio.parent i.1 |
| 56 | have he := at_post (S:=S) (Test.fine i) |
| 57 | exact ⟨ht,Finset.not_disjoint_iff.mpr ⟨q,he,halo_subset _ _ (Finset.mem_union_left _ (Finset.mem_union_left _ (Finset.mem_biUnion.mpr |
| 58 | ⟨i,h,he⟩)))⟩⟩ |
| 59 | lemma aisle_here (i : Bond c) (h : i∈A.aisles) : wanted S D.betaHat A (.noise i) := by |
| 60 | have he := at_post (S:=S) (Test.noise i) |
| 61 | exact Finset.not_disjoint_iff.mpr ⟨i.1,he, halo_subset _ _ (Finset.mem_union_left _ (Finset.mem_union_right _ (Finset.mem_biUnion.mpr |
| 62 | ⟨i,h,he⟩)))⟩ |
| 63 | |
| 64 | |
| 65 | end coverage |
| 66 | |
| 67 | /-- Valid even away from Masks, for reassembly in a component. Determines |
| 68 | which independent addresses correspond to physical letters. Also include K |
| 69 | ownership via selected b. -/ |
| 70 | def present (x : ℝ) (A : Stores S) (F : Forest S.ratio) : ListID S → Prop |
| 71 | | .glaze i | .surge i => Physical.openBond A F x i |
| 72 | | .deficit i => Print.winter x A F i |
| 73 | | .spark i j n=>Physical.openBond A F x i ∧ Physical.openBond A F x j |
| 74 | | _=>True |
| 75 | |
| 76 | def live (x : ℝ) (F : Forest S.ratio) (A : Stores S) (b : Finset ℕ) : Voice.Check.Test c f ⊕ ℕ → Prop |
| 77 | | .inr j=> j∈b |
| 78 | | .inl (.screen i)=> Physical.openBond A F x i |
| 79 | | _=>True |
| 80 | |
| 81 | lemma advertised {u : Spot D} (i : u.Log) : present D.betaHat u.A u.F (written D u i) := by |
| 82 | rcases i with i|i|(i|i|i)|(i|i|⟨i,j,n⟩)|i|i <;> |
| 83 | first | trivial | exact ⟨i,rfl⟩ | exact (Print.sees_frost D.betaHat ..).mpr i.property | exact ⟨⟨i,rfl⟩,⟨j,rfl⟩⟩ |
| 84 | lemma visited (i : u.Gates b) : live D.betaHat u.F u.A b (historical D u i) := by |
| 85 | rcases i with (i|i|i|i|i)|i|i <;> first | trivial | exact i.property | exact ⟨i,rfl⟩ |
| 86 | |
| 87 | -- optional/protected stamps on the real non-tree coordinates |
| 88 | lemma prescribed (u : Spot D) (i : ListID S) : |
| 89 | i ∈ Set.range (written D u) ↔ present D.betaHat u.A u.F i := by |
| 90 | constructor |
| 91 | · rintro ⟨j,rfl⟩; exact advertised D j |
| 92 | rintro h; cases i with |
| 93 | | row i=>exact ⟨.inl i,rfl⟩ |
| 94 | | glaze i=>obtain ⟨a,rfl⟩:=h; exact ⟨.inr (.inl a),rfl⟩ |
| 95 | | deficit i=> |
| 96 | let e : u.F.Free:=⟨i,h.1⟩; let b : u.FrozenKey:=⟨e,h.2⟩ |
| 97 | exact ⟨.inr (.inr (.inl (.inl b))),rfl⟩ |
| 98 | | folio i=>exact ⟨.inr (.inr (.inl (.inr (.inl i)))),rfl⟩ |
| 99 | | starboard i=>exact ⟨.inr (.inr (.inl (.inr (.inr i)))),rfl⟩ |
| 100 | | thin i=>exact ⟨.inr (.inr (.inr (.inl (.inl i)))),rfl⟩ |
| 101 | | surge i=>obtain ⟨a,rfl⟩:=h; exact ⟨.inr (.inr (.inr (.inl (.inr (.inl a))))),rfl⟩ |
| 102 | | spark i j n=>obtain ⟨⟨a,ha⟩,b,hb⟩:=h; exact ⟨.inr (.inr (.inr (.inl (.inr (.inr (a,b,n)))))), by simp [written,ha,hb]⟩ |
| 103 | | opened i=>exact ⟨.inr (.inr (.inr (.inr (.inl i)))),rfl⟩ |
| 104 | | letter i=>exact ⟨.inr (.inr (.inr (.inr (.inr i)))),rfl⟩ |
| 105 | |
| 106 | lemma controlled (u : Spot D) (b : Finset ℕ) (i : Voice.Check.Test c f ⊕ ℕ) : |
| 107 | i∈Set.range (historical D u (b:=b)) ↔ live D.betaHat u.F u.A b i := by |
| 108 | constructor |
| 109 | · rintro ⟨j,rfl⟩; exact visited D j |
| 110 | intro h; rcases i with i|i |
| 111 | · cases i with |
| 112 | | fine i=>exact ⟨.inl (.inl i),rfl⟩ |
| 113 | | noise i=>exact ⟨.inl (.inr (.inl i)),rfl⟩ |
| 114 | | void i=>exact ⟨.inr (.inr i),rfl⟩ |
| 115 | | frame i=>exact ⟨.inl (.inr (.inr (.inl i))),rfl⟩ |
| 116 | | predictor i=>exact ⟨.inl (.inr (.inr (.inr (.inl i)))),rfl⟩ |
| 117 | | screen i=>obtain ⟨e,rfl⟩:=h; exact ⟨.inl (.inr (.inr (.inr (.inr e)))),rfl⟩ |
| 118 | exact ⟨.inr (.inl ⟨i,h⟩),rfl⟩ |
| 119 | end YM.PhysicalNext.Dictionary.Parcel |