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.AnalyticBridge.COUPLING_SHAPE_ESTIMATE.Infinitesimal |
| 2 | import YM.Next.WARD_BIN.Lies |
| 3 | import YM.UVNext.PRICED_KERNELS.Costed |
| 4 | import YM.UVNext.PRICED_KERNELS.Echo |
| 5 | |
| 6 | |
| 7 | |
| 8 | /-! |
| 9 | # Local bills |
| 10 | |
| 11 | All uses at a fixed output threshold. Bounded physical left directions, |
| 12 | Wheels orientation for the real torus. No assumption off the closure of the |
| 13 | good region except what `Regular` itself carries. |
| 14 | -/ |
| 15 | set_option autoImplicit false |
| 16 | noncomputable section |
| 17 | namespace YM.AnalyticBridge.CouplingShape |
| 18 | open Set Filter Function Lattice Wilson RG UVNext.PricedKernels Work Work.G07 WardBin |
| 19 | open scoped Topology BigOperators Matrix.Norms.Frobenius ContDiff InnerProductSpace |
| 20 | variable {G : Gauge} {n : Side} {p : BudgetPoint} {X Y : Support n} {o : Site n} {a b : ℝ} |
| 21 | |
| 22 | section |
| 23 | variable {E F : Type} [NormedAddCommGroup E] [NormedSpace ℝ E] |
| 24 | [NormedAddCommGroup F] [NormedSpace ℝ F] |
| 25 | {f : Config G n → E} {g : Config G n → F} |
| 26 | |
| 27 | lemma bill_scalar (u : ℝ) {k D Z} (H : bill k D Z a f) : bill k D Z (|u| *a) fun U => u • f U := by |
| 28 | let L : E→L[ℝ] E:= u • ContinuousLinearMap.id ℝ E |
| 29 | have h : ‖L‖≤|u| := by |
| 30 | rw [show |u|= ‖u‖ from rfl]; unfold L; rw [norm_smul]; exact mul_le_of_le_one_right (norm_nonneg _) ContinuousLinearMap.norm_id_le |
| 31 | exact bill.le (H.postcomp L) (mul_le_mul_of_nonneg_right h H.nonneg) |
| 32 | |
| 33 | lemma bill_pair {k D Z} (hv : bill k D Z a f) (hh : bill k D Z b g) (q : E →L[ℝ] F →L[ℝ] ℝ) : |
| 34 | bill k D Z (2^k*(‖q‖*a)*b) fun U => q (f U) (g U) := bill.times hh (hv.postcomp q) |
| 35 | |
| 36 | lemma sup_of_bill (h : bill p.order (p.dirBound o) (Healthy p.threshold X) a f) : p.supBounds o X f a := |
| 37 | ⟨h.nonneg,fun U hU l hl hA => by simpa using h.bound l hl hA U hU⟩ |
| 38 | |
| 39 | lemma mask_cost (h : p.supBounds o X f a) (U : Config G n) : ‖masked p.threshold X f U‖ ≤ a := by |
| 40 | by_cases hc : Healthy p.threshold X U |
| 41 | · rw [masked_eq _ _ _ _ hc]; exact h.2 U hc [] (Nat.zero_le _) (by simp) |
| 42 | rw [masked_ne _ _ _ _ hc,norm_zero]; exact h.1 |
| 43 | end |
| 44 | |
| 45 | section |
| 46 | variable {f g : Config G n → ℝ} |
| 47 | lemma stencil_gi (Hf : GaugeInvariant f) (t : ℝ) (X : Support n) : GaugeInvariant (masked t X f) := by |
| 48 | intro k U |
| 49 | have hv : Healthy t X (gauge k U)↔Healthy t X U := by simp [Healthy] |
| 50 | by_cases h : Healthy t X U |
| 51 | · rw [masked_eq _ _ _ _ (hv.mpr h), masked_eq _ _ _ _ h]; exact Hf k U |
| 52 | rw [masked_ne _ _ _ _ h,masked_ne _ _ _ _ (mt hv.mp h)] |
| 53 | |
| 54 | lemma stencil_reads (X : Support n) (Hf : LocalOn (X:Set (Site n)) f) (t : ℝ) : UsesFinal t X (masked t X f) := by |
| 55 | intro U V hu he |
| 56 | have hv : Healthy t X U↔Healthy t X V := by simp [Healthy,Finset.disjoint_iff_inter_eq_empty,he] |
| 57 | by_cases hh : Healthy t X U |
| 58 | · rw [masked_eq _ _ _ _ hh,masked_eq _ _ _ _ (hv.mp hh)]; exact Hf U V hu |
| 59 | rw [masked_ne _ _ _ _ hh,masked_ne _ _ _ _ (mt hv.mpr hh)] |
| 60 | |
| 61 | lemma reg_bill (p : BudgetPoint) (X : Support n) {o a} (hl : LocalOn (X:Set (Site n)) f) |
| 62 | (hf : Continuous f) (he : GaugeInvariant f) (ht : bill p.order (p.dirBound o) (Healthy p.threshold X) a f) : |
| 63 | p.Regular X f := |
| 64 | ⟨hl,hf.measurable,he,fun U _ => (ht.smooth [] (Nat.zero_le _) U).contDiffAt.of_le (WithTop.coe_le_coe.mpr le_top), |
| 65 | fun U _ A _ h => ht.smooth.has h.le U A⟩ |
| 66 | |
| 67 | lemma reg_extend (Hf : p.Regular X f) (he : X⊆Y) : p.Regular Y f := |
| 68 | ⟨fun U V h => Hf.sites _ _ (agrees_mono h (by exact he)), Hf.borel, Hf.symmetry, |
| 69 | fun U hh => Hf.smooth _ (Disjoint.mono_left he hh),fun U hh => Hf.hasDerivs _ (Disjoint.mono_left he hh)⟩ |
| 70 | lemma sup_extend (Hf : p.supBounds o X f a) (he : X⊆Y) : p.supBounds o Y f a := |
| 71 | ⟨Hf.1,fun U hh => Hf.2 U (Disjoint.mono_left he hh)⟩ |
| 72 | lemma sup_larger (h : p.supBounds o X f a) (he : a≤b) : p.supBounds o X f b := |
| 73 | ⟨h.1.trans he, fun U hu l hl hg => (h.2 U hu l hl hg).trans he⟩ |
| 74 | |
| 75 | lemma reg_const (a : ℝ) : p.Regular X (fun _ : Config G n => a) := |
| 76 | reg_bill _ _ (fun _ _ _ => rfl) continuous_const (fun _ _ => rfl) (o:=(0:Site n)) (LeftBound.const zero_le_one a) |
| 77 | lemma sup_const (a : ℝ) : p.supBounds o X (fun _ : Config G n => a) |a| := sup_of_bill (LeftBound.const zero_le_one a) |
| 78 | |
| 79 | lemma reg_sub (ha : p.Regular X f) (hb : p.Regular X g) : p.Regular X (f-g) := by |
| 80 | have h U (hu : Healthy p.threshold X U) := (show Lies.Germ p.order f U from ha.smooth _ hu).sub (g:=g) (hb.smooth _ hu) |
| 81 | exact ⟨fun U V hu => congr_arg₂ (·-·) (ha.sites U V hu) (hb.sites U V hu), ha.borel.sub hb.borel, |
| 82 | fun k U => congr_arg₂ (·-·) (ha.symmetry k U) (hb.symmetry k U), h, fun U hu A l hl => (h U hu).has l A hl⟩ |
| 83 | lemma sup_sub (ha : p.Regular X f) (hb : p.Regular X g) (he : p.supBounds o X f a) (hu : p.supBounds o X g b) : |
| 84 | p.supBounds o X (f-g) (a+b) := by |
| 85 | refine ⟨add_nonneg he.1 hu.1,fun U hh l hl ht => ?_⟩ |
| 86 | rw [Lies.left_sub ha hb hl hh]; exact (norm_sub_le ..).trans (add_le_add (he.2 U hh l hl ht) (hu.2 U hh l hl ht)) |
| 87 | |
| 88 | private lemma left_scale (f : Config G n → ℝ) (c : ℝ) (l) (U : Config G n) : leftDerivs (c • f) l U=c • leftDerivs f l U := by |
| 89 | induction l generalizing U with |
| 90 | | nil => rfl |
| 91 | | cons A l ih => simp only [leftDerivs,ih]; exact deriv_fun_const_smul_field .. |
| 92 | |
| 93 | lemma reg_scale (c : ℝ) (Hf : p.Regular X f) : p.Regular X (c • f) := by |
| 94 | have h (U : Config G n) (hu : Healthy p.threshold X U) : Lies.Germ p.order (c • f) U := (Hf.smooth U hu).const_smul c |
| 95 | exact ⟨fun U V h => congr_arg (c • ·) (Hf.sites U V h), Hf.borel.const_smul _,fun i U => congr_arg (c • ·) (Hf.symmetry i U),h, |
| 96 | fun U hu A l hl => (h U hu).has l A hl⟩ |
| 97 | lemma sup_scale (c : ℝ) (Hf : p.supBounds o X f a) : p.supBounds o X (c • f) (|c| *a) := by |
| 98 | refine ⟨mul_nonneg (abs_nonneg _) Hf.1,fun U hh l hl hg => ?_⟩ |
| 99 | rw [left_scale,norm_smul]; exact mul_le_mul_of_nonneg_left (Hf.2 U hh l hl hg) (abs_nonneg _) |
| 100 | |
| 101 | lemma const_horizontal (c : ℝ) (A B : Directions G n) : H (fun _ => c) A B=0 := by |
| 102 | rw [← log_eq_H]; simp [logHessian,iteratedFDeriv_const_of_ne two_ne_zero] |
| 103 | lemma sub_jet (ha : p.Regular X f) (hb : p.Regular X g) (A B) : H (f-g) A B=H f A B-H g A B := by |
| 104 | rw [← log_eq_H,← log_eq_H,← log_eq_H]; unfold logHessian |
| 105 | change iteratedFDeriv ℝ 2 ((f∘increment 1) - g ∘ increment 1) 0 _= _ |
| 106 | rw [iteratedFDeriv_sub_apply (i:=2) (flat_C2 ha) (flat_C2 hb)]; rfl |
| 107 | lemma scalar_jet (ha : p.Regular X f) (c : ℝ) (A B) : H (c • f) A B = c*H f A B := by |
| 108 | rw [← log_eq_H,← log_eq_H]; unfold logHessian |
| 109 | change iteratedFDeriv ℝ 2 (c • (f∘increment 1)) 0 _ = _ |
| 110 | rw [iteratedFDeriv_const_smul_apply (i:=2) (flat_C2 ha)]; rfl |
| 111 | |
| 112 | lemma shrink_smooth (p : BudgetPoint) (X : Support n) (h : p.Regular X f) (A) : ContDiffAt ℝ 2 (fun t : ℝ => f (increment 1 (t • A))) 0 := |
| 113 | ((show ContDiffAt ℝ 2 (f ∘ increment 1) ((0:ℝ) • A) by simpa using flat_C2 h).comp 0 (f:=fun t : ℝ => t • A) (by fun_prop)) |
| 114 | |
| 115 | lemma from_ray (hs : G.Simple) {A : Directions G n} (h : p.Regular X f) {r : ℝ} |
| 116 | (he : Tendsto (fun t : ℝ => f (increment 1 (t • A)) / t^2) (𝓝[≠] (0:ℝ)) (𝓝 r)) : H f A A=2*r := by |
| 117 | have hc:=shrink_smooth p X h A; rw [diagonal hs h]; obtain ⟨hv,hv'⟩:=F03.value_slope_of_sq_limit hc.continuousAt he |
| 118 | have ht := tendsto_nhds_unique he (F03.taylor_limit_two hc hv hv'.deriv); linarith |
| 119 | end |
| 120 | end YM.AnalyticBridge.CouplingShape |