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.Extra.WILSON_STARTUP.Match |
| 2 | import YM.Extra.WILSON_STARTUP.TopStep |
| 3 | import YM.Next.FOUNDATIONS.SU2 |
| 4 | |
| 5 | /-! |
| 6 | # Changing just the boundary condition of Kin.Planned |
| 7 | |
| 8 | All periods and depths; total choices even beyond N. No compatibility with |
| 9 | untold pricing/program invariants assumed. Replacement works if the revised |
| 10 | Horizon already overlaid and ready (separate obligation!). It leaves *lower* |
| 11 | α, station and paths as well as first-step α unchanged. Tag independence of |
| 12 | the prismatic branch equations is used only as established by F04's real |
| 13 | near-flat comparison, not for the full assigned-sector kernel. |
| 14 | -/ |
| 15 | noncomputable section |
| 16 | set_option autoImplicit false |
| 17 | namespace YM.WilsonStartup.Change |
| 18 | open Function RG Wilson Lattice Bid Precision Exterior Bloch Tree Work Design |
| 19 | open scoped ContDiff Topology Matrix.Norms.Frobenius Classical |
| 20 | variable {G : Gauge} {a : Levels G} {M H : Horizon a} {O : ChartRatio G} {s : Supply.Sheet G} {D : Supply.Rolls s} {Q : PostCost D} |
| 21 | |
| 22 | structure Overlay (M H : Horizon a) : Prop where |
| 23 | peak N : M.H N N=bed (a.params N).clip |
| 24 | other N m : m<N → M.H N m=H.H N m |
| 25 | guesses N m : m<N → (M.towers N m).A0=(H.towers N m).A0 |
| 26 | |
| 27 | def revised (K : Kin H O) (N m : ℕ) := if m=N then top G (a.params N).clip else K.path N m |
| 28 | |
| 29 | variable {K : Kin H O} |
| 30 | |
| 31 | lemma top_match (h : K.Planned Q) (N p : ℕ) (hs : Suitable G (a.params N)) : |
| 32 | Matches 4 (mainTerm (a.params N).clip (K.path N N) ∘ (represent (n:=a.S.side N p))) |
| 33 | (mainTerm (a.params N).clip (revised K N N) ∘ represent) 0 := by |
| 34 | rw [revised,if_pos rfl] |
| 35 | refine ⟨(h.peak N p 0 (by decide)).1,(peak _ (n:=a.S.side N p) hs.direct 0 (by decide)).1,fun j hj => |
| 36 | ((h.peak N p j hj).2.2).trans ((peak _ hs.direct j hj).2.2).symm⟩ |
| 37 | |
| 38 | structure Stations (M : Horizon a) (K : Kin H O) {s : Supply.Sheet G} {D : Supply.Rolls s} (Q : PostCost D) |
| 39 | (N m p : ℕ) (F : Forest (a.clock.op m p).ratio) (u : Dir G (a.S.side m p) → AxisChart G F) : Prop where |
| 40 | gap : PriceGap F (a.params (m+1)).clip (revised K N (m+1)) (Q.η (a.clock.J (m+1))) |
| 41 | critical : Critical F (a.params (m+1)).clip (revised K N (m+1)) u |
| 42 | guess : Guessed F (installed (a.clock.op m p).ratio (M.towers N m).A0) u |
| 43 | matchJet : ClassicalMatch F (a.params (m+1)).clip (a.params m).clip (revised K N (m+1)) (revised K N m) u |
| 44 | wave : let j:= a.clock.J (m+1) |
| 45 | FiniteBound F (revised K N (m+1)) (revised K N m) (a.params (m+1)).clip (a.params m).clip (K.alpha N m) O |
| 46 | u (Q.Γ j) (Q.c j) (a.clock.loopCap (m+1)) |
| 47 | |
| 48 | lemma arrival (he : Overlay M H) (hO : LocalRatio O) (h : K.Planned Q) (N m p : ℕ) (hs : Suitable G (a.params N)) |
| 49 | (F : Forest (a.clock.op m p).ratio) (hm : m<N) : |
| 50 | ∃ u, Stations M K Q N m p F u ∧ (m+1<N → u=K.stationary N m p F) := by |
| 51 | obtain ⟨h₁,h₂⟩ := h.critical N m p hm F; have h₃ := h.classicalPart N m p hm F; have h₄ := h.retains N m p hm F |
| 52 | have h₅ := h.gap N m p hm F |
| 53 | rw [← he.guesses N m hm] at h₂ |
| 54 | by_cases hx : m+1=N |
| 55 | · have hw : Matches 4 (mainTerm (a.params (m+1)).clip (K.path N (m+1)) ∘ (represent (n:=a.S.side (m+1) p))) |
| 56 | (mainTerm (a.params (m+1)).clip (revised K N (m+1)) ∘ represent) 0 := by rw [hx]; exact top_match h N p hs |
| 57 | obtain ⟨g,u,t,v,w,e⟩ := top_step hw (Q.price _) (a.blocks m p |>.branches) h₁ h₂ h₅ h₃ h₄ hO |
| 58 | (fun b => by rw [hx]; exact h.initial N b) (by simp [revised,hx,top,extractAtom]; rfl) |
| 59 | exact ⟨u, ⟨g,t,v,by rwa [show revised K N m = _ from if_neg hm.ne],by rwa [show revised K N m = _ from if_neg hm.ne]⟩,fun h => by omega⟩ |
| 60 | refine ⟨K.stationary N m p F,⟨?_,?_,h₂,?_,?_⟩,fun _ => rfl⟩ <;> simpa only [revised,if_neg hx,if_neg hm.ne] |
| 61 | |
| 62 | theorem engine (he : Overlay M H) (hO : LocalRatio O) (h : K.Planned Q) (hs : ∀ N, Suitable G (a.params N)) : |
| 63 | ∃ K' : Kin M O, K'.Planned Q ∧ K'.path=revised K ∧ K'.alpha=K.alpha ∧ |
| 64 | ∀ N m p F,m+1<N → K'.stationary N m p F = K.stationary N m p F := by |
| 65 | have hv N m p (F : Forest (a.clock.op m p).ratio) : ∃ u, (m<N → Stations M K Q N m p F u) ∧ |
| 66 | (m+1<N → u=K.stationary N m p F) := by |
| 67 | by_cases hm : m<N |
| 68 | · obtain ⟨u,hh,h⟩ := arrival he hO h N m p (hs N) F hm; exact ⟨u,fun _ => hh,h⟩ |
| 69 | exact ⟨0,by simp [hm], by omega⟩ |
| 70 | choose f hf hr using hv |
| 71 | let K' := Kin.mk (M:=M) (T:=O) K.alpha (revised K) f |
| 72 | refine ⟨K',⟨h.stage,h.lengths,fun N m hm => ?_,fun N m hm => ?_,fun N p j hj => ?_,fun N b => ?_, |
| 73 | fun N m p hm F => (hf N m p F hm).gap,fun N m p hm F => ⟨(hf N m p F hm).critical,(hf N m p F hm).guess⟩, |
| 74 | fun N m p hm F => (hf N m p F hm).matchJet,h.kinetic,fun N m p hm F => (hf N m p F hm).wave⟩,rfl,rfl,hr⟩ |
| 75 | · change Attached _ (revised K N m); obtain hm|rfl := lt_or_eq_of_le hm |
| 76 | · rw [he.other N m hm,revised,if_neg hm.ne]; exact h.links N m hm.le |
| 77 | rw [he.peak,revised,if_pos rfl]; exact attached _ |
| 78 | · change (revised K N m).Bounds _ _ _ _; obtain hm|rfl := lt_or_eq_of_le hm |
| 79 | · rw [revised,if_neg hm.ne]; exact h.cap N m hm.le |
| 80 | rw [revised,if_pos rfl]; exact layout_ready (hs m) |
| 81 | · simp only [K',revised,if_true]; exact peak _ (hs N).direct j hj |
| 82 | simp [K',revised,top,extractAtom]; rfl |
| 83 | end YM.WilsonStartup.Change |