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.Curl |
| 2 | |
| 3 | /-! |
| 4 | # Divisibility on real principal cube |
| 5 | |
| 6 | Factor *all* one-step filters needed on the nonprincipal alias at once. |
| 7 | Used before the coefficient width argument. Only continuity of the local |
| 8 | factor is consumed, so no Need for costing a Cauchy division on a patch |
| 9 | whose formulas have poles. Ψ convention (unmodified metrics). |
| 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 Precision RG Work.F08 Craft Bid |
| 15 | open scoped Topology BigOperators ComplexConjugate |
| 16 | variable {α β ι : Type*} {j t : ℕ} |
| 17 | |
| 18 | lemma Pay.cooled {w : ι → ℝ} {f : ι → Momentum → Matrix α β ℂ} (h : Pay w f) (i : ι) {p : Momentum} (hp : p∈baseCube) : ContinuousAt (f i) p := by |
| 19 | change ContinuousAt (fun p a b => f i p a b) p; refine continuousAt_pi.mpr fun a => continuousAt_pi.mpr fun b => ?_ |
| 20 | obtain ⟨η,C,hη,hC,h⟩ := h.tap a b |
| 21 | exact ((h i).hol p (mem_cube_real (base_subset_realCube hη hp) hη)).continuousAt |
| 22 | |
| 23 | def scarf (L : Side) (q : Momentum) (a : Axis) := |
| 24 | ((L.val:ℂ)⁻¹*twirl (q a) (-mid L))*(∏ i∈Finset.univ.erase a, plank L (q i)) |
| 25 | def scaffold (L : Side) (q : Momentum) (s : List Axis) := (s.map (scarf L q)).prod |
| 26 | |
| 27 | lemma scarf_rule (P : Flight j t) (q : Momentum) (l : Site P.L) (a : Axis) : |
| 28 | chip (aliasAt q l a)*area P.L (aliasAt q l)=chip (q a)*scarf P.L (aliasAt q l) a := by |
| 29 | unfold area scarf |
| 30 | let x := aliasAt q l a |
| 31 | rw [← Finset.mul_prod_erase _ _ (Finset.mem_univ a)]; |
| 32 | have hh := hinges_rule P l q a |
| 33 | simp only [tripQ,(by simp : ((↑((1:Side).val)):ℂ)=1),one_mul] at hh |
| 34 | rw [← hh]; conv_lhs => rw [show plank P.L (aliasAt q l a)=_ from Eq.refl (twirl (aliasAt q l a) (-mid P.L)*rail P.L (aliasAt q l a))] |
| 35 | have he := side_ne P.L; field_simp |
| 36 | |
| 37 | lemma scaffold_rule (P : Flight j t) (p : Momentum) (l : Site P.L) (s : List Axis) : |
| 38 | listChip (aliasAt p l) s*area P.L (aliasAt p l) ^ s.length = listChip p s * scaffold P.L (aliasAt p l) s := by |
| 39 | induction s with |
| 40 | | nil => simp [listChip,scaffold] |
| 41 | | cons a s ih => |
| 42 | simp only [listChip,List.map_cons,List.prod_cons,List.length_cons,pow_succ,scaffold]; |
| 43 | let q := aliasAt p l |
| 44 | change (chip _ * listChip q s) * _ = (_ * listChip p s)* (_ * scaffold _ q s) |
| 45 | rw [show chip (q a)*listChip q s*(area P.L q ^ s.length*area P.L q)=chip (q a)*area P.L q*(listChip q s * area P.L q ^ s.length) by ring]; |
| 46 | unfold q; rw [scarf_rule,ih]; ring |
| 47 | lemma scaffold_ready (L : Side) (s : List Axis) : Continuous fun p : Momentum => scaffold L p s := by |
| 48 | have h (a : Axis) : Continuous (fun p : Momentum => scarf L p a) := by unfold scarf plank rail twirl; fun_prop |
| 49 | induction s with |
| 50 | | nil => exact continuous_const |
| 51 | | cons a s ih => exact (h a).mul ih |
| 52 | |
| 53 | namespace Flight |
| 54 | |
| 55 | def shallow (P : Flight j t) (r : ℕ) (p : Momentum) := mask r (fun i => rail P.L ((-p) i)) |
| 56 | def priorStake (k : ℝ) (P : Flight j t) (p : Momentum) (l : Site P.L) := |
| 57 | let q := aliasAt p l |
| 58 | pulse k P.wing q * signal P.L 1 q * mask 1 (P.portD k p l)* P.shallow 1 q * mirage 1 1 p + |
| 59 | P.levy k p l • (P.shallow 2 q * P.notch k p) |
| 60 | lemma lifted_high (P : Flight j t) (p : Momentum) (l : Site P.L) (k : ℝ) (hl : l≠0) : |
| 61 | P.wire k p l=area P.L (aliasAt p l)^j • P.priorStake k p l := by |
| 62 | let q := aliasAt p l |
| 63 | have hf (r : ℕ) : flux P r q=area P.L q ^ j • P.shallow r q := by |
| 64 | unfold flux hinges; rw [Matrix.transpose_smul,mask_trans,massFilter_even]; rfl |
| 65 | unfold wire; rw [if_neg hl]; unfold stake priorStake |
| 66 | simp only []; rw [hf 1,hf 2]; simp only [Matrix.smul_mul,Matrix.mul_smul,smul_add]; rw [smul_comm] |
| 67 | |
| 68 | def fasten (P : Flight j t) (p : Momentum) (a : Axis) := ((P.L.val:ℂ)*rail P.L (P.toe p a))⁻¹ |
| 69 | def material (P : Flight j t) (p : Momentum) (s : List Axis) := (s.map (P.fasten p)).prod |
| 70 | lemma fasten_nonzero (P : Flight j t) {p : Momentum} (hp : p∈baseCube) (a) : |
| 71 | (P.L.val:ℂ)*rail P.L (P.toe p a)≠0 := by |
| 72 | let L := P.L |
| 73 | apply mul_ne_zero (side_ne P.L) |
| 74 | unfold toe; rw [alias_zero_eq]; apply norm_pos_iff.mp (plankMin_pos.trans_le (rail_lower P.L _ _)) |
| 75 | rw [narrow_apply, norm_div, Complex.norm_natCast, mul_div_cancel₀ _ (side_pos P.L).ne'] |
| 76 | exact zone_in_disk _ (mem_cube_real (base_subset_realCube zone_pos hp) zone_pos) _ |
| 77 | lemma fasten_rule (P : Flight j t) {p : Momentum} (hp : p∈baseCube) (a) : |
| 78 | chip (P.toe p a)=chip (p a)*P.fasten p a := by |
| 79 | have he := hinges_rule P 0 p a |
| 80 | simp only [tripQ,(by simp : ((↑((1:Side).val)):ℂ)=1),one_mul] at he |
| 81 | have hh := P.fasten_nonzero hp a |
| 82 | change rail P.L (P.toe p a)*_=chip _ at he |
| 83 | unfold fasten; rw [← he]; |
| 84 | -- divisibility cancellation |
| 85 | change chip (P.toe p a)=rail P.L (P.toe p a)*((P.L.val:ℂ)*chip (P.toe p a))*_ |
| 86 | generalize hx : rail P.L (P.toe p a)=b at *; have h1 : b≠0 := right_ne_zero_of_mul hh; have h2 := side_ne P.L; field_simp |
| 87 | lemma material_rule (P : Flight j t) {p : Momentum} (hp : p∈baseCube) (s : List Axis) : |
| 88 | listChip (P.toe p) s=listChip p s*material P p s := by |
| 89 | induction s with |
| 90 | | nil => simp [listChip,material] |
| 91 | | cons a s ih => change chip _*listChip (P.toe p) s=(chip (p a)*listChip p s)*(P.fasten p a*material _ p s); rw [ih,fasten_rule P hp]; ring |
| 92 | lemma material_ready (P : Flight j t) {p : Momentum} (hp : p∈baseCube) (s : List Axis) : ContinuousAt (fun p => P.material p s) p := by |
| 93 | have hh (a : Axis) : ContinuousAt (fun p => P.fasten p a) p := by |
| 94 | have hm : ContinuousAt (fun p => (P.L.val:ℂ)*rail P.L (P.toe p a)) p := by unfold rail toe aliasAt twirl; fun_prop |
| 95 | exact hm.inv₀ (fasten_nonzero P hp a) |
| 96 | induction s with |
| 97 | | nil => exact continuousAt_const |
| 98 | | cons a s ih => exact (hh a).mul ih |
| 99 | |
| 100 | /-- Ψ using the same period independent unmodified stencil. -/ |
| 101 | def alloy (k : ℝ) (P : Flight j t) (p : Momentum) (l : Site P.L) := agile k P p l*pulse k P.land p |
| 102 | |
| 103 | variable (k : ℝ) (hk : 0<k) (hj : 4≤j) (ht : 4 ≤ t) |
| 104 | include hk hj ht |
| 105 | lemma status_quote : Secured (alloy (j:=j) (t:=t) k) := by |
| 106 | have hm := agility k hk hj ht |
| 107 | have hG := (heart_budget k hk ht (fun i : Σ P : Flight j t, Site P.L => i.1.land)).1 |
| 108 | have he := hm.pay.times hG; simp only [mul_one] at he |
| 109 | refine ⟨he,fun P p hp x hx l => ?_,fun P p hp l => ?_⟩ |
| 110 | · unfold alloy; rw [hm.relay _ _ hp x hx l,(overlap_heart k hk _ hp x hx).1] |
| 111 | unfold alloy; rw [shade_mul, hm.pearl _ _ hp, shade_pulse _ hk _ hp] |
| 112 | |
| 113 | omit hj |
| 114 | /-- Merely regular, no claimed pre-L cost. -/ |
| 115 | lemma high_cont (P : Flight j t) {p : Momentum} (hp : p∈baseCube) (l : Site P.L) (hl : l≠0) : ContinuousAt (fun p => P.priorStake k p l) p := by |
| 116 | let i := Unit |
| 117 | let F (_ : Unit) := P |
| 118 | let L (_ : Unit) := l |
| 119 | have hm := Pay.expose_mask 1 (fun a => portD_budget k P.legal F L (fun _ => hl) (fun _ => a)) |
| 120 | have hV := (heart_budget k hk P.legal (fun _ : Unit => P.wing)).1.on_alias (fun _=>P.L) (fun _=>P.odd) L |
| 121 | have hS (r : ℕ) : Pay (fun _ : Unit => (1:ℝ)^r) fun (_ : Unit) p => P.shallow r (aliasAt p l) := by |
| 122 | exact Pay.expose_mask _ (fun a => reverse_rails F L (fun _ => a)) |
| 123 | have hh := ((((hV.times (sig_budget F L 1)).times hm).times (hS 1)).times (out_budget (ι:=Unit) 1).reverse.transpose).cooled () hp |
| 124 | have hg := (((hS 2).times (notch_budget k hk ht F)).scale (levy_budget k hk P.legal ht F L fun _ => hl)).cooled () hp |
| 125 | unfold priorStake; exact hh.add hg |
| 126 | |
| 127 | lemma cable_exists (P : Flight j t) (s : List Axis) (hs : s.length≤j) : |
| 128 | ∀ l : Site P.L, ∃ g : Momentum → Frequency 2 2, (∀ p∈baseCube, ContinuousAt g p) ∧ ∀ p∈baseCube, |
| 129 | listChip (aliasAt p l) s • alloy k P p l=listChip p s • g p := by |
| 130 | intro l; by_cases h : l=0 |
| 131 | · subst l |
| 132 | refine ⟨fun p => P.material p s • P.alloy k p 0, ?_,fun p hp => ?_⟩ |
| 133 | · intro p hp |
| 134 | have he := (status_quote k hk P.legal ht).pay.cooled (⟨P,0⟩ : Σ P : Flight j t, Site P.L) hp |
| 135 | exact (P.material_ready hp s).smul he |
| 136 | rw [P.material_rule hp, smul_smul] |
| 137 | let q := fun p => aliasAt p l |
| 138 | let w := fun p => vault k P.wing (q p)*P.priorStake k p l*pulse k P.land p |
| 139 | let y := fun p => area P.L (q p)^(j-s.length)*scaffold P.L (q p) s |
| 140 | refine ⟨fun p => y p • w p, ?_,fun p hp => ?_⟩ |
| 141 | · intro p hp |
| 142 | have hc : Continuous q := by unfold q aliasAt; fun_prop |
| 143 | have he := (heart_budget k hk P.legal (fun _ : Unit => P.wing)).2.cooled () (alias_base hp l P.odd) |
| 144 | have hh := (heart_budget k hk ht (fun _ : Unit => P.land)).1.cooled () hp |
| 145 | have hg : Continuous y := ((Train.area_diff _).continuous.comp hc).pow _ |>.mul ((scaffold_ready _ _).comp hc) |
| 146 | exact hg.continuousAt.smul (((he.comp (f:=q) hc.continuousAt).mul (high_cont k hk ht P hp l h)).mul hh) |
| 147 | change _=listChip p s • (y p • w p); unfold alloy agile; rw [P.lifted_high p l k h]; simp only [Matrix.mul_smul,Matrix.smul_mul,smul_smul] |
| 148 | have he := scaffold_rule P p l s |
| 149 | unfold w y q |
| 150 | congr 1 |
| 151 | have hh (x : ℂ) : x^j=x^s.length*x^(j-s.length) := by rw [← pow_add,Nat.add_sub_of_le hs] |
| 152 | rw [hh,← mul_assoc, he]; ring |
| 153 | end Flight |
| 154 | end YM.Next.Free |