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.Bid.Phase |
| 2 | |
| 3 | set_option autoImplicit false |
| 4 | noncomputable section |
| 5 | namespace YM.Work.B07 |
| 6 | open Bid Set Filter Function MeasureTheory OS OS.Ground Org Org.Phase Spec Table Word Analysis Extraction |
| 7 | open scoped Topology NNReal InnerProductSpace BigOperators ContDiff ENNReal |
| 8 | variable {G : Gauge} {C : Family G} {S : Table C.book} {V : Chamber S timeAxis} {A : Spread V} |
| 9 | variable (P : Spread.Resolution A) (h : Theme V A) (i : P.X) {n : ℕ} |
| 10 | |
| 11 | /-- Evaluate the whole compressed word in one character, with zero off Conf. -/ |
| 12 | def state : Table C.book where |
| 13 | value {n} p x := (P.character i).toAlgHom.toLinearMap.compMultilinearMap (h.array n p x).choose |
| 14 | |
| 15 | lemma state_value (p : Caps n) (v : C.book.Vector p) (x : Points n) : |
| 16 | (state P h i).value p x v = P.character i (depot V A x p v) := |
| 17 | congr_arg _ ((h.array n p x).choose_spec v) |
| 18 | |
| 19 | lemma state_read (v : Fin n → C.book.Token) {x : Points n} (hx : x ∈ conf n) : |
| 20 | (state P h i).read x v = P.character i (M A (realize v x) ((realized ..).2 hx)) := by |
| 21 | rw [Table.read,state_value,depot,dif_pos hx] |
| 22 | |
| 23 | lemma state_expect (w : C.book.Word) (hw : distinct w) : |
| 24 | (state P h i).expect w = P.character i (M A w hw) := by |
| 25 | rw [expect,state_read P h i _ hw]; congr 1; simp |
| 26 | |
| 27 | lemma state_receives (u : Steady V) : P.receives (state P h i) i := by |
| 28 | intro w hw s d hs |
| 29 | rw [state_expect P h i _ hw, overline A u w hw s hs] |
| 30 | |
| 31 | lemma state_basic : (state P h i).Basic where |
| 32 | same {n} r {x} hx v := by |
| 33 | rw [state_read P h i _ (Points.rearrange_in _ hx),state_read P h i _ hx] |
| 34 | congr 1 |
| 35 | apply h.changes |
| 36 | let f := fun j => (x j,v j) |
| 37 | have hf : Injective f := fun _ _ e => (show Injective x.ofLp from hx) (congr_arg Prod.fst e) |
| 38 | change List.Perm (List.ofFn (f ∘ r)) (List.ofFn f) |
| 39 | refine (List.perm_ext_iff_of_nodup (List.nodup_ofFn.mpr (hf.comp r.injective)) |
| 40 | (List.nodup_ofFn.mpr hf)).mpr (fun a => ?_) |
| 41 | simp only [List.mem_ofFn,Function.comp_apply] |
| 42 | exact ⟨fun ⟨j,e⟩ => ⟨r j,e⟩,fun ⟨j,e⟩ => ⟨r.symm j,by rw [Equiv.apply_symm_apply]; exact e⟩⟩ |
| 43 | trivial f x := by |
| 44 | rw [state_read P h i f (by change Injective x.ofLp; exact Function.injective_of_subsingleton _)] |
| 45 | have he (hx : distinct (realize f x)) : M A (realize f x) hx = 1 := (show M A (realize f x) hx = M A [] _ by congr 1).trans h.vacant |
| 46 | rw [he,map_one] |
| 47 | unital hx d v := by |
| 48 | rw [state_read P h i _ hx,state_read P h i _ (Points.tail_in hx), h.unital _ _ _ hx] |
| 49 | |
| 50 | lemma state_translation : (state P h i).Homogeneous := by |
| 51 | intro n x hx s v |
| 52 | rw [state_read P h i _ (Points.across_in s hx),state_read P h i _ hx, h.offsets s (realize v x)] |
| 53 | congr 2 |
| 54 | simp only [carry,realize,List.map_ofFn]; rfl |
| 55 | |
| 56 | lemma state_rel : (state P h i).respects S := by |
| 57 | intro d v hv |
| 58 | rw [(state P h i).criterion] |
| 59 | intro n B x hx |
| 60 | rw [front_eq,state_value] |
| 61 | let t := vals B (0 : C.book.Ref d) |
| 62 | have he : depot V A x _ (vals B v) = depot V A x _ t := h.pins _ _ _ _ _ (fun j => by |
| 63 | refine Fin.cases ?_ (fun _ => rfl) j |
| 64 | change S.project d v = S.project d 0 |
| 65 | rw [map_zero]; exact (Submodule.Quotient.mk_eq_zero _).mpr hv) |
| 66 | rw [he,← state_value P h i] |
| 67 | exact MultilinearMap.map_coord_zero _ 0 rfl |
| 68 | |
| 69 | variable (X : Spec.Algebra S) (H : S.Hierarchy) (u : Locals X H.spin) |
| 70 | |
| 71 | lemma state_turns (hr : ∀ K w (e : distinct w) e', M A w e = M A (Ground.rotate w X.turns K) e') : |
| 72 | X.turns.Oriented (state P h i) := by |
| 73 | intro n v x hx K |
| 74 | change (state P h i).read _ (Ward.expose ∘ X.turns.label K ∘ v) = (state P h i).read x (Ward.expose ∘ v) |
| 75 | let w := realize (Ward.expose ∘ v) x |
| 76 | have he : Ground.rotate w X.turns K = realize (Ward.expose ∘ X.turns.label K ∘ v) (Points.move K x) := by |
| 77 | simp [Ground.rotate,w,realize,List.map_ofFn,Function.comp_def,Points.move] |
| 78 | have hh : distinct (Ground.rotate w X.turns K) := he.symm ▸ ((realized ..).2 (Points.move_in K hx)) |
| 79 | rw [state_read P h i _ hx,state_read P h i _ (Points.move_in _ hx),hr K _ _ hh] |
| 80 | congr 2 |
| 81 | exact he.symm |
| 82 | |
| 83 | include u in |
| 84 | lemma state_spin (hr : X.turns.Oriented (state P h i)) (hf : Org.Phase.reflects (C:=C) V A) : |
| 85 | (state P h i).RealSpin where |
| 86 | mirror {n} s {x} hx v := by |
| 87 | have ht : X.turns.label s.ortho ∘ S.classTokens ∘ v = S.classTokens ∘ C.book.move s ∘ v := by |
| 88 | ext1 j |
| 89 | dsimp only [Rotation.label,comp_apply,classTokens]; congr 1 |
| 90 | exact u.spots.signed .. |
| 91 | have hy := hr _ (S.classTokens ∘ v) _ hx s.ortho |
| 92 | rw [ht,at_project S (state P h i) (state_basic P h i).toSymmetric (state_rel P h i) (Points.move_in s.ortho hx), |
| 93 | at_project S (state P h i) (state_basic P h i).toSymmetric (state_rel P h i) hx] at hy |
| 94 | exact hy |
| 95 | real {n} {x} hx v := by |
| 96 | let w := realize v x |
| 97 | have hw : distinct w := (realized ..).2 hx |
| 98 | let w' := realize (C.book.conjugate ∘ v) x |
| 99 | have hw' : distinct w' := (realized ..).2 hx |
| 100 | have hh := Grid.apart hw' |
| 101 | have he : List.Perm (Grid.anti w') (Word.reflect w timeAxis) := by |
| 102 | rw [Word.reflect,Word.conjugate,List.map_reverse,Word.act,List.map_reverse] |
| 103 | have hy : w' = w.map (fun p => (p.1,C.book.conjugate p.2)) := by |
| 104 | simp only [w',w,realize,List.map_ofFn]; rfl |
| 105 | rw [hy]; exact (List.reverse_perm _).symm |
| 106 | rw [state_read P h i _ hx,state_read P h i _ hx,← map_star,h.opposite w hw (Word.reflects _ hw),hf w' hw',h.changes he hh (Word.reflects _ hw)] |
| 107 | |
| 108 | lemma state_smooth (hP : P.Out) : (state P h i).Smooth := by |
| 109 | let W : Submodule ℂ V.VacuumOp := A.algebra.toSubalgebra.toSubmodule |
| 110 | let c : W →L[ℂ] ℂ := { (P.character i).toAlgHom.toLinearMap with cont := hP.values i } |
| 111 | obtain ⟨g,hg,-⟩ := exists_extension_norm_eq (𝕜 := ℂ) (E := V.D →L[ℂ] V.D) W c |
| 112 | constructor |
| 113 | intro n d v |
| 114 | let y (x : Points n) := depot V A x d v |
| 115 | have hy : ContDiffOn ℝ ∞ (fun x => (y x).val) (conf n) := h.steep _ (fun j => ⟨d j,v j⟩) |
| 116 | refine ((g.restrictScalars ℝ).contDiff.comp_contDiffOn hy).congr (fun x _ => ?_) |
| 117 | exact (state_value ..).trans (hg (y x)).symm |
| 118 | |
| 119 | theorem answer : YM.Bid.B07 := by |
| 120 | intro b G C S V A P X H u h hv hf hP |
| 121 | have ht i := state_turns P h i X (b V A X.turns X.derivatives H u.motion u.spots h hv hf) |
| 122 | exact ⟨state P h,⟨fun i => state_receives P h i hv, state_basic P h, |
| 123 | fun i => state_spin P h i X H u (ht i) hf, state_translation P h,state_rel P h,ht, |
| 124 | fun i => state_smooth P h i hP⟩⟩ |
| 125 | end YM.Work.B07 |