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.Work.F05.PiDensity |
| 2 | import YM.Work.F05.Transport |
| 3 | |
| 4 | |
| 5 | /-! |
| 6 | # Coordinate expression for the actual measure on slice links |
| 7 | |
| 8 | Push restricted products to and from the physical slice. In particular, |
| 9 | restrict on the chart per link *relative* to the given background. |
| 10 | -/ |
| 11 | set_option autoImplicit false |
| 12 | noncomputable section |
| 13 | namespace YM.Work.F05 |
| 14 | open Function Filter Set MeasureTheory Lattice Wilson RG Precision Exterior Tree |
| 15 | open scoped Topology ENNReal BigOperators Matrix.Norms.Frobenius |
| 16 | |
| 17 | variable {c f : Side} {G : Gauge} {g : Ratio c f} (B : Forest g) |
| 18 | |
| 19 | def parcel (P : ChartRatio G) : Set (AxisChart G B) := |
| 20 | Set.univ.pi (fun _ => Metric.ball 0 P.radius) |
| 21 | |
| 22 | /-- Product chart ratio and also its version scaled to probability |
| 23 | Haar. They will be used *inside* the specified LocalRatio chart. -/ |
| 24 | def toll (P : ChartRatio G) (y : AxisChart G B) : ℝ := ∏ i, P.J (y i) |
| 25 | |
| 26 | def load (P : ChartRatio G) (y : AxisChart G B) : ℝ := ∏ i, P.scale * P.J (y i) |
| 27 | |
| 28 | lemma load_eq (P : ChartRatio G) (y : AxisChart G B) : |
| 29 | load B P y = P.scale ^ Fintype.card B.Free * toll B P y := by |
| 30 | simp [load,toll,Finset.prod_mul_distrib] |
| 31 | |
| 32 | lemma parcel_zero {P : ChartRatio G} (h : LocalRatio P) : |
| 33 | parcel B P ∈ 𝓝 (0 : AxisChart G B) := |
| 34 | (isOpen_set_pi finite_univ (fun (_ : B.Free) _ => Metric.isOpen_ball)).mem_nhds |
| 35 | (fun _ _ => Metric.mem_ball_self (x:= (0:G.Color)) h.patch) |
| 36 | |
| 37 | lemma toll_pos {P : ChartRatio G} (h : LocalRatio P) {y : AxisChart G B} (hy : y ∈ parcel B P) : |
| 38 | 0 < toll B P y := Finset.prod_pos (fun i _ => h.pos _ (hy i (mem_univ _))) |
| 39 | |
| 40 | lemma load_pos {P : ChartRatio G} (h : LocalRatio P) {y : AxisChart G B} (hy : y ∈ parcel B P) : |
| 41 | 0 < load B P y := by rw [load_eq]; exact mul_pos (pow_pos h.scale _) (toll_pos B h hy) |
| 42 | |
| 43 | lemma load_cont {P : ChartRatio G} (h : LocalRatio P) {y : AxisChart G B} (hy : y ∈ parcel B P) : |
| 44 | ContinuousAt (load B P) y := by |
| 45 | have hi (i : B.Free) : ContinuousAt (fun z : AxisChart G B => P.scale * P.J (z i)) y := |
| 46 | continuousAt_const.mul ((h.germ (y i) (hy i (mem_univ _))).continuousAt.comp |
| 47 | (f:= fun z : AxisChart G B => z i) (continuous_apply i).continuousAt) |
| 48 | exact tendsto_finsetProd _ (fun i _ => hi i) |
| 49 | |
| 50 | private def chip (P : ChartRatio G) : Set G.Color := Metric.ball 0 P.radius |
| 51 | |
| 52 | private def native (P : ChartRatio G) (a : G.Color) := ENNReal.ofReal (P.scale * P.J a) |
| 53 | |
| 54 | private def active (P : ChartRatio G) (V : G.El) := |
| 55 | ((fun x : G.El => x * V) '' (G.lieExp '' chip P)) |
| 56 | |
| 57 | private lemma push_link {P : ChartRatio G} (h : LocalRatio P) (V : G.El) : |
| 58 | MeasurePreserving (fun a => G.lieExp a * V) |
| 59 | ((volume.restrict (chip P)).withDensity (native P)) |
| 60 | (G.probHaar.restrict (active P V)) := by |
| 61 | let L := MeasurableEquiv.mulRight V |
| 62 | have hp : MeasurePreserving L G.probHaar G.probHaar := measurePreserving_mul_right _ _ |
| 63 | have hf : MeasurePreserving G.lieExp ((volume.restrict (chip P)).withDensity (native P)) |
| 64 | (G.probHaar.restrict (G.lieExp '' chip P)) := ⟨G.lieExp_cont.measurable,h.actual⟩ |
| 65 | have hk : (G.probHaar.map L).restrict (active P V) = |
| 66 | (G.probHaar.restrict (L ⁻¹' active P V)).map L := L.restrict_map .. |
| 67 | have hh : MeasurePreserving L (G.probHaar.restrict (G.lieExp '' chip P)) |
| 68 | (G.probHaar.restrict (active P V)) := by |
| 69 | have ht : (L ⁻¹' active P V) = (G.lieExp '' chip P) := L.injective.preimage_image _ |
| 70 | rw [hp.map_eq, ht] at hk |
| 71 | exact ⟨hp.measurable,hk.symm⟩ |
| 72 | exact hh.comp hf |
| 73 | |
| 74 | private lemma push_slice {P : ChartRatio G} (h : LocalRatio P) (x : Bid.Dir G c) : |
| 75 | MeasurePreserving (exposure B x) |
| 76 | ((volume.restrict (parcel B P)).withDensity (fun y => ∏ i : B.Free, native P (y i))) |
| 77 | ((B.order G).restrict (Set.univ.pi fun i => active P (replica g (represent x) i))) := by |
| 78 | let μ : Measure G.Color := volume.restrict (chip P) |
| 79 | have hm : (volume : Measure (AxisChart G B)).restrict (parcel B P) = Measure.pi (fun _ => μ) := |
| 80 | Measure.restrict_pi_pi .. |
| 81 | haveI : SigmaFinite μ := by unfold μ; infer_instance |
| 82 | have hv (i : B.Free) : Measurable (native P) := (measurable_const.mul h.borel).ennreal_ofReal |
| 83 | haveI : SigmaFinite (μ.withDensity (native P)) := SigmaFinite.withDensity_ofReal _ |
| 84 | have hz := piDensity (fun _ : B.Free => μ) (fun _ : B.Free => native P) hv |
| 85 | rw [hm, hz, Forest.order, Measure.restrict_pi_pi] |
| 86 | exact measurePreserving_pi _ _ (fun i : B.Free => push_link h (replica g (represent x) i)) |
| 87 | |
| 88 | lemma exposure_inj {P : ChartRatio G} (h : LocalRatio P) (x : Bid.Dir G c) : |
| 89 | InjOn (exposure B x) (parcel B P) := by |
| 90 | intro a ha b hb he |
| 91 | funext i |
| 92 | exact h.inject (ha i (mem_univ i)) (hb i (mem_univ i)) |
| 93 | (mul_right_cancel (congr_fun he i)) |
| 94 | |
| 95 | /-- Compact sets suffice to compare Jacobians pointwise near a point. -/ |
| 96 | lemma order_exposed {P : ChartRatio G} (h : LocalRatio P) (x : Bid.Dir G c) |
| 97 | (s : Set (AxisChart G B)) (hs : IsCompact s) (hV : s ⊆ parcel B P) : |
| 98 | (B.order G) (exposure B x '' s) = ∫⁻ y in s, ENNReal.ofReal (load B P y) := by |
| 99 | let T := Set.univ.pi fun i : B.Free => active P (replica g (represent x) i) |
| 100 | let Q : Measure (AxisChart G B) := (volume.restrict (parcel B P)).withDensity |
| 101 | (fun y => ∏ i : B.Free, native P (y i)) |
| 102 | let F := exposure B x |
| 103 | have hF : Continuous F := (exposure_continuous B).comp (f:= fun y => (x,y)) |
| 104 | (continuous_const.prodMk continuous_id) |
| 105 | have ht : F '' s ⊆ T := by |
| 106 | rintro _ ⟨u,hu,rfl⟩ i _ |
| 107 | exact ⟨_, ⟨u i,hV hu i (mem_univ i),rfl⟩, rfl⟩ |
| 108 | have he : MeasurableSet (F '' s) := (hs.image hF).measurableSet |
| 109 | have hm : (B.order G) (F '' s) = ((B.order G).restrict T) (F '' s) := by |
| 110 | rw [Measure.restrict_apply he, inter_eq_left.mpr ht] |
| 111 | change (B.order G) (F '' s) = _ |
| 112 | rw [hm, ← show Q.map F = (B.order G).restrict T from (push_slice B h x).map_eq, |
| 113 | Measure.map_apply hF.measurable he] |
| 114 | have hy : F ⁻¹' (F '' s) ∩ parcel B P = s := by |
| 115 | refine Subset.antisymm (fun y hy => ?_) (fun y hy => ⟨mem_image_of_mem _ hy,hV hy⟩) |
| 116 | obtain ⟨⟨w,hw,hh⟩,hv⟩ := hy |
| 117 | exact exposure_inj B h x (hV hw) hv hh ▸ hw |
| 118 | unfold Q |
| 119 | rw [withDensity_apply _ (hF.measurable he), Measure.restrict_restrict (hF.measurable he), hy] |
| 120 | refine setLIntegral_congr_fun hs.measurableSet (fun i hi => ?_) |
| 121 | exact (ENNReal.ofReal_prod_of_nonneg (s:=Finset.univ) (fun j _ => |
| 122 | (mul_pos h.scale (h.pos (i j) (hV hi j (mem_univ j)))).le)).symm |
| 123 | end YM.Work.F05 |