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 PublicTheory |
| 2 | import YM.Fields.System |
| 3 | |
| 4 | /-! The public Hilbert space, domain, labels, fields and affine action are the |
| 5 | ones of the supplied reconstruction. There is no second field-system witness. -/ |
| 6 | set_option autoImplicit false |
| 7 | noncomputable section |
| 8 | namespace YangMills |
| 9 | open MeasureTheory Set Function |
| 10 | open scoped Topology InnerProductSpace Matrix.Norms.Frobenius |
| 11 | variable {G : YM.Gauge} {L : YM.Register G} {S : YM.Table L} |
| 12 | variable (A : YM.Boundary.Wightman S) |
| 13 | |
| 14 | def stateSpace : HilbertSpace := |
| 15 | { carrier := A.operators.H |
| 16 | normedAddCommGroup := inferInstance |
| 17 | innerProductSpace := inferInstance |
| 18 | completeSpace := inferInstance } |
| 19 | |
| 20 | def labelsOf (S : YM.Table L) : FieldLabels := |
| 21 | { carrier := S.Union |
| 22 | addCommGroup := inferInstance |
| 23 | module := inferInstance } |
| 24 | |
| 25 | def fieldsOf : FieldSystem (stateSpace A) (labelsOf S) := |
| 26 | { domain := A.operators.domain |
| 27 | vacuum := A.operators.omega |
| 28 | field := A.operators.field } |
| 29 | |
| 30 | def view : WightmanTheory (stateSpace A) (labelsOf S) := |
| 31 | let hilbert := stateSpace A |
| 32 | let labels := labelsOf S |
| 33 | let fields := fieldsOf A |
| 34 | let translations : TranslationAction hilbert := |
| 35 | { operator := A.action.orbit.translation |
| 36 | identity := A.action.orbit.origin |
| 37 | add := A.action.orbit.sends |
| 38 | unitary := A.action.orbit.unitary |
| 39 | stronglyContinuous := A.action.orbit.moves } |
| 40 | let energyMomentum : EnergyMomentumMeasure hilbert := |
| 41 | { projection := A.momentum.region |
| 42 | empty := A.momentum.none |
| 43 | univ := A.momentum.all |
| 44 | intersection := A.momentum.joins |
| 45 | selfAdjoint := A.momentum.real |
| 46 | countablyAdditive := A.momentum.unites |
| 47 | diagonal := A.momentum.diagonal |
| 48 | finite := A.momentum.finite |
| 49 | diagonalIdentity := A.momentum.at_pair } |
| 50 | let poincare : PoincareAction hilbert labels := |
| 51 | { Symmetry := YM.Mink.Poincare |
| 52 | one := inferInstance |
| 53 | mul := inferInstance |
| 54 | topology := inferInstance |
| 55 | onStates := A.action.V |
| 56 | onLabels := fun transformation ↦ |
| 57 | A.spin.rail transformation.Λ |
| 58 | onTests := fun transformation ↦ |
| 59 | YM.Boundary.Joint.push transformation |
| 60 | pureTranslation := YM.Mink.Poincare.translation |
| 61 | identity := A.action.one |
| 62 | composition := A.action.mult |
| 63 | unitary := A.action.usual |
| 64 | stronglyContinuous := A.action.strong |
| 65 | coordinates := |
| 66 | { toEquiv := { toFun := fun p => (p.Λ, p.b) |
| 67 | invFun := fun p => ⟨p.1,p.2⟩ |
| 68 | left_inv := fun _ => rfl |
| 69 | right_inv := fun _ => rfl } |
| 70 | continuous_toFun := YM.Mink.Poincare.standard.continuous |
| 71 | continuous_invFun := YM.Mink.Poincare.standard.continuous_iff.mpr continuous_id } |
| 72 | identityCoordinates := ⟨rfl,rfl⟩ |
| 73 | productCoordinates := fun _ _ => ⟨rfl,rfl⟩ |
| 74 | translationCoordinates := fun _ => ⟨rfl,rfl⟩ |
| 75 | pullback := fun g f x => (YM.Boundary.Joint.push_at ..).trans |
| 76 | (congrArg f (YM.Mink.Poincare.backwards g x)) |
| 77 | translationZero := rfl |
| 78 | translationAdd := by |
| 79 | intro left right |
| 80 | congr 1 |
| 81 | simp [YM.Mink.Poincare.translation, YM.Mink.Poincare.sends] |
| 82 | abel } |
| 83 | let theory : WightmanTheory hilbert labels := |
| 84 | { fields := fields |
| 85 | adjointLabel := A.J |
| 86 | translations := translations |
| 87 | energyMomentum := energyMomentum |
| 88 | poincare := poincare |
| 89 | translationCompatibility := fun _ ↦ rfl } |
| 90 | theory |
| 91 | |
| 92 | theorem vector_eq (word : List (S.Union × TestFunction)) : |
| 93 | ((fieldsOf A).vector word).1 = A.operators.vector word := by |
| 94 | induction word with |
| 95 | | nil => rfl |
| 96 | | cons v word ih => |
| 97 | simp only [FieldSystem.vector, YM.Boundary.Fields.vector, |
| 98 | YM.Boundary.Fields.evaluates, YM.Boundary.Fields.edits] |
| 99 | congr 2 |
| 100 | exact Subtype.ext ih |
| 101 | |
| 102 | theorem view_axioms {W : YM.Boundary.Surface S} {V : S.Rotation} {h : S.RealSpin} |
| 103 | (H : A.Realizes (W := W) V h) : (view A).Axioms := by |
| 104 | let theory := view A |
| 105 | let fields := fieldsOf A |
| 106 | let labels := labelsOf S |
| 107 | have domainAxioms : fields.DomainAxioms := |
| 108 | { normalizedVacuum := H.total.norm |
| 109 | denseDomain := H.total.everywhere |
| 110 | cyclicVacuum := by |
| 111 | change A.operators.domain = _ |
| 112 | rw [H.total.cyclic] |
| 113 | congr 1 |
| 114 | ext state |
| 115 | simp only [Set.mem_range] |
| 116 | constructor |
| 117 | · rintro ⟨word, rfl⟩ |
| 118 | exact ⟨word, vector_eq A word⟩ |
| 119 | · rintro ⟨word, rfl⟩ |
| 120 | exact ⟨word, (vector_eq A word).symm⟩ |
| 121 | tempered := H.total.temperate } |
| 122 | have w0 : theory.W0 := |
| 123 | { spectralRepresentation := H.spectral |
| 124 | positiveEnergy := H.forward |
| 125 | uniqueVacuum := H.unique } |
| 126 | have w1 : theory.W1 := |
| 127 | { domain := domainAxioms |
| 128 | adjoint := H.adj } |
| 129 | have w2 : theory.W2 := |
| 130 | { labelIdentity := by |
| 131 | intro label |
| 132 | exact H.letters.identity label |
| 133 | labelComposition := by |
| 134 | intro left right label |
| 135 | exact H.letters.representation |
| 136 | left.Λ right.Λ label |
| 137 | domainInvariant := H.covariance.domain |
| 138 | vacuumInvariant := H.covariance.vacuum |
| 139 | fieldCovariance := H.covariance.covariance } |
| 140 | have w3 : theory.W3 := |
| 141 | { locality := H.localPairs } |
| 142 | exact ⟨w0,w1,w2,w3⟩ |
| 143 | |
| 144 | theorem publicMoment {W : YM.Boundary.Surface S} (hW : A.operators.realizes W) |
| 145 | (n : ℕ) (fieldLabels : Fin n → S.Union) (tests : Fin n → TestFunction) : |
| 146 | (view A).fields.vacuumExpectation fieldLabels tests = |
| 147 | W.W n fieldLabels (YM.Boundary.Joint.materialize n tests) := by |
| 148 | let word : List (S.Union × YM.Boundary.Test4) := |
| 149 | List.ofFn fun i ↦ (fieldLabels i, tests i) |
| 150 | change inner ℂ A.operators.vacuum |
| 151 | ((fieldsOf A).vector word).1 = |
| 152 | W.W n fieldLabels |
| 153 | (YM.Boundary.Joint.materialize n tests) |
| 154 | rw [vector_eq A word] |
| 155 | have meets := hW word |
| 156 | unfold YM.Boundary.Surface.expect at meets |
| 157 | have word_length : word.length = n := by |
| 158 | simp [word, List.length_ofFn] |
| 159 | let packed : Σ k, Fin k → S.Union × YM.Boundary.Test4 := |
| 160 | ⟨word.length, word.get⟩ |
| 161 | let expected : Σ k, Fin k → S.Union × YM.Boundary.Test4 := |
| 162 | ⟨n, fun i ↦ (fieldLabels i, tests i)⟩ |
| 163 | have packed_eq : packed = expected := by |
| 164 | apply Sigma.ext word_length |
| 165 | apply (Fin.heq_fun_iff word_length).2 |
| 166 | intro i |
| 167 | simp [packed, expected, word] |
| 168 | exact meets.trans (congrArg |
| 169 | (fun p : Σ k, Fin k → S.Union × YM.Boundary.Test4 ↦ |
| 170 | W.W p.1 (fun i ↦ (p.2 i).1) |
| 171 | (YM.Boundary.Joint.materialize p.1 fun i ↦ (p.2 i).2)) |
| 172 | packed_eq) |
| 173 | |
| 174 | end YangMills |