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.MergeProof.Renaissance |
| 2 | |
| 3 | set_option autoImplicit false |
| 4 | noncomputable section |
| 5 | namespace YM.MergeProof |
| 6 | open Finset Function Filter Set MeasureTheory Lattice Wilson RG Source Labels Extra.Histories Bid |
| 7 | open Planned.GuardedAtom Push Local Guard Motion PhysicalNext.Repeat Lotus |
| 8 | open scoped Topology Matrix.Norms.Frobenius BigOperators ContDiff Classical |
| 9 | variable {G:Gauge}{d:ℕ}{F:Labels.Frame G d}(B:SectionData F) (H : History G) (N p : ℕ)(A:Hol G) (W : Worth) |
| 10 | local notation "DO"=> fun i=> GaugeDoor (H.rep N p (i+1)) (H.rep N p i) |
| 11 | set_option quotPrecheck false |
| 12 | /-- fixed ports not tag motion selected later. Affine at all admissible periods. -/ |
| 13 | def Carol (m:ℕ) (D:GaugeDoor (H.rep N p (m+1)) (H.rep N p m))(V : Voice F H p (m+1))(Q: Voice F H p m) (t:ℝ):Prop:=∃ Y:Set Wing,Y.Finite∧∀ v,let I:= V.plays v; let R:=H.rep N p (m+1); let Z:=V.index v |
| 14 | Tale Y 0 0 (((H.S.block m).val:ℂ)^d) (I.exponentialEntry 0 B R) (profile R.activities I.forced) (profile (H.rep N p m).activities (Q.plays v).forced) (Z 0) ((orbitCost F*F.coeffSize Z)*(t+2*(H.levels.params (m+1)).columns)) (Q.charge v) D |
| 15 | structure Tune (m:ℕ) (P:GaugeDoor (H.rep N p (m+1)) (H.rep N p m))(t:ℝ):Prop where |
| 16 | price : ∃ (W':Set Wing), W'.Finite ∧ ∃ (K:Guard.Keeper (H.rep N p (m+1)).p (H.rep N p (m+1)).activities), (∀ i:(StockTag (H.S.side (m+1) p)), W' (.gasKey (cart (R:=H.rep N p (m+1)) K i))) ∧ |
| 17 | ∃ (T : Heading F) (a b:ℝ),Stampede B H N p m A P a b t T W' ∧ Buys H F W m a b |
| 18 | honest:SoundDoor (H.levels.clock.op m p) P |
| 19 | toll:0 ≤ t |
| 20 | kappa:Real.sqrt (H.levels.clock.forcedAllowance (m+1)) ≤ 1 |
| 21 | |
| 22 | lemma compose {u: ℕ→ℝ} {D:∀ m:ℕ,m<N→GaugeDoor (H.rep N p (m+1)) (H.rep N p m)} (h : H.Selected)(hB:B.Sound A) (hw : roomCost H.levels W) (hb : Bank W H.levels) (r : ℕ) (hr : r≤N) |
| 23 | (V : Voice F H p N) (hu : OnTop B H N p A V) (hv: Chorus H N p N V) |
| 24 | (calls : ∀ m:ℕ, r ≤ m → ∀ hm:m<N,Tune B H N p A W m (D m hm) (u m)): |
| 25 | ∃ M : Extra.Histories.Music F H N p,M.tone N=V ∧ Sung B H N p A W r M ∧ ∀ m:ℕ,r ≤ m → ∀ hm:m<N, Carol B H N p m (D m hm) (M.tone (m+1)) (M.tone m) (u m) ∧ Chorus H N p m (M.tone m):=by |
| 26 | classical |
| 27 | induction hr using Nat.decreasingInduction with |
| 28 | | self=> |
| 29 | let a (m : ℕ) : Voice F H p m := ⟨fun _ => Extra.Histories.primary 0 0, fun _ => 0,LinearEquiv.refl ℂ _⟩ |
| 30 | let M : Extra.Histories.Music F H N p := ⟨update a N V⟩ |
| 31 | have he : M.tone N=V := update_self N V a |
| 32 | refine ⟨M,he,⟨he.symm ▸ hu, le_rfl, fun i hi ht => ?_, fun i hi ht => by omega⟩,fun i hi ht=> by omega⟩ |
| 33 | obtain rfl : i=N := le_antisymm ht hi |
| 34 | rw [he]; exact hu.heard |
| 35 | | of_succ k hk ih=> |
| 36 | obtain ⟨M,hM,hS,hD⟩:=ih fun i hi=> calls i (by omega) |
| 37 | obtain ⟨⟨W',hW,K,hx,T,t,b,h₀,h₁⟩,hK,hP,hQ⟩:= calls k le_rfl hk |
| 38 | have hSq: Chorus H N p (k+1) (M.tone _):=by |
| 39 | by_cases h:k+1=N |
| 40 | · change Chorus H N p (k+1) (M.tone (k+1)); rw [h,hM]; exact hv |
| 41 | exact (hD (k+1) le_rfl (by omega)).2 |
| 42 | obtain ⟨v,hV,hT,hX,hY⟩:= repriseQ B H N p A W k (M.tone _) h hk (hS.earned _ le_rfl hk) hw hb T (D k hk) hK W' hP h₀ hW hQ h₁ K hx hSq hB (fun U=> (Tour.bright H h N p _ hk U).ne') |
| 43 | let t : Extra.Histories.Music F H N p := ⟨update M.tone k v⟩ |
| 44 | have hh : t.tone k=v := update_self k v M.tone |
| 45 | have htr (i : ℕ) (hi : k < i) : t.tone i=M.tone i := update_of_ne hi.ne' v M.tone |
| 46 | refine ⟨t,(htr N hk).trans hM,⟨?_,hk.le, fun i hi he => ?_,fun i hi he => ?_⟩,fun i hi he=>?_⟩ |
| 47 | · rw [htr _ hk]; exact hS.head |
| 48 | · obtain h|h := lt_or_eq_of_le hi |
| 49 | · rw [htr _ h]; exact hS.earned i h he |
| 50 | subst i; rw [hh]; exact hV |
| 51 | · obtain h|h := lt_or_eq_of_le hi |
| 52 | · rw [htr i h,htr (i+1) (by omega)]; exact hS.step i h he |
| 53 | subst i; rw [htr (k+1) k.lt_succ_self,hh]; exact hT |
| 54 | obtain hl|hl:= lt_or_eq_of_le hi |
| 55 | · rw [htr i hl,htr (i+1) (by omega)]; exact hD i hl he |
| 56 | subst i; rw [hh,htr (k+1) k.lt_succ_self]; exact ⟨hY,hX⟩ |
| 57 | end YM.MergeProof |