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.OS.Slabs |
| 2 | import YM.Euclid.Stress |
| 3 | import Mathlib.Topology.Algebra.StarSubalgebra |
| 4 | |
| 5 | /-! |
| 6 | # Phase representation criteria, not arbitrary vacuum postulates |
| 7 | |
| 8 | Characters of the actual compression algebra devoted to H₀ of *the same table*, |
| 9 | unselected still available. We ask for representation by compact metric spectrum |
| 10 | and faithfulness/full support as claimed by E. M calculations for ANY shifted slab (“phase” |
| 11 | also refers to its place as a representative component); actual barycenter follows. |
| 12 | Counts from slabs stored separately on S and selected phase H0. No coincident probes enter |
| 13 | this construction, no inference from positivity alone. |
| 14 | -/ |
| 15 | set_option autoImplicit false |
| 16 | noncomputable section |
| 17 | namespace YM.OS |
| 18 | open Function Set Filter MeasureTheory |
| 19 | open Analysis Word |
| 20 | open scoped Topology NNReal BigOperators InnerProductSpace ContDiff ComplexOrder |
| 21 | variable {G : Gauge} {L : Register G} {S : Table L} |
| 22 | |
| 23 | namespace Chamber |
| 24 | variable {a : Axis} (C : Chamber S a) |
| 25 | |
| 26 | abbrev H : Hilbert := C.GNS.H |
| 27 | abbrev D : Submodule ℂ C.H := C.flow.ground |
| 28 | abbrev VacuumOp := C.D →L[ℂ] C.D |
| 29 | |
| 30 | def omega : C.H := C.GNS.plant (air a) |
| 31 | |
| 32 | def omega0 : C.D := ⟨C.omega, (C.flow.fixed _).2 fun t => (C.atBirth t _).symm.trans |
| 33 | (congr_arg C.GNS.plant (inAir t))⟩ |
| 34 | |
| 35 | def UniqueHeat : Prop := ∀ v : C.D, ∃ z : ℂ, z • C.omega0=v |
| 36 | |
| 37 | lemma seenOmega (P : Spread C) {d} {w : L.Word} (h : Slab a d w) : |
| 38 | inner ℂ C.omega (P.place d w C.omega)=S.expect w := by |
| 39 | unfold omega; rw [P.reads h, C.GNS.measure] |
| 40 | simp [Table.gram,air, entering,linked,raised,reflect,act,conjugate,carry] |
| 41 | end Chamber |
| 42 | |
| 43 | namespace Spread |
| 44 | variable {V : Chamber S timeAxis} (P : Spread V) |
| 45 | |
| 46 | def atom (w : L.Word) (d : ℝ≥0) : V.VacuumOp := V.D.orthogonalProjectionOnto.comp ((P.place d w).comp V.D.subtypeL) |
| 47 | |
| 48 | def generators : Set V.VacuumOp := {A | ∃ (w : L.Word) (d : ℝ≥0), Slab timeAxis d w ∧ A=P.atom w d} |
| 49 | |
| 50 | private theorem boring (X : Type) [NormedAddCommGroup X] [InnerProductSpace ℂ X] [CompleteSpace X] : IsSemitopologicalSemiring (X →L[ℂ] X) := inferInstance |
| 51 | private theorem norms (X : Type) [NormedAddCommGroup X] [InnerProductSpace ℂ X] [CompleteSpace X] : ContinuousStar (X →L[ℂ] X) := inferInstance |
| 52 | instance : IsSemitopologicalSemiring V.VacuumOp := boring ↥V.D |
| 53 | instance : ContinuousStar V.VacuumOp := norms ↥V.D |
| 54 | def algebra : StarSubalgebra ℂ V.VacuumOp := (StarAlgebra.adjoin ℂ P.generators).topologicalClosure |
| 55 | |
| 56 | def slot (w : L.Word) (d : ℝ≥0) (h : Slab timeAxis d w) : ↑P.algebra := |
| 57 | ⟨P.atom w d, StarSubalgebra.le_topologicalClosure _ (StarAlgebra.subset_adjoin ℂ P.generators ⟨_,_,h,rfl⟩)⟩ |
| 58 | |
| 59 | lemma insertValue (w : L.Word) d (h : Slab timeAxis d w) : |
| 60 | inner ℂ V.omega0 ((P.slot w d h).val V.omega0) = S.expect w := by |
| 61 | change inner ℂ V.omega0 (V.D.orthogonalProjectionOnto _) = _ |
| 62 | rw [Submodule.inner_orthogonalProjectionOnto_eq_of_mem_left] |
| 63 | exact V.seenOmega P h |
| 64 | |
| 65 | structure Resolution where |
| 66 | X : Type |
| 67 | [metric : MetricSpace X] |
| 68 | [sets : MeasurableSpace X] |
| 69 | [borel : BorelSpace X] |
| 70 | [compact : CompactSpace X] |
| 71 | μ : Measure X |
| 72 | character (x : X) : P.algebra →⋆ₐ[ℂ] ℂ |
| 73 | |
| 74 | namespace Resolution |
| 75 | attribute [instance] metric sets borel compact |
| 76 | variable {P} (R : P.Resolution) |
| 77 | |
| 78 | structure Out : Prop where |
| 79 | abelian (x y : P.algebra) : x*y=y*x |
| 80 | -- full faithful representing measure |
| 81 | normalized : IsProbabilityMeasure R.μ |
| 82 | support : R.μ.IsOpenPosMeasure |
| 83 | onto : Function.Bijective R.character |
| 84 | values (x) : Continuous (R.character x) |
| 85 | weak (p : P.algebra) : Continuous (fun x => R.character x p) |
| 86 | ground (p : P.algebra) : (∫ x, R.character x p ∂R.μ) = inner ℂ V.omega0 (p.val V.omega0) |
| 87 | |
| 88 | /-- T defines exactly these whole-word values, not character on individual points. -/ |
| 89 | def receives (R : P.Resolution) (T : Table L) (i : R.X) := |
| 90 | ∀ (w : L.Word), distinct w → ∀ (s : E4) (d : ℝ≥0) (h : Slab timeAxis d (carry w s)), |
| 91 | T.expect w = R.character i (P.slot _ _ h) |
| 92 | |
| 93 | lemma place_exists {w : L.Word} (h : distinct w) : ∃ (s : E4) (d : ℝ≥0), Slab timeAxis d (carry w s) := by |
| 94 | classical |
| 95 | have he : ∀ᶠ t : ℝ in atTop, ∀ i ∈ w, 0 < i.1 timeAxis + t := by |
| 96 | have ht i (hi : i∈w) : ∀ᶠ t : ℝ in atTop, 0 < i.1 timeAxis+t := |
| 97 | (eventually_gt_atTop (-i.1 timeAxis)).mono fun j hj => by linarith |
| 98 | simpa using (eventually_all_finset w.toFinset).mpr (fun i hi => ht i (by simpa using hi)) |
| 99 | obtain ⟨t,ht⟩ := he.exists |
| 100 | let u := t • basis timeAxis |
| 101 | let W := carry w u |
| 102 | have hy : Positive W timeAxis := by |
| 103 | refine ⟨still h _,fun i hi => ?_⟩ |
| 104 | obtain ⟨p,hp,rfl⟩ := List.mem_map.mp hi |
| 105 | change 0<(p.1 + u) timeAxis; simpa [u] using ht p hp |
| 106 | have hh : ∀ᶠ t : ℝ≥0 in atTop, ∀ i ∈ W, i.1 timeAxis < (t:ℝ) := by |
| 107 | have hu i (hi : i∈W) : ∀ᶠ t : ℝ≥0 in atTop, i.1 timeAxis < (t:ℝ) := |
| 108 | (NNReal.tendsto_coe_atTop.mpr (tendsto_id (x := (atTop : Filter ℝ≥0)))).eventually (eventually_gt_atTop _) |
| 109 | simpa using (eventually_all_finset W.toFinset).mpr (fun i hi => hu i (by simpa using hi)) |
| 110 | obtain ⟨d,hv,hh⟩ := (hh.and (eventually_gt_atTop _)).exists |
| 111 | exact ⟨u,d,hh,hy,hv⟩ |
| 112 | |
| 113 | theorem barycenter (T : R.X → Table L) (hv : R.Out) (ht : ∀ i, R.receives (T i) i) (he : S.Homogeneous) |
| 114 | (q : L.Word) (h : distinct q) : (∫ i, (T i).expect q ∂R.μ) = S.expect q := by |
| 115 | obtain ⟨t,d,Hd⟩ := place_exists h |
| 116 | simp_rw [show ∀ i, (T i).expect q = _ from fun i => ht i q h t d Hd] |
| 117 | rw [hv.ground,P.insertValue]; exact invariance he h t |
| 118 | end Resolution |
| 119 | end Spread |
| 120 | |
| 121 | /-- `Respects/Reuses`: phase inherits B's quotient and all of its |
| 122 | identities. |
| 123 | |
| 124 | Width families unselected + chosen. |
| 125 | |
| 126 | No implicit alpha choices later. -/ |
| 127 | structure Selection (B : Table L) where |
| 128 | room : Chamber B timeAxis |
| 129 | unselected : Spread room |
| 130 | space : unselected.Resolution |
| 131 | ensemble : space.X → Table L |
| 132 | atPoint : space.X |
| 133 | leaps : Chamber (ensemble atPoint) timeAxis |
| 134 | slabs : Spread leaps |
| 135 | |
| 136 | structure Selection.Certificate {P : DiffPlan S} (R : S.Rotation) (J : S.Stress) (C : Selection S) : Prop where |
| 137 | lengths : Spread.Laws C.unselected P |
| 138 | still : ∀ x : C.room.D, ∀ i, C.room.flow.U i x = x |
| 139 | decomposition : C.space.Out |
| 140 | chosen (i) : C.space.receives (C.ensemble i) i |
| 141 | states (i) : (C.ensemble i).Hierarchy |
| 142 | sym i : R.Oriented (C.ensemble i) |
| 143 | retains i d : (C.ensemble i).null d=S.null d |
| 144 | coordinates i : P.Inclusions (C.ensemble i) |
| 145 | calculus i : P.Derivatives (C.ensemble i) |
| 146 | flux i : Table.StressLaws (C.ensemble i) J P.deriv R.lie |
| 147 | goes : Spread.Laws C.slabs P |
| 148 | heat : C.leaps.UniqueHeat |
| 149 | end YM.OS |