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.Voltage |
| 2 | import YM.AnalyticNext.QUARTIC_MATCH.Hessian.Wire |
| 3 | |
| 4 | /-! |
| 5 | # Low / high in the finer periodic cochain fields |
| 6 | |
| 7 | Orthogonality. Include even-period end representatives consistently. Real |
| 8 | field decompositions not needed here (just do estimates on the complexification). |
| 9 | -/ |
| 10 | set_option autoImplicit false |
| 11 | noncomputable section |
| 12 | namespace YM.AnalyticNext.QuarticMatch.Hessian |
| 13 | open Filter Function Lattice Laurent Bloch Exterior Matrix Precision RG |
| 14 | open Pre.Centered YM.Next.Free |
| 15 | open scoped Topology Matrix.Norms.Frobenius ContDiff BigOperators ComplexConjugate InnerProductSpace |
| 16 | |
| 17 | variable {c f : Side} (S : StepData c f) |
| 18 | abbrev Spec (r : ℕ) := Co c (Co S.ratio.count (TypeFace r))→ℂ |
| 19 | abbrev Form (n : Side) (r : ℕ) := Body r n→ℂ |
| 20 | abbrev drawC (n : Side) (r : ℕ) := approached (d r n) |
| 21 | |
| 22 | def rootC {r : ℕ} (x : Form f r) := inverseC (fineBook S r) (stageVolume f)*ᵥ x |
| 23 | local notation "M" => S.ratio.count |
| 24 | local notation "L" => (S.patch.L.val:ℝ) |
| 25 | |
| 26 | def TopF {r : ℕ} (x : Form f r) := ∀ p : Site c,∀ i, rootC S x (p,(0:Site M),i)=0 |
| 27 | def ToeF {r : ℕ} (x : Form f r) := ∀ (p : Site c) (l : Site M), l≠0 → ∀ i, rootC S x (p,l,i)=0 |
| 28 | |
| 29 | section rules |
| 30 | variable {r : ℕ} |
| 31 | lemma roundC (x : Form f r) : fineBook S r*ᵥrootC S x=x := (inverts (readings_crew _ _) x 0).1 |
| 32 | lemma roundH (x : Spec S r) : rootC S (fineBook S r*ᵥ x)=x := (inverts (readings_crew _ _) 0 x).2 |
| 33 | lemma totalC (x : Form f r) : ell2 x=(f.val:ℝ)^2 * ell2 (rootC S x) := by |
| 34 | have he := transacts (readings_crew S.ratio (TypeFace r)) (rootC S x); rwa [show readings S.ratio (TypeFace r) *ᵥ _ = _ from roundC S x] at he |
| 35 | lemma root_up (x : Form f r) : rootC S (drawC f r *ᵥ x)=forward S r *ᵥ rootC S x := by |
| 36 | calc |
| 37 | _ = rootC S (drawC f r*ᵥ (fineBook S r*ᵥ rootC S x)) := by rw [roundC] |
| 38 | _ = _ := by rw [show _ *ᵥ _ = _ from woven (manages S r) (rootC S x),roundH] |
| 39 | lemma root_down (x : Form f (r+1)) : rootC S ((drawC f r)ᴴ *ᵥ x)=(forward S r)ᴴ *ᵥ rootC S x := by |
| 40 | unfold drawC; rw [← approach_H] |
| 41 | calc |
| 42 | _ = rootC S (approached (d r f).transpose*ᵥ (fineBook S (r+1)*ᵥ rootC S x)) := by rw [roundC] |
| 43 | _ = _ := by rw [woven (controls S r),roundH] |
| 44 | |
| 45 | def chamber (x : Spec S r) (p : Site c) (l : Site M) : TypeFace r → ℂ := fun i => x (p,l,i) |
| 46 | lemma chamber_up (x : Form f r) (p : Site c) (l : Site M) : chamber S (rootC S (drawC f r *ᵥ x)) p l = |
| 47 | signal 1 r (aliasAt (mon p) l) *ᵥ chamber S (rootC S x) p l := by |
| 48 | rw [root_up]; exact funext fun i => gather S (signal 1 r) _ p l i |
| 49 | lemma chamber_down (x : Form f (r+1)) (p : Site c) (l : Site M) : chamber S (rootC S ((drawC f r)ᴴ *ᵥ x)) p l = |
| 50 | (signal 1 r (aliasAt (mon p) l))ᴴ *ᵥ chamber S (rootC S x) p l := by |
| 51 | rw [root_down]; exact funext fun i => gather_back S _ _ _ _ _ |
| 52 | lemma splitPower (x : Form f r) : ell2 x ^ 2 = ((f.val:ℝ)^2)^2 * ∑ p,∑ l, ell2 (chamber S (rootC S x) p l)^2 := by |
| 53 | rw [totalC S x,mul_pow]; congr 1 |
| 54 | rw [square_length, Fintype.sum_prod_type]; refine Finset.sum_congr rfl fun i _ => ?_ |
| 55 | rw [Fintype.sum_prod_type]; simp_rw [square_length]; rfl |
| 56 | lemma top_up {x : Form f r} (h : TopF S x) : TopF S (drawC f r*ᵥ x) := by |
| 57 | intro p i |
| 58 | change chamber S (rootC S (drawC f r *ᵥ x)) p 0 i=0; rw [chamber_up,show chamber S (rootC S x) p 0=0 from funext (h p), mulVec_zero]; rfl |
| 59 | lemma top_down {x : Form f (r+1)} (h : TopF S x) : TopF S ((drawC f r)ᴴ *ᵥ x) := by |
| 60 | intro p i |
| 61 | change chamber S (rootC S ((drawC f r)ᴴ *ᵥ x)) p 0 i=0; rw [chamber_down,show chamber S (rootC S x) p 0=0 from funext (h p), mulVec_zero]; rfl |
| 62 | lemma toe_up {x : Form f r} (h : ToeF S x) : ToeF S (drawC f r *ᵥ x) := by |
| 63 | intro p l hl i |
| 64 | change chamber S (rootC S (drawC f r *ᵥ x)) p l i=0; rw [chamber_up,show chamber S (rootC S x) p l=0 from funext (h p l hl), mulVec_zero]; rfl |
| 65 | |
| 66 | lemma top_left {x y : Form f r} (h : TopF S x) (hh : TopF S y) : TopF S (x-y) := by |
| 67 | intro p i |
| 68 | rw [rootC,Matrix.mulVec_sub,Pi.sub_apply,sub_eq_zero]; exact (h p i).trans (hh p i).symm |
| 69 | |
| 70 | lemma apart {x y : Form f r} (h : TopF S x) (g : ToeF S y) : ell2 (x+y)^2=ell2 x^2+ell2 y^2 := by |
| 71 | rw [splitPower,splitPower,splitPower,← mul_add]; congr 1 |
| 72 | rw [← Finset.sum_add_distrib]; refine Finset.sum_congr rfl fun p _ => ?_ |
| 73 | rw [← Finset.sum_add_distrib]; refine Finset.sum_congr rfl fun l _ => ?_ |
| 74 | rw [show chamber S (rootC S (x+y)) p l=chamber S (rootC S x) p l+chamber S (rootC S y) p l from by unfold rootC; rw [Matrix.mulVec_add]; rfl] |
| 75 | by_cases he : l=0 |
| 76 | · subst l; rw [show chamber S (rootC S x) p 0=0 from funext (h p)]; simp |
| 77 | rw [show chamber S (rootC S y) p l=0 from funext (g p l he)]; simp |
| 78 | lemma growth {x y : Form f r} (h : TopF S x) (g : ToeF S y) : ell2 x ≤ ell2 (x+y) ∧ ell2 y ≤ ell2 (x+y) := by |
| 79 | have he := apart S h g; have ha := ell_nonneg (x+y); constructor <;> nlinarith |
| 80 | lemma split_from (x : Form f r) : ∃ a b : Form f r, TopF S a ∧ ToeF S b ∧ a+b=x := by |
| 81 | let y := rootC S x |
| 82 | let T : Spec S r := fun i => if i.2.1=0 then 0 else y i |
| 83 | let U := fineBook S r |
| 84 | refine ⟨U*ᵥ T,U*ᵥ (y-T),?_,?_,?_⟩ |
| 85 | · intro p i; unfold U; rw [roundH]; exact if_pos rfl |
| 86 | · intro p l hl i; unfold U; rw [roundH,Pi.sub_apply,sub_eq_zero]; exact (if_neg hl).symm |
| 87 | rw [← Matrix.mulVec_add,add_sub_cancel]; exact roundC S x |
| 88 | end rules |
| 89 | |
| 90 | lemma light_top {x : Form f 0} (h : TopF S x) : (lateFee/L)*ell2 x ≤ ell2 (drawC f 0*ᵥ x) := by |
| 91 | apply (sq_le_sq₀ (by apply mul_nonneg (div_nonneg late_pos.le (side_pos S.patch.L).le) (ell_nonneg _)) (ell_nonneg _)).mp |
| 92 | rw [mul_pow, splitPower S,splitPower S, mul_left_comm]; apply mul_le_mul_of_nonneg_left _ (sq_nonneg _) |
| 93 | rw [Finset.mul_sum]; refine Finset.sum_le_sum fun p _ => ?_ |
| 94 | rw [Finset.mul_sum]; refine Finset.sum_le_sum fun l _ => ?_ |
| 95 | by_cases he : l=0 |
| 96 | · subst l; rw [show chamber S (rootC S x) p 0=0 from funext (h p), ell_zero]; simpa using sq_nonneg _ |
| 97 | rw [chamber_up,thermal0]; exact mul_le_mul_of_nonneg_right (cold S p l he) (sq_nonneg _) |
| 98 | lemma toe_one {x : Form f 1} (h : ToeF S x) : ell2 ((drawC f 0)ᴴ *ᵥ x) ≤ earlyFee/L*ell2 x := by |
| 99 | apply (sq_le_sq₀ (ell_nonneg _) (mul_nonneg (div_nonneg early_pos.le (side_pos S.patch.L).le) (ell_nonneg _))).mp |
| 100 | rw [mul_pow,splitPower S,splitPower S, mul_left_comm]; apply mul_le_mul_of_nonneg_left _ (by positivity) |
| 101 | rw [Finset.mul_sum]; refine Finset.sum_le_sum fun p _ => ?_ |
| 102 | rw [Finset.mul_sum]; refine Finset.sum_le_sum fun l _ => ?_ |
| 103 | rw [chamber_down S] |
| 104 | by_cases he : l=0 |
| 105 | · subst l |
| 106 | apply le_trans _ (mul_le_mul_of_nonneg_right (chilly S p) (sq_nonneg _)) |
| 107 | rw [← thermal1]; exact le_add_of_nonneg_left (sq_nonneg _) |
| 108 | rw [show chamber S (rootC S x) p l = 0 from funext (h p l he)]; simp |
| 109 | lemma top_one {x : Form f 1} (h : TopF S x) (H : (drawC f 0)ᴴ *ᵥ x = 0) : |
| 110 | lateFee/L*ell2 x ≤ ell2 (drawC f 1 *ᵥ x) := by |
| 111 | apply (sq_le_sq₀ (mul_nonneg (div_nonneg late_pos.le (side_pos S.patch.L).le) (ell_nonneg _)) (ell_nonneg _)).mp |
| 112 | rw [mul_pow,splitPower S,splitPower S, mul_left_comm]; apply mul_le_mul_of_nonneg_left _ (by positivity) |
| 113 | rw [Finset.mul_sum]; refine Finset.sum_le_sum fun p _ => ?_ |
| 114 | rw [Finset.mul_sum]; refine Finset.sum_le_sum fun l _ => ?_ |
| 115 | rw [chamber_up S] |
| 116 | by_cases he : l=0 |
| 117 | · subst l; rw [show chamber S (rootC S x) p 0=0 from funext (h p)]; simp |
| 118 | apply le_trans (mul_le_mul_of_nonneg_right (show (lateFee/L)^2≤volt (aliasAt (mon p) l) from cold S p l he) (sq_nonneg _)) |
| 119 | rw [← thermal1, ← chamber_down S x, H,show chamber S (rootC S (0:Form f 0)) p l=0 from by unfold rootC; rw [Matrix.mulVec_zero]; rfl]; simp |
| 120 | |
| 121 | lemma top_available {x : Form f 0} (h : TopF S x) : ∃ a,TopF S a ∧ (drawC f 0)ᴴ *ᵥ (drawC f 0 *ᵥ a) = x := by |
| 122 | let K (p : Site c) (l : Site M) := volt (aliasAt (mon p) l) |
| 123 | let w : Spec S 0 := fun i => ((K i.1 i.2.1:ℂ))⁻¹ * rootC S x i |
| 124 | let a := fineBook S 0 *ᵥ w |
| 125 | refine ⟨a,fun p i => by rw [show rootC S a=_ from roundH S w]; simp only [w,h p i,mul_zero],?_⟩ |
| 126 | have he : rootC S ((drawC f 0)ᴴ *ᵥ (drawC f 0 *ᵥ a))=rootC S x := by |
| 127 | funext ⟨p,l,i⟩ |
| 128 | change chamber S (rootC S ((drawC f 0)ᴴ *ᵥ (drawC f 0 *ᵥ a))) p l i=_ |
| 129 | rw [chamber_down,chamber_up,Matrix.mulVec_mulVec,heat0,smul_mulVec,one_mulVec,Pi.smul_apply, |
| 130 | show rootC S a=_ from roundH S w] |
| 131 | change (K p l:ℂ)*((K p l:ℂ)⁻¹ * rootC S x (p,l,i))=_ |
| 132 | by_cases h' : l=0 |
| 133 | · subst l; rw [h]; simp |
| 134 | have hm : 0<K p l := lt_of_lt_of_le (pow_pos (div_pos late_pos (side_pos S.patch.L)) _) (cold S p l h') |
| 135 | exact mul_inv_cancel_left₀ (by exact_mod_cast hm.ne') _ |
| 136 | exact ((roundC S _).symm.trans ((congr_arg (fineBook S 0 *ᵥ ·) he).trans (roundC S x))) |
| 137 | end YM.AnalyticNext.QuarticMatch.Hessian |