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.Court |
| 2 | |
| 3 | /-! # Time-smeared Minkowski stress action -/ |
| 4 | set_option autoImplicit false |
| 5 | noncomputable section |
| 6 | namespace YM.EveryPhase.Stress |
| 7 | open Function Set Filter MeasureTheory Metric Boundary Next.BOUNDARY Mink Complex Probe Table |
| 8 | open Next.BOUNDARY.Descent |
| 9 | open scoped Topology BigOperators |
| 10 | |
| 11 | -- Use open ball (of course continuous equal-one extends to edge too). |
| 12 | -- Through times in tsupport f, the complement must be **strictly** spacelike |
| 13 | -- to the specified test supports (subset of X). Thus a sufficiently large ball. |
| 14 | structure Season (f : Probe ℝ) : Prop where |
| 15 | real (t : ℝ) : ((f t).re:ℂ)=f t |
| 16 | smoothTime : HasCompactSupport ⇑f |
| 17 | unit : (∫ t, f t)=1 |
| 18 | |
| 19 | lemma Season.stands {f} (hf : Season f) : (tsupport f).Nonempty := by |
| 20 | by_contra! h |
| 21 | have he (x) : f x=0 := image_eq_zero_of_notMem_tsupport (by simp [h]) |
| 22 | have ht := hf.unit; simp_rw [he] at ht; simp at ht |
| 23 | |
| 24 | lemma accepts : ∃ f : Probe ℝ, Season f := by |
| 25 | let c := stall (X:=ℝ) |
| 26 | let s := ∫ x : ℝ, c x |
| 27 | have ht : 0<s := c.integral_pos |
| 28 | let f := (s:ℂ)⁻¹ • tint c |
| 29 | refine ⟨f, fun x => ?_,?_,?_⟩ |
| 30 | · simp [f] |
| 31 | · have h : HasCompactSupport ⇑(tint c) := by |
| 32 | rw [HasCompactSupport,tint_support]; exact isCompact_closedBall .. |
| 33 | apply HasCompactSupport.smul_left h |
| 34 | simp only [f,_root_.smul_apply, smul_eq_mul,tinted,integral_const_mul,integral_complex_ofReal] |
| 35 | exact inv_mul_cancel₀ (Complex.ofReal_ne_zero.mpr ht.ne') |
| 36 | |
| 37 | structure Reservation (X : Set E4) (f : Probe ℝ) (c : Probe Space3) : Prop where |
| 38 | pocket : HasCompactSupport ⇑c |
| 39 | across : ∃ x : Space3, ∃ d : ℝ, 0<d ∧ EqOn ⇑c (fun _ => 1) (ball x d) ∧ |
| 40 | ∀ s∈tsupport f, ∀ y∉ball x d, ∀ z∈X, position y s-z∈Mink.spacelike |
| 41 | |
| 42 | lemma reservable (X : Set E4) (f : Probe ℝ) (h : IsCompact X) (hf : HasCompactSupport ⇑f) : |
| 43 | ∃ c, Reservation X f c := by |
| 44 | obtain ⟨A,hA⟩ := (h.image (rest_cont.norm)).bddAbove |
| 45 | obtain ⟨B,hB⟩ := ((h.prod hf).image (show Continuous (fun p : E4 × ℝ => |p.2 - YM.time p.1|) from by fun_prop)).bddAbove |
| 46 | let d := max (A+B) 0+1 |
| 47 | have hd : 0<d := by dsimp only [d]; linarith [le_max_right (A+B) 0] |
| 48 | let c : ContDiffBump (0:Space3) := ⟨d,d+d,hd, by linarith⟩ |
| 49 | refine ⟨tint c, ?_, 0,d,hd,?_,?_⟩ |
| 50 | · rw [HasCompactSupport,tint_support]; exact isCompact_closedBall .. |
| 51 | · intro z hz; simp [c.one_of_mem_closedBall (ball_subset_closedBall hz)] |
| 52 | intro s hs y hy z hz |
| 53 | rw [lateral] |
| 54 | simp only [sub_eq_add_neg,clock_add,clock_neg,time_position,Mink.rest_add,Mink.rest_neg,spatial_position]; simp only [← sub_eq_add_neg] |
| 55 | have he : A+B<d := (le_max_left ..).trans_lt (lt_add_of_pos_right _ zero_lt_one) |
| 56 | have ht₁ : |s-YM.time z| ≤ B := hB ⟨(z,s),⟨hz,hs⟩,rfl⟩ |
| 57 | have ht₂ : ‖spatial z‖ ≤ A := hA ⟨z,hz,rfl⟩ |
| 58 | have ht₃ : d≤‖y‖ := by simpa using hy |
| 59 | linarith [norm_sub_norm_le y (spatial z)] |
| 60 | lemma Reservation.admits {X : Set E4} {f : Probe ℝ} {g : Probe Space3} (h : Reservation X f g) (hf : Season f) |
| 61 | (x : E4) (hx : x∈X) : Jury g f x := by |
| 62 | obtain ⟨y,d,hd,he,ht⟩ := h.across |
| 63 | have hk : spatial x∈ball y d := by |
| 64 | by_contra hp; obtain ⟨w,hw⟩ := hf.stands |
| 65 | have he := ht w hw (spatial x) hp x hx |
| 66 | rw [lateral] at he; simp [sub_eq_add_neg] at he; linarith [abs_nonneg (w + -YM.time x)] |
| 67 | refine ⟨he.eventuallyEq_of_mem (isOpen_ball.mem_nhds hk),?_⟩ |
| 68 | intro s hs i r hr |
| 69 | have hp : r∉ball y d := by |
| 70 | intro hz |
| 71 | obtain ⟨a,ha,hA⟩ := mem_closure_iff.mp hr _ isOpen_ball hz |
| 72 | have he := (he.eventuallyEq_of_mem (isOpen_ball.mem_nhds ha)).fderiv_eq (𝕜:=ℝ) |
| 73 | apply hA |
| 74 | rw [drift_at,he]; simp |
| 75 | have hh := ht s hs r hp x hx; rw [lateral] at hh; simpa [sub_eq_add_neg] using hh |
| 76 | |
| 77 | variable {G : Gauge} {L : Register G} {S U : Table L} {W : Surface S} |
| 78 | {D : ∀ n, Blanket n} {Z : W.Aurora D} {P : DiffPlan S} {F : Waves S} {H : S.RealSpin} {Q : Wightman S} |
| 79 | |
| 80 | def Charge (Q : Wightman S) (K : Killing) (T : S.Stress) (f : Probe ℝ) (g : Probe Space3) := |
| 81 | ∑ b : Axis, fieldM Q T timeAxis b (touch K b (pincushion g f)) |
| 82 | |
| 83 | /-- `v ∂ Φ_B` as distribution is sum `∂_a Φ_B` tested at `v^a m`. |
| 84 | No integration-by-parts on general field-word domains here: minus is |
| 85 | in the definition. Includes the derivative of the affine factor. -/ |
| 86 | def action (Q : Wightman S) (K : Killing) (R : S.Rotation) (B : S.Tag) (m : Test4) := |
| 87 | Q.operators.field (S.pin B.1 (rankAction R B.1 K.V B.2)) m+ |
| 88 | ∑ i : Axis, Q.operators.field (S.pin B.1 B.2) (partialProbe i (touch K i m)) |
| 89 | |
| 90 | def adjAction {S : Table L} {Q : Wightman S} (K : Q.operators.domain →ₗ[ℂ] Q.operators.domain) |
| 91 | (U : Q.operators.domain →ₗ[ℂ] Q.operators.domain) := I • (K.comp U-U.comp K) |
| 92 | |
| 93 | lemma action_labels (K : Killing) (T : S.Stress) (B : S.Tag) (R : S.Rotation) (w : Prospect F Z U P H T) |
| 94 | (ha : Gallery W Z) (hQ : FieldCore W R H Q) (m : Test4) : |
| 95 | action Q K R B m=Q.operators.field (S.pin B.1 (rankAction R B.1 K.V B.2)) m+ |
| 96 | ∑ i : Axis, zeta i • Q.operators.field (S.pin (B.1+1) (P.deriv B.1 i B.2)) (touch K i m) := by |
| 97 | unfold action; congr 1; apply Finset.sum_congr rfl; intro i _ |
| 98 | rw [derivative_domain P w.hu w.hs w.hi w.hd w.hF w.hZ ha.spectra hQ, eucl_partial,map_smul] |
| 99 | have he : ∀ (V : Module.End ℂ Q.operators.domain), zeta i • wick i • V = V := fun V => by |
| 100 | rw [smul_smul,zeta_wick,one_smul] |
| 101 | rw [he] |
| 102 | |
| 103 | -- sign: shell calculates [B,T_euclidean]; multiplier is ζ |
| 104 | lemma measure_identity (K : Killing) (T : S.Stress) (B : S.Tag) (R : S.Rotation) (w : Prospect F Z U P H T) |
| 105 | (h : StressLaws U T P.deriv R.lie) (ha : Gallery W Z) (hQ : FieldCore W R H Q) (m : Test4) (hm : HasCompactSupport ⇑m) |
| 106 | (g : Probe Space3) (hg : HasCompactSupport ⇑g) (hr : ∀ r, ((g r).re:ℂ)=g r) |
| 107 | (f : Probe ℝ) (hf : Season f) (hh : ∀ x∈tsupport m, Jury g f x) : |
| 108 | adjAction (Q:=Q) (Charge Q K T f g) (Q.operators.field (S.pin B.1 B.2) m)=action Q K R B m := by |
| 109 | rw [action_labels K T B R w ha hQ] |
| 110 | apply on_domain hQ |
| 111 | intro u v |
| 112 | have he := Schwartz_shells K T B R w h ha m hm g hg hr f hf.smoothTime hf.unit hh (Sentence.rev Q.J u) v |
| 113 | let V := Q.operators |
| 114 | let M := V.field (S.pin B.1 B.2) m |
| 115 | let M' := V.field (S.pin B.1 (rankAction R B.1 K.V B.2)) m |
| 116 | let a := V.vector u; let b := V.evaluates v |
| 117 | let B' (i : Axis) := touch K i m |
| 118 | let T' (i) := V.field (S.pin 4 (T timeAxis i)) (touch K i (pincushion g f)) |
| 119 | let L (i) := V.field (S.pin (B.1+1) (P.deriv B.1 i B.2)) (B' i) |
| 120 | have ht : (∑ i : Axis,zeta i * inner ℂ a (M (T' i b)).val)-(∑ i : Axis,zeta i * inner ℂ a (T' i (M b)).val)= |
| 121 | inner ℂ a (M' b).val+∑ i : Axis,zeta i * inner ℂ a (L i b).val := by |
| 122 | have ht (t : S.Union) (s : Test4) (p : Sentence S) : inner ℂ a (V.field t s (V.evaluates p)).val= |
| 123 | W.expect (Sentence.rev Q.J u ++ ((t,s)::p)) := V.general W hQ.meets Q.J hQ.adj _ ((t,s)::p) |
| 124 | have ht₁ (i : Axis) := ht (S.pin B.1 B.2) m ((S.pin 4 (T timeAxis i),touch K i (pincushion g f))::v) |
| 125 | have h₁ i : inner ℂ a (M (T' i b)).val=_ := ht₁ i |
| 126 | have ht₂ (i : Axis) := ht (S.pin 4 (T timeAxis i)) (touch K i (pincushion g f)) ((S.pin B.1 B.2,m)::v) |
| 127 | have h₂ i : inner ℂ a (T' i (M b)).val=_ := ht₂ i |
| 128 | dsimp only [M',L,b,B'] at * -- may painful |
| 129 | simp_rw [h₁,h₂, ht]; exact he |
| 130 | have hg : Charge Q K T f g=∑ i : Axis, (I*zeta i) • T' i := by |
| 131 | refine Finset.sum_congr rfl (fun i _ => ?_); rw [TM, show zeta timeAxis= -I by simp [zeta], neg_neg] |
| 132 | change inner ℂ a ((adjAction (Q:=Q) (Charge Q K T f g) M) b).val = inner ℂ a ((M'+∑ i : Axis,zeta i • L i) b).val |
| 133 | rw [hg,adjAction]; simp only [LinearMap.smul_apply,LinearMap.comp_apply,LinearMap.add_apply,LinearMap.sub_apply, |
| 134 | LinearMap.sum_apply,map_sum,map_smul, Submodule.coe_add, Submodule.coe_sum, Submodule.coe_smul_of_tower, Submodule.coe_sub, |
| 135 | inner_sub_right,inner_smul_right,inner_add_right,inner_sum] |
| 136 | rw [← ht]; simp_rw [mul_sub,Finset.mul_sum,show ∀ c d : ℂ,I*(I*c*d)= -(c*d) from fun c d => by simp [mul_assoc,← mul_assoc I I]] |
| 137 | simp; abel |
| 138 | |
| 139 | /-- Testing functions are Schwartz with HasCompactSupport (C∞ with compact |
| 140 | support). Real f, integral one; any such height profile. Spatial cutoff can |
| 141 | also be complex. Test supports not including exterior vectors of the matrix |
| 142 | element between which we test. Only a local identity. -/ |
| 143 | theorem local_action (K : Killing) (T : S.Stress) (B : S.Tag) (R : S.Rotation) (w : Prospect F Z U P H T) |
| 144 | (h : StressLaws U T P.deriv R.lie) (ha : Gallery W Z) (hQ : FieldCore W R H Q) |
| 145 | (m : Test4) {X : Set E4} (hX : IsCompact X) (hm : tsupport m ⊆ X) |
| 146 | (f : Probe ℝ) (hf : Season f) (c : Probe Space3) (hc : Reservation X f c) : |
| 147 | adjAction (Q:=Q) (Charge Q K T f c) (Q.operators.field (S.pin B.1 B.2) m) = action Q K R B m := by |
| 148 | let g := fun r : Space3 => ((c r).re:ℂ) |
| 149 | have hg : HasCompactSupport g := by |
| 150 | change HasCompactSupport ((fun r : ℂ => (r.re:ℂ)) ∘ (⇑c)); exact hc.pocket.comp_left (by simp) |
| 151 | let k := hg.toSchwartzMap (Complex.ofRealCLM.contDiff.comp (Complex.reCLM.contDiff.comp (c.smooth ⊤))) |
| 152 | have Hk (x) : k x=g x := rfl |
| 153 | have hp := hc.pocket; obtain ⟨x,d,hd,hc,hC⟩ := hc.across |
| 154 | have hk (t) (ht : t∈ball x d) : k t=1 := by rw [Hk]; unfold g; rw [hc ht]; simp |
| 155 | have hh : Reservation X f k := ⟨hg, x,d,hd,fun p ht => hk p ht,hC⟩ |
| 156 | have hb (a : Axis) : Fields.causal (touch K a (pincushion (c-k) f)) m := by |
| 157 | let M := touch K a (pincushion (c-k) f) |
| 158 | intro y hy z hz |
| 159 | have hs : tsupport M ⊆ {p : E4 | spatial p ∉ ball x d} ∩ {p : E4| YM.time p∈tsupport f} := by |
| 160 | apply closure_minimal _ (((isOpen_ball.preimage rest_cont).isClosed_compl).inter ((isClosed_tsupport f).preimage clock_cont)) |
| 161 | intro i hi; change M i≠0 at hi |
| 162 | constructor |
| 163 | · exact fun ht => hi (by simp [M,touch_at,pincushion_at,hk _ ht, hc ht]) |
| 164 | by_contra h; exact hi (by simp [M,touch_at,pincushion_at,image_eq_zero_of_notMem_tsupport h]) |
| 165 | have he := hC _ (hs hy).2 _ (hs hy).1 z (hm hz); simpa using he |
| 166 | have he : Charge Q K T f c=Charge Q K T f k + Charge Q K T f (c-k) := by |
| 167 | have hm : pincushion (c-k) f=pincushion c f-pincushion k f := by ext1 i; simp [pincushion_at,sub_mul] |
| 168 | unfold Charge; simp only [hm,map_sub,Finset.sum_sub_distrib]; abel |
| 169 | have hy := measure_identity K T B R w h ha hQ m (hX.of_isClosed_subset (isClosed_tsupport _) hm) |
| 170 | k hg (fun i => by rw [Hk]; simp [g]) f hf (fun p ht => hh.admits hf p (hm ht)) |
| 171 | rw [← hy]; ext1 u |
| 172 | let A := Q.operators.field (S.pin B.1 B.2) m |
| 173 | have ht : Charge Q K T f (c-k) (A u) = A (Charge Q K T f (c-k) u) := by |
| 174 | simp only [Charge,LinearMap.sum_apply,map_sum] |
| 175 | exact Finset.sum_congr rfl fun i _ => hQ.localPairs _ _ _ _ (hb i) u |
| 176 | change I • (Charge Q K T f c (A u)-A (Charge Q K T f c u)) = I • ((Charge Q K T f k (A u))-A (Charge Q K T f k u)) |
| 177 | rw [he]; simp only [LinearMap.add_apply,map_add,ht]; abel |
| 178 | end YM.EveryPhase.Stress |