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.Corona.Spend |
| 2 | import YM.Push.FREE_RESOLVENT.Layout |
| 3 | |
| 4 | /-! |
| 5 | # Checking the window |
| 6 | |
| 7 | Physical distance to link midpoint on periodic torus, computed on the |
| 8 | *doubled* site lattice. Includes even-side ties. No interior-only equivalence |
| 9 | of metrics used. Therefore the actual window selection keeps rotated bond |
| 10 | placements. |
| 11 | -/ |
| 12 | set_option autoImplicit false |
| 13 | noncomputable section |
| 14 | namespace YM.FreeResolvent |
| 15 | open Matrix TestD Mark Filter Function Set Lattice RG Precision Wilson Tree |
| 16 | open Exterior Affine |
| 17 | open scoped Topology Matrix.Norms.Frobenius ContDiff BigOperators InnerProductSpace |
| 18 | variable {G : Gauge} {c n f : Side} {S : StepData c f} {u σ M A : ℝ} {W : PathData G} |
| 19 | namespace Mid |
| 20 | |
| 21 | def double (n : Side) : Ratio n (n*2) := ⟨2,rfl⟩ |
| 22 | |
| 23 | def axis (e : Edge (Site n)) : Site (n*2) := (double n).embed e.1 + step e.2 |
| 24 | |
| 25 | def cull (e : Slot G n 1) : Edge (Site n) := (e.1, axisEquiv.symm e.2.1) |
| 26 | |
| 27 | lemma piece (e : Edge (Site n)) (s : Signed) (t : Site n) : |
| 28 | axis (sendEdge s t e)=affine s ((double n).embed t) (axis e) := by |
| 29 | let w := (posDir e.2).rotate s |
| 30 | let q := double n; let y := affine s t e.1 |
| 31 | have he : (affine s (q.embed t) (axis e))=q.embed y+w.vec := by |
| 32 | have hh : (w.vec:Site (n*2))=s.act (step e.2) := by unfold w; rw [Step.vec_rotate, Step.vec_pos] |
| 33 | rw [hh]; unfold affine y axis |
| 34 | rw [Signed.act_add, ← Ratio.signed]; unfold affine; rw [show q.embed _ = _ from q.root.map_add (s.act e.1) t] |
| 35 | change q.embed _ + _ + _ = _ + q.embed t+_; rw [q.root_embed]; abel |
| 36 | rw [he]; change axis (w.used y) = _ |
| 37 | rcases h : w with ⟨i,x|x⟩ |
| 38 | · rfl |
| 39 | change q.embed (y-step i)+step i=q.embed y+-step i |
| 40 | have hh := q.embed_leap (y-step i) i; rw [sub_add_cancel] at hh |
| 41 | rw [hh,show q.count.val=2 from rfl,two_nsmul]; abel |
| 42 | |
| 43 | lemma turned (e f : Edge (Site n)) (s : Signed) (t : Site n) : |
| 44 | separation (axis (sendEdge s t e)) (axis (sendEdge s t f))=separation (axis e) (axis f) := by simp only [piece,affine, separation_signed,separation_translate] |
| 45 | |
| 46 | lemma upto (g : Ratio c f) (x y : Site c) : |
| 47 | separation (g.embed x) (g.embed y)=g.count.val*separation x y := by |
| 48 | apply le_antisymm _ (Corona.below g x y); unfold separation |
| 49 | rw [← g.root_embed, ← g.root_embed,← map_sub,g.root_embed]; apply Finset.sup_le |
| 50 | intro i _ |
| 51 | rw [g.lift_embed]; simp only [Pi.smul_apply,nsmul_eq_mul,Int.natAbs_mul,Int.natAbs_natCast]; exact Nat.mul_le_mul_left _ (component_le (x-y) i) |
| 52 | |
| 53 | lemma priced (S : StepData c f) (p q : Slot G f 1) : |
| 54 | let h := separation (home S p) (home S q) |
| 55 | let L := S.patch.L.val |
| 56 | separation (axis (cull p)) (axis (cull q)) ≤ 2*(L*h+L)+2 := by |
| 57 | intro h L; let g := S.ratio |
| 58 | have hh : separation p.1 q.1 ≤ L*h+L := by |
| 59 | have h1 := Corona.near g p.1; have h2 := Corona.near g q.1 |
| 60 | have he : separation (g.embed (g.parent p.1)) (g.embed (g.parent q.1))=L*h := upto g _ _ |
| 61 | have hh := separation_triangle p.1 (g.embed (g.parent p.1)) (g.embed (g.parent q.1)); rw [he] at hh |
| 62 | have hu := separation_triangle p.1 (g.embed (g.parent q.1)) q.1 |
| 63 | rw [separation_comm (g.embed (g.parent q.1)) q.1] at hu |
| 64 | change _ ≤ L at h1 h2; omega |
| 65 | have hw : separation ((double f).embed p.1) ((double f).embed q.1) ≤ 2*(L*h+L) := |
| 66 | (upto ..).trans_le (Nat.mul_le_mul_left 2 hh) |
| 67 | have hP (p : Slot G f 1) : separation ((double f).embed p.1) (axis (cull p)) ≤ 1 := Work.E03.sep_step .. |
| 68 | have hx := separation_triangle (axis (cull p)) ((double f).embed p.1) ((double f).embed q.1) |
| 69 | have hu := separation_triangle (axis (cull p)) ((double f).embed q.1) (axis (cull q)); rw [separation_comm _ ((double f).embed p.1)] at hx |
| 70 | have hm := hP p; have ht := hP q; omega |
| 71 | |
| 72 | /-- Entries of the closed windows. -/ |
| 73 | def window (S : StepData c f) (B : ℕ) (p : Slot G f 1) := Finset.univ.filter fun q : Slot G f 1 => |
| 74 | 20 * separation (axis (cull p)) (axis (cull q)) ≤ 2*S.patch.L.val*B |
| 75 | |
| 76 | lemma member (S : StepData c f) (B : ℕ) (p : Slot G f 1) : p ∈ window S B p := by simp [window] |
| 77 | |
| 78 | def cutView (G : Gauge) (S : StepData c f) (B : ℕ) := ({ |
| 79 | loc _ := Function.Embedding.subtype _ |
| 80 | root p := ⟨p,member ..⟩ |
| 81 | atRoot _ := rfl |
| 82 | } : Window.Survey (fun p : Slot G f 1 => ↥(window S B p))) |
| 83 | |
| 84 | lemma near (G : Gauge) (S : StepData c f) (B : ℕ) (hB : 200 ≤ B) : (cutView G S B).Near (native c) (home S) ((B:ℝ)/25) := by |
| 85 | intro i j h |
| 86 | have H : j ∉ window S B i := fun he => h ⟨⟨_,he⟩,rfl⟩ |
| 87 | simp only [window,Finset.mem_filter,Finset.mem_univ,true_and] at H |
| 88 | have hx := Nat.lt_of_not_ge H |
| 89 | let q := separation (home S i) (home S j) |
| 90 | let L := S.patch.L.val |
| 91 | have hu : 2*L*B < 20*(2*(L*q+L)+2) := lt_of_lt_of_le hx (Nat.mul_le_mul_left 20 (priced S i j)) |
| 92 | have hl : 3 ≤ L := S.patch.coarse |
| 93 | have he : B ≤ 25*q := by |
| 94 | have hp : L*B ≥ L*200 := Nat.mul_le_mul_left L hB |
| 95 | by_contra! h |
| 96 | have hh : L*(25*q) ≤ L*B := Nat.mul_le_mul_left L h.le |
| 97 | nlinarith |
| 98 | change ↑B/25 ≤ (q:ℝ); rw [div_le_iff₀ (by norm_num), mul_comm] |
| 99 | exact_mod_cast he |
| 100 | end Mid |
| 101 | end YM.FreeResolvent |