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.Push.PRICE_COMPILER.Authors |
| 2 | import YM.UVNext.PRICED_KERNELS.Echo |
| 3 | import YM.UVNext.PRICED_KERNELS.Strolling |
| 4 | |
| 5 | |
| 6 | |
| 7 | set_option warningAsError false |
| 8 | |
| 9 | |
| 10 | set_option linter.unusedSectionVars false |
| 11 | set_option linter.unnecessarySeqFocus false |
| 12 | |
| 13 | /-! |
| 14 | # Pre-L actual tree corrected stationary rows |
| 15 | |
| 16 | Use Annuity at fixed-root, including integralLink |
| 17 | along ANY forest's walk choices. No correction arrays yet. Repaired towers on |
| 18 | Permit, but go even to any periodic test of those at the right ratio. The price |
| 19 | in L^-1 of A0 means can afford BOTH tree hikes and fixRoot against it without |
| 20 | changing width and without unbounded cost in realized output (same within-stage |
| 21 | ask). No payment via decreases of width on each invocation. These are statements |
| 22 | about the actual matrix rows. Orientation & path-lift tags elsewhere; paths are |
| 23 | read HERE literally on the torus step/hike. All per-period claims include tree |
| 24 | angles. Does not license changing any subsequent nonlinear forecasts post-L. |
| 25 | -/ |
| 26 | set_option autoImplicit false |
| 27 | noncomputable section |
| 28 | namespace YM.UVNext.PricedKernels |
| 29 | open Filter Set Function Lattice RG Precision Pressure Laurent Exterior Bloch Matrix Tree |
| 30 | open Push.PriceCompiler |
| 31 | open scoped Topology Matrix.Norms.Frobenius BigOperators |
| 32 | |
| 33 | variable {c f : Side} {S : StepData c f} |
| 34 | |
| 35 | /-- Optional separate geometry check: use parent estimate on all sides. -/ |
| 36 | lemma embed_parent (g : Ratio c f) (x : Site f) : (separation x (g.embed (g.parent x)):ℝ) ≤ g.count.val := by |
| 37 | have hx := Next.Free.scaled_dist g x (g.parent x) |
| 38 | have hL := (show 0<(g.count.val:ℝ) from Nat.cast_pos.mpr g.count.property) |
| 39 | simpa using (div_le_iff₀ hL).mp hx |
| 40 | |
| 41 | section straight |
| 42 | variable (S : StepData c f) (s : ℝ) (hs : 0 ≤ s) |
| 43 | |
| 44 | /-- Factorization of straighten. Use `form` physical index `vac` selectors |
| 45 | actual duplicated for every fine start, storing the hike suppliers and fixRoot. |
| 46 | -/ |
| 47 | def rootAt (g : Ratio c f) : Matrix (Body 0 f) (Body 0 c) ℝ := LinearMap.toMatrix' |
| 48 | (LinearMap.pi fun i : Body 0 f => LinearMap.proj (R:=ℝ) (φ:=fun _ => ℝ) (g.parent i.1,vac)) |
| 49 | |
| 50 | def hiker (F : Forest S.ratio) : Matrix (Body 0 f) (Body 1 f) ℝ := LinearMap.toMatrix' |
| 51 | (LinearMap.pi fun i : Body 0 f => integralLink i.1 (F.hike i.1)) |
| 52 | |
| 53 | lemma factor_tree (F : Forest S.ratio) (A : Matrix (Body 1 f) (Body 1 c) ℝ) : |
| 54 | straighten S F A=(hiker S F-rootAt S.ratio*fixRoot S)*A := by |
| 55 | -- applying to arbitrary v |
| 56 | apply Matrix.toLin'.injective |
| 57 | apply LinearMap.ext; intro v; funext i |
| 58 | change (straighten S F A *ᵥ v) i = (((hiker S F-rootAt S.ratio * fixRoot S)*A)*ᵥ v) i |
| 59 | simp only [books,← Matrix.mulVec_mulVec,Matrix.sub_mulVec, hiker,rootAt,LinearMap.toMatrix'_mulVec]; rfl |
| 60 | |
| 61 | include hs |
| 62 | lemma rootAt_paid : Annuity (site f _) (parent S.ratio _) (rootAt S.ratio) (tollFine S s) (Real.exp s) := by |
| 63 | apply Annuity.earned; intro i v hv |
| 64 | rw [rootAt, LinearMap.toMatrix'_mulVec]; change |v _| ≤ _ |
| 65 | have he := hv (S.ratio.parent i.1,vac) |
| 66 | refine he.trans (Real.exp_monotone ?_) |
| 67 | have hx := embed_parent S.ratio i.1 |
| 68 | let L := (S.patch.L.val:ℝ) |
| 69 | have hL : 0 < L := Nat.cast_pos.mpr S.patch.L.property |
| 70 | calc |
| 71 | _ ≤ s/L*L := mul_le_mul_of_nonneg_left hx (div_nonneg hs hL.le) |
| 72 | _ ≤ s := (div_mul_cancel₀ _ hL.ne').le |
| 73 | |
| 74 | lemma hiker_paid (F : Forest S.ratio) : Annuity (site f _) (site f _) (hiker S F) (tollFine S s) (4*S.patch.L.val*Real.exp (4*s)) := by |
| 75 | let L := (S.patch.L.val:ℝ) |
| 76 | have hL : 0<L := Nat.cast_pos.mpr S.patch.L.property |
| 77 | apply Annuity.earned; intro i v hv |
| 78 | rw [hiker, LinearMap.toMatrix'_mulVec] |
| 79 | have he := walk_receipt (tollFine S s) (div_nonneg hs hL.le) v i.1 hv i.1 (F.hike i.1) |
| 80 | have hh{y : Site f} : ((F.hike y).length:ℝ) ≤ 4*L := by |
| 81 | unfold L; exact_mod_cast (show (F.hike y).length≤4*S.patch.L.val from (F.hike_lower y).trans (F.bound y)) |
| 82 | have hx : tollFine S s*(0+((F.hike i.1).length:ℝ)) ≤ 4*s := by rw [zero_add]; calc |
| 83 | _ ≤ s/L*(4*L) := mul_le_mul_of_nonneg_left hh (div_nonneg hs hL.le) |
| 84 | _ ≤ _ := (show s/L*(4*L)=_ by field_simp).le |
| 85 | refine he.trans (mul_le_mul hh (Real.exp_monotone ?_) (Real.exp_pos _).le (by positivity)) |
| 86 | simpa using hx |
| 87 | |
| 88 | /-- Reserve for gradients; `delta_budget` already at *any* positive |
| 89 | fixed width in Laurent coordinates. -/ |
| 90 | def dC (k : ℕ) (t : ℝ) := Fintype.card (TypeFace k)*(Next.Free.delta_budget k t).choose |
| 91 | omit hs in |
| 92 | lemma dC_nonneg (k : ℕ) (s : ℝ) : 0 ≤ dC k s := by unfold dC; have := (Next.Free.delta_budget k s).choose_spec.1; positivity |
| 93 | |
| 94 | omit hs in |
| 95 | lemma delta_paid (n : Side) (k : ℕ) (s : ℝ) (h : 0 ≤ s) : Annuity (site n _) (site n _) (d k n) s (dC k s) := |
| 96 | Annuity.paid_site ((Next.Free.delta_budget k s).choose_spec.2) h n |
| 97 | lemma delta_fine (k : ℕ) : Annuity (site f _) (site f _) (d k f) (tollFine S s) (dC k s) := by |
| 98 | refine (delta_paid f k s hs).cut ?_ le_rfl |
| 99 | exact div_le_self hs (Nat.one_le_cast.mpr S.patch.L.property) |
| 100 | |
| 101 | |
| 102 | def hikeC (J : ℕ) (s : ℝ) := 4*Real.exp (4*s)+Real.exp s * (2*stepC J s) |
| 103 | omit hs in |
| 104 | lemma hikeC_pos (J : ℕ) (s : ℝ) : 0<hikeC J s := by unfold hikeC; have := stepC_pos J s; positivity |
| 105 | |
| 106 | lemma straight_price (F : Forest S.ratio) (A : Matrix (Body 1 f) (Body 1 c) ℝ) (C : ℝ) (hC : 0 ≤ C) |
| 107 | (he : Annuity (site f _) (parent S.ratio _) A (tollFine S s) (C/S.patch.L.val)) : |
| 108 | Annuity (site f _) (parent S.ratio _) (straighten S F A) (tollFine S s) (hikeC S.patch.J s*C) := by |
| 109 | have hh := stepC_pos S.patch.J s |
| 110 | have hL := (show 0<(S.patch.L.val:ℝ) from Nat.cast_pos.mpr S.patch.L.property) |
| 111 | have ht : 0 ≤ tollFine S s := div_nonneg hs hL.le |
| 112 | rw [factor_tree] |
| 113 | apply (((hiker_paid S s hs F).minus ((rootAt_paid S s hs).times (fix_price S s hs) ht (by positivity))).times he ht |
| 114 | (div_nonneg hC hL.le)).cut le_rfl |
| 115 | unfold hikeC; exact le_of_eq (by field_simp) |
| 116 | lemma extract_price (F : Forest S.ratio) (A : Matrix (Body 1 f) (Body 1 c) ℝ) (C : ℝ) (hC : 0 ≤ C) |
| 117 | (he : Annuity (site f _) (parent S.ratio _) A (tollFine S s) (C/S.patch.L.val)) : |
| 118 | Annuity (site f _) (parent S.ratio _) (extracted S F A) (tollFine S s) ((1+dC 0 s*hikeC S.patch.J s)*C) := by |
| 119 | have hh : 0 ≤ hikeC S.patch.J s*C := mul_nonneg (hikeC_pos ..).le hC |
| 120 | have hl : (1:ℝ) ≤ S.patch.L.val := Nat.one_le_cast.mpr S.patch.L.property |
| 121 | have ht : 0 ≤ tollFine S s := div_nonneg hs (by linarith) |
| 122 | apply ( (he.cut le_rfl (div_le_self hC hl)).plus ((delta_fine S s hs 0).times (straight_price S s hs F A C hC he) ht hh)).cut le_rfl |
| 123 | exact le_of_eq (by ring) |
| 124 | |
| 125 | |
| 126 | end straight |
| 127 | end YM.UVNext.PricedKernels |