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.Push.BETA_TRANSPORT.Block |
| 2 | |
| 3 | /-! Iterating the real chain rule with Bochner insertions. The bounds have common |
| 4 | neighborhoods in β (pointwise bounds in the configuration, integrable majorants). |
| 5 | Used in multi-step applications in `History`. -/ |
| 6 | set_option autoImplicit false |
| 7 | noncomputable section |
| 8 | namespace YM.Push.BetaTransport |
| 9 | open Lattice Wilson RG Gibbs MeasureTheory Filter Set |
| 10 | open scoped Matrix.Norms.Frobenius Topology BigOperators |
| 11 | variable {c f : Side} {G : Gauge} |
| 12 | structure Parameter (b r : ℝ → ℝ) : Prop where |
| 13 | has z : HasDerivAt b (r z) z |
| 14 | bound x : ∃ D : ℝ, ∀ᶠ z in 𝓝 x, |r z| ≤ D |
| 15 | namespace Parameter |
| 16 | variable {b r : ℝ → ℝ} |
| 17 | lemma both (h : Parameter b r) (x : ℝ) : ∃ D R : ℝ, 0 ≤ D ∧ 0 ≤ R ∧ ∀ᶠ z in 𝓝 x, |r z| ≤ D ∧ |b z| ≤ R := by |
| 18 | obtain ⟨D,hD⟩ := h.bound x |
| 19 | exact ⟨max D 0,|b x|+1,le_max_right ..,by positivity,(hD.and ((h.has x).continuousAt (eventually_abs_bound _))).mono |
| 20 | fun z hz => ⟨hz.1.trans (le_max_left ..),hz.2⟩⟩ |
| 21 | lemma line (a b : ℝ) : Parameter (fun z => z*a+b) (fun _ => a) := |
| 22 | ⟨fun z => by simpa using ((hasDerivAt_id' z).mul_const a).add_const b, |
| 23 | fun _ => ⟨_,Eventually.of_forall fun _ => le_refl _⟩⟩ |
| 24 | end Parameter |
| 25 | |
| 26 | variable {X α : Type*} [MeasurableSpace α] [NormedAddCommGroup X] [NormedSpace ℝ X] |
| 27 | |
| 28 | structure Controlled (μ : Measure α) (F F' : ℝ → α → X) : Prop where |
| 29 | int z : Integrable (F z) μ ∧ Integrable (F' z) μ |
| 30 | has z U : HasDerivAt (F · U) (F' z U) z |
| 31 | cost x : ∃ M N : α → ℝ, Integrable M μ ∧ Integrable N μ ∧ ∀ᶠ z in 𝓝 x, ∀ U, ‖F z U‖ ≤ M U ∧ ‖F' z U‖ ≤ N U |
| 32 | |
| 33 | namespace Controlled |
| 34 | variable {b r : ℝ → ℝ} {μ : Measure α} {F F' : ℝ → α → X} |
| 35 | lemma const {F : α → X} (hf : Integrable F μ) : Controlled μ (fun _ => F) (fun _ _ => 0) := |
| 36 | ⟨fun _ => ⟨hf,integrable_zero _ _ _⟩,fun z _ => hasDerivAt_const z _,fun _ => ⟨_,_,hf.norm, (integrable_zero _ _ _), |
| 37 | Eventually.of_forall fun _ _ => ⟨le_rfl, norm_zero.le⟩⟩⟩ |
| 38 | lemma weight (h : Controlled μ F F') {w w' : ℝ → α → ℝ} {A C} (hw : WeightEstimate w w' A C) (hb : Parameter b r) : |
| 39 | Controlled μ (fun z x => w (b z) x • F z x) (fun z x => w (b z) x • F' z x + r z • w' (b z) x • F z x) := by |
| 40 | refine ⟨fun z => ⟨hw.smul_integrable _ (h.int z).1,(hw.smul_integrable _ (h.int z).2).add |
| 41 | ((hw.slope_integrable (b z) (h.int z).1).smul (r z))⟩,fun z x => ?_,fun x => ?_⟩ |
| 42 | · rw [smul_smul]; exact ((hw.has _ x).scomp z (hb.has z)).smul (h.has z x) |
| 43 | obtain ⟨D,R,hD,hR,hr⟩ := hb.both x; obtain ⟨M,N,hM,hN,he⟩ := h.cost x |
| 44 | refine ⟨_,_,hM.const_mul (C R), (hN.const_mul (C R)).add (hM.const_mul (D*(A*C R))), ?_⟩ |
| 45 | filter_upwards [hr,he] with z ⟨hr,hb⟩ hz U |
| 46 | have h0 := hw.capWeight R hR |
| 47 | have hv : ‖w (b z) U‖ ≤ C R := (Real.norm_of_nonneg (hw.nonneg ..)).trans_le (hw.le hb _) |
| 48 | have hu := (hw.slope _ U).trans (mul_le_mul_of_nonneg_left (hw.le hb _) hw.cap) |
| 49 | constructor |
| 50 | · rw [norm_smul]; exact mul_le_mul hv (hz U).1 (norm_nonneg _) h0 |
| 51 | apply (norm_add_le ..).trans |
| 52 | rw [norm_smul,norm_smul,norm_smul,← mul_assoc] |
| 53 | exact add_le_add (mul_le_mul hv (hz U).2 (norm_nonneg _) h0) (mul_le_mul |
| 54 | (mul_le_mul hr hu (norm_nonneg _) hD) (hz U).1 (norm_nonneg _) (mul_nonneg hD (mul_nonneg hw.cap h0))) |
| 55 | |
| 56 | variable [CompleteSpace X] |
| 57 | set_option linter.unusedSectionVars false in |
| 58 | lemma derivative (h : Controlled μ F F') (x : ℝ) : HasDerivAt (fun z => ∫ U, F z U ∂μ) (∫ U, F' x U ∂μ) x := by |
| 59 | obtain ⟨_,_,_,hN,he⟩ := h.cost x |
| 60 | exact (hasDerivAt_integral_of_dominated_loc_of_deriv_le he |
| 61 | (Eventually.of_forall fun z => (h.int z).1.1) (h.int x).1 (h.int x).2.1 (Eventually.of_forall fun U z hz => (hz U).2) |
| 62 | hN (Eventually.of_forall fun U z _ => h.has z U)).2 |
| 63 | |
| 64 | lemma pushed {F F' : ℝ → Config G f → X} {S : StepData c f} (hS : S.patch.Branches S.kernel G) (hb : Parameter b r) |
| 65 | (h : Controlled (prior G f) F F') : Controlled (prior G c) (fun z => S.push (b z) (F z)) |
| 66 | (fun z => S.push (b z) (F' z) + r z • pushSlope S (b z) (F z)) := by |
| 67 | refine ⟨fun z => ⟨StepData.push_integrable (S.isKernel hS _) _ (h.int z).1,(StepData.push_integrable |
| 68 | (S.isKernel hS _) _ (h.int z).2).add ((pushSlope_integrable S hS (h.int z).1 _).smul (r z))⟩,fun z V => ?_, fun x => ?_⟩ |
| 69 | · have he := slice_estimate S hS V |
| 70 | simp only [Pi.add_apply,StepData.push,Pi.smul_apply,pushSlope,← integral_smul] |
| 71 | rw [← integral_add (he.smul_integrable _ (h.int _).2) (f:=fun x => S.density (b z) x V • F' z x) |
| 72 | (g:=fun x => r z • densitySlope S (b z) x V • F z x) ((he.slope_integrable _ (h.int _).1).smul _)] |
| 73 | exact (h.weight he hb).derivative z |
| 74 | obtain ⟨D,R,hD,hR,hr⟩ := hb.both x; obtain ⟨M,N,hM,hN,he⟩ := h.cost x |
| 75 | let C := noiseCost S R; let A := noiseCap S |
| 76 | let paid (M : Config G f → ℝ) : ℝ := C* ∫ U, M U ∂prior G f |
| 77 | refine ⟨fun _ => paid M,fun _ => paid N + D*(A*paid M),integrable_const _,integrable_const _,?_⟩ |
| 78 | filter_upwards [he,hr] with z hz ⟨hd,hb⟩ V |
| 79 | have hh := slice_estimate S hS V |
| 80 | have ht {E : Config G f → X} (hE : Integrable E (prior G f)) (N : Config G f → ℝ) (hN : Integrable N (prior G f)) |
| 81 | (hn : ∀ U, ‖E U‖ ≤ N U) : S.push (b z) (fun U => ‖E U‖) V ≤ paid N := by |
| 82 | unfold paid; rw [← integral_const_mul]; exact integral_mono (hh.smul_integrable _ hE.norm) (hN.const_mul _) fun x => |
| 83 | mul_le_mul (hh.le hb x) (hn x) (norm_nonneg _) (hh.capWeight _ hR) |
| 84 | refine ⟨(hh.norm_integral_le _ (h.int z).1).trans (ht (h.int z).1 M hM fun U => (hz U).1), (norm_add_le ..).trans ?_⟩ |
| 85 | rw [Pi.smul_apply, norm_smul] |
| 86 | exact add_le_add ((hh.norm_integral_le _ (h.int z).2).trans (ht (h.int z).2 N hN fun U => (hz U).2)) |
| 87 | (mul_le_mul hd ((pushSlope_norm_le _ hS (h.int z).1 ..).trans (mul_le_mul_of_nonneg_left (ht (h.int z).1 M hM fun U => |
| 88 | (hz U).1) hh.cap)) (norm_nonneg _) hD) |
| 89 | end Controlled |
| 90 | end YM.Push.BetaTransport |