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.PertExtension.OrbLaurent |
| 2 | import YM.Bid.Source |
| 3 | import Mathlib.Tactic |
| 4 | |
| 5 | /-! Finite-regulator evaluation on actual type of canonical source sections. |
| 6 | Only real polynomial basis columns here; joint tests are still scalar finite |
| 7 | combinations before Gram changes. -/ |
| 8 | set_option autoImplicit false |
| 9 | set_option synthInstance.maxHeartbeats 60000 |
| 10 | set_option maxHeartbeats 1200000 |
| 11 | noncomputable section |
| 12 | namespace YM.PertExtension.Orb.SlotEvaluation |
| 13 | open Wilson Lattice Gauge Precision Function Filter Set Metric MeasureTheory RG Supply Labels Source Drops InnerProductSpace |
| 14 | open scoped Matrix.Norms.Frobenius ContDiff Topology Classical BigOperators ENNReal |
| 15 | attribute [local instance] Gauge.frobInner |
| 16 | open Chart Series Series.Radial Series.Tested Bid |
| 17 | variable {G : Gauge}{n : Side}{d : ℕ} |
| 18 | variable {F : Labels.Frame G d}(C : SectionData F) |
| 19 | |
| 20 | def coverAt (o : Site n)(x : Dir G n) := expandAt o (representative x) |
| 21 | def fieldAt (i : F.Index)(o : Site n)(v : Config G n) := (C.places (Pi.single i 1) o v).re |
| 22 | def field (s : RG.Slot)(o : Site n)(k : G.ColorIndex)(x : Dir G n) : ℝ:=s.eval (coverAt o x) k |
| 23 | |
| 24 | @[simp] lemma zero_links (o : Site n) : coverAt o (0:Dir G n) = 1 := by simp [coverAt];rfl |
| 25 | @[simp] lemma slot_zero (o : Site n) (s : RG.Slot) : s.eval (coverAt o (0:Dir G n))=0:=by |
| 26 | have ht (w)(x : Cover) :travel (1:CoverConfig G) x w=1:=by |
| 27 | induction w generalizing x with |
| 28 | | nil=>rfl |
| 29 | | cons a w ih=>simp only [travel,ih,mul_one,Step.read];by_cases h:a.neg=true<;>simp [h] |
| 30 | rw [zero_links]; unfold RG.Slot.eval faceValue;rw [ht (square ..),G.curvature_unit,map_zero] |
| 31 | @[fun_prop] lemma slotContour (s : RG.Slot)(o : Site n) : ContDiff ℝ ∞ (s.eval ∘ coverAt (G:=G) o) := by |
| 32 | let f := coverAt o (G:=G) |
| 33 | have h (w)(x): ContDiff ℝ ω (fun y => G.mat (travel (f y) x w)) := by simp_rw [show ∀ y,travel (f y) x w=travel (representative y) (wrap n x+o) w from fun y=> travel_at o (representative y) x w]; exact smooth_walk _ _ |
| 34 | let v : Dir G n → G.El := fun x=>faceValue (f x) (s.offset,s.plaq) |
| 35 | have hb : ContDiff ℝ ω (fun x=>G.mat (v x)) := h .. |
| 36 | let g (x) := G.mat (travel (f (x:Dir G n)) 0 s.walk) |
| 37 | let Q:=LinearMap.toContinuousLinearMap G.projectColor |
| 38 | let M:=LinearMap.toContinuousLinearMap G.colorMat |
| 39 | have H : ContDiff ℝ ω (fun x : Dir G n=>G.curvature (v x)) := by |
| 40 | unfold curvature; simp_rw [G.mat_inv] |
| 41 | exact Q.contDiff.comp (hb.sub ((starL ℝ : G.Mat ≃L[ℝ] G.Mat).contDiff.comp hb) |>.const_smul (1/2:ℝ)) |
| 42 | have hh : s.eval ∘ coverAt (G:=G) o=fun x=>Q (g x*M ((G.curvature (v x)))*star (g x)):= rfl |
| 43 | rw [hh]; exact Q.contDiff.comp (((h _ _).mul (M.contDiff.comp H)).mul ((starL' ℝ : G.Mat ≃L[ℝ] G.Mat).contDiff.comp (h _ _)))|>.of_le le_top |
| 44 | @[fun_prop] lemma coordinateContour (s : RG.Slot)(o : Site n)(k : G.ColorIndex) : ContDiff ℝ ∞ (field s o k) := by |
| 45 | convert! (contDiff_const (c:=EuclideanSpace.basisFun G.ColorIndex ℝ k)).inner ℝ (slotContour s o (G:=G)) using 1 |
| 46 | funext x |
| 47 | exact (EuclideanSpace.basisFun_inner ..).symm |
| 48 | lemma slotOrder (s : RG.Slot)(o : Site n)(k : G.ColorIndex) : RadialOrder 1 (field s o k) := zero_first (coordinateContour ..).contDiffAt (by unfold field; rw [slot_zero];rfl) |
| 49 | |
| 50 | -- representation by source path slots instead of arbitrary polynomial coordinates |
| 51 | lemma repr {i : F.Index} {m : ℕ} (p:Pose G m)(B:Fin m→RG.Slot) (h:C.evaluate (Pi.single i 1)=lumin p ∘ mapped B) (o : Site n) (u : Dir G n) : |
| 52 | restrictedO (fieldAt C i o) (expLinks G _ u)= (∑ d∈p.support,(MvPolynomial.coeff d p) * ∏ r∈d.support, (Complex.ofReal (field (B r.1) o r.2 u))^(d r)).re := by |
| 53 | change (C.evaluate _ (coverAt o u)).re = _ |
| 54 | rw [h, Function.comp_apply, Bid.lumin, MvPolynomial.aeval_eq_eval₂Hom, MvPolynomial.coe_eval₂Hom, MvPolynomial.eval₂_eq] |
| 55 | rfl |
| 56 | |
| 57 | lemma poly_smooth {i : F.Index} {m : ℕ} (p : Pose G m)(B : Fin m → RG.Slot)(h : C.evaluate (Pi.single i 1)=lumin p ∘ mapped B)(o : Site n): |
| 58 | ContDiff ℝ ∞ (restrictedO (fieldAt C i o) ∘ expLinks G (Cotree n)):=by |
| 59 | change ContDiff ℝ ∞ fun u=>restrictedO (fieldAt C i o) (expLinks G _ u) |
| 60 | simp_rw [repr C p B h] |
| 61 | exact Complex.reCLM.contDiff.comp (.sum fun d _=> contDiff_const.mul <| contDiff_prod fun i _=> |
| 62 | (Complex.ofRealCLM.contDiff.comp (coordinateContour (B i.1) o i.2)).pow ..) |
| 63 | lemma poly_order {m : ℕ}(p : Pose G m){k : ℕ}(hp : lows p k)(B : Fin m→RG.Slot)(o : Site n)(x : Dir G n): |
| 64 | Bill k (fun t : ℝ => ∑ d∈p.support, (MvPolynomial.coeff d p) * ∏ i∈d.support, Complex.ofReal (field (B i.1) o i.2 (t • x)) ^ (d i)) := by |
| 65 | let f : (Fin m × G.ColorIndex) → ℝ → ℂ := fun i t=> Complex.ofReal (field (B i.1) o i.2 (t • x)) |
| 66 | suffices h : Bill k (∑ d∈p.support, (fun t =>MvPolynomial.coeff d p*( (∏ i∈d.support, f i ^ (d i)) t))) by |
| 67 | convert h using 1 |
| 68 | funext t; simp [Finset.sum_apply, Finset.prod_apply,f] |
| 69 | apply bill_sum |
| 70 | intro j hj |
| 71 | have h (i): Bill 1 (f i) := by |
| 72 | obtain ⟨C,hC,he⟩ := slotOrder (B i.1) o i.2 x |
| 73 | refine ⟨C,hC,he.mono fun t ht=>by simpa [f] using! ht⟩ |
| 74 | have hs := bill_product j.support (fun i=>j i*1) _ (fun i _ => bill_pow (h i) (j i)) |
| 75 | refine bill_ge (bill_mul (bill_const (MvPolynomial.coeff j p)) hs) ?_ |
| 76 | simpa [Finsupp.sum] using hp _ hj |
| 77 | |
| 78 | lemma pre_field {Hol : Hol G}(h : C.Sound Hol)(s : Bid.pop C)(i : F.Index)(o : Site n) : |
| 79 | PreTest (fieldAt C i o) ∧ RadialOrder (F.grades i).2 (restrictedO (fieldAt C i o) ∘ expLinks G (Cotree n)) := by |
| 80 | have hc:= Complex.continuous_re.comp (C.continuous_places (Pi.single i 1) o) |
| 81 | obtain ⟨m,B,hS,p,hp,hq⟩:= s i |
| 82 | refine ⟨⟨fun u _ x=>by unfold fieldAt;rw [C.placed_invariant h], ⟨hc.comp continuous_links,(poly_smooth C p B hp _).contDiffAt⟩,hc⟩,fun x=>?_⟩ |
| 83 | obtain ⟨r,hr,H⟩:=poly_order p hq B o x |
| 84 | refine ⟨r,hr,H.mono fun t ht=> le_trans ?_ ht⟩ |
| 85 | dsimp only [Function.comp_apply]; rw [repr C p B hp,Real.norm_eq_abs];apply Complex.abs_re_le_norm |
| 86 | |
| 87 | end YM.PertExtension.Orb.SlotEvaluation |