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.Birthday |
| 2 | import YM.Source.ODE |
| 3 | |
| 4 | /-! |
| 5 | # Exact determinant expenses as scalar letters (before placement) |
| 6 | |
| 7 | On the actual windows. `local` letters compare those of `A_flat` |
| 8 | with those of `A` (other obligations from locality/entry hypotheses). |
| 9 | Flow marks based on `[0,1]` integral trick, valid even in the nonsymmetric |
| 10 | matrix used in the `C` log. Everything retained at the SAME finite torus. |
| 11 | Here estimates/summability per degree; before turning them into vertices |
| 12 | add footprints, at all path/variant orders, use the other estimates. |
| 13 | Volume multiplies a first sum over all anchors; never pretend this is a |
| 14 | single-root bound. |
| 15 | -/ |
| 16 | set_option autoImplicit false |
| 17 | noncomputable section |
| 18 | namespace YM.AnalyticNext.ConnectedActivity.Win |
| 19 | open Promise MeasureTheory Filter Matrix ResolventVolume Progress.StationaryScenes |
| 20 | open Green |
| 21 | open scoped Topology BigOperators Matrix.Norms.Frobenius |
| 22 | variable {c : Lattice.Side} {n : Type*} [Fintype n] [DecidableEq n] {d : n → Lattice.Site c} |
| 23 | |
| 24 | section pays |
| 25 | variable {A : Matrix n n ℝ} {η C : ℝ} (hh : Both d d A η C C) (hη : 0≤η) |
| 26 | |
| 27 | include hη hh in |
| 28 | lemma powersBoth (j : ℕ) (hC : 0≤C) : Both d d (A^j) η (C^j) (C^j) := by |
| 29 | induction j with |
| 30 | | zero => simpa using identities d η |
| 31 | | succ j ih => simp only [pow_succ]; exact timesBoth hη ih hh hC (by positivity) |
| 32 | |
| 33 | omit [DecidableEq n] in |
| 34 | include hh in |
| 35 | lemma trace_bill : |Matrix.trace A| ≤ (Fintype.card n:ℝ)*C := by |
| 36 | unfold Matrix.trace |
| 37 | calc |
| 38 | _ ≤ ∑ i, |A i i| := Finset.abs_sum_le_sum_abs .. |
| 39 | _ ≤ ∑ _ : n,C := Finset.sum_le_sum fun i _ => by simpa [wt] using row_entry hh.1 i i |
| 40 | _ = _ := by simp |
| 41 | |
| 42 | include hη hh in |
| 43 | lemma norm_bill (hC : 0 ≤ C) : ‖A‖ ≤ Fintype.card n * C := by |
| 44 | have hv i j : ‖A i j‖≤C := by |
| 45 | simpa only [wt, zero_mul,Real.exp_zero, one_mul, Real.norm_eq_abs] using |
| 46 | row_entry (monoBoth hh hη le_rfl le_rfl).1 i j |
| 47 | have ht : (∑ i, ∑ j, ‖A i j‖ ^ 2) ≤ (Fintype.card n * C)^2 := calc |
| 48 | _ ≤ ∑ _i : n, ∑ _j : n, C^2 := by |
| 49 | exact Finset.sum_le_sum fun i _ => Finset.sum_le_sum fun j _ => pow_le_pow_left₀ (norm_nonneg _) (hv i j) _ |
| 50 | _ = _ := by simp; ring |
| 51 | rw [Matrix.frobenius_norm_def, ← Real.sqrt_eq_rpow] |
| 52 | simp_rw [Real.rpow_two] |
| 53 | exact (Real.sqrt_le_sqrt ht).trans_eq (Real.sqrt_sq (by positivity)) |
| 54 | |
| 55 | include hη hh in |
| 56 | /-- Schur, not Frobenius, below one. -/ |
| 57 | lemma columns_sum (hC : 0 ≤ C) (ht : C < 1) : |
| 58 | (1-A).det≠0 ∧ HasSum (fun j : ℕ => A^j) (1-A)⁻¹ := by |
| 59 | have hs : Summable (fun j : ℕ => A^j) := Summable.of_norm_bounded |
| 60 | ((summable_geometric_of_lt_one hC ht).mul_left (Fintype.card n:ℝ)) |
| 61 | fun i => norm_bill (d:=d) (powersBoth hh hη i hC) hη (by positivity) |
| 62 | let X := ∑' j : ℕ,A^j |
| 63 | have he : X * (1 - A) = 1 := by |
| 64 | have hv := hs.hasSum.tendsto_sum_nat.mul_const (1-A) |
| 65 | simp only [geom_sum_mul_neg] at hv |
| 66 | have hg := (tendsto_const_nhds (x:=1)).sub hs.tendsto_atTop_zero |
| 67 | rw [sub_zero] at hg |
| 68 | exact tendsto_nhds_unique hv hg |
| 69 | constructor |
| 70 | · have hk : det X * (1-A).det = 1 := by rw [← det_mul,he,det_one] |
| 71 | exact right_ne_zero_of_mul (hk ▸ one_ne_zero) |
| 72 | rw [Matrix.inv_eq_left_inv he]; exact hs.hasSum |
| 73 | end pays |
| 74 | |
| 75 | section interval |
| 76 | |
| 77 | |
| 78 | variable (P : Windows n) |
| 79 | |
| 80 | /-- Degree-j sum for the determinant of selected precision. Use with |
| 81 | `j=0` for one local bill per x. `J(x) Pi_t` order deliberate (reads the |
| 82 | window of x only in local bill). -/ |
| 83 | def ledger (A : Matrix n n ℝ) (j : ℕ) (t : ℝ) := (A-1) * (P.within (flows A t)) * |
| 84 | ((-P.error (flows A t))^j) |
| 85 | |
| 86 | omit [DecidableEq n] in |
| 87 | lemma has_trace {f : ℕ → Matrix n n ℝ} {A} (h : HasSum f A) : |
| 88 | HasSum (fun i => Matrix.trace (f i)) A.trace := by |
| 89 | let X := traceAddMonoidHom n ℝ |
| 90 | exact h.map X (show Continuous (fun a : Matrix n n ℝ => trace a) from continuous_id.matrix_trace) |
| 91 | |
| 92 | |
| 93 | |
| 94 | |
| 95 | |
| 96 | lemma ledger_price {Y : Promise} {A : Matrix n n ℝ} (hA : Y.Served A d) {B : Turns} (he : B.exp_width ≤ Y.alpha) |
| 97 | {R : ℕ} (hP : B.Takes P A d R) (i) (t : ℝ) (ht : t∈Set.Icc (0:ℝ) 1) : |
| 98 | let C := (Y.mass+1)*B.base * B.pace R^i |
| 99 | Both d d (ledger P A i t) B.exp_width C C := by |
| 100 | obtain ⟨-,h1,h2,-⟩ := hP.greens t ht |
| 101 | have hJ := plusBoth hA.2.2.2 (negBoth (identities d Y.alpha)) |
| 102 | rw [← sub_eq_add_neg] at hJ; have hY := Y.mass_pos |
| 103 | have hs := powersBoth (negBoth h2) B.wide.le i (B.pace_pos R).le |
| 104 | refine timesBoth B.wide.le (timesBoth B.wide.le (monoBoth hJ he le_rfl le_rfl) h1 B.holds.le (by positivity)) |
| 105 | hs ?_ (mul_nonneg (by positivity) B.holds.le) |
| 106 | exact pow_nonneg (B.pace_pos R).le _ |
| 107 | |
| 108 | |
| 109 | end interval |
| 110 | |
| 111 | section common |
| 112 | variable (P : Windows n) {B : Turns} {A : Matrix n n ℝ} {R : ℕ} |
| 113 | |
| 114 | |
| 115 | |
| 116 | |
| 117 | |
| 118 | |
| 119 | |
| 120 | |
| 121 | |
| 122 | |
| 123 | |
| 124 | |
| 125 | end common |
| 126 | end YM.AnalyticNext.ConnectedActivity.Win |