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.GaussianScore |
| 2 | |
| 3 | /-! Centered Gaussian monomial and pairing recursion by differentiation of an |
| 4 | actual translate. Applies directly to singular leg covariance from a positive |
| 5 | tangent precision (no inverse needed on the leg index space). -/ |
| 6 | set_option autoImplicit false |
| 7 | set_option maxHeartbeats 600000 |
| 8 | noncomputable section |
| 9 | namespace YM.PertExtension.GaussianScore |
| 10 | open Series Function Filter Set Metric MeasureTheory |
| 11 | open scoped Topology ContDiff Classical BigOperators |
| 12 | open LinearMap Radial |
| 13 | |
| 14 | variable {E I : Type*}[NormedAddCommGroup E][NormedSpace ℝ E][FiniteDimensional ℝ E] |
| 15 | local notation "z" => Radial.zone (E:=E) |
| 16 | local notation "V" => Module.Dual ℝ E |
| 17 | |
| 18 | namespace Law |
| 19 | variable (Γ : Law E) |
| 20 | variable {A L : E→ℝ} |
| 21 | variable [MeasurableSpace E][BorelSpace E] |
| 22 | |
| 23 | -- Step common to all monomial lengths. |
| 24 | lemma translation_lemma (v : E)(hA : Zone.Invoice z A)(hAc : Continuous A)(hL : Zone.Invoice z L)(hLc : Continuous L) |
| 25 | (hd : ∀ x t, HasDerivAt (fun r : ℝ => A (x+r•v)) (L (x+t•v)) t) |
| 26 | (μ : Measure E)[μ.HasTemperateGrowth][μ.IsAddRightInvariant] : |
| 27 | ∫ x, ((L-A*(Γ.P v))*Γ.kern) x ∂μ=0 := by |
| 28 | let B:=L-A*(Γ.P v) |
| 29 | have hB : Continuous B:= hLc.sub (hAc.mul (Γ.P v).continuous_of_finiteDimensional) |
| 30 | let f (x : E)(t : ℝ):=x+t•v |
| 31 | let F (a : ℝ)(x) := (A*Γ.kern) (f x a) |
| 32 | let D (a : ℝ)(x) := (B*Γ.kern) (f x a) |
| 33 | have hF (a) : Continuous (F a) := (hAc.mul Γ.continuous_kern).comp (continuous_id.add continuous_const) |
| 34 | have hh (a) : Continuous (D a) := (hB.mul Γ.continuous_kern).comp (continuous_id.add continuous_const) |
| 35 | have hbi := hL.add ((hA.mul (Law.linearInvoice (Γ.P v))).weaken (b:= -(A*fun x=>Γ.P v x)) (by simp)) |
| 36 | obtain ⟨c,hc,C,hC,k,H⟩:=Γ.translation_bound (A:=B) hbi v |
| 37 | have h₂ (x : E): ∀ a ∈ ball (0:ℝ) 1, ‖D a x‖ ≤ C*bill k c x := fun a ha=> H x a (by simpa [Real.norm_eq_abs] using (mem_ball_zero_iff.mp ha).le) |
| 38 | have hI : Integrable (F 0) μ:=by simpa [F,f] using! Γ.integrable_entry μ hA hAc |
| 39 | have ht (x : E)(a)(ha : a∈ball (0:ℝ) 1) : HasDerivAt (fun t=> F t x) (D a x) a := by |
| 40 | have hq (t : ℝ) : -(Γ.P (x+t•v)) (x+t•v)/2 = -(Γ.P x x)/2 - Γ.P v x * t - (Γ.P v v)/2 * (t*t) := by |
| 41 | rw [map_add,map_add, map_smul,map_smul]; simp only [LinearMap.add_apply,LinearMap.smul_apply,smul_eq_mul,map_add,map_smul,Γ.turns x v];ring |
| 42 | have hi := ((hasDerivAt_id' a).mul (hasDerivAt_id' a)) |
| 43 | have hz: HasDerivAt (fun t : ℝ=> -(Γ.P x x)/2-Γ.P v x*t-(Γ.P v v)/2*(t*t)) _ a := |
| 44 | ((hasDerivAt_const a _).sub ((hasDerivAt_id' a).const_mul _)).sub (hi.const_mul _) |
| 45 | have hw:= (hd x a).mul hz.exp |
| 46 | dsimp only [F,D,Pi.mul_apply,Pi.sub_apply,B,f,kern]; convert! hw using 1 |
| 47 | · funext t;rw [hq]; rfl |
| 48 | rw [hq]; simp only [id_eq, map_add,map_smul,smul_eq_mul];ring |
| 49 | have hi:=hasDerivAt_integral_of_dominated_loc_of_deriv_le (s:=ball (0:ℝ) 1) (F':=D) (ball_mem_nhds _ zero_lt_one) (Eventually.of_forall (fun a=>(hF a).aestronglyMeasurable)) hI ((hh 0).aestronglyMeasurable) (Eventually.of_forall h₂) ((bill_integrable μ _ hc).const_mul C) (Eventually.of_forall ht) |
| 50 | rw [show (L-A*Γ.P v)*Γ.kern = D 0 from by funext x; unfold D f;rw [zero_smul,add_zero]] |
| 51 | apply hi.2.unique |
| 52 | rw [show (fun r:ℝ=>∫ x, F r x ∂μ) = (fun _=>∫ x,(A*Γ.kern) x ∂μ) from funext (fun a=>integral_add_right_eq_self (A*Γ.kern) (a•v))] |
| 53 | exact hasDerivAt_const .. |
| 54 | |
| 55 | -- Product of source evaluations as function of integration variable. |
| 56 | def product (u : I→V)(s : Finset I)(x : E) := ∏ i∈s,u i x |
| 57 | def diffSum [DecidableEq I](u : I→V)(s : Finset I)(v:E)(x : E) := ∑ i∈s,product u (s.erase i) x * u i v |
| 58 | |
| 59 | def average (μ : Measure E)(A : E→ℝ) := (∫ x,(A*Γ.kern) x ∂μ) / (∫ x,Γ.kern x ∂μ) |
| 60 | |
| 61 | lemma product_bound (ℓ:I→V)(s : Finset I):Zone.Invoice z (product ℓ s) := by |
| 62 | induction s using Finset.induction_on with |
| 63 | | empty=>exact by simpa [product] using! (Zone.Invoice.const (1:ℝ)) |
| 64 | | insert a s ha ih=> |
| 65 | have H : product ℓ (insert a s)= (ℓ a)*(product ℓ s):= by funext x; simp [product,ha] |
| 66 | rw [H]; exact (Law.linearInvoice (ℓ a)).mul ih |
| 67 | variable [DecidableEq I] |
| 68 | lemma diffSum_bound (ℓ:I→V)(s : Finset I)(v : E):Zone.Invoice z (diffSum ℓ s v) := by |
| 69 | convert! Zone.Invoice.fin_sum s (fun i=> product ℓ (s.erase i)* fun _=>ℓ i v) ?_ using 1 |
| 70 | · funext x; simp [diffSum,Finset.sum_apply] |
| 71 | intro i hi;exact (product_bound ℓ _).mul (Zone.Invoice.const _) |
| 72 | lemma diffSum_on (ℓ : I→V)(s : Finset I)(v x : E)(a) : HasDerivAt (fun t : ℝ=> product ℓ s (x+t•v)) (diffSum ℓ s v (x+a•v)) a := by |
| 73 | exact HasDerivAt.fun_finsetProd (fun i hi=> show HasDerivAt (fun t:ℝ=>ℓ i (x+t•v)) (ℓ i v) a from by |
| 74 | simp only [map_add,map_smul,smul_eq_mul]; simpa only [one_mul] using! (((hasDerivAt_id' a).mul_const (ℓ i v)).const_add ..)) |
| 75 | lemma product_cont (ℓ : I→V)(s : Finset I):Continuous (product ℓ s) := continuous_finsetProd _ (fun i _=>(ℓ i).continuous_of_finiteDimensional) |
| 76 | lemma diffSum_cont (ℓ:I→V)(s : Finset I)(v : E) : Continuous (diffSum ℓ s v):= continuous_finsetSum s (fun i _=>(product_cont ..).mul continuous_const) |
| 77 | |
| 78 | theorem recursion (μ : Measure E)[μ.HasTemperateGrowth][μ.IsAddRightInvariant] |
| 79 | (ℓ₀ : V)(ℓ : I→V)(s : Finset I) : |
| 80 | Γ.average μ (fun x=> product ℓ s x *ℓ₀ x)= ∑ i∈s, (Γ.average μ (product ℓ (s.erase i)))*Γ.wick ℓ₀ (ℓ i) := by |
| 81 | classical |
| 82 | let v:=Γ.inverse ℓ₀ |
| 83 | have ht:= Γ.translation_lemma v (product_bound ℓ s) (product_cont ..) (diffSum_bound ℓ s v) (diffSum_cont ..) (diffSum_on ℓ s v) μ |
| 84 | let Q:=product ℓ s * fun x=>Γ.P v x |
| 85 | have hs : Integrable (Q*Γ.kern) μ := Γ.integrable_entry μ ((product_bound ℓ _).mul (linearInvoice _)) ((product_cont ..).mul ((Γ.P v).continuous_of_finiteDimensional)) |
| 86 | have he : Integrable ((diffSum ℓ s v)*Γ.kern) μ := Γ.integrable_entry μ (diffSum_bound ..) (diffSum_cont ..) |
| 87 | have hb : ∫ x, diffSum ℓ s v x * Γ.kern x ∂μ = ∫ x,product ℓ s x* ℓ₀ x * Γ.kern x ∂μ := by |
| 88 | have hq : ∫ x, diffSum ℓ s v x * Γ.kern x-Q x*Γ.kern x ∂μ=0:= by |
| 89 | simp_rw [Pi.mul_apply,Pi.sub_apply,sub_mul] at ht;exact ht |
| 90 | have hki:=integral_sub (μ:=μ) he hs; change ∫ a,diffSum ℓ s v a *Γ.kern a-Q a * Γ.kern a ∂μ = (∫ a,diffSum ℓ s v a *Γ.kern a ∂μ) - ∫ a,Q a*Γ.kern a ∂μ at hki |
| 91 | have h:= sub_eq_zero.mp (hki.symm.trans hq) |
| 92 | refine h.trans (by unfold Q;simp [v,Γ.applies]) |
| 93 | unfold average |
| 94 | let G i : E→ℝ := fun x=> product ℓ (s.erase i) x * Γ.kern x *Γ.wick ℓ₀ (ℓ i) |
| 95 | simp only [Pi.mul_apply];rw [←hb,show ∫ x,diffSum ℓ s v x*Γ.kern x ∂μ = ∑ i∈s,∫ x,G i x ∂μ from ?_, Finset.sum_div] |
| 96 | · apply Finset.sum_congr rfl fun i _ => ?_;unfold G; rw [MeasureTheory.integral_mul_const];ring |
| 97 | have hG i : Integrable (G i) μ:= (Γ.integrable_entry μ (product_bound ℓ _) (product_cont ..)).mul_const _ |
| 98 | calc |
| 99 | _ = ∫ x, (∑ i∈s,G i x) ∂μ := by refine integral_congr_ae (Eventually.of_forall (fun x=>?_)); unfold diffSum; dsimp only;rw [Finset.sum_mul];exact Finset.sum_congr rfl (fun i _=>by unfold G v wick;ring) |
| 100 | _ = _ := integral_finsetSum _ (fun i _=>hG i) |
| 101 | |
| 102 | lemma empty (μ : Measure E)[μ.HasTemperateGrowth][NeZero μ] : Γ.average μ 1=1 := by |
| 103 | unfold average;rw [one_mul, div_self ?_] |
| 104 | have hi := Γ.integrable_entry (A:=1) μ (Zone.Invoice.const (1:ℝ)) continuous_const |
| 105 | rw [one_mul] at hi |
| 106 | exact (integral_exp_pos hi).ne' |
| 107 | |
| 108 | end Law |
| 109 | end YM.PertExtension.GaussianScore |