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.Grade |
| 2 | import YM.AnalyticNext.QUARTIC_MATCH.Hessian.Real |
| 3 | import YM.Next.FREE_KERNELS.Amend |
| 4 | |
| 5 | /-! |
| 6 | # Pre-L twist of the completed operator |
| 7 | |
| 8 | Here ordinary real exponential weights on real centered joint Hessian with div-gauge |
| 9 | penalty. Keep the tilted argument of the rough variation as-is, bill quantitative |
| 10 | invertibility on the H¹ norm with its mass term. No determinant or loop expansion. |
| 11 | -/ |
| 12 | set_option autoImplicit false |
| 13 | noncomputable section |
| 14 | namespace YM.AnalyticNext.QuarticMatch.Hessian |
| 15 | open Filter Function Lattice Laurent Bloch Exterior Matrix Precision RG Work.F06 |
| 16 | open Pre.Centered YM.Next.Free YM.Progress.StationaryScenes Wilson |
| 17 | open scoped Topology Matrix.Norms.Frobenius ContDiff BigOperators ComplexConjugate InnerProductSpace |
| 18 | namespace Tracks |
| 19 | open Green (Rows Both wt) |
| 20 | variable {c f : Side} (S : StepData c f) |
| 21 | local notation "L" => (S.patch.L.val:ℝ) |
| 22 | local notation "D" => d 1 f |
| 23 | local notation "d₀" => d 0 f |
| 24 | local notation "d'" => d 0 c |
| 25 | local notation "Y" => form 1 f |
| 26 | local notation "A" => form 0 f |
| 27 | local notation "V" => form 0 c |
| 28 | local notation "M" => Precision.mean S |
| 29 | local notation "j" => S.patch.J |
| 30 | local notation "k" => S.kernel.penalty |
| 31 | |
| 32 | abbrev feeF {r : ℕ} (t : ℝ) (z : Site f) (a : form r f) := hood Prod.fst (t/L) z a |
| 33 | abbrev feeC {r : ℕ} (t : ℝ) (z : Site f) (a : form r c) := hood (locator S) (t/L) z a |
| 34 | |
| 35 | lemma closedSign (t : ℝ) (z : Site f) {r : ℕ} (a : form r f) : feeF S t z (feeF S (-t) z a)=a := by unfold feeF; rw [neg_div]; exact hood_switch .. |
| 36 | |
| 37 | lemma signed_dot (t : ℝ) (z : Site f) {r : ℕ} (a b : form r f) : dotProduct (feeF S t z a) (feeF S (-t) z b)=dotProduct a b := by unfold feeF; rw [neg_div,hood_dot] |
| 38 | lemma box_dot (t : ℝ) (z : Site f) {r : ℕ} (a b : form r c) : dotProduct (feeC S t z a) (feeC S (-t) z b)=dotProduct a b := by unfold feeC; rw [neg_div,hood_dot] |
| 39 | lemma fine_bill (t : ℝ) (z : Site f) {r : ℕ} (a b : form r f) (K : ℝ) : |
| 40 | feeF S t z (a+K • b)=feeF S t z a+K • feeF S t z b := by funext i; simp [feeF,hood,mul_add,mul_left_comm] |
| 41 | lemma coarse_bill (t : ℝ) (z : Site f) {r : ℕ} (a b : form r c) : |
| 42 | feeC S t z (a-b)=feeC S t z a-feeC S t z b := by funext i; simp [feeC,hood,mul_sub] |
| 43 | |
| 44 | section fixed |
| 45 | variable {t η r : ℝ} (he : 0 < η) (hr : 0 ≤ r) (ht : |t| ≤ r*η) (hp : r ≤ 1) |
| 46 | include he hr ht hp |
| 47 | |
| 48 | lemma on_fine {l m} (H : Matrix (Body l f) (Body m f) ℝ) (K : ℝ) (hk : 0 ≤ K) |
| 49 | (h : Both Prod.fst Prod.fst H η K K) (z : Site f) (x : form m f) : |
| 50 | ell2 (feeF S t z (H *ᵥ feeF S (-t) z x)-H*ᵥ x) ≤ (r/L*K) * ell2 x := by |
| 51 | have hu : |t/L| ≤ (r/L)*η := by rw [abs_div, abs_of_pos (side_pos S.patch.L),div_mul_eq_mul_div]; gcongr |
| 52 | unfold feeF; rw [neg_div,hit] |
| 53 | exact shaded _ _ _ he.le (div_nonneg hr (side_pos S.patch.L).le) hu ((div_le_self hr (by exact_mod_cast S.patch.L.property)).trans hp) h (le_of_eq (pow_two _).symm) hk hk _ _ |
| 54 | lemma digit (z : Site f) (x : Y) (v : V) : |
| 55 | ell2 (feeF S t z (D*ᵥ feeF S (-t) z x)-D*ᵥ x) ≤ r*dc 1 η*gain S x v := by |
| 56 | obtain ⟨hx,hh⟩ := both_axis 1 f he.le |
| 57 | apply (on_fine S he hr ht hp D _ (dc_pos 1 η).le ⟨hx,hh⟩ z x).trans |
| 58 | rw [show r/L*dc 1 η*ell2 x = r*dc 1 η*(ell2 x/L) by ring] |
| 59 | refine mul_le_mul_of_nonneg_left ?_ (mul_nonneg hr (dc_pos _ _).le) |
| 60 | unfold gain; linarith [ell_nonneg v,ell_nonneg (D*ᵥ x),ell_nonneg ((d 0 f).transpose *ᵥ x)] |
| 61 | lemma shaft (z : Site f) (x : Y) (v : V) : |
| 62 | ell2 (feeF S t z ((d 0 f).transpose *ᵥ feeF S (-t) z x)-(d 0 f).transpose *ᵥ x) ≤ r*dc 0 η*gain S x v := by |
| 63 | obtain ⟨hx,hh⟩ := both_axis 0 f he.le |
| 64 | apply (on_fine S he hr ht hp (d 0 f).transpose _ (dc_pos 0 η).le ⟨hh,by rw [transpose_transpose]; exact hx⟩ z x).trans |
| 65 | rw [show r/L*dc 0 η*ell2 x = r*dc 0 η*(ell2 x/L) by ring] |
| 66 | refine mul_le_mul_of_nonneg_left ?_ (mul_nonneg hr (dc_pos _ _).le) |
| 67 | unfold gain; linarith [ell_nonneg v,ell_nonneg (D*ᵥ x),ell_nonneg ((d 0 f).transpose *ᵥ x)] |
| 68 | |
| 69 | lemma fiat (z : Site f) (x : Y) : |
| 70 | ell2 (feeC S t z (M *ᵥ feeF S (-t) z x)-M*ᵥ x) ≤ r*(tagPrice j η/L)*ell2 x := by |
| 71 | let T := tagPrice j η; let H := side_pos S.patch.L; let ht' := tp_pos j η |
| 72 | unfold feeC feeF |
| 73 | rw [neg_div,hit]; apply shaded _ _ _ (div_nonneg he.le H.le) hr ?_ hp (mean_price S he.le) |
| 74 | · apply le_of_eq; field_simp |
| 75 | · exact mul_nonneg ht'.le H.le |
| 76 | · exact div_nonneg ht'.le H.le |
| 77 | rw [abs_div,abs_of_pos H,← mul_div_assoc]; exact div_le_div_of_nonneg_right ht H.le |
| 78 | |
| 79 | lemma await (z : Site f) (x : V) : |
| 80 | ell2 (feeC S t z (d'*ᵥ feeC S (-t) z x)-d'*ᵥ x) ≤ r*dc 0 η*ell2 x := by |
| 81 | have H := side_pos S.patch.L |
| 82 | unfold feeC |
| 83 | rw [neg_div,hit]; apply shaded _ _ _ (div_nonneg he.le H.le) hr ?_ hp (both_coarse S 0 he.le) (by rw [pow_two]) (dc_pos _ _).le (dc_pos _ _).le |
| 84 | rw [abs_div,abs_of_pos H,← mul_div_assoc]; exact div_le_div_of_nonneg_right ht H.le |
| 85 | |
| 86 | lemma arrival (z : Site f) (x : V) : |
| 87 | ell2 (feeF S t z ((palette S).transpose*ᵥfeeC S (-t) z x)-(palette S).transpose*ᵥ x) ≤ |
| 88 | r*(tagPrice j η/L^2)*ell2 x := by |
| 89 | have hx := palette_price S he.le; have H := side_pos S.patch.L; have ht' := tp_pos j η |
| 90 | unfold feeC feeF; rw [neg_div,hit]; apply shaded _ _ _ (div_nonneg he.le H.le) hr ?_ hp ⟨hx.2, by rw [transpose_transpose]; exact hx.1⟩ |
| 91 | · apply le_of_eq; field_simp |
| 92 | · exact mul_nonneg ht'.le (by positivity) |
| 93 | · exact div_nonneg ht'.le (by positivity) |
| 94 | rw [abs_div,abs_of_pos H,← mul_div_assoc]; exact div_le_div_of_nonneg_right ht H.le |
| 95 | |
| 96 | def service (i : ℕ) (u : ℝ) := tagPrice i u+dc 0 u |
| 97 | lemma cloud (z : Site f) (x : Y) (v : V) : |
| 98 | ell2 (feeC S t z (M*ᵥ feeF S (-t) z x-d'*ᵥ feeC S (-t) z v)-(M*ᵥ x-d'*ᵥ v)) ≤ r*service j η * gain S x v := by |
| 99 | have H := side_pos S.patch.L; have ht' := tp_pos j η; have hu := dc_pos 0 η |
| 100 | rw [coarse_bill S,sub_sub_sub_comm] |
| 101 | apply ((ell_sub ..).trans (add_le_add (fiat S he hr ht hp z x) (await S he hr ht hp z v))).trans |
| 102 | have ha := positive_gain S x v |
| 103 | unfold service; rw [mul_add,add_mul]; apply add_le_add |
| 104 | · rw [show r*(tagPrice j η/L)*ell2 x=r*tagPrice j η*(ell2 x/L) by ring]; apply mul_le_mul_of_nonneg_left _ (by positivity) |
| 105 | unfold gain; linarith [ell_nonneg v,ell_nonneg (D*ᵥ x),ell_nonneg ((d 0 f).transpose *ᵥ x)] |
| 106 | apply mul_le_mul_of_nonneg_left _ (by positivity); unfold gain |
| 107 | linarith [div_nonneg (ell_nonneg x) H.le,ell_nonneg (D*ᵥ x),ell_nonneg ((d 0 f).transpose *ᵥ x)] |
| 108 | |
| 109 | lemma clip (z : Site f) (x : Y) (v : V) : |
| 110 | ell2 (feeF S t z (tariff S (feeF S (-t) z x) (feeC S (-t) z v))-tariff S x v) ≤ r*service j η * gain S x v := by |
| 111 | have H := side_pos S.patch.L |
| 112 | have hs := tp_pos j η |
| 113 | rw [tariff,tariff,fine_bill,add_sub_add_comm,← smul_sub] |
| 114 | apply (ell_tri ..).trans; rw [ell_smul,Real.norm_of_nonneg (sq_nonneg _)] |
| 115 | apply (add_le_add (shaft S he hr ht hp z x v) ((mul_le_mul_of_nonneg_left (arrival S he hr ht hp z v) (sq_nonneg L)))).trans |
| 116 | unfold service |
| 117 | rw [show (L^2)*(r*(tagPrice j η/L^2)*ell2 v) = r*tagPrice j η*ell2 v by field_simp] |
| 118 | rw [add_comm (tagPrice j η),mul_add,add_mul]; apply add_le_add le_rfl; apply mul_le_mul_of_nonneg_left _ (by positivity); |
| 119 | unfold gain; linarith [ell_nonneg (D*ᵥ x),ell_nonneg ((d 0 f).transpose *ᵥ x),div_nonneg (ell_nonneg x) H.le] |
| 120 | end fixed |
| 121 | |
| 122 | lemma fare_clip {η : ℝ} (he : 0 ≤ η) (x : Y) (v : V) : ell2 (M*ᵥ x-d'*ᵥ v) ≤ (1+dc 0 η)*gain S x v := by |
| 123 | have hv : ell2 (d'*ᵥ v) ≤ dc 0 η * ell2 v := original _ _ _ he (both_axis 0 c he) (le_of_eq (pow_two _).symm) (dc_pos _ _).le (dc_pos _ _).le v |
| 124 | have hx : ell2 (M*ᵥ x) ≤ ell2 x/L := by |
| 125 | rw [← offer_ell,offer_mat,← offer_ell x]; exact (fraction ..).trans_eq (inv_mul_eq_div ..) |
| 126 | apply ((ell_sub ..).trans (add_le_add hx hv)).trans |
| 127 | have h := dc_pos 0 η |
| 128 | have ht := ell_nonneg (D*ᵥ x) |
| 129 | have hu := ell_nonneg ((d 0 f).transpose *ᵥ x) |
| 130 | rw [add_mul,one_mul]; apply add_le_add |
| 131 | · unfold gain; linarith [ell_nonneg v] |
| 132 | apply mul_le_mul_of_nonneg_left _ h.le; unfold gain; linarith [div_nonneg (ell_nonneg x) (side_pos S.patch.L).le] |
| 133 | |
| 134 | section fc |
| 135 | variable {ι : Type*} [Fintype ι] |
| 136 | def repair (K C : ℝ) := K*C+(K+C)*K |
| 137 | lemma pair_off (a b x : ι→ℝ) {r K C l : ℝ} (hp : 0 ≤ r) (hu : r ≤ 1) (he : 0 ≤ K) (hc : 0 ≤ C) (hL : 0 ≤ l) |
| 138 | (ha : ell2 (a-x) ≤ r*K*l) (hb : ell2 (b-x) ≤ r*K*l) (hh : ell2 x ≤ C*l) : |
| 139 | |dotProduct a b-dotProduct x x| ≤ r*repair K C*l^2 := by |
| 140 | have ht := ((ell_tri (b-x) x).trans (add_le_add hb hh)); rw [sub_add_cancel] at ht |
| 141 | rw [show _-_ = dotProduct (a-x) b+dotProduct x (b-x) from by rw [sub_dotProduct, dotProduct_sub]; ring] |
| 142 | refine (abs_add_le ..).trans (((add_le_add (norm_real_area ..) (norm_real_area ..)).trans |
| 143 | (add_le_add (mul_le_mul ha (ht.trans (add_le_add (show r*K*l≤K*l from |
| 144 | mul_le_mul_of_nonneg_right (mul_le_of_le_one_left he hu) hL) le_rfl)) (ell_nonneg _) (by positivity)) |
| 145 | (mul_le_mul hh hb (ell_nonneg _) (mul_nonneg hc hL)))).trans_eq (by unfold repair; ring)) |
| 146 | |
| 147 | |
| 148 | def rectify (K C : ℝ) := (1+K)*(1+K)*C+K*C*(1+K)+C*K |
| 149 | lemma unpair (x y v : ι→ℝ) (H Q : Matrix ι ι ℝ) {r K C l : ℝ} (hp : 0 ≤ r) (hu : r ≤ 1) |
| 150 | (he : 0 ≤ K) (hc : 0 ≤ C) (hL : 0 ≤ l) (h : ∀ x, ell2 (H *ᵥ x) ≤ C*ell2 x) |
| 151 | (hQ : ∀ x, ell2 (Q *ᵥ x-H*ᵥ x) ≤ r*C*ell2 x) |
| 152 | (ha : ell2 (x-v) ≤ r*K*l) (hb : ell2 (y-v) ≤ r*K*l) (hh : ell2 v ≤ l) : |
| 153 | |dotProduct x (Q*ᵥ y)-dotProduct v (H*ᵥ v)| ≤ r*rectify K C*l^2 := by |
| 154 | have hi a (ha : ell2 (a-v) ≤ r*K*l) : ell2 a ≤ (1+K)*l := by |
| 155 | have hv := ((ell_tri (a-v) v).trans (add_le_add ha hh)); rw [sub_add_cancel] at hv |
| 156 | exact hv.trans ((add_le_add (mul_le_mul_of_nonneg_right (mul_le_of_le_one_left he hu) hL) le_rfl).trans_eq (by ring)) |
| 157 | rw [show _-_ = dotProduct x (Q*ᵥ y-H*ᵥ y)+dotProduct (x-v) (H*ᵥ y) + dotProduct v (H*ᵥ (y-v)) from by |
| 158 | rw [Matrix.mulVec_sub,sub_dotProduct,dotProduct_sub,dotProduct_sub]; ring] |
| 159 | apply ((abs_add_le ..).trans (add_le_add (abs_add_le ..) le_rfl)).trans |
| 160 | apply (add_le_add |
| 161 | (add_le_add ((norm_real_area ..).trans (mul_le_mul (hi x ha) ((hQ y).trans |
| 162 | (mul_le_mul_of_nonneg_left (hi y hb) (by positivity))) (ell_nonneg _) (by positivity))) ((norm_real_area ..).trans |
| 163 | (mul_le_mul ha ((h y).trans (mul_le_mul_of_nonneg_left (hi y hb) hc)) (ell_nonneg _) (by positivity)))) |
| 164 | ((norm_real_area ..).trans (mul_le_mul hh ((h _).trans (mul_le_mul_of_nonneg_left hb hc)) (ell_nonneg _) hL))).trans_eq |
| 165 | unfold rectify; ring |
| 166 | end fc |
| 167 | |
| 168 | end Tracks |
| 169 | end YM.AnalyticNext.QuarticMatch.Hessian |