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.AnalyticNext.CONNECTED_ACTIVITY_BOUNDS.Chromosomes |
| 2 | import YM.AnalyticNext.CONNECTED_ACTIVITY_BOUNDS.Tensors |
| 3 | import YM.AnalyticNext.CONNECTED_ACTIVITY_BOUNDS.TiltAccount |
| 4 | import YM.Push.RELAY_DIFFERENCE.Shuffles |
| 5 | |
| 6 | |
| 7 | /-! |
| 8 | # Marginal pressure for the coupling derivatives |
| 9 | |
| 10 | Scaling trick avoids differentiating the **full** determinant, which charges volume, when |
| 11 | inspecting a single component. The surcharge is neutral upon exp-polynomial deposition, even |
| 12 | on empty Gaussian population. Intended for beta powers only. |
| 13 | -/ |
| 14 | set_option autoImplicit false |
| 15 | noncomputable section |
| 16 | namespace YM.AnalyticNext.ConnectedActivity.Plotter |
| 17 | open Function MeasureTheory Filter Matrix Finset Topology Centered Centered.Moment |
| 18 | open Centered.Till Progress.StationaryScenes Green |
| 19 | open scoped Topology BigOperators ENNReal InnerProductSpace Matrix.Norms.Frobenius Classical |
| 20 | variable {ι : Type*} [Fintype ι] [DecidableEq ι] (P : ι → Prop) [DecidablePred P] |
| 21 | |
| 22 | lemma drilled {A : Matrix ι ι ℝ} (ha : PosDef A) {r : ℝ} (hr : 0<r) (hP : Bottom A r) (z : Subtype P→ℝ) : |
| 23 | 0 ≤ dotProduct z ((ops P A)⁻¹ *ᵥ z) ∧ dotProduct z ((ops P A)⁻¹ *ᵥ z) ≤ r⁻¹ * dotProduct z z := by |
| 24 | let M := ops P A; let y := M⁻¹ *ᵥ z |
| 25 | have hm : M.PosDef := ha.submatrix Subtype.val_injective; have hy : M*ᵥ y=z := by unfold y; rw [Matrix.mulVec_mulVec, |
| 26 | Matrix.mul_nonsing_inv _ (isUnit_iff_ne_zero.mpr hm.det_pos.ne'), Matrix.one_mulVec] |
| 27 | have h : Bottom M r := hP.restrict (Embedding.subtype P) |
| 28 | have he := h y; rw [hy,dotProduct_comm y z] at he |
| 29 | refine ⟨le_trans (mul_nonneg hr.le (dot_nonneg _)) he,?_⟩ |
| 30 | apply le_of_mul_le_mul_left _ hr; rw [← mul_assoc, mul_inv_cancel₀ hr.ne',one_mul]; change r*dotProduct z y ≤ _ |
| 31 | have hp := dot_nonneg (z-r • y) |
| 32 | rw [dotProduct_sub, sub_dotProduct, sub_dotProduct, smul_dotProduct, dotProduct_smul, dotProduct_smul, smul_dotProduct, |
| 33 | smul_eq_mul, smul_eq_mul, smul_eq_mul, smul_eq_mul,dotProduct_comm y z] at hp |
| 34 | nlinarith only [hp,mul_le_mul_of_nonneg_left he hr.le] |
| 35 | |
| 36 | def levy (A : Matrix ι ι ℝ) (t : ℝ) (z : Subtype P→ℝ) := (1+t)^Fintype.card (Subtype P) * |
| 37 | Real.exp (- (hour t-1)*dotProduct z ((ops P A)⁻¹ *ᵥ z)/2) |
| 38 | |
| 39 | def abrupt (A : Matrix ι ι ℝ) (t : ℂ) (z : ι→ℝ) := let v := fulsome P z |
| 40 | (1+t)^Fintype.card (Subtype P) * Complex.exp (-((1+t)^2-1)* ↑(dotProduct v ((ops P A)⁻¹ *ᵥ v))/2) |
| 41 | |
| 42 | |
| 43 | |
| 44 | |
| 45 | |
| 46 | |
| 47 | lemma continuous_abrupt (A : Matrix ι ι ℝ) (t : ℂ) : Continuous (abrupt P A t) := by |
| 48 | unfold abrupt fulsome; dsimp only; fun_prop |
| 49 | |
| 50 | -- real-valued remittance. Domains incl z junk; need PF earns to justify. |
| 51 | |
| 52 | |
| 53 | def seedRadius (u w : ℝ) := min (u*w/8) (1/16) |
| 54 | def cord (u w : ℝ) := seedRadius u w / (1+(Fintype.card (Subtype P):ℝ)) |
| 55 | |
| 56 | omit [DecidableEq ι] in |
| 57 | lemma highT {u w : ℝ} (he : 0<u) (ht : 0<w) : 0<cord P u w ∧ cord P u w≤1/16 := by |
| 58 | have hn : 0<seedRadius u w := lt_min (by positivity) (by norm_num) |
| 59 | exact ⟨div_pos hn (by positivity),le_trans (div_le_self hn.le (by simp)) (min_le_right ..)⟩ |
| 60 | |
| 61 | def levyBill (u w : ℝ) : Tilt ι := ⟨Real.exp (seedRadius u w),fun i => if P i then |
| 62 | w/(2*(1+(Fintype.card (Subtype P):ℝ))) else 0⟩ |
| 63 | omit [DecidableEq ι] in |
| 64 | lemma levySound {u w : ℝ} (hw : 0<w) : (levyBill P u w).Sound := ⟨(Real.exp_pos _).le,fun i => by dsimp only [levyBill]; split <;> positivity⟩ |
| 65 | omit [DecidableEq ι] in |
| 66 | lemma levy_ge (u w : ℝ) (hw : 0 ≤ w) (i : ι) : (levyBill P u w).tally i ≤ w/2 := by |
| 67 | dsimp only [levyBill]; split; swap; positivity |
| 68 | apply div_le_div_of_nonneg_left hw (by norm_num); simp [mul_add] |
| 69 | |
| 70 | def palet (t : Till) (u : ℝ) := Real.exp (seedRadius u t.expense)*Real.exp ((t.floor⁻¹ * (t.expense/2))/2) |
| 71 | omit [DecidableEq ι] in |
| 72 | lemma logLevy (t : Till) (u : ℝ) : t.sale (levyBill P u t.expense) ≤ palet t u := by |
| 73 | unfold sale palet; dsimp only [levyBill]; gcongr |
| 74 | · exact inv_nonneg.mpr t.floor_pos.le |
| 75 | rw [← Fintype.sum_subtype_add_sum_subtype P,show (∑ i : {k // ¬ P k}, (if P i.val then t.expense / (2*(1+(Fintype.card (Subtype P):ℝ))) else 0))=0 |
| 76 | from sum_eq_zero fun i _ => if_neg i.property, add_zero, sum_congr (s₂:=@univ (Subtype P) _) (f:=fun i => if P i.val then t.expense/(2*(1+(Fintype.card (Subtype P):ℝ))) else 0) (g:=fun _ => t.expense / (2*(1+(Fintype.card (Subtype P):ℝ)))) rfl |
| 77 | (fun i _ => if_pos i.property)] |
| 78 | rw [sum_const,card_univ,nsmul_eq_mul]; field_simp; linarith [t.expense_nn] |
| 79 | |
| 80 | lemma pays_abrupt (A : Matrix ι ι ℝ) (ha : PosDef A) (u w : ℝ) (hu : 0<u) (hw : 0<w) (hA : Bottom A u) |
| 81 | (t : ℂ) (ht : ‖t‖ ≤ cord P u w) (z : ι→ℝ) : ‖abrupt P A t z‖ ≤ Ticket (levyBill P u w) z := by |
| 82 | obtain ⟨hr,hh⟩ := highT P hu hw; let M := Fintype.card (Subtype P) |
| 83 | let n := 1+(M:ℝ); have hn : 0<n := by unfold n; positivity |
| 84 | let e := seedRadius u w; have he : 0<e := lt_min (by positivity) (by norm_num) |
| 85 | have hs := distance' (ht.trans hh) |
| 86 | let v := fulsome P z; let f : ℂ := -((1+t)^2-1) |
| 87 | let Z := dotProduct v ((ops P A)⁻¹*ᵥ v); let g := levyBill P u w |
| 88 | change ‖(1+t)^M * Complex.exp (f*↑Z/2)‖≤ _; unfold Ticket |
| 89 | rw [norm_mul, norm_pow] |
| 90 | have hf : ‖1+t‖^M ≤ Real.exp e := by |
| 91 | calc |
| 92 | _ ≤ (Real.exp ‖t‖)^M := by |
| 93 | gcongr; have hx := Real.add_one_le_exp ‖t‖; have hz := norm_add_le (1:ℂ) t; rw [norm_one] at hz; linarith |
| 94 | _ ≤ _ := by |
| 95 | rw [← Real.exp_nat_mul,Real.exp_le_exp]; change ‖t‖≤e/n at ht |
| 96 | have hp := (le_div_iff₀ hn).mp ht; unfold n at hp; nlinarith [norm_nonneg t] |
| 97 | apply mul_le_mul hf _ (norm_nonneg _) (Real.exp_pos _).le; rw [Complex.norm_exp,Real.exp_le_exp] |
| 98 | let a := w/(2*n) |
| 99 | have hl : 3*‖t‖ * u⁻¹ ≤ a := by |
| 100 | calc |
| 101 | _ ≤ (3*cord P u w)*u⁻¹ := by gcongr |
| 102 | _ ≤ (3*(u*w/8/n))*u⁻¹ := by unfold cord; gcongr; exact min_le_left .. |
| 103 | _ ≤ _ := by unfold a; field_simp; nlinarith |
| 104 | have h₁ := (Complex.re_le_norm f).trans (show ‖f‖≤3*‖t‖ by unfold f; rw [norm_neg]; exact hs) |
| 105 | obtain ⟨hL,hv⟩ := drilled P ha hu hA v |
| 106 | change 0 ≤ Z at hL; change Z ≤ _ at hv |
| 107 | have hh : f.re * Z ≤ a * dotProduct v v := calc |
| 108 | _ ≤ 3*‖t‖*Z := mul_le_mul_of_nonneg_right h₁ hL |
| 109 | _ ≤ 3*‖t‖*(u⁻¹ * dotProduct v v) := mul_le_mul_of_nonneg_left hv (by positivity) |
| 110 | _ ≤ _ := by rw [← mul_assoc]; exact mul_le_mul_of_nonneg_right hl (dot_nonneg _) |
| 111 | have he : tilt (levyBill P u w).tally z=a*dotProduct v v := by |
| 112 | unfold tilt; rw [← Fintype.sum_subtype_add_sum_subtype P] |
| 113 | rw [show ∑ i : {k // ¬ P k}, g.tally i.val*z i.val^2=0 from sum_eq_zero fun i _ => by |
| 114 | unfold g; dsimp only [levyBill]; rw [if_neg i.property,zero_mul], add_zero] |
| 115 | unfold dotProduct; rw [mul_sum]; exact sum_congr rfl fun i _ => by dsimp only [levyBill]; rw [if_pos i.property,pow_two]; rfl |
| 116 | rw [he,← Complex.ofReal_ofNat (n:=2),Complex.div_ofReal_re, Complex.mul_re , Complex.ofReal_re,Complex.ofReal_im]; linarith |
| 117 | end YM.AnalyticNext.ConnectedActivity.Plotter |