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.Extra.WILSON_STARTUP.Design |
| 2 | |
| 3 | /-! |
| 4 | # Compatibility of the top startup prescription |
| 5 | |
| 6 | Top-only producers for RRack/RShape/RLoops. Real matrix conclusions and |
| 7 | actual path and unmasked top jet, including needed through degree 4. |
| 8 | Use the *same* Bed and path in continuation. No production of tower step, |
| 9 | coarse modified metric, price gap or full Directed promised here. |
| 10 | -/ |
| 11 | noncomputable section |
| 12 | set_option autoImplicit false |
| 13 | namespace YM.WilsonStartup.Design |
| 14 | open Matrix Function Filter RG Wilson Lattice Bloch Work Precision Exterior |
| 15 | open scoped Topology Matrix.Norms.Frobenius Classical ContDiff |
| 16 | variable {G : Gauge} (p : Clip) |
| 17 | |
| 18 | def spike (v : ℝ) : Row (TypeFace 2) (TypeFace 2) := fun i j x => if i=j ∧ x=0 then v else 0 |
| 19 | |
| 20 | def bed : Bed := ⟨spike 1,spike 1,spike 1,spike 1,spike (sideRoot p)⟩ |
| 21 | |
| 22 | theorem attached : Attached (bed p) (top G p) := by |
| 23 | refine ⟨fun b q x => ?_⟩ |
| 24 | have e : (bed p).roots (Exterior.plaquette b) (Exterior.plaquette q) x = if b=q ∧ 0=x then sideRoot p else 0 := by simp [bed,spike,plaq_iff,eq_comm] |
| 25 | rw [e] |
| 26 | exact hasSum_single 0 (fun i hi => by simp [top,hi]) |
| 27 | |
| 28 | lemma spike_acts (v : ℝ) (n : Side) : (spike v).acts n = v • 1 := by |
| 29 | ext ⟨x,i⟩ ⟨y,j⟩; simp only [Row.acts, of_apply, Matrix.smul_apply,Matrix.one_apply,smul_eq_mul] |
| 30 | rw [tsum_eq_single 0]; swap |
| 31 | · intro b hb; simp [spike,hb] |
| 32 | by_cases h : x=y |
| 33 | · simp [spike,h,mul_ite] |
| 34 | simp [h,Ne.symm h] |
| 35 | |
| 36 | |
| 37 | lemma spike_read (v : ℝ) (m : Momentum) : (spike v).read m = (v:ℂ) • 1 := by |
| 38 | ext i j; simp only [Row.read, of_apply, Matrix.smul_apply,Matrix.one_apply,smul_eq_mul,Laurent.read] |
| 39 | rw [tsum_eq_single 0]; swap |
| 40 | · intro b hb; simp [spike,hb] |
| 41 | by_cases h : i=j <;> simp [spike,h] |
| 42 | |
| 43 | lemma spike_strip (v : ℝ) (A σ : ℝ) (hv : ‖v‖ ≤ A) : (spike v).strip σ A := by |
| 44 | have he : 0 ≤ A := (norm_nonneg _).trans hv |
| 45 | intro i j |
| 46 | let f := fun b => Real.exp (σ*(Laurent.size b:ℝ))*‖spike v i j b‖ |
| 47 | have hs := hasSum_single 0 (f:=f) (fun b hb => by simp [spike,hb,f]) |
| 48 | refine ⟨fun _ => by positivity,hs.summable,hs.tsum_eq.trans_le ?_⟩ |
| 49 | have h₀ : Laurent.size (0:Cover)=0 := by simp [Laurent.size] |
| 50 | simp only [f,h₀,spike, and_true,Nat.cast_zero, mul_zero,Real.exp_zero,one_mul] |
| 51 | split <;> simpa only [norm_zero] |
| 52 | |
| 53 | theorem covered (hp : p.direct ≤ 1) {σ A : ℝ} (hA : 1 ≤ A) : (bed p).covered σ A := by |
| 54 | have he : ‖sideRoot p‖ ≤ 1 := by rw [Real.norm_of_nonneg (r:=sideRoot p) (Real.sqrt_nonneg _)]; have hs := Real.sq_sqrt (x:=bulk p) (sub_nonneg.mpr hp); unfold bulk at hs; unfold sideRoot bulk; nlinarith [p.quadratic_pos] |
| 55 | have hh := spike_strip 1 A σ (by simpa using hA) |
| 56 | exact ⟨hh,hh,hh, spike_strip _ _ _ (he.trans hA), hh⟩ |
| 57 | |
| 58 | theorem full_root (hp : p.direct ≤ 1) (n : Side) : ((bed p).full p n).transpose*(bed p).full p n=1 := by |
| 59 | ext i j |
| 60 | simp only [Matrix.mul_apply,transpose_apply, Bed.full,bed,spike_acts, Matrix.of_apply,smul_eq_mul, Matrix.smul_apply] |
| 61 | rw [Fintype.sum_prod_type]; simp_rw [Fintype.sum_sum_type]; rw [Finset.sum_add_distrib,← Fintype.sum_prod_type', ← Fintype.sum_prod_type'] |
| 62 | simp only [Sum.elim_inl, Sum.elim_inr,Prod.mk.eta,Matrix.one_apply] |
| 63 | simp only [mul_ite,mul_one,mul_zero,ite_mul,zero_mul,Fintype.sum_ite_eq'] |
| 64 | by_cases he : i=j |
| 65 | · simp [he,← sq,Real.sq_sqrt p.quadratic_pos.le,sideRoot,Real.sq_sqrt (sub_nonneg.mpr hp),bulk] |
| 66 | simp [he,Ne.symm he] |
| 67 | |
| 68 | theorem level (hp : p.direct ≤ 1) (n : Side) {η A : ℝ} (he : η ≤ 1) (ha : 1 ≤ A) : Floor (bed p) p n η A := by |
| 69 | have hn : Numeric (1 : Matrix (Body 2 n) (Body 2 n) ℝ) η A := fun v => by |
| 70 | have h : 0 ≤ dotProduct v v := Finset.sum_nonneg fun i _ => mul_self_nonneg _ |
| 71 | rw [Matrix.one_mulVec]; exact ⟨mul_le_of_le_one_left h he,le_mul_of_one_le_left h ha⟩ |
| 72 | constructor <;> simp [bed,spike_acts,spike_read,hn] |
| 73 | exact full_root p hp n |
| 74 | |
| 75 | theorem bound_arbitrary (G : Gauge) (hp : p.direct ≤ 1) (σ : ℝ) (hσ : 0 < σ) : |
| 76 | ∃ C₀ : ℝ, 0 < C₀ ∧ ∀ C ≥ C₀, ∀ Λ ≥ (0:ℝ), (top G p).Bounds p σ C Λ := by |
| 77 | let d := |sideRoot p| *Real.exp (σ * 4) |
| 78 | let a := ∑ i : PlaqAxes, (extractAtom G i (panel G p)).budget σ |
| 79 | refine ⟨max 1 (max d a), lt_of_lt_of_le one_pos (le_max_left ..),fun C hC Λ hΛ => budgets p hp σ C Λ hσ hΛ ?_ ?_⟩ |
| 80 | · exact (le_trans (le_max_left d a) (le_max_right ..)).trans hC |
| 81 | exact (le_trans (le_max_right d a) (le_max_right ..)).trans hC |
| 82 | |
| 83 | lemma quadratic_pull {n : Side} (U : Config G n) (s : Signed) (hp : p.direct ≤ 1) : |
| 84 | quadratic p (top G p) (pull s 0 U) = quadratic p (top G p) U := by |
| 85 | let π := fun u : G.El => p.direct * G.price u + bulk p * ‖G.curvature u‖^2/2 |
| 86 | unfold quadratic; simp_rw [ell_sq _ hp] |
| 87 | change ∑ i : Cell n, π _ = ∑ i : Cell n, π _ |
| 88 | simp_rw [Face.send_price U _ s 0 π (by simp [π]) (fun k g => by simp [π,G.curvature_conjugate])] |
| 89 | exact Equiv.sum_comp (Equiv.ofBijective _ ⟨Face.injective_send s (0:Site n), Finite.injective_iff_surjective.mp (Face.injective_send ..)⟩) (fun p : Cell n => π (faceValue U p)) |
| 90 | |
| 91 | lemma top_sworn {n : Side} (hp : p.direct ≤ 1) : Bid.Sworn (bed p) n G := by |
| 92 | obtain ⟨C,hC,h⟩ := bound_arbitrary p G hp 1 one_pos |
| 93 | have hb := h _ le_rfl _ (le_refl 0); have hf := level p hp n (le_refl _) (le_refl _) |
| 94 | have ht (s : Signed) (a : Bid.Dir G n) := F03.quadratic_limit hb (attached p) hf (Bid.pulled a s) |
| 95 | have he (s : Signed) (x y : Bid.Dir G n) : Bid.pulled (x+y) s = Bid.pulled x s + Bid.pulled y s := by |
| 96 | funext b |
| 97 | dsimp only [Bid.pulled,Pi.add_apply]; split <;> simp only [neg_add] |
| 98 | let Q := fun x y : Bid.Dir G n => Bid.gaugeFiscal (bed p) x y |
| 99 | have hh (x y : Bid.Dir G n) : Q x y = Q y x := by |
| 100 | unfold Q; rw [F03.metric_pair _ hb (attached p) _ _ hf, F03.metric_pair _ hb (attached p) _ _ hf] |
| 101 | apply Finset.sum_congr rfl; intro i _; rw [real_inner_comm (F03.faceCurl i y), real_inner_comm (F03.ellLine _ i y)] |
| 102 | have hz (s : Signed) (a : Bid.Dir G n) : Q (Bid.pulled a s) (Bid.pulled a s) = Q a a := by |
| 103 | have hs := ht s a |
| 104 | simp_rw [← F03.represent_pulled, quadratic_pull p _ s hp] at hs |
| 105 | have hu := tendsto_nhds_unique hs (F03.quadratic_limit hb (attached p) hf a) |
| 106 | change Q _ _ / 2 = Q _ _ / 2 at hu; linarith |
| 107 | have ha (x y z : Bid.Dir G n) : Q (x+y) z = Q x z + Q y z := F03.gaugeFiscal_add .. |
| 108 | have hk (x y z) : Q x (y+z) = Q x y + Q x z := by rw [hh, ha,hh y x,hh z x] |
| 109 | intro s a b |
| 110 | change Q _ _ = _ |
| 111 | have h := hz s (a+b) |
| 112 | rw [he,ha,ha,hk,hk,hk,hk,hz,hz,hh (Bid.pulled b s) (Bid.pulled a s),hh b a] at h |
| 113 | linarith |
| 114 | |
| 115 | end YM.WilsonStartup.Design |