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.EveryPhase.Barycenter |
| 2 | |
| 3 | /-! |
| 4 | # Finite word polynomials on the common invariant domain |
| 5 | -/ |
| 6 | set_option autoImplicit false |
| 7 | noncomputable section |
| 8 | namespace YM.EveryPhase |
| 9 | open Function Set Filter Spec Boundary Probe OS Next.BOUNDARY Mink |
| 10 | open scoped Topology NNReal InnerProductSpace BigOperators |
| 11 | |
| 12 | variable {G : Gauge} {C : Family G} {S : Table C.book} |
| 13 | |
| 14 | abbrev SumOfWords (T : Table C.book) := List (ℂ × Sentence T) |
| 15 | |
| 16 | def monomial (V : Fields S) : Sentence S → V.domain →ₗ[ℂ] V.domain |
| 17 | | [] => LinearMap.id |
| 18 | | i::v => (V.field i.1 i.2).comp (monomial V v) |
| 19 | |
| 20 | lemma append_op (V : Fields S) (v w : Sentence S) : monomial V (v++w)=(monomial V v).comp (monomial V w) := by |
| 21 | induction v with |
| 22 | | nil => simp [monomial] |
| 23 | | cons i v ih => rw [List.cons_append, monomial, ih]; rfl |
| 24 | |
| 25 | lemma evaluate_word (V : Fields S) (b : Sentence S) : monomial V b V.omega=V.evaluates b := by |
| 26 | induction b with |
| 27 | | nil => rfl |
| 28 | | cons i a ih => simp only [monomial,LinearMap.comp_apply,ih]; rfl |
| 29 | |
| 30 | lemma star_monomial (V : Fields S) (J : StarOp S) (h : V.sharpPair J) (x y : V.domain) (p : Sentence S) : |
| 31 | inner ℂ ((monomial V p x).val) y.val=inner ℂ x.val ((monomial V (Sentence.rev J p) y).val) := by |
| 32 | induction p generalizing y with |
| 33 | | nil => rfl |
| 34 | | cons i p IH => |
| 35 | have he : Sentence.rev J (i::p)=Sentence.rev J p ++ [Letter.op J i] := by simp [Sentence.rev] |
| 36 | rw [he, append_op,LinearMap.comp_apply, monomial,LinearMap.comp_apply,h, IH]; rfl |
| 37 | |
| 38 | def operator (V : Fields S) : SumOfWords S → V.domain →ₗ[ℂ] V.domain |
| 39 | | [] => 0 |
| 40 | | p::w => p.1 • monomial V p.2 + operator V w |
| 41 | |
| 42 | def reverseP (J : StarOp S) (v : SumOfWords S) : SumOfWords S := v.map fun p => (star p.1, Sentence.rev J p.2) |
| 43 | |
| 44 | theorem star_operator (V : Fields S) (J : StarOp S) (h : V.sharpPair J) (x y : V.domain) |
| 45 | (p : SumOfWords S) : inner ℂ (operator V p x).val y.val=inner ℂ x.val (operator V (reverseP J p) y).val := by |
| 46 | induction p with |
| 47 | | nil => simp [operator, reverseP] |
| 48 | | cons i p ih => |
| 49 | change _=inner ℂ _ (operator V ((star i.1,Sentence.rev J i.2)::(reverseP J p)) y).val |
| 50 | rw [operator,operator]; simp only [LinearMap.add_apply, |
| 51 | LinearMap.smul_apply,Submodule.coe_add, Submodule.coe_smul_of_tower,inner_add_left, |
| 52 | inner_add_right, inner_smul_left, inner_smul_right, ih, star_monomial V J h]; rfl |
| 53 | |
| 54 | def acted (K : Spins S) (p : Poincare) (A : SumOfWords S) := A.map fun i => (i.1,K.po p i.2) |
| 55 | def stands (V : Fields S) (A : SumOfWords S) : V.H := (operator V A V.omega).val |
| 56 | |
| 57 | lemma stands_cons (V : Fields S) (i) (A : SumOfWords S) : |
| 58 | stands V (i::A)=i.1 • V.vector i.2 + stands V A := by |
| 59 | unfold stands |
| 60 | rw [operator, LinearMap.add_apply,LinearMap.smul_apply,evaluate_word]; rfl |
| 61 | |
| 62 | variable {W : Surface S} {R : S.Rotation} {s : S.RealSpin} {X : Wightman S} |
| 63 | |
| 64 | lemma cov_operator_vac (H : FieldCore W R s X) (p : Poincare) (A : SumOfWords S) : |
| 65 | stands X.operators (acted X.spin p A) = X.action.V p (stands X.operators A) := by |
| 66 | induction A with |
| 67 | | nil => simp [acted, stands, operator] |
| 68 | | cons i A ih => |
| 69 | change stands X.operators (_ :: acted X.spin p A)=_ |
| 70 | rw [stands_cons,stands_cons,map_add,map_smul,H.covariant,ih] |
| 71 | |
| 72 | lemma star_moved (H : FieldCore W R s X) (V : DiffPlan S) (hs : S.Symmetric) (hp : V.Inclusions S) |
| 73 | (p : Poincare) (A : SumOfWords S) : reverseP X.J (acted X.spin p A)=acted X.spin p (reverseP X.J A) := by |
| 74 | have hh (i : Sentence S) : Sentence.rev X.J (X.spin.po p i)=X.spin.po p (Sentence.rev X.J i) := by |
| 75 | unfold Sentence.rev Spins.po; rw [List.map_reverse,List.map_map,List.map_map]; congr 2 |
| 76 | ext1 q; exact Letter.rewrites hs hp H.induced X.spin H.letters q p |
| 77 | unfold reverseP acted |
| 78 | rw [List.map_map,List.map_map]; congr 1; ext1 i; exact Prod.ext rfl (hh i.2) |
| 79 | |
| 80 | section support |
| 81 | variable (A B : SumOfWords S) |
| 82 | |
| 83 | def boundedWord (v : Sentence S) : Prop := ∀ i ∈ v, HasCompactSupport ⇑i.2 |
| 84 | |
| 85 | def finite (A : SumOfWords S) : Prop := ∀ v∈A, boundedWord v.2 |
| 86 | |
| 87 | def spacelikeWords (A B : SumOfWords S) := ∀ i ∈ A, ∀ j ∈ B, ∀ x ∈ i.2, ∀ y ∈ j.2, Fields.causal x.2 y.2 |
| 88 | |
| 89 | private lemma mon_comm (V : Fields S) (h : V.commutes) {a b : Sentence S} |
| 90 | (he : ∀ i ∈ a, ∀ j ∈ b, Fields.causal i.2 j.2) (x : V.domain) : |
| 91 | monomial V a (monomial V b x)=monomial V b (monomial V a x) := by |
| 92 | induction a generalizing x with |
| 93 | | nil => rfl |
| 94 | | cons i a ih => |
| 95 | have single_comm (b : Sentence S) (p : ∀ j∈b, Fields.causal i.2 j.2) (x : V.domain) : |
| 96 | V.field i.1 i.2 (monomial V b x)=monomial V b (V.field i.1 i.2 x) := by |
| 97 | induction b generalizing x with |
| 98 | | nil => rfl |
| 99 | | cons j b ihb => |
| 100 | simp only [monomial,LinearMap.comp_apply]; rw [h i.1 j.1 i.2 j.2 (p j (by simp))] |
| 101 | rw [ihb (fun k hk => p k (List.mem_cons_of_mem _ hk))] |
| 102 | simp only [monomial,LinearMap.comp_apply] |
| 103 | rw [ih (fun k hk => he k (List.mem_cons_of_mem _ hk))] |
| 104 | exact single_comm b (he i (by simp)) _ |
| 105 | |
| 106 | theorem op_comm {A B : SumOfWords S} (V : Fields S) (h : V.commutes) (hp : spacelikeWords A B) |
| 107 | (x : V.domain) : operator V A (operator V B x)=operator V B (operator V A x) := by |
| 108 | induction A generalizing x with |
| 109 | | nil => simp [operator] |
| 110 | | cons i A ih => |
| 111 | have he (B : SumOfWords S) (p : ∀ j∈B, ∀ v∈i.2, ∀ w∈j.2, Fields.causal v.2 w.2) : |
| 112 | monomial V i.2 (operator V B x)=operator V B (monomial V i.2 x) := by |
| 113 | induction B with |
| 114 | | nil => simp [operator] |
| 115 | | cons j B ihb => |
| 116 | simp only [operator, LinearMap.add_apply,LinearMap.smul_apply,map_add,map_smul] |
| 117 | rw [mon_comm V h (p _ (by simp)), ihb (fun k hk => p k (List.mem_cons_of_mem _ hk))] |
| 118 | simp only [operator,LinearMap.add_apply,LinearMap.smul_apply,map_add,map_smul] |
| 119 | rw [ih (fun k hk => hp k (List.mem_cons_of_mem _ hk)), he B (hp i (by simp))] |
| 120 | |
| 121 | lemma transl_support {x y : E4} (f : Test4) (h : y ∈ tsupport (Joint.push (Poincare.translation x) f)) : |
| 122 | y-x∈ tsupport f := by |
| 123 | let v := (· - x : E4 → E4) |
| 124 | let G := Joint.push (Poincare.translation x) f |
| 125 | have he : MapsTo v (support G) (support f) := by |
| 126 | intro s hs; change f _ ≠ 0; change Joint.push _ _ s ≠ 0 at hs |
| 127 | simpa [Poincare.backwards,Poincare.translation] using hs |
| 128 | exact he.closure (by unfold v; fun_prop) h |
| 129 | |
| 130 | private lemma compact_bounds {f : Test4} (h : HasCompactSupport ⇑f) : |
| 131 | ∀ᶠ R : ℝ in atTop, ∀ x ∈ tsupport f, |time x| ≤ R ∧ ‖spatial x‖ ≤ R := by |
| 132 | obtain ⟨a,hA⟩ := (h.image (show Continuous (fun x => |time x|) from by fun_prop)).bddAbove |
| 133 | obtain ⟨b,hB⟩ := (h.image (show Continuous (fun x => ‖spatial x‖) from by fun_prop)).bddAbove |
| 134 | filter_upwards [eventually_ge_atTop a,eventually_ge_atTop b] with r ha hb |
| 135 | exact fun i hi => ⟨(hA (mem_image_of_mem _ hi)).trans ha,(hB (mem_image_of_mem _ hi)).trans hb⟩ |
| 136 | |
| 137 | private lemma bounded_scope (A : SumOfWords S) (hA : finite A) : |
| 138 | ∀ᶠ R : ℝ in atTop, ∀ i∈A, ∀ j∈i.2, ∀ x∈tsupport ⇑j.2, |time x| ≤ R ∧ ‖spatial x‖ ≤ R := by |
| 139 | classical |
| 140 | have hp i (hi : i ∈ A) : ∀ᶠ R : ℝ in atTop, ∀ j∈i.2, ∀ x∈tsupport ⇑j.2, |time x| ≤ R ∧ ‖spatial x‖ ≤ R := by |
| 141 | simpa only [← List.mem_toFinset] using |
| 142 | (eventually_all_finset i.2.toFinset).mpr (fun j hj => compact_bounds (hA i hi j (by simpa using hj))) |
| 143 | simpa only [← List.mem_toFinset] using |
| 144 | (eventually_all_finset A.toFinset).mpr (fun i hi => hp i (by simpa using hi)) |
| 145 | |
| 146 | lemma distant (A B : SumOfWords S) (hA : finite A) (hB : finite B) (K : Spins S) : |
| 147 | ∃ R : ℝ, ∀ t : ℝ, |t| ≤ 1 → ∀ x : Space3, R < ‖x‖ → |
| 148 | spacelikeWords A (acted K (Poincare.translation (position x t)) B) := by |
| 149 | obtain ⟨r,hr,hR⟩ := ((bounded_scope A hA).and (bounded_scope B hB)).exists |
| 150 | refine ⟨4*r+1, fun t ht x hx i hi j hj f hf g hg a ha b hb => ?_⟩ |
| 151 | obtain ⟨j,hJ,rfl⟩ := List.mem_map.mp hj |
| 152 | obtain ⟨g,hG,rfl⟩ := List.mem_map.mp hg |
| 153 | obtain ⟨hv,hu⟩ := hR j hJ g hG _ (transl_support g.2 hb) |
| 154 | obtain ⟨hp,hq⟩ := hr _ hi _ hf _ ha |
| 155 | rw [lateral] |
| 156 | have he : ‖x‖ ≤ ‖spatial (a-b)‖ + ‖spatial a‖ + ‖spatial (b-position x t)‖ := calc |
| 157 | _ = ‖-spatial (a-b) + spatial a - spatial (b-position x t)‖ := by simp [sub_eq_add_neg] |
| 158 | _ ≤ _ := le_trans (norm_sub_le _ _) (add_le_add_left (by simpa using norm_add_le (-spatial (a-b)) (spatial a)) _) |
| 159 | simp only [sub_eq_add_neg,clock_add,clock_neg,time_position] at hv he hu ⊢ |
| 160 | rw [abs_le] at hv hp ht; rw [abs_lt]; constructor <;> linarith |
| 161 | |
| 162 | lemma fin_reverse (J : StarOp S) {A : SumOfWords S} (hA : finite A) : finite (reverseP J A) := by |
| 163 | intro i hi j hj |
| 164 | obtain ⟨v,hv,rfl⟩ := List.mem_map.mp hi |
| 165 | obtain ⟨x,hx,rfl⟩ := List.mem_map.mp (List.mem_reverse.mp hj) |
| 166 | exact (hA v hv x hx).comp_left (show star (0:ℂ)=0 from star_zero ℂ) |
| 167 | end support |
| 168 | |
| 169 | open MeasureTheory Measure |
| 170 | |
| 171 | def delta (X : Wightman S) (A : SumOfWords S) (p : E4) := |
| 172 | charFun (X.momentum.diagonal (stands X.operators A)) p - |
| 173 | charFun (X.momentum.diagonal (stands X.operators (reverseP X.J A))) (-p) |
| 174 | |
| 175 | theorem comm_expect (H : FieldCore W R s X) (P : DiffPlan S) (hs : S.Symmetric) (hp : P.Inclusions S) |
| 176 | (A : SumOfWords S) (p : E4) : |
| 177 | let V := X.operators |
| 178 | let T := acted X.spin (Poincare.translation p) A |
| 179 | delta X A p = inner ℂ V.vacuum (operator V (reverseP X.J A) (operator V T V.omega)).val - |
| 180 | inner ℂ V.vacuum (operator V T (operator V (reverseP X.J A) V.omega)).val := by |
| 181 | unfold delta; rw [H.spectral,H.spectral]; congr 1 |
| 182 | · exact |
| 183 | have he := cov_operator_vac H (Poincare.translation p) A |
| 184 | calc |
| 185 | _ = inner ℂ (stands X.operators A) (stands X.operators (acted X.spin (Poincare.translation p) A)) := |
| 186 | congrArg _ he.symm |
| 187 | _ = _ := star_operator _ _ H.adj X.operators.omega _ A |
| 188 | let U := X.action.V (Poincare.translation p) |
| 189 | let x := stands X.operators (reverseP X.J A) |
| 190 | let Z := acted X.spin (Poincare.translation p) A |
| 191 | let V := X.operators |
| 192 | have ht : reverseP X.J (reverseP X.J Z)=Z := by |
| 193 | have hz := Boundary.invol hs hp H.induced |
| 194 | unfold reverseP; rw [List.map_map, List.map_congr_left (g:=id)] |
| 195 | · simp |
| 196 | intro _ _; simp only [Function.comp_apply,star_star,Sentence.rev_rev _ hz,id_eq] |
| 197 | have hw : stands V (reverseP X.J Z) = U x := by |
| 198 | rw [show reverseP X.J Z= _ from star_moved H P hs hp _ _]; exact cov_operator_vac H _ _ |
| 199 | have hu : U (X.action.orbit.translation (-p) x)=x := by |
| 200 | change X.action.orbit.translation p (X.action.orbit.translation (-p) x) = _ |
| 201 | rw [← ContinuousLinearMap.comp_apply,X.action.orbit.sends,add_neg_cancel,X.action.orbit.origin]; rfl |
| 202 | calc |
| 203 | _ = inner ℂ (U x) (U (X.action.orbit.translation (-p) x)) := (X.action.flavor _ _ _).symm |
| 204 | _ = inner ℂ (stands V (reverseP X.J Z)) x := by rw [hw, hu] |
| 205 | _ = inner ℂ V.vacuum (operator V (reverseP X.J (reverseP X.J Z)) (operator V (reverseP X.J A) V.omega)).val := |
| 206 | star_operator V _ H.adj _ _ _ |
| 207 | _ = _ := by rw [ht] |
| 208 | end YM.EveryPhase |