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.Heat.Lift |
| 2 | import YM.Phase.Mixture |
| 3 | import YM.Ward.Circles |
| 4 | |
| 5 | |
| 6 | /-! |
| 7 | # X_A and M_A on pure and ground. Precise generator `slot` in character algebra. |
| 8 | |
| 9 | No choice of vacuum Omega0 except fixed by S. Applies to shifted clusters from all arities |
| 10 | and their product grammar. Explicitly `air` normalization. Ground xi for positive-time words. |
| 11 | -/ |
| 12 | set_option autoImplicit false |
| 13 | noncomputable section |
| 14 | namespace YM.OS.Ground |
| 15 | open Set Filter Function Analysis Word Table |
| 16 | open scoped Topology BigOperators NNReal InnerProductSpace ContDiff |
| 17 | variable {G : Gauge} {L : Register G} {S : Table L} {V : Chamber S timeAxis} (P : Spread V) |
| 18 | variable {d e : ℝ≥0} {w : L.Word} |
| 19 | |
| 20 | def Steady (V : Chamber S timeAxis) := ∀ (x : V.D) z, V.flow.U z x=x |
| 21 | |
| 22 | lemma swelling (h : Slab timeAxis d w) (u : ℝ≥0) : Slab timeAxis (d+u) w := |
| 23 | ⟨add_pos_of_pos_of_nonneg h.1 (show _ from bot_le),h.2.1,fun i hi => lt_of_lt_of_le (h.2.2 _ hi) (by simp)⟩ |
| 24 | lemma stretches (h : Slab timeAxis d w) (u : ℝ≥0) : P.place (d+u) w=(P.place d w).comp (V.flow.E u) := by |
| 25 | apply V.GNS.by_bud; intro i |
| 26 | rw [ContinuousLinearMap.comp_apply,P.reads (swelling h u) i, ← V.atBirth, P.reads h]; congr 1 |
| 27 | apply Subtype.ext |
| 28 | simp [entering,linked,raised,travel,add_comm, add_smul] |
| 29 | lemma fills (h : Slab timeAxis d w) (u : ℝ≥0) : Slab timeAxis (u+d) (raised timeAxis u w) := by |
| 30 | rcases eq_or_ne u 0 with h'|h' |
| 31 | · subst u; simpa [raised] using h |
| 32 | exact connects (vacuum_width (pos_iff_ne_zero.mpr h')) h |
| 33 | lemma crossing (h : Slab timeAxis d w) (u : ℝ≥0) : P.place (u+d) (raised timeAxis u w)=(V.flow.E u).comp (P.place d w) := by |
| 34 | rcases eq_or_ne u 0 with h'|h' |
| 35 | · subst u; simp [raised,V.flow.eZero] |
| 36 | rw [← P.blank (pos_iff_ne_zero.mpr h'), ← P.concatenate (vacuum_width (pos_iff_ne_zero.mpr h')) h]; rfl |
| 37 | |
| 38 | lemma pins (s : ℝ≥0) : V.D.orthogonalProjectionOnto.comp (V.flow.E s)=V.D.orthogonalProjectionOnto := by |
| 39 | ext1 p; apply ext_inner_left ℂ; intro q |
| 40 | change inner ℂ q (V.D.orthogonalProjectionOnto _)= _ |
| 41 | simp only [Submodule.inner_orthogonalProjectionOnto_eq_of_mem_left] |
| 42 | change inner ℂ q.val (V.flow.E s p)=_ |
| 43 | rw [← V.flow.swing,(V.flow.fixed _).1 q.property] |
| 44 | |
| 45 | lemma revisits (h : Steady V) (z : Cross timeAxis) : V.D.orthogonalProjectionOnto.comp (V.flow.U z)=V.D.orthogonalProjectionOnto := by |
| 46 | ext1 p; apply ext_inner_left ℂ; intro q |
| 47 | change inner ℂ q (V.D.orthogonalProjectionOnto _)= _ |
| 48 | rw [Submodule.inner_orthogonalProjectionOnto_eq_of_mem_left,Submodule.inner_orthogonalProjectionOnto_eq_of_mem_left] |
| 49 | conv_lhs => rw [← h q z] |
| 50 | exact LinearIsometry.inner_map_map (show V.H→ₗᵢ[ℂ] V.H from { (V.flow.U z).toLinearMap with norm_map' := V.flow.unitary z }) _ _ |
| 51 | |
| 52 | lemma atom_shift (h : Slab timeAxis d w) (u : ℝ≥0) : P.atom (raised timeAxis u w) (u+d)=P.atom w d := by |
| 53 | rw [Spread.atom,crossing P h, Spread.atom] |
| 54 | ext1 p |
| 55 | change V.D.orthogonalProjectionOnto (V.flow.E u _) = _ |
| 56 | exact congr_arg (fun f : V.H→L[ℂ] V.D => f _) (pins (V := V) u) |
| 57 | lemma same_atom (h : Slab timeAxis d w) (hu : Slab timeAxis e w) : P.atom w e=P.atom w d := by |
| 58 | have hv {d} (h : Slab timeAxis d w) (u) : P.atom w (d+u)=P.atom w d := by |
| 59 | rw [Spread.atom,stretches P h] |
| 60 | ext1 p; change V.D.orthogonalProjectionOnto (P.place d w (V.flow.E _ p.val)) = _ |
| 61 | rw [(V.flow.fixed _).1 p.property]; rfl |
| 62 | rw [← hv hu d,← hv h e,add_comm] |
| 63 | lemma offset (h : Slab timeAxis d w) (hu : Steady V) (v : Cross timeAxis) : P.atom (carry w v.val) d=P.atom w d := by |
| 64 | have he p (hp : p∈V.D) : P.place d (carry w v.val) p= V.flow.U v (P.place d w p) := by |
| 65 | rw [← ContinuousLinearMap.comp_apply, P.perpendicular h v, ContinuousLinearMap.comp_apply, |
| 66 | show V.flow.U v p=p from hu ⟨p,hp⟩ _] |
| 67 | ext1 p; unfold Spread.atom; simp only [ContinuousLinearMap.comp_apply]; |
| 68 | rw [show V.D.subtypeL p=p.val from rfl,he _ (show (p.val:V.H)∈V.D from p.property),← ContinuousLinearMap.comp_apply V.D.orthogonalProjectionOnto, |
| 69 | revisits hu] |
| 70 | |
| 71 | lemma at_any (h : Slab timeAxis d w) (hu : Steady V) {s : E4} (t : Slab timeAxis e (carry w s)) : |
| 72 | P.slot w d h=P.slot _ _ t := by |
| 73 | let a := timeAxis |
| 74 | let D (v : E4) := v a |
| 75 | suffices he : P.atom w d=P.atom _ _ by exact Subtype.ext he |
| 76 | have he {v : E4} {w : L.Word} {d e} (hv : 0 ≤ D v) (h : Slab a d w) (t : Slab a e (carry w v)) : P.atom w d=P.atom (carry w v) e := by |
| 77 | let u : ℝ≥0 := ⟨_,hv⟩ |
| 78 | let s := Semigroup.SEP timeAxis v |
| 79 | have hx := fills h u |
| 80 | have ht : carry (raised timeAxis u w) s.val=carry w v := by unfold raised; rw [paths]; congr 1; change _ + (v-u.val • _) = _; exact add_sub_cancel .. |
| 81 | rw [← atom_shift P h u,← offset P hx hu s,ht]; exact same_atom P t (ht ▸ Spread.over_word s hx) |
| 82 | cases le_total 0 (D s) with |
| 83 | | inl hp => exact he hp h t |
| 84 | | inr hp => |
| 85 | have hw : carry (carry w s) (-s)=w := by simp |
| 86 | have he := (he (v := -s) (w := carry w s) (by change 0 ≤ -(D s); linarith) t (d := e) (e := d) (by rwa [hw])).symm |
| 87 | rwa [hw] at he |
| 88 | |
| 89 | def M (A : L.Word) (H : distinct A) : P.algebra := |
| 90 | let p := Spread.Resolution.place_exists H |
| 91 | P.slot _ _ p.choose_spec.choose_spec |
| 92 | |
| 93 | theorem future_reach (v : Future L timeAxis) : ∃ d : ℝ≥0, Slab timeAxis d v.val := by |
| 94 | classical |
| 95 | have he i (h : i∈v.val) : ∀ᶠ r : ℝ≥0 in atTop, i.1 timeAxis < (r:ℝ) := |
| 96 | (NNReal.tendsto_coe_atTop.mpr (tendsto_id (x := (atTop : Filter ℝ≥0)))).eventually (eventually_gt_atTop _) |
| 97 | obtain ⟨x,hx,hv⟩ := ((eventually_gt_atTop (0:ℝ≥0)).and ((eventually_all_finset v.val.toFinset).mpr (fun i hi => he i (by simpa using hi)))).exists |
| 98 | exact ⟨x,hx,v.property,by simpa using hv⟩ |
| 99 | def X (v : Future L timeAxis) : V.D →L[ℂ] V.H := |
| 100 | let h := future_reach v -- need beyond |
| 101 | (P.place h.choose v.val).comp V.D.subtypeL |
| 102 | lemma standing (v : Future L timeAxis) (h : Slab timeAxis d v.val) : X P v=(P.place d v.val).comp V.D.subtypeL := by |
| 103 | have he {t} (h : Slab timeAxis t v.val) (k) : (P.place (t+k) v.val).comp V.D.subtypeL=(P.place t v.val).comp V.D.subtypeL := by |
| 104 | rw [stretches P h]; ext1 p |
| 105 | change P.place t v.val (V.flow.E _ p.val)=_; rw [(V.flow.fixed _).1 p.property];rfl |
| 106 | unfold X; dsimp only; rw [← he ((future_reach v).choose_spec) d,← he h (future_reach v).choose,add_comm] |
| 107 | lemma coming (v : Future L timeAxis) : X P v V.omega0=V.GNS.plant v := by |
| 108 | obtain ⟨d,hd⟩ := future_reach v; rw [standing P v hd]; change P.place _ _ (V.GNS.plant (air _))=_ |
| 109 | rw [P.reads hd]; exact congr_arg V.GNS.plant (Subtype.ext (by simp [entering,linked,raised,air,carry])) |
| 110 | |
| 111 | lemma overline (S : Steady V) (A : L.Word) (H : distinct A) (b : E4) (h : Slab timeAxis d (carry A b)) : M P A H=P.slot _ d h := by |
| 112 | let p := Spread.Resolution.place_exists H |
| 113 | let k := p.choose |
| 114 | let n := p.choose_spec.choose |
| 115 | let w := carry A k |
| 116 | change P.slot w n p.choose_spec.choose_spec=_ |
| 117 | have he : carry w (-k+b)=carry A b := by simp [w] |
| 118 | have hh := at_any P (w := w) (d := n) p.choose_spec.choose_spec S (s := -k+b) (e := d) (he ▸ h) |
| 119 | exact hh.trans (show _ by congr 1) |
| 120 | |
| 121 | lemma spots (S : Steady V) (h : Slab timeAxis d w) : M P w h.2.1.1=P.slot w d h := by |
| 122 | have he : Slab timeAxis d (carry w 0) := by rwa [rest] |
| 123 | rw [overline P S w h.2.1.1 0 he] |
| 124 | congr 1; simp |
| 125 | |
| 126 | lemma squeezed (h : Steady V) (v : Future L timeAxis) : (M P v.val v.property.1).val=V.D.orthogonalProjectionOnto.comp (X P v) := by |
| 127 | obtain ⟨d,hv⟩ := future_reach v; rw [spots P h hv,standing P v hv]; rfl |
| 128 | lemma almost (h : Steady V) (v : Future L timeAxis) : (M P v.val v.property.1).val V.omega0 = V.D.orthogonalProjectionOnto (V.GNS.plant v) := by rw [squeezed P h,ContinuousLinearMap.comp_apply,coming P] -- dot? |
| 129 | lemma slim (H : S.Hierarchy) (h : Steady V) (v w : Future L timeAxis) : (M P _ (twoSides v.property w.property)).val = |
| 130 | (X P v).adjoint.comp (X P w) := by |
| 131 | obtain ⟨d,hd⟩ := future_reach v; obtain ⟨e,he⟩ := future_reach w |
| 132 | let p := linked timeAxis d (opposite timeAxis d v.val) w.val |
| 133 | have hp : p = carry (reflect v.val timeAxis ++ w.val) ((d:ℝ) • basis timeAxis) := by rw [distribute]; rfl |
| 134 | have hh : Slab timeAxis (d+e) p := connects (mirrorsSlab hd) he |
| 135 | have ht := overline P h _ (twoSides v.property w.property) ((d:ℝ) • basis timeAxis) (hp ▸ hh) |
| 136 | have hq : M P _ (twoSides v.property w.property)=P.slot p (d+e) hh := ht.trans (by congr 1; exact hp.symm) |
| 137 | rw [hq,standing P v hd,standing P w he] |
| 138 | change V.D.orthogonalProjectionOnto.comp ((P.place (d+e) p).comp V.D.subtypeL)=_ |
| 139 | rw [ContinuousLinearMap.adjoint_comp, P.concatenate (mirrorsSlab hd) he, P.adjoints hd H.translations] |
| 140 | ext1 x; change _ = V.D.subtypeL.adjoint _ |
| 141 | -- subtype adj projection |
| 142 | rw [Submodule.adjoint_subtypeL] |
| 143 | rfl |
| 144 | |
| 145 | lemma full (h : Steady V) : DenseRange (fun p : P.algebra => p.val V.omega0) := by |
| 146 | have hf (i : Future L timeAxis) : V.D.orthogonalProjectionOnto (V.GNS.plant i) ∈ Set.range |
| 147 | (fun p : P.algebra => p.val V.omega0) := ⟨_,almost P h _⟩ |
| 148 | let f := fun p : P.algebra => p.val V.omega0 |
| 149 | apply (show DenseRange (V.D.orthogonalProjectionOnto ∘ V.GNS.stems) from |
| 150 | ((show Surjective _ from fun p : V.D => ⟨_, Submodule.orthogonalProjectionOnto_mem_subspace_eq_self p⟩).denseRange).comp V.GNS.whole V.D.orthogonalProjectionOnto.continuous).mono |
| 151 | rintro _ ⟨x,rfl⟩ |
| 152 | induction x using Finsupp.induction_linear with |
| 153 | | zero => exact ⟨0,by simp⟩ |
| 154 | | add p q hp hq => |
| 155 | obtain ⟨u,hu⟩ := hp; obtain ⟨v,hv⟩ := hq |
| 156 | exact ⟨u+v,by simp [hu,hv] at *⟩ |
| 157 | | single i c => |
| 158 | obtain ⟨p,hp⟩ := hf i |
| 159 | refine ⟨c • p,?_⟩ |
| 160 | simp only [Kernel.Gram.stems,Finsupp.linearCombination_single, |
| 161 | Function.comp_apply,map_smul] |
| 162 | exact congr_arg (c • ·) hp |
| 163 | end YM.OS.Ground |