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.Next.FREE_KERNELS.Cable |
| 2 | import YM.Next.FREE_KERNELS.Ends |
| 3 | |
| 4 | /-! |
| 5 | # Cube estimates for residue columns |
| 6 | |
| 7 | Uses true fine differences (including change in coarse base); strength for |
| 8 | order v uses the J-v product weight. Pay in scaled analytic cube still |
| 9 | before L. We leave L scales explicit even in symbols on the cover. |
| 10 | -/ |
| 11 | set_option autoImplicit false |
| 12 | noncomputable section |
| 13 | namespace YM.Next.Free |
| 14 | open Filter Set Function Lattice Laurent Bloch Metric Exterior Matrix |
| 15 | open scoped Topology BigOperators ComplexConjugate |
| 16 | variable {ι α β : Type*} {j t : ℕ} |
| 17 | |
| 18 | abbrev Thread (j t : ℕ) (α β : Type*) := ∀ P : Flight j t, Momentum → Site P.L → Matrix α β ℂ |
| 19 | |
| 20 | /-- Budget verified uniformly in `Flight`s. Storing the *rescaled* |
| 21 | alias blocks here, even at zero. The laws are on the full enlarged real |
| 22 | cube and allow reciprocal shifts on overlap cubes. -/ |
| 23 | structure Secured (f : Thread j t α β) : Prop where |
| 24 | /-- Sigma gives joint constants including any particular alias index. -/ |
| 25 | pay : Pay (fun x : Σ P : Flight j t, Site P.L => decay j x.2) fun i p => f i.1 p i.2 |
| 26 | relay (P : Flight j t) (p : Momentum) (hp : p∈realCube zone) (x : Cover) |
| 27 | (hx : p+reciprocal x∈realCube zone) (l : Site P.L) : f P (p+reciprocal x) l=f P p (l+wrap P.L x) |
| 28 | pearl (P : Flight j t) (p : Momentum) (hp : p∈realCube zone) (l : Site P.L) : shade (f P p l)=f P (-p) (-l) |
| 29 | |
| 30 | lemma secure_both (k : ℝ) (hk : 0<k) (hj : 4 ≤ j) (ht : 4 ≤ t) : |
| 31 | Secured (Flight.pilot (j:=j) (t:=t) k) ∧ Secured (Flight.wire (j:=j) (t:=t) k) := by |
| 32 | refine ⟨⟨?_,fun P p h x hx l => ?_,fun P p h l => ?_⟩,⟨?_,fun P p h x hx l => ?_,fun P p h l => ?_⟩⟩ |
| 33 | · exact Flight.pilot_cost k hk hj ht (fun i : Σ P : Flight j t, Site P.L => i.1) (fun i => i.2) |
| 34 | · exact (P.knots_shift k hk h x hx l).1 |
| 35 | · exact (P.knots_reflect k hk h l).1 |
| 36 | · exact Flight.wire_budget k hk hj ht (fun i : Σ P : Flight j t, Site P.L => i.1) (fun i => i.2) |
| 37 | · exact (P.knots_shift k hk h x hx l).2 |
| 38 | · exact (P.knots_reflect k hk h l).2 |
| 39 | |
| 40 | def toll (L : Side) (v : ℕ) := ((L.val:ℂ)^v)⁻¹ |
| 41 | |
| 42 | def listChip (p : Momentum) (u : List Axis) := (u.map (fun i => chip (p i))).prod |
| 43 | |
| 44 | def spread (f : Thread j t α β) (e : ℕ) (u : List Axis) (P : Flight j t) (r : Site P.L) (p : Momentum) := ∑ i : Site P.L, |
| 45 | mode (aliasAt p i) (lift r) • ((toll P.L e*listChip (aliasAt p i) u) • f P p i) |
| 46 | |
| 47 | def meshBook (f : Thread j t α β) (e : ℕ) (u : List Axis) (P : Flight j t) : Cross P.L α β := fun i k => |
| 48 | record (spread f e u P i.1) i.2 k |
| 49 | |
| 50 | lemma differential_bound (F : ι → Flight j t) (l : ∀ i, Site (F i).L) (e : ℕ) (u : List Axis) : |
| 51 | Moderate (fun i => ((((F i).L.val:ℝ)^(e+u.length))⁻¹*grade (l i)^u.length)) fun i p => |
| 52 | toll (F i).L e*listChip (aliasAt p (l i)) u := by |
| 53 | induction u generalizing e with |
| 54 | | nil => |
| 55 | simp only [List.length_nil,Nat.add_zero,pow_zero,mul_one,listChip,List.map_nil,List.prod_nil] |
| 56 | apply Moderate.bounded_const _ 1 one_pos; intro i; unfold toll; rw [norm_inv,norm_pow,Complex.norm_natCast]; simp |
| 57 | | cons a u ih => |
| 58 | have hh := (ih (e+1)).mul (Flight.sigQ_budget F l fun _ => a) |
| 59 | have he (L : Side) (p : Momentum) : toll L e*listChip p (a::u)=(toll L (e+1)*listChip p u)*tripQ L p a := by |
| 60 | have he := side_ne L; unfold toll listChip tripQ |
| 61 | simp only [List.map_cons,List.prod_cons, pow_succ]; field_simp |
| 62 | simp_rw [he] |
| 63 | apply hh.raise_price |
| 64 | intro i |
| 65 | simp only [List.length_cons, pow_succ,show e+(u.length+1)=e+1+u.length by omega]; rw [mul_assoc] |
| 66 | |
| 67 | lemma residue_cost (F : ι → Flight j t) (l r : ∀ i, Site (F i).L) : |
| 68 | Moderate (fun _ : ι => 1) fun i p => mode (aliasAt p (l i)) (lift (r i)) := by |
| 69 | refine ⟨zone, Real.exp (4*zone),zone_pos, Real.exp_pos _,fun i => ⟨fun p hp => ?_,fun p hp => ?_⟩⟩ |
| 70 | · unfold mode aliasAt; fun_prop |
| 71 | let n : Side := (F i).L |
| 72 | have hm := reward (aliasAt p (l i)) (lift (r i)) (zone/n.val) |
| 73 | (fun x => ((alias_in_cube_precise hp (l i) (F i).odd).1 x).le) |
| 74 | rw [mul_one]; apply hm.trans; apply Real.exp_le_exp.mpr |
| 75 | have he : size (lift (r i)) ≤ 4*n.val := by |
| 76 | unfold size |
| 77 | have hh (x : Axis) : (lift (r i) x).natAbs≤n.val := by obtain hh := lift_centers (r i) x; unfold n; omega |
| 78 | exact (Finset.sum_le_sum fun i _ => hh i).trans (le_of_eq (by simp [Axis])) |
| 79 | rw [mul_comm,← mul_div_assoc,div_le_iff₀ (side_pos _)] |
| 80 | have hh : (size (lift (r i)):ℝ) ≤ 4*n.val := by exact_mod_cast he |
| 81 | nlinarith [zone_pos] |
| 82 | |
| 83 | namespace Secured |
| 84 | variable {f : Thread j t α β} |
| 85 | lemma propels (h : Secured f) (hj : 4≤j) (e : ℕ) {u : List Axis} (hu : u.length≤j-2) |
| 86 | (F : ι → Flight j t) (r : ∀ i, Site (F i).L) : |
| 87 | Pay (fun i => ((((F i).L.val:ℝ)^(e+u.length))⁻¹)) fun i => spread f e u (F i) (r i) := by |
| 88 | refine ⟨fun i => by positivity, fun a b => ?_⟩ |
| 89 | simp only [spread,Matrix.sum_apply,Matrix.smul_apply,smul_eq_mul] |
| 90 | let L (i : ι) := (F i).L |
| 91 | let y (i : ι) := (((L i).val:ℝ)^(e+u.length))⁻¹ |
| 92 | let s (i) := (Finset.univ : Finset (Site (L i))) |
| 93 | obtain ⟨C,hC,hT⟩ := decay_cost |
| 94 | apply Moderate.sum_family s (fun i l => y i*decay 2 l) ⟨C,hC,fun i => (by |
| 95 | rw [← Finset.mul_sum,mul_comm C]; exact mul_le_mul_of_nonneg_left (hT (L i)) (by unfold y; positivity))⟩ |
| 96 | let I := Σ i, {l // l∈s i} |
| 97 | let m (i : I) := F i.1 |
| 98 | let q (i : I) := i.2.val |
| 99 | have he := differential_bound m q e u |
| 100 | have hp := residue_cost m q (fun i => r i.1) |
| 101 | have hc := (h.pay.tap a b).index (fun i => ⟨m i,q i⟩) |
| 102 | apply (hp.mul (he.mul hc)).raise_price |
| 103 | intro i |
| 104 | have hn : u.length+2≤j := by omega |
| 105 | dsimp only |
| 106 | rw [one_mul,mul_assoc]; apply mul_le_mul_of_nonneg_left _ (by positivity) |
| 107 | apply (mul_le_mul_of_nonneg_left (decay_anti _ (show 2+u.length≤j by omega)) (pow_nonneg (grade_pos _).le _)).trans (absorbs ..) |
| 108 | |
| 109 | lemma list_repeat (p : Momentum) (x : Cover) (u : List Axis) : listChip (p+reciprocal x) u=listChip p u := by |
| 110 | unfold listChip; simp only [Pi.add_apply,reciprocal,chip_repeat] |
| 111 | lemma list_bar {p : Momentum} (hp : physical p) (u : List Axis) : star (listChip p u)=listChip (-p) u := by |
| 112 | induction u with |
| 113 | | nil => simp [listChip] |
| 114 | | cons a u ih => |
| 115 | unfold listChip at *; simp only [List.map_cons,List.prod_cons,star_mul,ih,flip_chip,Pi.neg_apply]; rw [show star (p a)=p a from congr_fun hp a]; ring |
| 116 | lemma layout (h : Secured f) (e : ℕ) (u : List Axis) (P : Flight j t) (r : Site P.L) {p : Momentum} |
| 117 | (hp : p∈realCube zone) (x : Cover) (hx : p+reciprocal x∈realCube zone) : |
| 118 | spread f e u P r (p+reciprocal x)=spread f e u P r p := by |
| 119 | unfold spread |
| 120 | rw [← Equiv.sum_comp (Equiv.addRight (wrap P.L x)) (fun i => mode (aliasAt p i) (lift r) • ((toll P.L e*listChip (aliasAt p i) u) • f P p i))] |
| 121 | apply Finset.sum_congr rfl; intro i _ |
| 122 | obtain ⟨y,he⟩ := alias_exchange p i x |
| 123 | rw [h.relay P p hp x hx i,he,list_repeat]; simp only [mode_phase,mode_periodic,mul_one]; rfl |
| 124 | lemma palette (h : Secured f) (e : ℕ) (u : List Axis) (P : Flight j t) (r : Site P.L) {p : Momentum} |
| 125 | (hp : p∈realCube zone) : (spread f e u P r (-p)).map star=spread f e u P r p := by |
| 126 | have he (p : Momentum) (hp : p∈realCube zone) : shade (spread f e u P r p)=spread f e u P r (-p) := by |
| 127 | have hg (q : Momentum) (hq : physical q) (x : Cover) : star (mode q x)=mode (-q) x := by |
| 128 | have he := mode_adjoint q x; rw [show star q=q from hq,mode_opposite,← mode_inverse] at he; exact he |
| 129 | unfold spread |
| 130 | have hy (f : Site P.L → Matrix α β ℂ) : shade (∑ i, f i)=∑ i, shade (f i) := by ext a b; simp [shade,Matrix.sum_apply] |
| 131 | rw [hy,← Equiv.sum_comp (Equiv.neg (Site P.L)) (fun i => mode (aliasAt (-p) i) (lift r) • ((toll P.L e*listChip (aliasAt (-p) i) u) • f P (-p) i))]; |
| 132 | refine Finset.sum_congr rfl fun i _ => ?_ |
| 133 | have hm := alias_real hp.1 (i:Site P.L) |
| 134 | have hz : star (toll P.L e)=toll P.L e := by simp [toll] |
| 135 | rw [shade_weight,shade_weight,hg _ hm,star_mul,h.pearl P p hp,list_bar hm,hz]; |
| 136 | simp only [Equiv.neg_apply,alias_reverse _ P.odd]; rw [mul_comm] |
| 137 | simpa only [shade,neg_neg] using he (-p) (realCube_neg hp) |
| 138 | end Secured |
| 139 | end YM.Next.Free |