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.Fields.Star |
| 2 | import YM.Spectral.Frequencies |
| 3 | import Mathlib.Analysis.InnerProductSpace.LinearPMap |
| 4 | |
| 5 | /-! |
| 6 | # Fields on the common invariant word domain, target |
| 7 | |
| 8 | No new label system, operators descend on `S.Union`, evaluated via the W |
| 9 | from (strict-order continued) selected phase. Poincare representation on |
| 10 | same Hilbert space. Test adjoints as sesquilinear identities & PROVE usual |
| 11 | operator inclusion. Positivity follows. Spectrum includes PVM+support, not |
| 12 | assuming spectral theorem. |
| 13 | -/ |
| 14 | set_option autoImplicit false |
| 15 | noncomputable section |
| 16 | namespace YM.Boundary |
| 17 | open Function Filter Set MeasureTheory Spectral Analysis Complex Mink |
| 18 | open scoped Topology BigOperators ComplexOrder InnerProductSpace |
| 19 | |
| 20 | variable {G : Gauge} {L : Register G} {S : Table L} |
| 21 | |
| 22 | structure Fields (S : Table L) where |
| 23 | H : Hilbert |
| 24 | domain : Submodule ℂ H |
| 25 | omega : domain |
| 26 | field : S.Union →ₗ[ℂ] Test4 →ₗ[ℂ] (domain →ₗ[ℂ] domain) |
| 27 | |
| 28 | namespace Fields |
| 29 | variable (F : Fields S) |
| 30 | |
| 31 | def edits (v : Letter S) := F.field v.1 v.2 |
| 32 | |
| 33 | def evaluates : Sentence S → F.domain |
| 34 | | [] => F.omega |
| 35 | | v::w => F.edits v (evaluates w) |
| 36 | |
| 37 | def vector (v : Sentence S) := (F.evaluates v).val |
| 38 | |
| 39 | def vacuum := F.omega.val |
| 40 | |
| 41 | structure Total : Prop where |
| 42 | norm : ‖F.vacuum‖ = 1 |
| 43 | everywhere : Dense (F.domain : Set F.H) |
| 44 | cyclic : F.domain = Submodule.span ℂ (Set.range F.vector) |
| 45 | temperate (x : S.Union) (v : F.domain) : Continuous (fun f => (F.field x f v).val) |
| 46 | |
| 47 | def sharpPair (J : StarOp S) := ∀ (x : S.Union) (f : Test4) (a b : F.domain), |
| 48 | inner ℂ (F.field x f a).val b.val = inner ℂ a.val (F.field (J x) (Probe.bar f) b).val |
| 49 | |
| 50 | def denselyDefined (x : S.Union) (f : Test4) : F.H →ₗ.[ℂ] F.H := |
| 51 | ⟨F.domain,F.domain.subtype.comp (F.field x f)⟩ |
| 52 | |
| 53 | theorem really (J : StarOp S) (h : F.Total) (hp : F.sharpPair J) (x : S.Union) (f : Test4) : |
| 54 | F.denselyDefined (J x) (Probe.bar f) ≤ (F.denselyDefined x f).adjoint := |
| 55 | LinearPMap.IsFormalAdjoint.le_adjoint h.everywhere (fun a b => hp x f a b) |
| 56 | |
| 57 | /-- no null: for every nonzero class there's ψ and f seeing it. -/ |
| 58 | def notLost := ∀ p : S.Union, p ≠ 0 → ∃ f : Test4, F.field p f ≠ 0 |
| 59 | |
| 60 | def realizes (W : Surface S) := ∀ b : Sentence S, inner ℂ F.vacuum (F.vector b)=W.expect b |
| 61 | |
| 62 | lemma general (W : Surface S) (t : F.realizes W) (J : StarOp S) (h : F.sharpPair J) (b c : Sentence S) : |
| 63 | inner ℂ (F.vector b) (F.vector c) = W.kernel J b c := by |
| 64 | induction b generalizing c with |
| 65 | | nil => exact t c |
| 66 | | cons v b ih => |
| 67 | change inner ℂ (F.field v.1 v.2 _).val (F.evaluates c).val = _ |
| 68 | rw [h v.1 v.2] |
| 69 | change inner ℂ (F.vector b) (F.vector (Letter.op J v :: c)) = _ |
| 70 | rw [ih]; simp [Surface.kernel,Sentence.rev] |
| 71 | |
| 72 | theorem hilbertNonnegative {X : Type*} (D : Hilbert) (p : X → D) : NNKernel (fun i j => inner ℂ (p i) (p j)) := by |
| 73 | apply NNKernel.criterion |
| 74 | · intro i j; exact inner_conj_symm .. |
| 75 | intro n x c |
| 76 | let v := ∑ i, c i • p (x i) |
| 77 | have hp : inner ℂ v v = ∑ i, ∑ j, star (c i)*inner ℂ (p (x i)) (p (x j))*c j := by |
| 78 | unfold v; rw [sum_inner]; simp only [inner_sum,inner_smul_left,inner_smul_right, Complex.star_def,mul_comm] |
| 79 | rw [← hp,inner_self_eq_norm_sq_to_K] |
| 80 | positivity |
| 81 | |
| 82 | theorem sees (W : Surface S) (t : F.realizes W) (J : StarOp S) (h : F.sharpPair J) : W.wordsPositive J := by |
| 83 | rw [Surface.wordsPositive,show W.kernel J = _ from funext fun i => funext fun j => (F.general W t J h i j).symm] |
| 84 | apply hilbertNonnegative |
| 85 | |
| 86 | def causal (f g : Test4) := ∀ x ∈ tsupport f, ∀ y ∈ tsupport g, x-y ∈ Mink.spacelike |
| 87 | |
| 88 | def commutes := ∀ (x y : S.Union) (f g : Test4), causal f g → ∀ p : F.domain, |
| 89 | F.field x f (F.field y g p) = F.field y g (F.field x f p) |
| 90 | end Fields |
| 91 | |
| 92 | structure Action (H : Hilbert) where |
| 93 | V : Poincare → (H →L[ℂ] H) |
| 94 | one : V 1=ContinuousLinearMap.id ℂ _ |
| 95 | mult (g k : Poincare) : V (g*k)=(V g).comp (V k) |
| 96 | usual (g : Poincare) (x : H) : ‖V g x‖=‖x‖ |
| 97 | strong (x : H) : Continuous (fun g => V g x) |
| 98 | |
| 99 | namespace Action |
| 100 | variable {H : Hilbert} (V : Action H) |
| 101 | def orbit : Orbit H E4 where |
| 102 | translation p := V.V (Poincare.translation p) |
| 103 | origin := V.one |
| 104 | sends x y := by rw [Poincare.overE,V.mult] |
| 105 | unitary _ := V.usual _ |
| 106 | moves x := (V.strong x).comp Poincare.continuousE |
| 107 | |
| 108 | lemma goes (p : Poincare) (x : H) : V.V p⁻¹ (V.V p x)=x := by rw [← ContinuousLinearMap.comp_apply,← V.mult,inv_mul_cancel,V.one];rfl |
| 109 | end Action |
| 110 | |
| 111 | structure Symmetries (X : Spins S) {F : Fields S} (V : Action F.H) : Prop where |
| 112 | domain (p : Poincare) : Set.MapsTo (V.V p) (F.domain : Set F.H) F.domain |
| 113 | vacuum (p : Poincare) : V.V p F.vacuum=F.vacuum |
| 114 | covariance (p : Poincare) (x : S.Union) (f : Test4) (a : F.domain) : V.V p (F.field x f a).val = |
| 115 | (F.field (X.rail p.Λ x) (Joint.push p f) (⟨V.V p a.val, domain p a.property⟩ : F.domain)).val |
| 116 | |
| 117 | structure Wightman (S : Table L) where |
| 118 | spin : Spins S |
| 119 | operators : Fields S |
| 120 | J : StarOp S |
| 121 | action : Action operators.H |
| 122 | momentum : PVM operators.H E4 |
| 123 | |
| 124 | structure Wightman.Realizes {W : Surface S} (R : Wightman S) (V : S.Rotation) (h : S.RealSpin) : Prop where |
| 125 | induced : starRead R.J h |
| 126 | letters : R.spin.Descends V h |
| 127 | total : R.operators.Total |
| 128 | adj : R.operators.sharpPair R.J |
| 129 | meets : R.operators.realizes W |
| 130 | localPairs : R.operators.commutes |
| 131 | faithful : R.operators.notLost |
| 132 | covariance : Symmetries R.spin R.action |
| 133 | spectral : R.action.orbit.Spectrum R.momentum |
| 134 | forward : R.momentum.region Mink.coneᶜ = 0 |
| 135 | unique (v : R.operators.H) : (∀ x, R.action.orbit.translation x v=v) → ∃ z : ℂ, z • R.operators.vacuum=v |
| 136 | |
| 137 | end YM.Boundary |