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.Next.EXTRACTION.Tails |
| 2 | import YM.Next.FOUNDATIONS.SU2 |
| 3 | |
| 4 | /-! Quantitative continuity costs on **one** census. In the gas comparison |
| 5 | pay for all subsets of forced labels. No derivative in U or changes of masks in |
| 6 | that comparison. No volume-independent bound claimed. -/ |
| 7 | set_option autoImplicit false |
| 8 | noncomputable section |
| 9 | namespace YM.Push.BetaTransport |
| 10 | open Lattice Wilson RG RG.Activities RG.Shoot MeasureTheory Filter Finset Function |
| 11 | open scoped Matrix.Norms.Frobenius Topology BigOperators ContDiff |
| 12 | |
| 13 | lemma budget_unweighted {ι : Type*} {P : BudgetPoint} {n : Side} {X : ι → Support n} {b : ι → ℝ} |
| 14 | {δ : ℝ} (hn : ∀ i, 0 ≤ b i) (hB : SumBudget (fun i => P.mass (X i) (b i)) δ) : SumBudget b δ := by |
| 15 | have he i := P.loMass (X i) (b i) (hn i) |
| 16 | have hs := hB.2.1.of_nonneg_of_le hn he |
| 17 | exact ⟨hn,hs,(hs.tsum_le_tsum he hB.2.1).trans hB.2.2⟩ |
| 18 | |
| 19 | lemma summable_mass {ι : Type*} {n : Side} (P : BudgetPoint) (X : ι → Support n) {b : ι → ℝ} |
| 20 | (hn : ∀ i, 0 ≤ b i) (hs : Summable b) : Summable fun i => P.mass (X i) (b i) := by |
| 21 | have he (i) := (coverNumber_realized P.B (X i)).choose_spec.2.symm.le.trans |
| 22 | ((coverNumber_realized P.B (X i)).choose.card_le_univ) |
| 23 | apply (hs.mul_left (Real.exp (P.supportExponent * (Fintype.card (Site n):ℝ)))).of_nonneg_of_le |
| 24 | · intro i; exact mul_nonneg (Real.exp_pos _).le (hn i) |
| 25 | intro i; unfold BudgetPoint.mass; gcongr |
| 26 | · exact hn _ |
| 27 | · exact P.exponent_pos.le |
| 28 | exact he i |
| 29 | |
| 30 | lemma exponential_sum {ι : Type*} {v : ι → ℝ} (h0 : ∀ i, 0 ≤ v i) (hv : Summable v) : |
| 31 | (∑' b : Finset ι, ∏ i ∈ b, v i) ≤ Real.exp (∑' i, v i) := by |
| 32 | classical |
| 33 | refine (summable_finsetProd_of_summable_nonneg h0 hv).tsum_le_of_sum_le fun s => ?_ |
| 34 | calc |
| 35 | _ ≤ ∑ b ∈ (s.biUnion id).powerset, ∏ i ∈ b, v i := sum_le_sum_of_subset_of_nonneg |
| 36 | (fun i hi => mem_powerset.mpr (subset_biUnion_of_mem id hi)) (fun _ _ _ => prod_nonneg fun i _ => h0 i) |
| 37 | _ = ∏ i ∈ s.biUnion id, (1 + v i) := (prod_one_add _).symm |
| 38 | _ ≤ Real.exp (∑' i, v i) := (Real.prod_one_add_le_exp_sum _ h0).trans |
| 39 | (Real.exp_monotone (hv.sum_le_tsum _ (fun i _ => h0 i))) |
| 40 | |
| 41 | lemma product_diff {ι : Type*} {δ : ℝ} (hδ : 0 ≤ δ) (p q h : ι → ℝ) (hp : ∀ i, ‖p i‖ ≤ h i) |
| 42 | (hq : ∀ i, ‖q i‖ ≤ h i) (he : ∀ i, ‖p i-q i‖ ≤ δ*h i) (b : Finset ι) : |
| 43 | ‖(∏ i ∈ b, p i) - (∏ i ∈ b, q i)‖ ≤ δ * ∏ i ∈ b, (2*h i) := by |
| 44 | classical |
| 45 | induction b using Finset.induction_on with |
| 46 | | empty => simpa using hδ |
| 47 | | @insert i b hi ih => |
| 48 | let w := ∏ j ∈ b, (2*h j) |
| 49 | have h0 (i) := (norm_nonneg _).trans (hp i) |
| 50 | have hq' : ‖∏ j ∈ b, q j‖ ≤ w := by |
| 51 | rw [norm_prod] |
| 52 | exact Finset.prod_le_prod (fun _ _ => norm_nonneg _) |
| 53 | fun j _ => (hq j).trans (by linarith [h0 j]) |
| 54 | rw [prod_insert hi, prod_insert hi, prod_insert hi] |
| 55 | calc |
| 56 | _ ≤ ‖(p i-q i)*(∏ j ∈ b, q j)‖ + ‖p i * ((∏ j ∈ b, p j)-(∏ j ∈ b, q j))‖ := by |
| 57 | rw [show p i * _ - q i * _ = (p i-q i)*(∏ j ∈ b, q j) + p i*((∏ j ∈ b, p j)-(∏ j ∈ b, q j)) by ring] |
| 58 | exact norm_add_le .. |
| 59 | _ ≤ (δ*h i)*w + h i*(δ*w) := by |
| 60 | rw [norm_mul,norm_mul]; exact add_le_add |
| 61 | (mul_le_mul (he i) hq' (norm_nonneg _) (mul_nonneg hδ (h0 i))) |
| 62 | (mul_le_mul (hp i) ih (norm_nonneg _) (h0 i)) |
| 63 | _ = _ := by unfold w; ring |
| 64 | |
| 65 | variable {n : Side} {G : Gauge} {P : BudgetPoint} {S T : Activities G n} |
| 66 | |
| 67 | lemma gas_diff {d k : ℕ → ℝ} (h : S.forced = T.forced) {δ : ℝ} (hd : SumBudget d δ) (hδ : 0 < δ) (h1 : δ ≤ 1) |
| 68 | (he : ∀ i x, ‖S.K i x-T.K i x‖ ≤ d i) (hh : ∀ i x, ‖S.K i x‖ ≤ k i) (hk : Summable k) (x : Config G n) : |
| 69 | ‖S.gas P x - T.gas P x‖ ≤ δ * Real.exp (2*((∑' i, k i)+1)) := by |
| 70 | classical |
| 71 | let v (i) := k i + δ⁻¹*d i |
| 72 | have hS (i) := hh i x |
| 73 | have h₁ i : k i ≤ v i := le_add_of_nonneg_right (mul_nonneg (inv_pos.mpr hδ).le (hd.1 i)) |
| 74 | have h₂ i : d i ≤ δ*v i := by |
| 75 | unfold v; rw [mul_add,mul_inv_cancel_left₀ hδ.ne']; exact le_add_of_nonneg_left |
| 76 | (mul_nonneg hδ.le ((norm_nonneg _).trans (hS i))) |
| 77 | have hp i := (hS i).trans (h₁ i) |
| 78 | have h0 i := (norm_nonneg _).trans (hp i) |
| 79 | have hT i : ‖T.K i x‖ ≤ v i := by |
| 80 | have ha := norm_sub_le (S.K i x) (S.K i x-T.K i x) |
| 81 | rw [sub_sub_cancel] at ha |
| 82 | exact ha.trans (add_le_add (hS i) ((he i x).trans (le_mul_of_one_le_left (hd.1 i) |
| 83 | (one_le_inv₀ hδ |>.mpr h1)))) |
| 84 | have hs : Summable v := hk.add (hd.2.1.mul_left _) |
| 85 | have htotal : (∑' i, 2*v i) ≤ 2*((∑' i, k i)+1) := by |
| 86 | unfold v; rw [tsum_mul_left,hk.tsum_add (hd.2.1.mul_left _),tsum_mul_left]; gcongr |
| 87 | exact (mul_le_mul_of_nonneg_left hd.2.2 (inv_pos.mpr hδ).le).trans_eq (inv_mul_cancel₀ hδ.ne') |
| 88 | have adm (b : Finset ℕ) : S.admissible P x b = T.admissible P x b := by simp only [admissible,h] |
| 89 | have ha := summable_finsetProd_of_summable_nonneg h0 hs |
| 90 | have ht (M : Activities G n) (h : ∀ i, ‖M.K i x‖ ≤ v i) : Summable fun b => M.gasOccurrence P b x := |
| 91 | .of_norm_bounded ha fun b => by |
| 92 | unfold gasOccurrence; split |
| 93 | · rw [norm_prod]; exact prod_le_prod (fun _ _ => norm_nonneg _) (fun i _ => h i) |
| 94 | · rw [norm_zero]; exact prod_nonneg fun i _ => h0 i |
| 95 | have h0' i : 0 ≤ 2*v i := mul_nonneg zero_le_two (h0 i) |
| 96 | have ha' := (summable_finsetProd_of_summable_nonneg h0' (hs.mul_left 2)).mul_left δ |
| 97 | have he' b : ‖S.gasOccurrence P b x-T.gasOccurrence P b x‖ ≤ δ * ∏ i ∈ b, (2*v i) := by |
| 98 | unfold gasOccurrence; rw [adm]; split |
| 99 | · exact product_diff hδ.le _ _ _ hp hT (fun i => (he i x).trans (h₂ i)) b |
| 100 | · simp only [sub_zero,norm_zero]; exact mul_nonneg hδ.le (prod_nonneg fun i _ => h0' i) |
| 101 | have hb := ha'.of_nonneg_of_le (fun _ => norm_nonneg _) he' |
| 102 | rw [gas,gas,← (ht S hp).tsum_sub (ht T hT)] |
| 103 | refine (norm_tsum_le_tsum_norm hb).trans ((hb.tsum_le_tsum he' ha').trans ?_) |
| 104 | rw [tsum_mul_left]; exact mul_le_mul_of_nonneg_left |
| 105 | ((exponential_sum h0' (hs.mul_left 2)).trans (Real.exp_le_exp.mpr htotal)) hδ.le |
| 106 | |
| 107 | lemma additive_diff {δ δ₁ δ₂ w₁ w₂ : ℝ} (hS : S.Valid P δ₁ w₁) (hT : T.Valid P δ₂ w₂) |
| 108 | (h : S.reg = T.reg) {b : ℕ → ℝ} (hb : SumBudget b δ) |
| 109 | (hh : ∀ i, variesRegular P (S.reg i) (S.E i) (T.E i) (b i)) (x : Config G n) : ‖S.additive P x-T.additive P x‖ ≤ δ := by |
| 110 | have he (i) : ‖S.regularOccurrence P i x-T.regularOccurrence P i x‖ ≤ b i := by |
| 111 | unfold regularOccurrence; rw [← h]; by_cases hv : Healthy P.threshold (S.reg i).support x |
| 112 | · rw [masked_eq _ _ _ _ hv,masked_eq _ _ _ _ hv]; exact (hh i).2 _ hv [] (Nat.zero_le _) (by simp) |
| 113 | · rw [masked_ne _ _ _ _ hv,masked_ne _ _ _ _ hv,sub_zero,norm_zero]; exact hb.1 i |
| 114 | have hs := hb.2.1.of_nonneg_of_le (fun _ => norm_nonneg _) he |
| 115 | rw [additive, additive,← ((ESeries hS).summable x).tsum_sub ((ESeries hT).summable x)] |
| 116 | exact (norm_tsum_le_tsum_norm hs).trans ((hs.tsum_le_tsum he hb.2.1).trans hb.2.2) |
| 117 | |
| 118 | lemma deviation_diff {δ δ₁ δ₂ w₁ w₂ : ℝ} (hS : S.Valid P δ₁ w₁) (hT : T.Valid P δ₂ w₂) |
| 119 | {k : ℕ → ℝ} (hh : ∀ i x, ‖S.K i x‖ ≤ k i) (hk : Summable k) |
| 120 | (hreg : S.reg = T.reg) (hf : S.forced = T.forced) (hd : deviation P S T δ) (h0 : 0 < δ) (h1 : δ ≤ 1) |
| 121 | (x : Config G n) : ‖S.additive P x - T.additive P x‖ ≤ δ ∧ ‖S.gas P x - T.gas P x‖ ≤ δ * Real.exp (2*((∑' i, k i)+1)) := by |
| 122 | obtain ⟨c,d,hc,hd,hC,hD⟩ := hd |
| 123 | exact ⟨additive_diff hS hT hreg (budget_unweighted (fun i => (hc i).1) hC) hc x, |
| 124 | gas_diff hf (budget_unweighted (fun i => (hd i).1) hD) h0 h1 (fun i => (hd i).2) hh hk x⟩ |
| 125 | end YM.Push.BetaTransport |