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.QUARTIC_MATCH.Hessian.Division |
| 2 | import YM.Work.B04 |
| 3 | |
| 4 | /-! |
| 5 | # Principal bounds against true mean and palette |
| 6 | -/ |
| 7 | set_option autoImplicit false |
| 8 | noncomputable section |
| 9 | namespace YM.AnalyticNext.QuarticMatch.Hessian |
| 10 | open Filter Function Lattice Laurent Bloch Exterior Matrix Precision RG |
| 11 | open Pre.Centered YM.Next.Free |
| 12 | open scoped Topology Matrix.Norms.Frobenius ContDiff BigOperators ComplexConjugate InnerProductSpace |
| 13 | variable {c f : Side} (S : StepData c f) |
| 14 | local notation "M" => S.ratio.count |
| 15 | local notation "L" => (S.ratio.count.val:ℝ) |
| 16 | local notation "F" => (f.val:ℝ) |
| 17 | local notation "C" => (c.val:ℝ) |
| 18 | |
| 19 | section chamber |
| 20 | variable {r s : ℕ} |
| 21 | def perch (z : Form c s) (p : Site c) := fun i => z (p,i) |
| 22 | |
| 23 | variable {D : Matrix (Body s c) (Body r f) ℝ} {E : (p : Site c) → Site S.ratio.count → Frequency s r} |
| 24 | (h : Runs (coarseBook c s) (fineBook S r) D (fiber (fun i => upAlias (E i)))) {x : Form f r} |
| 25 | (hx : ToeF S x) |
| 26 | include hx |
| 27 | lemma funds_low (p) : |
| 28 | perch (fiber (fun i => upAlias (E i))*ᵥ rootC S x) p= E p 0 *ᵥ chamber S (rootC S x) p 0 := by |
| 29 | funext i; rw [perch,fiber_at,up_at, Finset.sum_eq_single (0:Site M)]; rfl |
| 30 | · intro l _ hl |
| 31 | rw [show (fun a : TypeFace r => rootC S x (p,l,a))=0 from funext (hx p l hl), mulVec_zero]; rfl |
| 32 | simp |
| 33 | |
| 34 | include h |
| 35 | lemma counts_low (B : ℝ) (hb : 0 ≤ B) (hC : ∀ p y, B*ell2 y ≤ ell2 (E p 0*ᵥ y)) : |
| 36 | B*ell2 x ≤ L^2*ell2 (approached D *ᵥ x) := by |
| 37 | have hk : ell2 (approached D *ᵥ x)=C^2*ell2 (fiber (fun i => upAlias (E i))*ᵥ rootC S x) := by |
| 38 | have he : approached D *ᵥ x=coarseBook c s *ᵥ (fiber (fun i => upAlias (E i))*ᵥ rootC S x) := by |
| 39 | have he := woven h (rootC S x); rwa [roundC] at he |
| 40 | rw [he]; exact transacts (rotations_crew ..) _ |
| 41 | have he : L*C=F := by rw [mul_comm]; exact_mod_cast S.ratio.exact_size.symm |
| 42 | rw [totalC S x,hk,mul_left_comm B,← mul_assoc (L^2),← mul_pow,he] |
| 43 | apply mul_le_mul_of_nonneg_left _ (sq_nonneg _) |
| 44 | apply (sq_le_sq₀ (mul_nonneg hb (ell_nonneg _)) (ell_nonneg _)).mp |
| 45 | rw [mul_pow,square_length,square_length,Fintype.sum_prod_type,Fintype.sum_prod_type,Finset.mul_sum] |
| 46 | refine Finset.sum_le_sum fun i _ => ?_ |
| 47 | rw [Fintype.sum_prod_type, Finset.sum_eq_single (0:Site M)] |
| 48 | · have H := pow_le_pow_left₀ (mul_nonneg hb (ell_nonneg _)) (hC i (chamber S (rootC S x) i 0)) 2 |
| 49 | rw [← funds_low S hx, mul_pow,square_length,square_length] at H; exact H |
| 50 | · intro p _ hp; simp only [hx i p hp,norm_zero,zero_pow (by decide : 2≠0),Finset.sum_const_zero] |
| 51 | simp |
| 52 | |
| 53 | omit hx |
| 54 | /-- Correlation: low plane still covers all coarse site values. -/ |
| 55 | lemma fills (ht : ∀ p, Surjective (fun v => E p 0*ᵥ v)) (y : Form c s) : |
| 56 | ∃ a : Form f r, ToeF S a ∧ approached D*ᵥ a = y := by |
| 57 | let R := coarseBook c s |
| 58 | let u := inverseC R (stageVolume c)*ᵥ y |
| 59 | choose z hz using (fun p : Site c => ht p (perch u p)) |
| 60 | let v : Spec S r := fun i => if i.2.1=0 then z i.1 i.2.2 else 0 |
| 61 | let a := fineBook S r*ᵥ v |
| 62 | have he : rootC S a=v := roundH S v |
| 63 | have ha : ToeF S a := by intro p l hl j; rw [he]; exact if_neg hl |
| 64 | refine ⟨a,ha,?_⟩ |
| 65 | have hc : fiber (fun i => upAlias (E i))*ᵥ v=u := by |
| 66 | funext ⟨p,i⟩ |
| 67 | have H := funds_low (E:=E) S ha p |
| 68 | rw [he,show chamber S v p 0=z p from funext fun i => if_pos rfl] at H |
| 69 | exact congr_fun (H.trans (hz p)) i |
| 70 | unfold a; rw [woven h,hc]; exact (inverts (rotations_crew ..) _ 0).1 |
| 71 | end chamber |
| 72 | |
| 73 | def colorPrice (j : ℕ) := pass j*plankMin |
| 74 | lemma color_pos (j : ℕ) : 0 < colorPrice j := mul_pos (pass_pos j) plankMin_pos |
| 75 | |
| 76 | abbrev package (p : Site c) (l : Site M) := massFilter S.patch (aliasAt (mon p) l) |
| 77 | abbrev touch (p : Site c) (l : Site M) := package S p l • (1:Frequency 0 0) |
| 78 | abbrev crossline (p : Site c) (l : Site M) := (S.patch.L.val:ℂ) • |
| 79 | mask 1 (fun i => pullLine S.patch i (aliasAt (mon p) l)) |
| 80 | |
| 81 | lemma covalue (p) (y : TypeFace 0→ℂ) : pass S.patch.J * ell2 y ≤ ell2 (touch S p 0 *ᵥ y) := by |
| 82 | unfold touch; rw [smul_mulVec,one_mulVec,ell_smul]; exact mul_le_mul_of_nonneg_right (credit S p) (ell_nonneg _) |
| 83 | lemma traverse (p) (y : TypeFace 1→ℂ) : (L*colorPrice S.patch.J)*ell2 y ≤ ell2 (crossline S p 0 *ᵥ y) := by |
| 84 | have hh (i : TypeFace 1) : (mask 1 (fun a => pullLine S.patch a (aliasAt (mon p) (0:Site M)))*ᵥ y) i = |
| 85 | pullLine S.patch (axisEquiv.symm i) (aliasAt (mon p) (0:Site M))*y i := by |
| 86 | unfold Matrix.mulVec dotProduct; simp_rw [mask_value,ite_mul,zero_mul,Finset.sum_ite_eq,Finset.mem_univ,if_true] |
| 87 | rw [crossline,smul_mulVec,ell_smul,norm_natCast, mul_assoc] |
| 88 | apply mul_le_mul_of_nonneg_left (show colorPrice _*ell2 y ≤ _ from ?_) (side_pos S.patch.L).le |
| 89 | apply (sq_le_sq₀ (mul_nonneg (color_pos _).le (ell_nonneg _)) (ell_nonneg _)).mp; rw [mul_pow,square_length,square_length,Finset.mul_sum] |
| 90 | apply Finset.sum_le_sum; intro i _; rw [hh,norm_mul,mul_pow]; exact mul_le_mul_of_nonneg_right |
| 91 | (pow_le_pow_left₀ (color_pos _).le (credit_start S p _) 2) (sq_nonneg _) |
| 92 | |
| 93 | lemma fare (x : Form f 0) (h : ToeF S x) : pass S.patch.J*ell2 x ≤ L^2*ell2 (approached (palette S)*ᵥ x) := |
| 94 | counts_low S (E:=touch S) (contract S) h _ (pass_pos _).le (covalue S) |
| 95 | lemma fare_one (x : Form f 1) (h : ToeF S x) : colorPrice S.patch.J*ell2 x ≤ L*ell2 (approached (Precision.mean S)*ᵥ x) := by |
| 96 | have he := counts_low S (E:=crossline S) (mean_runs S) h (L*colorPrice S.patch.J) (mul_nonneg (by positivity) (color_pos _).le) (traverse S) |
| 97 | rw [pow_two,mul_assoc,mul_assoc] at he; exact le_of_mul_le_mul_left he (side_pos M) |
| 98 | lemma supplied (y : Form c 0) : ∃ a,ToeF S a ∧ approached (palette S)*ᵥ a=y := by |
| 99 | apply fills S (E:=touch S) (contract S) |
| 100 | intro p x |
| 101 | have he : package S p 0 ≠ 0 := norm_pos_iff.mp ((pass_pos S.patch.J).trans_le (credit S p)) |
| 102 | refine ⟨(package S p 0)⁻¹ • x,?_⟩ |
| 103 | change touch S p 0 *ᵥ ((package S p 0)⁻¹ • x)=x |
| 104 | rw [touch, smul_mulVec,one_mulVec,smul_smul,mul_inv_cancel₀ he,one_smul] |
| 105 | end YM.AnalyticNext.QuarticMatch.Hessian |