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 Mathlib.Analysis.Fourier.Convolution |
| 2 | import YM.Next.BOUNDARY.Coordinates |
| 3 | import YM.Next.BOUNDARY.Core |
| 4 | import YM.Next.FREE_KERNELS.Lifts |
| 5 | import YM.Next.ROTATIONS.Response |
| 6 | import YM.Next.SCHEDULE.Dues |
| 7 | import YM.Push.CUTOFF_PROJECTORS.Along |
| 8 | import YM.SectorNext.GAUSSIAN_SECTOR_CHANGE.Affine |
| 9 | import YM.SectorNext.LARGE_FIELD_REMAINDERS.Canonical |
| 10 | |
| 11 | /-! Expose drows separately (signs and supports needed independently |
| 12 | on this step). Uses SECTOR_MEASURE currency lemmas for paths and clip; |
| 13 | no differentiated hard mask. -/ |
| 14 | set_option autoImplicit false |
| 15 | noncomputable section |
| 16 | namespace YM.PhysicalNext.Dictionary |
| 17 | open Function Filter Set Lattice RG Wilson Pressure Pressure.Tube Pressure.Stores Tree Precision Exterior Bloch Laurent MeasureTheory Matrix |
| 18 | open Next.Fluctuations Next.SectorChange Next.SectorChange.Rows Push.SectorMeasure Push.SectorMeasure.Oriented |
| 19 | |
| 20 | open scoped Topology BigOperators Classical Matrix.Norms.Frobenius ContDiff InnerProductSpace |
| 21 | |
| 22 | namespace Fabric |
| 23 | section measures |
| 24 | variable {G : Gauge} {c f n : Side} {S : StepData c f} |
| 25 | {X : Type*} [MeasurableSpace X] |
| 26 | |
| 27 | -- No global instance. CLM meas achieved by joint t into V etc. |
| 28 | private lemma packM {I J : Type*} [Fintype J] {g : Config G c → I → J → Pay G} |
| 29 | (h : ∀ i j, Continuous (fun x => g x i j)) {a : X → (J→G.Color)} (ha : Measurable a) |
| 30 | {V : X → Config G c} (hV : Measurable V) (i : I) : Measurable (fun x => zip (g (V x)) (a x) i) := by |
| 31 | have hi : Continuous (fun y : Config G c × (J → G.Color) => zip (g y.1) y.2 i) := |
| 32 | cont_zip (fun i j => (h i j).comp continuous_fst) (fun j => (continuous_apply j).comp continuous_snd) i |
| 33 | have hl : Measurable (fun y : Config G c × (J → G.Color) => zip (g y.1) y.2 i) := hi.measurable |
| 34 | exact hl.comp (f:=fun x => (V x,a x)) (hV.prodMk ha) |
| 35 | |
| 36 | private lemma openM {I J : Type*} [Fintype I] {g : Config G c → I → J → Pay G} |
| 37 | (h : ∀ i j, Continuous (fun x => g x i j)) {a : X → (I→G.Color)} (ha : Measurable a) |
| 38 | {V : X → Config G c} (hV : Measurable V) (j : J) : Measurable (fun x => unzip (g (V x)) (a x) j) := by |
| 39 | have hi : Continuous (fun y : Config G c × (I → G.Color) => unzip (g y.1) y.2 j) := |
| 40 | cont_unzip (fun i j => (h i j).comp continuous_fst) (fun i => (continuous_apply i).comp continuous_snd) j |
| 41 | have hl : Measurable (fun y : Config G c × (I → G.Color) => unzip (g y.1) y.2 j) := hi.measurable |
| 42 | exact hl.comp (f:=fun x => (V x,a x)) (hV.prodMk ha) |
| 43 | |
| 44 | private lemma pairM {v w : X → G.Color} (h : Measurable v) (he : Measurable w) : Measurable fun x => inner ℝ (v x) (w x) := by |
| 45 | let M : X → G.Color × G.Color := fun x => (v x,w x) |
| 46 | have hh : Measurable (fun y : G.Color × G.Color => inner ℝ y.1 y.2) := (continuous_fst.inner continuous_snd).measurable |
| 47 | exact hh.comp (f:=M) (h.prodMk he) |
| 48 | |
| 49 | lemma Zm {V Q : X → Config G c} (hV : Measurable V) (hQ : Measurable Q) (i : Bond c) : |
| 50 | Measurable (fun x => Tube.Z (f:=f) S (Q x) (V x) i) := by |
| 51 | have hi (p : X → Config G c) (h : Measurable p) : Measurable (fun x => p x i) := (measurable_pi_apply i).comp h |
| 52 | exact (measurable_const (a:=Real.sqrt S.kernel.penalty)).smul (G.continuous_curvature.measurable.comp |
| 53 | ((hi _ hV).mul (hi _ hQ).inv)) |
| 54 | |
| 55 | private lemma monetaryM {V Q : X → Config G c} (hV : Measurable V) (hQ : Measurable Q) (i : Bond c) : |
| 56 | Measurable (fun x => monetary S (Q x) (V x) i) := by |
| 57 | have h0 : Continuous (fun y : Config G c × Config G c => monetary S y.1 y.2 i) := by unfold monetary wire; fun_prop |
| 58 | let M : X → Config G c × Config G c := fun x => (Q x,V x) |
| 59 | have hf : Measurable M := hQ.prodMk hV |
| 60 | have ha : Measurable (fun y : Config G c × Config G c => monetary S y.1 y.2 i) := h0.measurable |
| 61 | exact ha.comp (f:=M) hf |
| 62 | |
| 63 | variable {R : ℕ} {T : Tube G S} {P : Teller G} (hT : P.Funds S T) |
| 64 | include hT |
| 65 | |
| 66 | lemma xFine {U : X→Config G f} (h : Measurable U) (i : Twin f) : Measurable (fun x => T.Xf R (U x) i) := by |
| 67 | obtain ⟨a,b,h1,h2⟩ := hT.feeds |
| 68 | rw [← hT.high] at h1 |
| 69 | exact (plotted_cont h1 R 1 i).measurable.comp h |
| 70 | |
| 71 | lemma xCoarse {V : X→Config G c} (h : Measurable V) (i : Twin c) : Measurable (fun x => T.Xn R (V x) i) := by |
| 72 | obtain ⟨a,b,h1,h2⟩ := hT.feeds; rw [← hT.low] at h2 |
| 73 | exact (plotted_cont h2 R S.patch.L.val i).measurable.comp h |
| 74 | |
| 75 | private lemma thinnedM {s : ℝ} (hs : 0≤s) {V : X → Config G c} (hV : Measurable V) : |
| 76 | Measurable (fun x => T.vision R s (V x)) := by |
| 77 | obtain ⟨b,l,h1,h2⟩ := hT.feeds; rw [← hT.low] at h2 |
| 78 | exact (env_read h2 R S.patch.L.val s hs).meas.comp hV |
| 79 | |
| 80 | -- projections independently (construct dummy positions cumbersome) |
| 81 | private lemma riseM (i : Twin f) (j : Twin c) : Continuous (fun V : Config G c => T.Φ R V i j) := by |
| 82 | obtain ⟨h1,h2,h3,-⟩ := hT.crosses |
| 83 | exact leap_cont (Row.rights _ _ h3 P.width.le) .. |
| 84 | private lemma hopM (i : Bond c) (j : Twin c) : Continuous (fun V : Config G c => T.Φ' R V i j) := by |
| 85 | obtain ⟨h1,h2,h3,-⟩ := hT.crosses |
| 86 | exact lane_cont (Row.rights _ _ h1 P.width.le) .. |
| 87 | private lemma coM (i : Co c Gain) (j : Twin c) : Continuous (fun V : Config G c => T.N R V i j) := by |
| 88 | obtain ⟨h1,h2,h3,-⟩ := hT.crosses |
| 89 | exact lane_cont (Row.rights _ _ h2 P.width.le) .. |
| 90 | |
| 91 | lemma mvM {s : ℝ} (hs : 0≤s) {V : X→Config G c} (hV : Measurable V) (i : Twin f) : |
| 92 | Measurable (fun x => T.Mv R s (V x) i) := |
| 93 | packM (riseM hT) (thinnedM hT hs hV) hV i |
| 94 | lemma mwM {s : ℝ} (hs : 0≤s) {V : X→Config G c} (hV : Measurable V) (i : Bond c) : |
| 95 | Measurable (fun x => T.Mw R s (V x) i) := packM (hopM hT) (thinnedM hT hs hV) hV i |
| 96 | |
| 97 | lemma fine {s : ℝ} (hs : 0≤s) (t : ℝ) {U : X→Config G f} (hU : Measurable U) {V : X→Config G c} (hV : Measurable V) (i : Cell f) : |
| 98 | Measurable (fun x => T.workF R (U x) (V x) t s i) := by |
| 99 | obtain ⟨a,b,h1,h2⟩ := hT.feeds; rw [← hT.high] at h1 |
| 100 | unfold workF; refine Measurable.add ((env_crown h1 ..).meas.comp hU) ?_ |
| 101 | refine Finset.measurable_fun_sum _ fun j _ => ?_ |
| 102 | have hf := xFine (R:=R) hT hU (i,j); have hl := mvM (R:=R) hT hs hV (i,j) |
| 103 | exact ((hl.norm.pow_const 2).div_const 2).sub (pairM hl hf) |
| 104 | |
| 105 | lemma bond {s : ℝ} (hs : 0≤s) {V Q : X→Config G c} (hV : Measurable V) (hQ : Measurable Q) (i : Bond c) : |
| 106 | Measurable (fun x => T.workI R (Q x) (V x) s i) := by |
| 107 | have hf := Zm (S:=S) hV hQ i; have hl := mwM (R:=R) hT hs hV i |
| 108 | exact (monetaryM (S:=S) hV hQ i).add (((hl.norm.pow_const 2).div_const 2).sub (pairM hl hf)) |
| 109 | |
| 110 | set_option maxHeartbeats 800000 in |
| 111 | lemma levels {s : ℝ} (hs : 0≤s) {U : X→Config G f} (hU : Measurable U) |
| 112 | {V Q : X→Config G c} (hV : Measurable V) (hQ : Measurable Q) (i : Cell c) : |
| 113 | Measurable (fun x => T.workC R (V x) s i) ∧ Measurable (fun x => T.workL R (U x) (Q x) (V x) s i) ∧ |
| 114 | Measurable (fun x => T.workD R (V x) s i) := by |
| 115 | have hv := thinnedM (R:=R) hT hs hV |
| 116 | have ht j : Measurable (fun x => T.vision R s (V x) j) := (measurable_pi_apply j).comp hv |
| 117 | let K x := Tube.Z S (Q x) (V x) |
| 118 | have hk : Measurable K := measurable_pi_lambda _ fun _ => Zm (S:=S) hV hQ _ |
| 119 | have hh : Measurable (fun x => T.Xf R (U x)) := measurable_pi_lambda _ fun _ => xFine (R:=R) hT hU _ |
| 120 | let M x := zip (T.N R (V x)) (T.vision R s (V x)) |
| 121 | have hm : Measurable M := measurable_pi_lambda _ fun j=>packM (coM hT) hv hV j |
| 122 | obtain ⟨a,b,h1,h2⟩ := hT.feeds; rw [← hT.low] at h2 |
| 123 | refine ⟨?_,?_,?_⟩ |
| 124 | · unfold workC |
| 125 | refine (Finset.measurable_fun_sum _ (fun (j : Bool) _ => ?_)).sub ((env_crown h2 ..).meas.comp hV) |
| 126 | exact (pairM (ht (i,j)) (xCoarse (R:=R) hT hV (i,j))).sub (((ht (i,j)).norm.pow_const 2).div_const _) |
| 127 | · unfold workL; refine Finset.measurable_fun_sum _ (fun j hj => ?_) |
| 128 | have hp := openM (riseM (R:=R) hT) hh hV (i,j) |
| 129 | have he := openM (hopM (R:=R) hT) hk hV (i,j) |
| 130 | exact pairM (ht (i,j)) ((hp.add he).sub (xCoarse (R:=R) hT hV (i,j))) |
| 131 | unfold workD; refine Finset.measurable_fun_sum _ (fun j hj => ?_) |
| 132 | have ha := openM (riseM (R:=R) hT) (measurable_pi_lambda _ (mvM (R:=R) hT hs hV)) hV (i,j) |
| 133 | have he := openM (hopM (R:=R) hT) (measurable_pi_lambda _ (mwM (R:=R) hT hs hV)) hV (i,j) |
| 134 | have hz := openM (coM (R:=R) hT) hm hV (i,j) |
| 135 | have hl := ht (i,j) |
| 136 | exact (pairM hl (hl.sub ((ha.add he).add hz))).div_const (2:ℝ) |
| 137 | |
| 138 | lemma moment {s : ℝ} (hs : 0 ≤ s) {V : X→Config G c} (hV : Measurable V) (i : Co c Gain) : |
| 139 | Measurable (fun x => T.workN R (V x) s i) := |
| 140 | (((packM (coM (R:=R) hT) (thinnedM hT hs hV) hV i).norm).pow_const 2).div_const _ |
| 141 | |
| 142 | lemma core (x : ℝ) (k : S.Choices) (i : Slots S) : Measurable (fun V : Config G c => base T x V k i) := by |
| 143 | obtain ⟨s,j|j⟩ := i |
| 144 | have hl : Continuous (fun V : Config G c => replica S.ratio V) := by |
| 145 | refine continuous_pi fun i=>?_ ; unfold replica; split <;> fun_prop |
| 146 | · have hf : Measurable (fun V : Config G c => facade S s V 0) := by |
| 147 | simp_rw [fixed_facade]; exact (continuous_pull _ _).measurable.comp hl.measurable |
| 148 | exact (xFine (T:=T) (R:=till x) hT hf j).sub (mvM (R:=till x) hT (temp_nonneg _) (continuous_pull s 0).measurable j) |
| 149 | · have hf : Measurable (fun V : Config G c => facade S s V 0) := by |
| 150 | simp_rw [fixed_facade] |
| 151 | apply (continuous_pull _ _).measurable.comp |
| 152 | apply Continuous.measurable |
| 153 | refine continuous_pi fun i=>?_ ; unfold replica; split <;> fun_prop |
| 154 | have hz := Zm (S:=S) (continuous_pull (G:=G) s (0:Site c)).measurable ((S.prediction_meas (funds_branch hT) (choice s k)).comp hf) j |
| 155 | exact hz.sub (mwM (R:=till x) hT (temp_nonneg _) (continuous_pull s 0).measurable j) |
| 156 | end measures |
| 157 | end Fabric |
| 158 | end YM.PhysicalNext.Dictionary |