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.FREE_DETECTOR_ALGEBRA.GradedBasis |
| 2 | import YM.PertExtension.MixedRule |
| 3 | import YM.Next.FOUNDATIONS.Primary |
| 4 | |
| 5 | /-! Choice of on-shell axes from the given reference frames, representable at |
| 6 | each bare column's own horizon before position frame matching. -/ |
| 7 | noncomputable section |
| 8 | set_option autoImplicit false |
| 9 | set_option maxHeartbeats 2000000 |
| 10 | namespace YM.PertExtension.Horizon |
| 11 | open Filter Set Labels Function Wilson Lattice Gauge Precision RG Source Extra.FD Next.Foundations |
| 12 | open scoped Topology BigOperators ContDiff Classical |
| 13 | open LatticePT |
| 14 | variable {G : Gauge}{d e : ℕ} |
| 15 | |
| 16 | lemma reference_rises (F : Frames G)(h : e ≤ d)(v : (F.level e).Index) : |
| 17 | ∃ i, raiseLabel G h ((F.level e).basis v) = (F.level d).basis i := by |
| 18 | induction d, h using Nat.le_induction with |
| 19 | | base=> exact ⟨v,rfl⟩ |
| 20 | | succ d h ih => |
| 21 | obtain ⟨i,hi⟩:=ih |
| 22 | obtain ⟨j,hj⟩:=F.coherent _ ⟨i,rfl⟩ |
| 23 | exact ⟨j,(congr_arg (raiseLabel G (Nat.le_succ d)) hi |>.trans hj.symm)⟩ |
| 24 | |
| 25 | def lowered (F : Frame G d) (i:F.Index) : Label G (F.grades i).1 := |
| 26 | ⟨(F.basis i).val, |
| 27 | (by refine ⟨?_,(F.basis i).property.2⟩ |
| 28 | change _ ∈ limited G _ |
| 29 | rw [limited,MvPolynomial.mem_restrictSupport_iff] |
| 30 | intro p hp |
| 31 | change height p ≤ _ |
| 32 | refine le_of_eq ?_ |
| 33 | exact (congr_arg Prod.fst (weight_slot p)).symm.trans (congr_arg Prod.fst ((pure_grade _ _).1 (F.pure i) (MvPolynomial.mem_support_iff.mp hp))) )⟩ |
| 34 | |
| 35 | lemma reascend (F:Frame G d) (i:F.Index) : |
| 36 | raiseLabel G (F.bound i) (lowered F i) = F.basis i := rfl |
| 37 | |
| 38 | lemma counterpart (F : Frames G)(i:(F.level d).Index) : |
| 39 | let K:=F.level d; let j:=(K.grades i).1 |
| 40 | ∃ v : (F.level j).Index, (F.level j).basis v=lowered K i ∧ (F.level j).grades v=K.grades i := by |
| 41 | intro K j; let U:=F.level j |
| 42 | choose ζ hζ using reference_rises F (K.bound i) |
| 43 | let v:=lowered K i |
| 44 | have hh : ∑ x:U.Index,(U.basis.repr v x) • K.basis (ζ x)=K.basis i := by |
| 45 | calc |
| 46 | _ = ∑ x, (raiseLabel G (K.bound i)) ((U.basis.repr v x) • U.basis x) := Finset.sum_congr rfl fun x _=> by rw [map_smul,hζ x] |
| 47 | _ = _ := by rw [←map_sum,Module.Basis.sum_repr]; exact reascend K i |
| 48 | suffices ∃ t,ζ t=i by |
| 49 | obtain ⟨t,ht⟩:=this |
| 50 | have hm : U.basis t=v := Subtype.ext (congr_arg (fun x : Label G d=>x.val) ((hζ t).trans (congr_arg K.basis ht))) |
| 51 | exact ⟨t,hm,pure_unique (by rw [←hm];exact U.basis.ne_zero t) _ _ (hm ▸ U.pure t) (show v∈Grade (K.grades i) from K.pure i)⟩ |
| 52 | by_contra! he |
| 53 | have h := congr_arg (fun x=>K.coords x i) hh |
| 54 | simp only [map_sum, map_smul,Finset.sum_apply,K.coords_basis] at h |
| 55 | simp [Pi.single_eq_of_ne (Ne.symm (he _))] at h |
| 56 | |
| 57 | section axes |
| 58 | variable (F : Frames G) (d) |
| 59 | def reference (t : Fin ((recorded F d).m+1)) := ((recorded F d).corners t).choose |
| 60 | def weight (t : Fin ((recorded F d).m+1)) := ((F.level d).grades (reference (F:=F) d t)).1 |
| 61 | def sourceAxis (t : Fin ((recorded F d).m+1)) := (counterpart F (reference (F:=F) d t)).choose |
| 62 | lemma source_match (t) : raiseLabel G ((F.level d).bound (reference (F:=F) d t)) ((F.level (weight (F:=F) d t)).basis (sourceAxis (F:=F) d t)) |
| 63 | =(F.level d).basis (reference (F:=F) d t) := by |
| 64 | unfold weight |
| 65 | unfold sourceAxis; rw [(counterpart F (reference d F t)).choose_spec.1,reascend] |
| 66 | |
| 67 | def word (H : Hol G)(S : ∀ n, SectionData (F.level n)) (hS : ∀ n,(S n).Sound H)(pop : ∀ n,Bid.pop (S n))(t : Fin ((recorded F d).m+1)) : Word G := |
| 68 | ⟨weight (F:=F) d t, _,S _,H,hS _,pop _,sourceAxis (F:=F) d t, |
| 69 | congr_arg Prod.fst ((counterpart F (reference (F:=F) d t)).choose_spec.2)⟩ |
| 70 | |
| 71 | def constructionWord (t : Fin ((recorded (frames G) d).m+1)) : Word G := |
| 72 | word (F:=frames G) d (hol G) (localSection G) (sound G) (valuation G) t |
| 73 | |
| 74 | end axes |
| 75 | end YM.PertExtension.Horizon |