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.LOCAL_SPLITTING.Funding |
| 2 | |
| 3 | |
| 4 | /-! |
| 5 | # Bare columns on the actual labels (with the specified reservations) |
| 6 | |
| 7 | `Jinit`: flag-requiring complement of a placed unmasked canonical |
| 8 | cylinder. No regular remainder initially. The threshold power, section support |
| 9 | and delay that must be paid to enter the Clocks are explicit. Does not need a |
| 10 | hypothesis on propagated marker estimates or any tuning by the terminal map. |
| 11 | -/ |
| 12 | set_option autoImplicit false |
| 13 | noncomputable section |
| 14 | namespace YM.Push.Local |
| 15 | open Lattice Wilson RG Source Labels Next.Foundations |
| 16 | open scoped Topology Matrix.Norms.Frobenius BigOperators |
| 17 | |
| 18 | variable {G : Gauge} {n : Side} {d : ℕ} {F : Labels.Frame G d} {A : Hol G} |
| 19 | |
| 20 | theorem full_cost (T : SectionData F) : ∃ K : ℝ, 1 ≤ K ∧ ∀ i : F.Index, ∀ U : CoverConfig G, ‖T.evaluate (Pi.single i 1) U‖ ≤ K := by |
| 21 | classical |
| 22 | choose c hc using (fun i : F.Index => (isCompact_range (T.continuous_evaluate (Pi.single i 1)).norm).bddAbove) |
| 23 | have h i : 0 ≤ max 0 (c i) := le_max_left _ _ |
| 24 | refine ⟨1+∑ i,max 0 (c i), le_add_of_nonneg_right (Finset.sum_nonneg (fun i _ => h i)),fun i U => ?_⟩ |
| 25 | exact (((hc i ⟨U,rfl⟩).trans (le_max_right _ _)).trans (Finset.single_le_sum (fun i _ => h i) (Finset.mem_univ i))).trans (le_add_of_nonneg_left zero_le_one) |
| 26 | |
| 27 | def fullPrice (T : SectionData F) := (full_cost T).choose |
| 28 | |
| 29 | def maxPower (F : Labels.Frame G d) := Finset.univ.sup fun i => (F.grades i).2 |
| 30 | |
| 31 | theorem full_presented (T : SectionData F) (o : Site n) (B : BudgetPoint) (v : F.Coeff) (U : Config G n) : |
| 32 | ‖presented T o B.threshold v U‖ ≤ (fullPrice T*(B.threshold⁻¹)^maxPower F)*F.coeffSize v := by |
| 33 | classical |
| 34 | let e (i : F.Index) : F.Coeff := Pi.single i 1 |
| 35 | let L := presented T o B.threshold |
| 36 | have he : L v = ∑ i, v i • L (e i) := by |
| 37 | simp_rw [← map_smul, ← map_sum]; apply congr_arg L; ext i; simp [e,Finset.sum_apply,Pi.single_apply] |
| 38 | let r := B.threshold⁻¹ |
| 39 | have hr : 1 ≤ r := (one_le_inv₀ B.threshold_pos).2 B.threshold_le |
| 40 | have hx (i : F.Index) : ‖L (e i) U‖ ≤ fullPrice T*r^maxPower F := by |
| 41 | have h : F.scaled r (e i) = (((r^(F.grades i).2:ℝ):ℂ)) • e i := by |
| 42 | funext j; by_cases hj : j = i <;> simp [e,hj] |
| 43 | change ‖T.evaluate (F.scaled r (e i)) _‖ ≤ _ |
| 44 | rw [h,T.eval_linear.map_smul,Pi.smul_apply,norm_smul,Complex.norm_real,Real.norm_of_nonneg (by positivity),mul_comm] |
| 45 | exact mul_le_mul ((full_cost T).choose_spec.2 i _) (pow_le_pow_right₀ hr (Finset.le_sup (f:=fun j => (F.grades j).2) (Finset.mem_univ i))) (by positivity) (zero_le_one.trans (full_cost T).choose_spec.1) |
| 46 | change ‖L v U‖ ≤ (fullPrice T*r^maxPower F)*F.coeffSize v |
| 47 | rw [he,Finset.sum_apply,Frame.coeffSize,Finset.mul_sum]; exact (norm_sum_le ..).trans (Finset.sum_le_sum fun i _ => by simp only [Pi.smul_apply,norm_smul]; rw [mul_comm]; exact mul_le_mul_of_nonneg_right (hx i) (norm_nonneg _)) |
| 48 | |
| 49 | namespace Bare |
| 50 | |
| 51 | def complement (T : SectionData F) (o : Site n) (t : ℝ) := presented T o t - primary T o t |
| 52 | |
| 53 | theorem attaches {T : SectionData F} (h : T.Sound A) (o : Site n) (v : F.Coeff) (t : ℝ) : |
| 54 | Attaches t (T.footprint o) (complement T o t v) := by |
| 55 | refine ⟨fun U V huv ht => ?_, fun g U => ?_, (T.continuous_places _ o).measurable.sub (measurable_const.add (masked_measurable _ _ _ (T.continuous_places _ o).measurable)), fun U hu => sub_eq_zero.mpr (presented_primary o h v U hu).symm⟩ |
| 56 | · exact congr_arg₂ (· - ·) (T.placed_local o _ U V huv) (congr_arg (v 0+·) (uses_mask t (T.placed_local o _) U V huv ht)) |
| 57 | exact congr_arg₂ (· - ·) (T.placed_invariant h o _ g U) (congr_arg (v 0+·) (invariant_mask (T.placed_invariant h o _) t _ g U)) |
| 58 | |
| 59 | theorem bill {T : SectionData F} (h : T.Sound A) (o : Site n) (B : BudgetPoint) (v : F.Coeff) (U : Config G n) : |
| 60 | ‖complement T o B.threshold v U‖ ≤ (fullPrice T*(B.threshold⁻¹)^maxPower F)*F.coeffSize (F.core v) := by |
| 61 | apply le_trans _ (full_presented T o B (F.core v) U) |
| 62 | change ‖presented T o B.threshold v U - (v 0 + masked B.threshold (T.footprint o) _ U)‖ ≤ _ |
| 63 | by_cases hU : Healthy B.threshold (T.footprint o) U |
| 64 | · change ‖presented T o B.threshold v U - primary T o B.threshold v U‖ ≤ _ |
| 65 | rw [presented_primary o h v U hU,sub_self,norm_zero]; exact norm_nonneg _ |
| 66 | rw [masked_ne _ _ _ _ hU, add_zero] |
| 67 | conv_lhs => rw [core_split F v,map_add,map_smul,Pi.add_apply,Pi.smul_apply] -- also v 0 replaced! |
| 68 | simp only [presented,LinearMap.coe_mk, AddHom.coe_mk,F.scaled_unit,SectionData.places,h.unit] |
| 69 | simp [Frame.core,Frame.e0,add_sub_cancel_left] |
| 70 | |
| 71 | variable {T : SectionData F} {R : Rep G n} {o : Site n} {S : Slots R.activities (fun _ : Unit => T.footprint o)} |
| 72 | |
| 73 | variable (T R o S) in |
| 74 | def make (v : F.Coeff) : Coefficient F n where |
| 75 | x := v |
| 76 | support _ := T.footprint o |
| 77 | regular := 0 |
| 78 | forced := S.pack R.p.threshold (fun _ => complement T o R.p.threshold v) |
| 79 | |
| 80 | theorem format (h : T.Sound A) (hr : R.activities.ForcedFamily R.p) (v : F.Coeff) : (make T R o S v).Format o A R := by |
| 81 | have ho : o ∈ T.footprint o := Finset.mem_image.mpr ⟨0,h.anchored,by simp⟩ |
| 82 | have he := S.forceFormat hr (fun _ => ho) (fun _ => attaches h o v R.p.threshold) |
| 83 | exact ⟨fun _ => regular_const _, fun _ => ho, fun _ => rfl,fun _ _ _ => ⟨contDiffAt_const,fun i _ => by simp [make]⟩,he.forcing,he.carried,he.invariant,he.supported,he.borel⟩ |
| 84 | |
| 85 | theorem exact_density (h : T.Sound A) (v : F.Coeff) {δ w : ℝ} (hr : R.activities.Valid R.p δ w) (U : Config G n) : |
| 86 | (make T R o S v).density o T R U = (R.eval U : ℂ) * presented T o R.p.threshold v U := by |
| 87 | let P := make T R o S v |
| 88 | have he : P.exponentialEntry o T R U = primary T o R.p.threshold v U := by |
| 89 | suffices h : ∀ i, P.maskedTerm R i U = 0 by simp [Coefficient.exponentialEntry,h]; rfl |
| 90 | intro i; change maskLinear R.p.threshold (P.support i) (0 : Config G n → ℂ) U = 0 -- syntax |
| 91 | rw [map_zero]; rfl |
| 92 | have hr := (S.recover R.p U (fun _ => complement T o R.p.threshold v) (fun _ => attaches h o v _) hr (.of_finite)).tsum_eq |
| 93 | have hmark : (∑' q, P.marked R q U) = (presented T o R.p.threshold v U - primary T o R.p.threshold v U)*(R.activities.gas R.p U:ℂ) := by |
| 94 | simp only [gasMark_eq,tsum_fintype,Fintype.sum_unique] at hr; exact hr |
| 95 | change P.density o T R U = _ |
| 96 | rw [Coefficient.density,hmark,he,Rep.eval,Complex.ofReal_mul]; ring |
| 97 | |
| 98 | theorem linear : IsLinearMap ℂ (fun v => (make T R o S v).x) ∧ IsLinearMap ℂ (fun v => (make T R o S v).regular) ∧ IsLinearMap ℂ (fun v => (make T R o S v).forced) ∧ ∀ v, (make T R o S v).support = (make T R o S 0).support := by |
| 99 | let c : (Config G n → ℂ) →ₗ[ℂ] (Unit → Config G n → ℂ) := LinearMap.pi (fun _ => LinearMap.id) |
| 100 | have he (v) : (make T R o S v).support = fun _ => T.footprint o := rfl |
| 101 | exact ⟨LinearMap.id.isLinear, LinearMap.isLinear (0 : F.Coeff →ₗ[ℂ] ℕ → Config G n → ℂ), (S.packLinear R.p.threshold ∘ₗ c ∘ₗ complement T o R.p.threshold).isLinear, fun v => (he v).trans (he 0).symm⟩ |
| 102 | |
| 103 | theorem cap (h : T.Sound A) (v : F.Coeff) {w : ℝ} (hr : R.activities.KBound R.p w) (hp : 0 < w) : |
| 104 | let κ := Real.sqrt w |
| 105 | let cost := mergePrice R.p w (T.footprint o) (fullPrice T*(R.p.threshold⁻¹)^maxPower F * F.coeffSize (F.core v)) |
| 106 | (make T R o S v).remBound o R κ (cost/κ) := by |
| 107 | intro κ cost |
| 108 | have hc : 0 < κ := Real.sqrt_pos.mpr hp |
| 109 | have hC := (full_cost T).choose_spec.1 |
| 110 | have he := S.forceCost (f:=fun _ => complement T o R.p.threshold v) (a:=fun _ => fullPrice T*(R.p.threshold⁻¹)^maxPower F * F.coeffSize (F.core v)) (c:=cost) hr |
| 111 | have ha : 0 ≤ fullPrice T*(R.p.threshold⁻¹)^maxPower F * F.coeffSize (F.core v) := mul_nonneg (mul_nonneg (zero_le_one.trans hC) (pow_nonneg (inv_nonneg.mpr R.p.threshold_pos.le) _)) (Work.G08.size_nonneg F _) |
| 112 | have h0 : 0 ≤ cost := mergePrice_nonneg _ _ hp.le ha |
| 113 | refine ⟨0,cost/κ,le_rfl,by positivity,by rw [zero_add],hc,⟨0, ?_, fun i => by simpa only [norm_zero] using! (bound_const (B:=R.p) (X:=T.footprint o) (o:=o) (0:ℂ))⟩,?_⟩ |
| 114 | · simp only [BudgetPoint.mass, Pi.zero_apply, mul_zero]; exact sumBudget_zero le_rfl |
| 115 | rw [mul_div_cancel₀ _ hc.ne']; exact he ⟨fun _ => h0, .of_finite, by rw [tsum_fintype,Fintype.sum_unique]⟩ (fun _ => ha) (fun _ => bill h o R.p v) |
| 116 | end Bare |
| 117 | |
| 118 | def bareConstant (T : SectionData F) (u : ℝ) := Real.exp (u*atomTiles T)*fullPrice T * (2*(T.stencil.card:ℝ)) |
| 119 | |
| 120 | theorem bare_charge (T : SectionData F) (o : Site n) (v : F.Coeff) (B : BudgetPoint) {w : ℝ} (hp : 0 < w) (h : (T.stencil.card:ℝ)*w ≤ 1) : |
| 121 | mergePrice B w (T.footprint o) (fullPrice T*(B.threshold⁻¹)^maxPower F * F.coeffSize (F.core v))/Real.sqrt w ≤ |
| 122 | bareConstant T B.supportExponent*(B.threshold⁻¹)^maxPower F*Real.sqrt w* F.coeffSize (F.core v) := by |
| 123 | have he : ((T.footprint o).card:ℝ)*w ≤ (T.stencil.card:ℝ)*w := mul_le_mul_of_nonneg_right (by exact_mod_cast Finset.card_image_le) hp.le |
| 124 | have hy := Real.abs_exp_sub_one_le (x:=((T.footprint o).card:ℝ)*w) (by simpa [abs_of_nonneg (le_of_lt hp)] using he.trans h) |
| 125 | rw [abs_of_nonneg (mul_nonneg (by positivity) hp.le)] at hy |
| 126 | unfold mergePrice BudgetPoint.mass |
| 127 | apply (div_le_iff₀ (Real.sqrt_pos.mpr hp)).mpr |
| 128 | apply le_trans (mul_le_mul (mul_le_mul_of_nonneg_right (Real.exp_le_exp.mpr (mul_le_mul_of_nonneg_left (show ((coverNumber B.B (T.footprint o):ℕ):ℝ) ≤ (atomTiles T:ℝ) by exact_mod_cast atomTiles_price T B o) B.exponent_pos.le)) |
| 129 | (by positivity [show 1 ≤ fullPrice T from (full_cost T).choose_spec.1,B.threshold_pos,Work.G08.size_nonneg F (F.core v)])) (((le_abs_self _).trans hy).trans (mul_le_mul_of_nonneg_left he zero_le_two)) (by simp only [sub_nonneg, Real.one_le_exp_iff]; positivity) (by positivity [show 1 ≤ fullPrice T from (full_cost T).choose_spec.1, B.threshold_pos,Work.G08.size_nonneg F (F.core v)])) |
| 130 | apply le_of_eq |
| 131 | nth_rw 1 [← Real.mul_self_sqrt hp.le]; unfold bareConstant; ring |
| 132 | |
| 133 | def BareDelay (T : SectionData F) (B : BudgetPoint) (w : ℝ) := |
| 134 | (T.stencil.card:ℝ)*w ≤ 1 ∧ bareConstant T B.supportExponent*(B.threshold⁻¹)^maxPower F*Real.sqrt w ≤ 1 |
| 135 | |
| 136 | theorem thick {T : SectionData F} {o : Site n} {R : Rep G n} {S : Slots R.activities (fun _ : Unit => T.footprint o)} (h : T.Sound A) (v : F.Coeff) {w : ℝ} |
| 137 | (hr : R.activities.KBound R.p w) (hp : 0 < w) (hpay : BareDelay T R.p w) : |
| 138 | (Bare.make T R o S v).remBound o R (Real.sqrt w) (F.coeffSize (F.core v)) := by |
| 139 | obtain ⟨a,b,ha,hb,hab,hv⟩ := Bare.cap (S:=S) h v hr hp |
| 140 | exact ⟨a,b,ha,hb,hab.trans ((bare_charge _ _ _ _ hp hpay.1).trans (mul_le_of_le_one_left (Work.G08.size_nonneg ..) hpay.2)),hv⟩ |
| 141 | |
| 142 | theorem charges (H : RG.History G) (N p : ℕ) {T : SectionData F} {o : Site (H.S.side N p)} {S : Slots (H.rep N p N).activities (fun _ : Unit => T.footprint o)} |
| 143 | (h : H.Conv N p N) (ht : T.Sound A) (v : F.Coeff) (U : Config G (H.S.side N p)) : |
| 144 | (Bare.make T (H.rep N p N) o S v).density o T (H.rep N p N) U = ((H.S.a N : ℂ)^d) * ((H.rep N p N).eval U : ℂ) * initial T H N p v o U := by |
| 145 | rw [Bare.exact_density ht v h.good.labels, h.vac] |
| 146 | simp [presented, Levels.budget, initial, mul_comm ((H.S.a N:ℂ)^d) _,mul_assoc, (H.S.a_pos N).ne'] |
| 147 | end YM.Push.Local |