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.TraceExtension.Pi.River |
| 2 | set_option autoImplicit false |
| 3 | noncomputable section |
| 4 | namespace YM.Trace.Kits |
| 5 | open Function Filter Matrix Lattice Precision Laurent Stationary Perfect Bloch Exterior Tree RG Wilson Finset Push.Uniform Audience Metric Lamp Det Loft MeasureTheory Source Source.Drops Work Planned.PrimaryIntegral295 Place Parts Next.Foundations WardBin StressFlux Labels |
| 6 | open scoped BigOperators Topology ContDiff Matrix.Norms.Frobenius InnerProductSpace Classical |
| 7 | variable {G:Gauge}{s:Side}{P:Support s}{F:Peat G s}{H:Hol G} |
| 8 | section Stay |
| 9 | variable (x:Axis) (n:ℤ)(h: Cleric F)(hp:LocalOn P F)(he:Nonwrapping P 0)(hm:n.natAbs ≤ 4)(hs:40 ≤ s.val)(hG:G.Simple) |
| 10 | include h hp he hm hs hG |
| 11 | omit hG in |
| 12 | lemma ratchet (V:Potential G)(y:Link G s): sheen F y (rideC (n • step x) (stepC 0 V))=sheen F y (stepC 0 (revD ((n:ℝ) • basis x) V)):=by |
| 13 | refine shadeL hp h _ _ _ (fun ⟨i,j⟩ hi _=>?_) ; rw[spin_at]; unfold stepC revD; rw[ContinuousLinearEquiv.apply_symm_apply,ContinuousLinearEquiv.apply_symm_apply]; simp only [sub_zero]; congr 2 |
| 14 | have hv: lift (i+n •step x)=lift i+n •step x:=lift_eq_iff.mpr ⟨by rw[map_add,wrap_lift,map_zsmul,wrap_step],by |
| 15 | intro k; simp only [Pi.add_apply,Pi.smul_apply,step_apply]; simp only[zsmul_eq_mul,Int.cast_id]; have hh:=he i hi; unfold separation at hh; rw [sub_zero] at hh; have hx:=component_le i k; split <;> omega⟩ |
| 16 | rw[hv]; ext1 k; by_cases h:x=k; · simp [basis_eq,h] |
| 17 | simp[basis_eq,h,Ne.symm h] |
| 18 | lemma steer0 (V:Taylor G 0)(y:Link G s): sheen F y (rideC (n •step x) (ivy 0 V))= sheen F y (ivy 0 V):=by |
| 19 | unfold ivy; rw[ratchet x n h hp he hm hs,ride_0,sC_sub,sheen_sub_r]; change _-_=_; rw[show sheen F y (stepC _ (Place.jump _))=0 from cellar (by omega) he hp h hG _ _]; ring |
| 20 | lemma steer1 (V:Taylor G 1)(y:Link G s): sheen F y (rideC (n •step x) (ivy 0 V))=sheen F y (ivy 0 V)+(n:ℝ)*sheen F y (ivy 0 (bentV V x)):=by |
| 21 | unfold ivy; have hv(q:E4→G.Color): sheen F y (stepC 0 (Place.jump q))=0:=cellar (by omega) he hp h hG _ _ |
| 22 | rw [ratchet x n h hp he hm hs, ride_1 V x,sC_sub,sC_add,sC_weights,sC_sub,sheen_sub_r,sheen_add_r,sheen_scale_r,sheen_sub_r,hv,hv];ring |
| 23 | lemma shine_r (i:ℕ)(A:Taylor G 0)(B:Taylor G i): sheen (rj (n •step x) F) (ivy 0 A) (ivy 0 B)= sheen F (ivy 0 A) (rideC (n •step x) (ivy 0 B)):=by |
| 24 | rw[show sheen (rj (n •step x) F) (ivy 0 A) (ivy 0 B)= sheen F (rideC (n •step x) (ivy 0 A)) (rideC (n •step x) (ivy 0 B)) from ?_, sheen_symm F h, steer0 x n h hp he hm hs hG, sheen_symm F h] |
| 25 | unfold sheen; rw[take_px,wired (rideC _) (by rw[map_zero]; exact h.dye.analyticAt),map_zero]; congr 1; funext k;fin_cases k<;>rfl |
| 26 | end Stay |
| 27 | variable (T: Axis→loom G s) (hT:∀ a, LocalOn P (T a).val)(hP:Nonwrapping P 0)(hs:40 ≤ s.val)(hG:G.Simple) |
| 28 | def starling (A: loom G s) : Site s→ loom G s:= fun i=> ⟨rj i A.val,taking_loom i _ A.property⟩ |
| 29 | def anis (X Y:Link G s): loom G s→ₗ[ℝ] ℝ:=loom₂ s G ((bite G s).symm (X,0)) ((bite G s).symm (Y,0)) |
| 30 | lemma anum (X Y:Link G s)(A:loom G s): anis X Y A=sheen A.val X Y:=by unfold anis; change iteratedFDeriv ℝ 2 (ballX A.val) 0 _=_; rw[loom_banks A.property, ContinuousLinearEquiv.apply_symm_apply, ContinuousLinearEquiv.apply_symm_apply] |
| 31 | lemma loom0 (A: loom G s): A.val 1=0:=by |
| 32 | have hx:=loom_read A.property; change A.val (input _ _ (bite _ _ 0).1)=0∧ _ at hx; simpa using hx.1 |
| 33 | def airT (T:Axis→Peat G s):=∑ a:Axis,elm a (fun i=> rj i (T a)) 0 |
| 34 | include hT hP hs hG |
| 35 | lemma readable {Z:Label G 5}(ht:JetTest H 0 Z (Complex.ofRealCLM ∘ airT (fun a=> (T a).val)))(J:Jet G): Labels.read J Z.val= (↑(∑ a:Axis,sheen (T a).val (ivy (0:Site s) (J 0)) (ivy 0 (bentV (J 1) a))):ℂ):=by |
| 36 | let B(a):= elm a (starling (T a)) 0; let A:= ∑ a:Axis,B a |
| 37 | let W:=ivy (0:Site s) (J 0); let U:=ivy (0:Site s) (J 1) |
| 38 | have he:A.val=airT fun a=> (T a).val:=by unfold airT A B elm Pull.dTap; simp only [AddSubmonoidClass.coe_finsetSum,Submodule.coe_smul,Submodule.coe_sub];rfl |
| 39 | rw[← he] at ht; rw[vista5 (show Cleric _ from A.property.1) hG ht J,loom0]; let Q:=anis W W; let V:=anis W U |
| 40 | have h₂(j:Fin 4): (Pull.steps j)≤4:=by unfold Pull.steps; omega |
| 41 | have hv(a) : sheen (B a).val W W=0:=by |
| 42 | rw [← anum]; unfold B elm Pull.dTap; rw [map_sum]; apply sum_eq_zero; intro i hi; rw [map_smul,map_sub]; let m:ℤ:= Pull.steps i |
| 43 | have hx (n:ℤ)(h:n.natAbs≤4): anis W W (starling (T a) (0+n • step a))= sheen (T a).val W W:=by rw [zero_add,anum,show (starling (T a) (n • step a)).val=rj (n • step a) (T a).val from rfl, shine_r a n (T a|>.property.1) (hT a) hP h hs hG, steer0 a n (T a|>.property.1) (hT a) hP h hs hG] |
| 44 | rw [hx (0+m) (by simp[m,h₂ i]),hx (0-m) (by simp[m,h₂ i])]; ring |
| 45 | let η(a:Axis):= sheen (T a).val W (ivy 0 (bentV (J 1) a)) |
| 46 | have h₁(a): sheen (B a).val W U=η a:=by |
| 47 | rw [← anum]; unfold B elm Pull.dTap; rw [map_sum]; have h':=Pull.credit 1 (by omega); simp only [pow_one,sub_neg_eq_add,if_true] at h' |
| 48 | have hf(n:ℤ)(hn:n.natAbs≤4): anis W U (starling (T a) (0+n • step a))= sheen (T a).val W U+(n:ℝ)*η a :=by rw[zero_add,anum,show (starling (T a) (n • step a)).val=rj (n • step a) (T a).val from rfl, shine_r a n (T a|>.property.1) (hT a) hP hn hs hG,steer1 a n (T a|>.property.1) (hT a) hP hn hs hG] |
| 49 | rw[← one_mul (η a),← h',sum_mul]; apply sum_congr rfl; intro j _; rw[map_smul,map_sub,hf _ (by simp [h₂]),hf _ (by simp[h₂])]; push_cast; rw [smul_eq_mul]; ring |
| 50 | rw [show sheen A.val W W=0 from ?_, show sheen A.val W U=∑ a:Axis,η a from ?_]; rotate_left |
| 51 | · rw[← anum]; unfold A; rw[map_sum]; exact sum_congr rfl fun i _=> (anum ..).trans (h₁ i) |
| 52 | · rw[← anum]; unfold A; rw[map_sum]; apply sum_eq_zero; exact fun i _=> (anum ..).trans (hv i) |
| 53 | rw [zero_add,mul_zero,zero_add] |
| 54 | end YM.Trace.Kits |