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.OrbHessian |
| 2 | import YM.LocalH.Haar |
| 3 | import YM.PertExtension.Interior |
| 4 | import Mathlib.MeasureTheory.Integral.Pi |
| 5 | import Mathlib.MeasureTheory.Measure.Haar.NormedSpace |
| 6 | |
| 7 | /-! Actual Haar law on the finite product exponential patch. The density before |
| 8 | normalizing denominator includes the common constant as well as the full |
| 9 | non-tree product of Jacobians. -/ |
| 10 | set_option autoImplicit false |
| 11 | set_option maxHeartbeats 1000000 |
| 12 | set_option backward.isDefEq.respectTransparency false |
| 13 | noncomputable section |
| 14 | namespace YM.PertExtension.Chart |
| 15 | open Wilson Lattice Gauge Precision Function Filter Set Metric MeasureTheory MeasureTheory.Measure |
| 16 | open scoped ContDiff Topology Classical BigOperators ENNReal |
| 17 | variable (G : Gauge)(U : Type) [Fintype U] |
| 18 | |
| 19 | def expLinks (x : U→G.Color) : U→G.El:=fun i=>G.lieExp (x i) |
| 20 | def tangent := Measure.pi (fun _ : U=> (volume : Measure G.Color)) |
| 21 | def physical := Measure.pi (fun _ : U=> G.probHaar) |
| 22 | instance : (tangent G U).IsAddHaarMeasure := by unfold tangent;infer_instance |
| 23 | instance : IsProbabilityMeasure (physical G U) := by unfold physical;infer_instance |
| 24 | |
| 25 | variable {G U} |
| 26 | @[fun_prop] lemma expLinks_meas : Measurable (expLinks G U) := by apply measurable_pi_lambda;intro a;exact G.lieExp_cont.measurable.comp (measurable_pi_apply ..) |
| 27 | |
| 28 | variable {I K : Type*} |
| 29 | private lemma density_pi [Fintype I] [MeasurableSpace K] (μ : I→Measure K)[∀ i,SigmaFinite (μ i)] |
| 30 | (f : I→K→ℝ)(hf : ∀ i, Integrable (f i) (μ i))(hv : ∀ i x,0≤f i x) : |
| 31 | Measure.pi (fun i=> (μ i).withDensity (fun x=> ENNReal.ofReal (f i x))) = (Measure.pi μ).withDensity (fun x=>ENNReal.ofReal (∏ i, f i (x i))) := by |
| 32 | apply Measure.pi_eq |
| 33 | intro s hs |
| 34 | let W := fun i=>(μ i).restrict (s i) |
| 35 | have ht : Integrable (fun (x:I→K)=>∏ i,f i (x i)) (Measure.pi W) := Integrable.fintype_prod (f:=f) (μ:=W) (fun i=> (hf i).restrict) |
| 36 | calc |
| 37 | _ = ∫⁻ x, ENNReal.ofReal (∏ i,f i (x i)) ∂Measure.pi W := by rw [withDensity_apply _ (MeasurableSet.univ_pi hs),restrict_pi_pi] |
| 38 | _ = ENNReal.ofReal (∫ x, (∏ i,f i (x i)) ∂Measure.pi W) := (ofReal_integral_eq_lintegral_ofReal ht (Eventually.of_forall fun u=>Finset.prod_nonneg (fun i _=>hv ..))).symm |
| 39 | _ = ∏ i, ENNReal.ofReal (∫ x, f i x ∂W i) := by rw [integral_fintype_prod_eq_prod (fun (i : I) (x : K)=>f i x), ENNReal.ofReal_prod_of_nonneg fun i _=>integral_nonneg (hv i)] |
| 40 | _ = _ := by apply Finset.prod_congr rfl; intro i _; rw [withDensity_apply _ (hs i)];exact ofReal_integral_eq_lintegral_ofReal (hf i).restrict (Eventually.of_forall <| hv i) |
| 41 | |
| 42 | variable (G U) (P : ChartRatio G) |
| 43 | def small := min (P.radius/2) (LocalH.geom_patch G).choose |
| 44 | def chamber (r : ℝ) : Set (U→G.El) := Set.univ.pi fun _=> G.lieExp '' ball 0 r |
| 45 | variable {G U} (P : ChartRatio G) |
| 46 | def fee (x : G.Color) := max (P.scale*P.J x) 0 |
| 47 | def jacobian (x :U→G.Color):= ∏ i, fee P (x i) |
| 48 | variable {P} in |
| 49 | lemma jacobian_nonneg (x) : 0≤jacobian (U:=U) P x:= Finset.prod_nonneg (fun i _=>le_max_right ..) |
| 50 | variable {P} |
| 51 | |
| 52 | namespace Ratio |
| 53 | variable (R : LocalRatio P) |
| 54 | include R |
| 55 | omit U [Fintype U] in |
| 56 | lemma small_pos : 0<small G P:= lt_min (half_pos R.patch) (LocalH.geom_patch G).choose_spec.1 |
| 57 | lemma chamber_open {r}(hr :r ≤ small G P) : IsOpen (chamber G U r):= by |
| 58 | exact isOpen_set_pi (finite_univ) (fun i _=>((LocalH.geom_patch G).choose_spec.2 r (hr.trans (min_le_right ..))).1) |
| 59 | omit U [Fintype U] in |
| 60 | lemma fee_meas : Measurable (fee P) := (R.borel.const_mul _).max measurable_const |
| 61 | omit U [Fintype U] in |
| 62 | lemma fee_smooth : ContDiffAt ℝ ω (fee P) 0 := by |
| 63 | have hh : ContDiffAt ℝ ω (fun x=>P.scale*P.J x) 0:= contDiffAt_const.mul (R.germ 0 (mem_ball_self R.patch)) |
| 64 | apply hh.congr_of_eventuallyEq |
| 65 | have HE : 0 < P.scale*P.J 0 := by rw [R.anchored,mul_one];exact R.scale |
| 66 | filter_upwards [hh.continuousAt.eventually (isOpen_Ioi.mem_nhds HE)] with x hx using max_eq_left (le_of_lt hx) |
| 67 | omit U [Fintype U] in |
| 68 | lemma feeIntegrable {r}(hr : r ≤ small G P) : IntegrableOn (fee P) (ball 0 r) := by |
| 69 | have hi := ContinuousOn.integrableOn_compact (μ:=volume) (isCompact_closedBall (0:G.Color) r) (f:=fee P) ?_ |
| 70 | · exact hi.mono_set ball_subset_closedBall |
| 71 | intro x hx; refine (continuousWithinAt_const.mul ?_).max continuousWithinAt_const |
| 72 | exact (R.germ x (closedBall_subset_ball ((hr.trans (min_le_left ..)).trans_lt (half_lt_self R.patch)) hx)).continuousAt.continuousWithinAt |
| 73 | |
| 74 | variable {r : ℝ} (hr : r≤small G P) |
| 75 | include hr |
| 76 | private lemma link : MeasurePreserving G.lieExp ((volume.restrict (ball 0 r)).withDensity (fun x=> ENNReal.ofReal (fee P x))) (G.probHaar.restrict (G.lieExp '' (ball 0 r))) := by |
| 77 | have hs : ball (0:G.Color) r ⊆ ball 0 P.radius:=Set.Subset.trans ball_subset_closedBall (closedBall_subset_ball ((hr.trans (min_le_left ..)).trans_lt (half_lt_self R.patch))) |
| 78 | let S:=G.lieExp '' (ball (0:G.Color) r) |
| 79 | have hS:=((LocalH.geom_patch G).choose_spec.2 r (hr.trans (min_le_right ..))).1.measurableSet |
| 80 | have heq x : ENNReal.ofReal (fee P x)=ENNReal.ofReal (P.scale*P.J x):=by by_cases h:0 ≤ P.scale*P.J x |
| 81 | · simp [fee,max_eq_left h] |
| 82 | simp [fee,ENNReal.ofReal_eq_zero.mpr (not_le.mp h).le, max_eq_right (not_le.mp h).le] |
| 83 | have hB: G.lieExp ⁻¹' S ∩ ball 0 P.radius= ball 0 r:= by |
| 84 | ext x;constructor |
| 85 | · rintro ⟨⟨z,hz,he⟩,hx⟩; exact R.inject (hs hz) hx he ▸ hz |
| 86 | exact fun hx=>⟨⟨x,hx,rfl⟩,hs hx⟩ |
| 87 | refine ⟨G.lieExp_cont.measurable,?_⟩ |
| 88 | simp_rw [heq] |
| 89 | calc |
| 90 | _ = ((volume.restrict (ball 0 P.radius)).withDensity (fun x=>ENNReal.ofReal (P.scale*P.J x))|>.map G.lieExp |>.restrict S) := by |
| 91 | rw [restrict_map G.lieExp_cont.measurable hS, restrict_withDensity (G.lieExp_cont.measurable hS), Measure.restrict_restrict (G.lieExp_cont.measurable hS), hB] |
| 92 | _ = _ := by rw [R.actual,Measure.restrict_restrict_of_subset (Set.image_mono hs)] |
| 93 | |
| 94 | omit hr in |
| 95 | lemma combined (hr : r<small G P)(hr':0<r) : |
| 96 | MeasurePreserving (expLinks G U) (((tangent G U).restrict (ball 0 r)).withDensity (fun x=> ENNReal.ofReal (jacobian P x))) |
| 97 | ((physical G U).restrict (chamber G U r)) := by |
| 98 | have h₁ := density_pi (I:=U) (fun _=>(volume:Measure G.Color).restrict (ball 0 r)) (fun _=>fee P) |
| 99 | (fun _=>(feeIntegrable R) hr.le) (fun _ _=>le_max_right ..) |
| 100 | have h₂:=measurePreserving_pi (ι:=U) _ _ (fun i=>(link R) hr.le) |
| 101 | simpa only [tangent,physical,ball_pi (0:U→G.Color) hr',Pi.zero_apply,jacobian, chamber,restrict_pi_pi,h₁] using! h₂ |
| 102 | |
| 103 | omit hr in |
| 104 | lemma jacobian_meas : Measurable (jacobian P (U:=U)) := Finset.measurable_prod _ fun _ _=> (fee_meas R).comp (measurable_pi_apply ..) |
| 105 | omit hr in |
| 106 | lemma chamber_integral (φ : (U→G.El)→ℝ)(hφ : Measurable φ)(hr : r<small G P)(hr':0<r) : |
| 107 | ∫ x in chamber G U r, φ x ∂physical G U = ∫ x in ball 0 r, jacobian P x*φ (expLinks G U x) ∂tangent G U := by |
| 108 | rw [← (combined R (U:=U) hr hr').map_eq,integral_map (expLinks_meas (G:=G)).aemeasurable hφ.aestronglyMeasurable, |
| 109 | integral_withDensity_eq_integral_toReal_smul₀ (jacobian_meas R).ennreal_ofReal.aemeasurable (Eventually.of_forall (fun _=>ENNReal.ofReal_lt_top))] |
| 110 | simp only [fun x : U→_=>ENNReal.toReal_ofReal (jacobian_nonneg (P:=P) x),smul_eq_mul] |
| 111 | |
| 112 | omit hr in |
| 113 | lemma jacobian_smooth : ContDiffAt ℝ ω (jacobian P : (U→G.Color)→ℝ) 0 := by |
| 114 | unfold jacobian; exact contDiffAt_prod fun i _=>(show ContDiffAt ℝ ω (fee P) (Function.eval i (0 : U→_)) from fee_smooth R).comp (f:=fun u : U → G.Color=>u i) _ (contDiffAt_apply ℝ G.Color _ _) |
| 115 | |
| 116 | end Ratio |
| 117 | |
| 118 | end YM.PertExtension.Chart |