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.Windows |
| 2 | import YM.Next.EXTRACTION.Base |
| 3 | import YM.Next.FREE_KERNELS.Priced |
| 4 | import YM.Next.SCHEDULE.Stadium |
| 5 | |
| 6 | /-! |
| 7 | # Windows: before-phase pricing |
| 8 | |
| 9 | At ANY step and *every* formal sector receiving these physical kernel |
| 10 | estimates. Earn width and window ratio from fixed-$L$ affine receipts |
| 11 | before seeing the actual volume and patterns. Uses `Green`'s spectral |
| 12 | estimates and actual principal restrictions, not ignoring the boundary. |
| 13 | Does not claim analyticity in directions here. |
| 14 | -/ |
| 15 | set_option autoImplicit false |
| 16 | noncomputable section |
| 17 | namespace YM.AnalyticNext.ConnectedActivity.Win |
| 18 | open Progress.StationaryScenes Matrix Filter Lattice ResolventVolume |
| 19 | open Green |
| 20 | open scoped Topology BigOperators Matrix.Norms.Frobenius |
| 21 | |
| 22 | structure Promise where |
| 23 | mass : ℝ |
| 24 | bottom : ℝ |
| 25 | alpha : ℝ |
| 26 | types : ℝ |
| 27 | mass_pos : 0<mass |
| 28 | bottom_pos : 0<bottom |
| 29 | alpha_pos : 0<alpha |
| 30 | types_pos : 0<types |
| 31 | |
| 32 | namespace Promise |
| 33 | variable {n : Type*} {c : Side} [Fintype n] [DecidableEq n] (Y : Promise) |
| 34 | |
| 35 | /-- Hypothesis on the *selected affine precision*, not sector charges. -/ |
| 36 | def Served (A : Matrix n n ℝ) (d : n → Site c) : Prop := |
| 37 | A.IsHermitian ∧ Bottom A Y.bottom ∧ governs d Y.types ∧ Both d d A Y.alpha Y.mass Y.mass |
| 38 | |
| 39 | def flows (A : Matrix n n ℝ) (t : ℝ) := graph 1 (A-1) t |
| 40 | |
| 41 | omit [Fintype n] in |
| 42 | private lemma flow_pick (A : Matrix n n ℝ) (t : ℝ) : flows A t = t • A + (1-t) • 1 := by |
| 43 | unfold flows graph; rw [smul_sub,sub_smul,one_smul]; abel |
| 44 | |
| 45 | lemma flow_income (A : Matrix n n ℝ) (d : n → Site c) (h : Y.Served A d) (t : ℝ) (ht : t∈Set.Icc (0:ℝ) 1) : |
| 46 | let F := flows A t; let r := min Y.bottom 1 |
| 47 | F.IsHermitian ∧ Both d d F Y.alpha (Y.mass+2) (Y.mass+2) ∧ Bottom F r := by |
| 48 | intro F r |
| 49 | have he := ht.1; have hq := ht.2; have hw := sub_nonneg.mpr hq |
| 50 | have hu := (plusBoth h.2.2.2 (negBoth (identities d Y.alpha))) |
| 51 | rw [← sub_eq_add_neg A 1] at hu |
| 52 | refine ⟨?_, ?_, ?_⟩ |
| 53 | · |
| 54 | dsimp only [F]; rw [flow_pick,Matrix.IsHermitian, conjTranspose_add,conjTranspose_smul,conjTranspose_smul,h.1.eq] |
| 55 | simp |
| 56 | · have H := plusBoth (identities d Y.alpha) (smulBoth hu t) |
| 57 | have hb : 1 + |t| * (Y.mass+1) ≤ Y.mass+2 := by |
| 58 | rw [abs_of_nonneg he]; have hY := Y.mass_pos |
| 59 | linarith [mul_le_of_le_one_left (show 0≤Y.mass+1 by linarith) hq] |
| 60 | exact monoBoth H le_rfl hb hb |
| 61 | intro x |
| 62 | have hu := Centered.dot_nonneg x |
| 63 | have hA : r*dotProduct x x ≤ dotProduct x (A *ᵥ x) := |
| 64 | (mul_le_mul_of_nonneg_right (min_le_left ..) hu).trans (h.2.1 x) |
| 65 | have hI : r*dotProduct x x ≤ dotProduct x x := mul_le_of_le_one_left hu (min_le_right ..) |
| 66 | dsimp only [F]; rw [flow_pick, Matrix.add_mulVec, Matrix.smul_mulVec, Matrix.smul_mulVec, Matrix.one_mulVec, dotProduct_add, |
| 67 | dotProduct_smul, dotProduct_smul,smul_eq_mul,smul_eq_mul] |
| 68 | linarith [mul_le_mul_of_nonneg_left hA he,mul_le_mul_of_nonneg_left hI hw] |
| 69 | |
| 70 | /-- Prices needed even for later-continuum headers on these entries. -/ |
| 71 | structure Turns where |
| 72 | expense : ℝ |
| 73 | exp_width : ℝ |
| 74 | win : ℝ |
| 75 | base : ℝ |
| 76 | z : ℝ |
| 77 | foot : ℝ |
| 78 | bought : 0 < expense |
| 79 | wide : 0 < exp_width |
| 80 | wins : 0 < win |
| 81 | holds : 0 < base |
| 82 | carries : 0 < z |
| 83 | feet : 0 < foot |
| 84 | |
| 85 | namespace Turns |
| 86 | |
| 87 | def pace (B : Turns) (R : ℕ) := B.expense * Real.exp (-B.win*R) |
| 88 | |
| 89 | lemma pace_pos (B : Turns) (R : ℕ) : 0 < B.pace R := mul_pos B.bought (Real.exp_pos _) |
| 90 | |
| 91 | structure Takes (B : Turns) (P : Windows n) (A : Matrix n n ℝ) (d : n → Site c) (R : ℕ) : Prop where |
| 92 | greens t : t ∈ Set.Icc (0:ℝ) 1 → |
| 93 | let F := flows A t; let s := B.pace R; let e := B.exp_width |
| 94 | Both d d F⁻¹ e B.base B.base ∧ Both d d (P.within F) e B.base B.base ∧ |
| 95 | Both d d (P.error F) e s s ∧ Both d d (P.within F-F⁻¹) e s s |
| 96 | ascent : |
| 97 | let s := B.pace R; let e := B.exp_width |
| 98 | Both d d (P.cov A) e B.base B.base ∧ Both d d (P.cov A-A⁻¹) e s s ∧ |
| 99 | Both d d (P.untuned A) e s s |
| 100 | precision : |
| 101 | Bottom (P.cov A) B.foot ∧ Bottom (P.cov A)⁻¹ B.z |
| 102 | end Turns |
| 103 | |
| 104 | open Windows Turns |
| 105 | |
| 106 | lemma receive (Y : Promise) : ∃ B : Turns, B.exp_width ≤ Y.alpha ∧ |
| 107 | ∀ᶠ R : ℕ in atTop, pace B R < 1 ∧ |
| 108 | ∀ (c : Side) (n : Type) [Fintype n] [DecidableEq n] (d : n → Site c), |
| 109 | ∀ (P : Windows n), P.Room d R → ∀ A : Matrix n n ℝ, Y.Served A d → B.Takes P A d R := by |
| 110 | let r := min Y.bottom 1 |
| 111 | let V := Y.mass+2 |
| 112 | let θ := min 1 (r/(2*V)) |
| 113 | have hm := Y.mass_pos |
| 114 | have hr : 0<r := lt_min Y.bottom_pos zero_lt_one |
| 115 | have hV : 0<V := by unfold V; linarith |
| 116 | have hy : 0<θ := lt_min zero_lt_one (by positivity) |
| 117 | have hw : θ ≤ 1 := min_le_left .. |
| 118 | have hh : θ*V ≤ r/2 := calc |
| 119 | _ ≤ r/(2*V)*V := mul_le_mul_of_nonneg_right (min_le_right ..) hV.le |
| 120 | _ = _ := by field_simp |
| 121 | let ν := θ*Y.alpha/2; let μ := ν/2 |
| 122 | have hn : 0<ν := half_pos (mul_pos hy Y.alpha_pos) |
| 123 | have hU : 0<μ := half_pos hn |
| 124 | have hp : μ < ν := half_lt_self hn |
| 125 | have hx : ν < θ*Y.alpha := half_lt_self (mul_pos hy Y.alpha_pos) |
| 126 | let D := planePrice Y.types (θ*Y.alpha-ν)*(min 1 (r/2))⁻¹ |
| 127 | have hD : 0 ≤ D := mul_nonneg (planePrice_nn Y.types_pos.le (sub_pos.mpr hx)) |
| 128 | (inv_nonneg.mpr ((lt_min zero_lt_one (half_pos hr)).le)) |
| 129 | let w := ν-μ |
| 130 | let E := V*D+1 |
| 131 | let k := Y.mass⁻¹/2 |
| 132 | let z := (D+1)⁻¹ |
| 133 | have he : 0<w := sub_pos.mpr hp |
| 134 | have hE : 0<E := by unfold E; positivity |
| 135 | have hk : 0<k := by unfold k; positivity |
| 136 | have hz : 0<z := by unfold z; positivity |
| 137 | let G := E * (1+D+Y.mass*D) |
| 138 | let B : Turns := ⟨G,μ,w,D+1,z,k,by unfold G; positivity,hU,he,by positivity,hz,hk⟩ |
| 139 | have ht : μ ≤ Y.alpha := hp.le.trans (hx.le.trans (mul_le_of_le_one_left Y.alpha_pos.le hw)) |
| 140 | have hd : D ≤ D+1 := le_add_of_nonneg_right (by norm_num) |
| 141 | let s (R : ℕ) := Real.exp (-w*R)*E |
| 142 | have hs (R : ℕ) : 0 ≤ s R := mul_nonneg (Real.exp_pos _).le hE.le |
| 143 | have hW : Tendsto (fun R : ℕ => Real.exp (-w*R)) atTop (𝓝 0) := by |
| 144 | have h : Real.exp (-w)<1 := Real.exp_lt_one_iff.mpr (by linarith) |
| 145 | simpa only [← Real.exp_nat_mul, mul_comm (-w)] using |
| 146 | tendsto_pow_atTop_nhds_zero_of_lt_one (Real.exp_pos (-w)).le h |
| 147 | have h1 : Tendsto B.pace atTop (𝓝 0) := by |
| 148 | change Tendsto (fun R : ℕ => G * Real.exp (-w*R)) _ _; simpa only [mul_zero] using hW.const_mul G |
| 149 | have h2 : Tendsto (fun R => D * s R) atTop (𝓝 0) := by |
| 150 | simpa only [s,mul_zero,zero_mul] using |
| 151 | (hW.mul_const E).const_mul D |
| 152 | refine ⟨B,ht, ?_⟩ |
| 153 | filter_upwards [h1.eventually (gt_mem_nhds zero_lt_one), h2.eventually (gt_mem_nhds hk)] with R hR hp' |
| 154 | refine ⟨hR,fun c n _ _ d P hP A hA => ?_⟩ |
| 155 | have ht (t : ℝ) (ht : t ∈ Set.Icc (0:ℝ) 1) : let F := flows A t |
| 156 | Both d d F⁻¹ μ D D ∧ Both d d (P.within F) μ D D ∧ Both d d (P.error F) μ (s R) (s R) ∧ |
| 157 | Both d d (P.within F-F⁻¹) μ (D*s R) (D*s R) := by |
| 158 | intro F |
| 159 | obtain ⟨h1,h2,h3⟩ := flow_income Y A d hA t ht |
| 160 | exact P.window_price d F Y.alpha_pos hy hw hh hr hx hA.2.2.1 Y.types_pos.le hU.le hp R hP hV.le |
| 161 | h2 h1 h3 |
| 162 | have hl : s R ≤ B.pace R ∧ D*s R ≤ B.pace R ∧ Y.mass*(D*s R) ≤ B.pace R := by |
| 163 | have hf : B.pace R = (1+D+Y.mass*D)*s R := by unfold pace B G s; ring |
| 164 | rw [hf]; have hs := hs R; have hc := mul_nonneg hm.le hD |
| 165 | refine ⟨le_mul_of_one_le_left hs (by linarith),mul_le_mul_of_nonneg_right (by linarith) hs, |
| 166 | by rw [← mul_assoc]; apply mul_le_mul_of_nonneg_right (by linarith) hs⟩ |
| 167 | obtain ⟨i1,i2,i3,i4⟩ := ht 1 ⟨zero_le_one,le_rfl⟩ |
| 168 | rw [show flows A 1 = A by rw [flow_pick]; simp] at i1 i2 i3 i4 |
| 169 | have hm' : μ ≤ Y.alpha := hp.le.trans (hx.le.trans (mul_le_of_le_one_left Y.alpha_pos.le hw)) |
| 170 | have hv := Centered.symmetric_bottom Y.bottom_pos hA.2.1 hA.1 |
| 171 | obtain ⟨c1,c2,c3⟩ := P.covariance_price d A hv hA.2.2.2 hm.le hU.le hm' i2 (mul_nonneg hD (hs R)) i4 |
| 172 | have ha' := monoBoth c1 le_rfl hd hd |
| 173 | refine ⟨fun t H => ?_, ⟨ha',monoBoth c2 le_rfl hl.2.1 hl.2.1,monoBoth c3 le_rfl hl.2.2 hl.2.2⟩,?_⟩ |
| 174 | · obtain ⟨h1,h2,h3,h4⟩ := ht _ H |
| 175 | exact ⟨monoBoth h1 le_rfl hd hd,monoBoth h2 le_rfl hd hd, |
| 176 | monoBoth h3 le_rfl hl.1 hl.1,monoBoth h4 le_rfl hl.2.1 hl.2.1⟩ |
| 177 | exact P.covariance_floor d A hv hA.2.2.2 hm hU.le hm' ha' B.holds c2 |
| 178 | (show D*s R < k from hp').le |
| 179 | end Promise |
| 180 | end YM.AnalyticNext.ConnectedActivity.Win |