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 PublicWilson |
| 2 | |
| 3 | /-! The joint target. All correlation terms, including every spectator in the OPE, |
| 4 | are evaluations of one hierarchy. Finite lattice insertions precede every limit. -/ |
| 5 | set_option autoImplicit false |
| 6 | noncomputable section |
| 7 | namespace YangMills |
| 8 | open Function Filter Set MeasureTheory TopologicalSpace |
| 9 | open scoped Topology BigOperators InnerProductSpace Distributions Classical NNReal ContDiff |
| 10 | |
| 11 | /-- A fixed finite lattice stencil for each insertion works at every spacing and volume. -/ |
| 12 | structure WilsonRegularity {g : GaugeGroup} (C : WilsonFamily g) : Prop where |
| 13 | running : ∃ slope : ℝ, 0 < slope ∧ ∀ ε : ℝ, 0 < ε → |
| 14 | ∀ᶠ N : ℕ in atTop, ∀ p, |C.beta N p / Real.log (C.mesh N)⁻¹ - slope| < ε |
| 15 | continuous (N p v x) : Continuous (C.insertion N p v x) |
| 16 | invariant (N p v x) (t : Site (C.period p * C.denominator N) → g.image) (U) : |
| 17 | C.insertion N p v x (fun e => t e.1 * U e * (t (e.1 + Pi.single e.2 1))⁻¹) = |
| 18 | C.insertion N p v x U |
| 19 | localSupport (v : C.Token) : ∃ stencil : Finset (Axis → ℤ), ∀ N p (x : Site (C.period p * C.denominator N)), |
| 20 | let sites := stencil.image fun z => (fun i => (z i : ZMod (C.period p * C.denominator N).val)) + x |
| 21 | ∀ U V, (∀ e, e.1 ∈ sites → e.1 + Pi.single e.2 1 ∈ sites → U e = V e) → |
| 22 | C.insertion N p v x U = C.insertion N p v x V |
| 23 | |
| 24 | structure Hierarchy {g : GaugeGroup} (C : WilsonFamily g) where |
| 25 | H : HilbertSpace |
| 26 | labels : FieldLabels |
| 27 | theory : WightmanTheory H labels |
| 28 | Field : ℕ → Type |
| 29 | [fieldAdd (d : ℕ) : NormedAddCommGroup (Field d)] |
| 30 | [fieldSpace (d : ℕ) : NormedSpace ℂ (Field d)] |
| 31 | [fieldFinite (d : ℕ) : FiniteDimensional ℂ (Field d)] |
| 32 | toLabel (d : ℕ) : Field d →ₗ[ℂ] labels.carrier |
| 33 | project : C.Token → (Σ d, Field d) |
| 34 | Character : Type |
| 35 | [characterMetric : MetricSpace Character] |
| 36 | [characterSets : MeasurableSpace Character] |
| 37 | [characterBorel : BorelSpace Character] |
| 38 | [characterCompact : CompactSpace Character] |
| 39 | phaseMeasure : Measure Character |
| 40 | selected : Character |
| 41 | correlation {n : ℕ} : Option Character → (Fin n → Σ d, Field d) → Points n → ℂ |
| 42 | continuation {n : ℕ} : (Fin n → Σ d, Field d) → (Fin n → ℂ) → (Fin n → Space) → ℂ |
| 43 | Channel : ℕ → Type |
| 44 | [finiteChannels (d : ℕ) : Fintype (Channel d)] |
| 45 | actor (d : ℕ) : Channel d → Field d |
| 46 | coefficient {I : Type} [Fintype I] (a : I → Σ d, Field d) (j : ℕ) : |
| 47 | Channel j → (I → Spacetime) → Spacetime → ℂ |
| 48 | centeredTrace : Field 4 |
| 49 | attribute [instance] Hierarchy.fieldAdd Hierarchy.fieldSpace Hierarchy.fieldFinite |
| 50 | Hierarchy.finiteChannels Hierarchy.characterMetric Hierarchy.characterSets |
| 51 | Hierarchy.characterBorel Hierarchy.characterCompact |
| 52 | |
| 53 | namespace Hierarchy |
| 54 | variable {g : GaugeGroup} {C : WilsonFamily g} (T : Hierarchy C) |
| 55 | abbrev Tag := Σ d, T.Field d |
| 56 | |
| 57 | /-- Enumerate the union of the insertion and spectator slots once, then read the hierarchy. -/ |
| 58 | def grouped {I J : Type} [Fintype I] [Fintype J] (s : Option T.Character) |
| 59 | (a : I → T.Tag) (x : I → Spacetime) (b : J → T.Tag) (y : J → Spacetime) : ℂ := |
| 60 | let slots := (Fintype.equivFin (I ⊕ J)).symm |
| 61 | T.correlation s ((Sum.elim a b) ∘ slots) (WithLp.toLp 2 ((Sum.elim x y) ∘ slots)) |
| 62 | |
| 63 | def weight {I : Type} [Fintype I] (a : I → T.Tag) : ℝ := ∑ i, ((a i).1 : ℝ) |
| 64 | |
| 65 | def Within {I : Type} (r M η : ℝ) (x : I → Spacetime) (o : Spacetime) : Prop := |
| 66 | (∀ i, ‖x i - o‖ ≤ M*r) ∧ (∀ i j, i ≠ j → η*r ≤ ‖x i - x j‖) |
| 67 | def Clear {J : Type} (o : Spacetime) (y : J → Spacetime) (c : ℝ) : Prop := |
| 68 | (∀ i, c ≤ ‖o - y i‖) ∧ (∀ i j, i ≠ j → c ≤ ‖y i - y j‖) |
| 69 | |
| 70 | structure OperatorProductExpansion : Prop where |
| 71 | coefficients {I : Type} [Fintype I] (a : I → T.Tag) (M η ε : ℝ) : |
| 72 | 0 ≤ M → 0 < η → 0 < ε → ∀ j (i : T.Channel j), ∀ᶠ r : ℝ in 𝓝[>] 0, |
| 73 | ∀ x o, Within r M η x o → ‖T.coefficient a j i x o‖ ≤ r ^ ((j:ℝ) - T.weight a - ε) |
| 74 | remainder {I J : Type} [Fintype I] [Fintype J] (a : I → T.Tag) (b : J → T.Tag) |
| 75 | (M η c ε : ℝ) : 0 ≤ M → 0 < η → 0 < c → 0 < ε → ∀ D : ℕ, |
| 76 | ∀ᶠ r : ℝ in 𝓝[>] 0, ∀ x o y, Within r M η x o → Clear o y c → ∀ s, |
| 77 | ‖T.grouped s a x b y - |
| 78 | ∑ j : Fin (D+1), ∑ i : T.Channel j.val, T.coefficient a j.val i x o * |
| 79 | T.grouped s (fun _ : Unit => ⟨j.val,T.actor j.val i⟩) (fun _ => o) b y‖ |
| 80 | ≤ r ^ ((D:ℝ) + 1 - T.weight a - ε) |
| 81 | |
| 82 | /-- Four-dimensional Euclidean spacetime used by the OPE estimates. -/ |
| 83 | abbrev OPEPoint := EuclideanSpace ℝ (Fin 4) |
| 84 | |
| 85 | /-- Ordered configurations of `n` insertion points. -/ |
| 86 | abbrev OPEPoints (n : ℕ) := PiLp 2 (fun _ : Fin n => OPEPoint) |
| 87 | |
| 88 | /-- Complex time coordinates of an analytically continued correlation. -/ |
| 89 | abbrev OPEComplexTimes (n : ℕ) := Fin n → ℂ |
| 90 | |
| 91 | /-- Spatial coordinates of an analytically continued correlation. -/ |
| 92 | abbrev OPESpacePoints (n : ℕ) := Fin n → YangMills.Space |
| 93 | |
| 94 | /-- The tube of complex times with strictly ordered imaginary parts. -/ |
| 95 | def orderedTube (n : ℕ) : Set (OPEComplexTimes n) := |
| 96 | {z | StrictMono fun i ↦ (z i).im} |
| 97 | |
| 98 | /-- Continue a real configuration into ordered imaginary-time directions. -/ |
| 99 | def complexShift {n : ℕ} (r : ℝ) (height : Fin n → ℝ) |
| 100 | (x : OPEPoints n) : OPEComplexTimes n := |
| 101 | fun i ↦ (YangMills.time (x.ofLp i) : ℂ) + |
| 102 | ((r * height i : ℝ) : ℂ) * Complex.I |
| 103 | |
| 104 | /-- The purely imaginary times associated with a Euclidean configuration. -/ |
| 105 | def imaginaryTimes {n : ℕ} (x : OPEPoints n) : OPEComplexTimes n := |
| 106 | fun i ↦ (YangMills.time (x.ofLp i) : ℂ) * Complex.I |
| 107 | |
| 108 | /-- Spatial coordinates of a Euclidean configuration. -/ |
| 109 | def spatialPoints {n : ℕ} (x : OPEPoints n) : OPESpacePoints n := |
| 110 | fun i ↦ YangMills.spatial (x.ofLp i) |
| 111 | |
| 112 | /-- The product test used to smear an `n`-point correlation. -/ |
| 113 | def tensorTest {n : ℕ} (tests : Fin n → YangMills.TestFunction) |
| 114 | (x : OPEPoints n) : ℂ := |
| 115 | ∏ i, tests i (x.ofLp i) |
| 116 | |
| 117 | structure Reconstructed : Prop where |
| 118 | axioms : T.theory.Axioms |
| 119 | faithful : T.theory.fields.Faithful |
| 120 | injective (d : ℕ) : Injective (T.toLabel d) |
| 121 | acts : ∃ (a : T.Tag) (f : YangMills.TestFunction), T.theory.fields.field (T.toLabel a.1 a.2) f ≠ 0 |
| 122 | covers : Surjective (fun a : T.Tag => T.toLabel a.1 a.2) |
| 123 | represents : Surjective T.project |
| 124 | normalized : IsProbabilityMeasure T.phaseMeasure |
| 125 | fullSupport : T.phaseMeasure.IsOpenPosMeasure |
| 126 | permutation (s : Option T.Character) {n : ℕ} (a : Fin n → T.Tag) |
| 127 | (x : Points n) (hx : x ∈ WilsonFamily.separated n) (π : Equiv.Perm (Fin n)) : |
| 128 | T.correlation s (a ∘ π) (WithLp.toLp 2 (x.ofLp ∘ π)) = T.correlation s a x |
| 129 | smooth (s : Option T.Character) {n : ℕ} (a : Fin n → T.Tag) : |
| 130 | ContDiffOn ℝ ∞ (T.correlation s a) (WilsonFamily.separated n) |
| 131 | characterContinuity {n : ℕ} (a : Fin n → T.Tag) (x : Points n) |
| 132 | (h : x ∈ WilsonFamily.separated n) : Continuous (fun i => T.correlation (some i) a x) |
| 133 | mixture {n : ℕ} (a : Fin n → T.Tag) (x : Points n) (h : x ∈ WilsonFamily.separated n) : |
| 134 | (∫ i, T.correlation (some i) a x ∂T.phaseMeasure) = T.correlation none a x |
| 135 | analytic {n : ℕ} (v : Fin n → T.Tag) (space : OPESpacePoints n) : |
| 136 | DifferentiableOn ℂ (fun z => T.continuation v z space) (orderedTube n) |
| 137 | root {n : ℕ} (v : Fin n → T.Tag) (x : Points n) (h : StrictMono fun i => time (x i)) : |
| 138 | T.continuation v (imaginaryTimes x) (spatialPoints x) = T.correlation (some T.selected) v x |
| 139 | boundary {n : ℕ} (v : Fin n → T.Tag) (height : Fin n → ℝ) (h : StrictMono height) |
| 140 | (tests : Fin n → YangMills.TestFunction) : |
| 141 | Tendsto (fun r => ∫ x : Points n, T.continuation v (complexShift r height x) (spatialPoints x) * |
| 142 | tensorTest tests x) (𝓝[>] 0) |
| 143 | (𝓝 (T.theory.fields.vacuumExpectation (fun i => T.toLabel (v i).1 (v i).2) tests)) |
| 144 | |
| 145 | /-- Two insertions on the time axis at -r/2 and r/2. -/ |
| 146 | def timePair (r : ℝ) : Points 2 := |
| 147 | WithLp.toLp 2 fun i => WithLp.toLp 2 (Fin.snoc (fun _ : Fin 3 => (0:ℝ)) |
| 148 | (Fin.append (fun _ : Fin 1 => -(r/2)) (fun _ : Fin 1 => r/2) i)) |
| 149 | def traceTwo (r : ℝ) := T.correlation (some T.selected) (fun _ : Fin 2 => ⟨4,T.centeredTrace⟩) (timePair r) |
| 150 | |
| 151 | /-- Elementary mass-shell kernels, including finite differential orders. -/ |
| 152 | structure Mode where |
| 153 | mass : ℝ≥0 |
| 154 | spatialOrder : ℕ |
| 155 | timeOrder : ℕ |
| 156 | numerator : Space → ℝ |
| 157 | continuous : Continuous numerator |
| 158 | homogeneous (p : Space) (r : ℝ) : 0 < r → numerator (r • p) = r^spatialOrder * numerator p |
| 159 | def Mode.kernel (m : Mode) (r : ℝ) (p : Space) : ℝ := |
| 160 | let E := Real.sqrt ((m.mass:ℝ)^2 + ‖p‖^2) |
| 161 | 1 / (2*E) * E^m.timeOrder * m.numerator p * Real.exp (-r*E) |
| 162 | structure Track where |
| 163 | n : ℕ |
| 164 | modes : Fin n → Mode |
| 165 | def wickProfile (terms : List (ℂ × Track)) (r : ℝ) : ℂ := |
| 166 | (terms.map fun (c,t) => c * ((∏ i, ∫ p : Space, (t.modes i).kernel r p : ℝ) : ℂ)).sum |
| 167 | |
| 168 | structure TraceTest : Prop where |
| 169 | centered (f : YangMills.TestFunction) : |
| 170 | inner ℂ T.theory.fields.vacuum.1 |
| 171 | (T.theory.fields.field (T.toLabel 4 T.centeredTrace) f T.theory.fields.vacuum).1 = 0 |
| 172 | amplitudePositive : 0 < 3 * (Module.finrank ℝ g.lieAlgebra : ℝ) / Real.pi^4 |
| 173 | shortDistance : Tendsto (fun r : ℝ => (r^8 * (Real.log r⁻¹)^2) • T.traceTwo r) |
| 174 | (𝓝[>] 0) (𝓝 ((3 * (Module.finrank ℝ g.lieAlgebra : ℝ) / Real.pi^4 : ℝ) : ℂ)) |
| 175 | excludes (terms : List (ℂ × Track)) : ¬ T.traceTwo =ᶠ[𝓝[>] 0] wickProfile terms |
| 176 | |
| 177 | structure Properties (order : ℕ → ℕ) : Prop where |
| 178 | wilson : C.Converges order (fun v => T.correlation none (T.project ∘ v)) |
| 179 | reconstruction : T.Reconstructed |
| 180 | ope : T.OperatorProductExpansion |
| 181 | nonfree : T.TraceTest |
| 182 | end Hierarchy |
| 183 | |
| 184 | /-- One Wilson family per gauge group, followed by a refinement for every requested |
| 185 | volume sequence. All four conclusions concern a single hierarchy on that refinement. -/ |
| 186 | def JointExistence : Prop := ∀ g : GaugeGroup, g.IsSimple → ∃ C : WilsonFamily g, |
| 187 | WilsonRegularity C ∧ ∀ p : ℕ → ℕ, StrictMono p → ∃ q : ℕ → ℕ, StrictMono q ∧ |
| 188 | ∃ T : Hierarchy C, T.Properties (p ∘ q) |
| 189 | |
| 190 | end YangMills |