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.Docked |
| 2 | import YM.Next.FREE_KERNELS.Wire |
| 3 | |
| 4 | /-! |
| 5 | # Per-alias dual costs on the complex cube |
| 6 | -/ |
| 7 | set_option autoImplicit false |
| 8 | noncomputable section |
| 9 | namespace YM.Next.Free |
| 10 | open Filter Set Function Lattice Laurent Bloch Metric Exterior Matrix |
| 11 | open scoped Topology BigOperators ComplexConjugate |
| 12 | variable {ι : Type*} {j t : ℕ} |
| 13 | namespace Flight |
| 14 | variable (k : ℝ) (hk : 0<k) (hj : 4 ≤ j) (ht : 4 ≤ t) |
| 15 | (F : ι → Flight j t) (l : ∀ i, Site (F i).L) |
| 16 | |
| 17 | lemma latch_budget (r : ℕ) : Pay (fun _ : ι => 1) fun i p => latch (F i) p r := by |
| 18 | have he := bills F (fun _ => 0); simp only [decay_zero] at he |
| 19 | have hh := he.inv (bills_firm F) fun _ => one_pos |
| 20 | have hx (a : Axis) : Moderate (fun _ : ι => 1) fun i p => (rail (F i).L ((F i).toe p a))⁻¹ := by |
| 21 | have hu := rails F (fun _ => 0) fun _ => a |
| 22 | simp_rw [alias_zero_eq] at hu |
| 23 | have hp := hu.inv (rail_root _ _) (fun _ => one_pos) |
| 24 | unfold toe; simpa only [alias_zero_eq,inv_one] using hp |
| 25 | unfold latch; simpa only [one_pow,mul_one, inv_one, toe] using (Pay.expose_mask r hx).scale hh |
| 26 | |
| 27 | include ht |
| 28 | lemma mouth_budget : Pay (fun _ : ι => 1) fun i p => mouth k (F i) p := by |
| 29 | let v := fun i => (F i).land |
| 30 | have hh (a : Axis) := Train.bulb_budget k ht v (fun _ => a) |
| 31 | have hx := Pay.expose_mask 1 hh; simp only [one_pow] at hx; exact hx |
| 32 | |
| 33 | include hj hk |
| 34 | lemma foot_budget : Moderate (fun _ : ι => 1) fun i p => footY k (F i) p := by |
| 35 | have he := (bills F (fun _ => 0)).mul (back_bills F fun _ => 0) |
| 36 | let v i := (F i).wing |
| 37 | have hh := Train.bend_budget k hk ht (fun i => (F i).land) |
| 38 | have hu := ((Train.bend_budget k hk hj v).inv (Train.bend_firm k hk hj v) fun _ => one_pos).on_alias _ (fun i => (F i).odd) (fun _ => 0) |
| 39 | unfold footY; simpa only [v,yen,decay_zero,toe,inv_one,mul_one,div_eq_mul_inv] using (he.mul hh).mul hu |
| 40 | lemma brace_budget : Pay (fun _ : ι => 1) fun i p => brace k (F i) p := by |
| 41 | let v i := (F i).land |
| 42 | let G i p a := tailings k (F i) p a / ((v i).bulb k p a) |
| 43 | have he (a : Axis) : Moderate (fun _ : ι => 1) fun i p => G i p a := by |
| 44 | have hh := (Train.bulb_budget k ht v (fun _ => a)).inv (Train.bulb_firm _ hk v _) fun _ => one_pos |
| 45 | unfold G; simpa only [div_eq_mul_inv,inv_one,mul_one] using (tail_budget k hj F a).mul hh |
| 46 | have hh := (Pay.expose_mask 2 he).scale (divisor_control fun i => (F i).land.mass); simp only [one_pow,mul_one] at hh |
| 47 | have hu : Pay (fun _ : ι => 1) fun i p => twice (G i p) := by |
| 48 | apply Pay.diag; swap; exact fun _ => zero_le_one |
| 49 | intro i; exact Moderate.sum _ _ (fun _ => zero_le_one) (fun a _ => he a) |
| 50 | have hp := (heart_budget k hk hj fun i => (F i).wing).1.on_alias _ (fun i => (F i).odd) fun _ => 0 |
| 51 | unfold brace; simpa only [v,G,span,mul_one] using hp.times (hu.sub hh) |
| 52 | lemma copper_budget : Pay (fun _ : ι => 1) fun i p => copper k (F i) p := by |
| 53 | have hd := flux_budget F 2 (fun _ => 0); simp only [decay_zero] at hd |
| 54 | have he := hd.scale (foot_budget k hk hj ht F) |
| 55 | have hs := (latch_budget F 2).times (out_budget (ι:=ι) 1) |
| 56 | have hu := ((brace_budget k hk hj ht F).times hs).times (mouth_budget k ht F) |
| 57 | have hz := Pay.expose_mask 1 (tail_budget k hj F) |
| 58 | have hH := (heart_budget k hk hj fun i => (F i).wing).1.on_alias _ (fun i => (F i).odd) fun _ => 0 |
| 59 | have hy := (hH.times hs).times hz |
| 60 | simp only [mul_one,one_pow] at he hu hy |
| 61 | have ho := (hu.sub hy).times (out_budget (ι:=ι) 1).reverse.transpose; simp only [mul_one] at ho |
| 62 | exact he.add ho |
| 63 | |
| 64 | omit hj in |
| 65 | lemma notch_budget : Pay (fun _ : ι => 1) fun i p => notch k (F i) p := by |
| 66 | have h := divisor_control fun i => (F i).land.mass |
| 67 | have he := Pay.scale (Pay.const (α:=TypeFace 2) (β:=TypeFace 2) 1) (h.pow 2) |
| 68 | have hq := out_budget (ι:=ι) 1 |
| 69 | have hp := (heart_budget k hk ht (fun i => (F i).land)).1 |
| 70 | have hm := (((hp.times hq).times (mouth_budget k ht F)).times hq.reverse.transpose).scale h |
| 71 | simp only [mul_one,one_pow] at h hm he |
| 72 | exact he.sub hm |
| 73 | lemma levy_budget (hi : ∀ i, l i≠0) : Moderate (fun _ : ι => 1) fun i p => levy k (F i) p (l i) := by |
| 74 | have he := ((bills F l).mul (back_bills F l)).mul (Train.bend_budget _ hk ht fun i => (F i).land) |
| 75 | have hb := he.mul (portR_budget k hk hj F l hi) |
| 76 | have hu (i : ι) := grade_ge (l i) |
| 77 | have hh := hb.raise_price (u:=fun _ => 1) (by |
| 78 | intro i; dsimp only; rw [mul_one]; |
| 79 | have ht := decay_le_one (l i) j |
| 80 | have he := decay_pos (l i) j |
| 81 | refine (mul_le_of_le_one_right (mul_pos he he).le (inv_le_one_of_one_le₀ ?_)).trans ?_ |
| 82 | · exact one_le_pow₀ (one_le_pow₀ (hu i)) |
| 83 | exact (mul_le_of_le_one_right he.le ht).trans ht) |
| 84 | simpa only [levy,yen,div_eq_mul_inv] using hh |
| 85 | lemma stake_budget (hi : ∀ i, l i≠0) : Pay (fun i => decay j (l i)) fun i p => stake k (F i) p (l i) := by |
| 86 | have hv := (heart_budget k hk hj fun i => (F i).wing).1.on_alias _ (fun i => (F i).odd) l |
| 87 | have hm := Pay.expose_mask 1 (fun a => portD_budget k hj F l hi (fun _ => a)) |
| 88 | have hd := sig_budget F l 1 |
| 89 | have hb := ((((hv.times hd).times hm).times (flux_budget F 1 l)).times (out_budget (ι:=ι) 1).reverse.transpose) |
| 90 | have hy := ((flux_budget F 2 l).times (notch_budget k hk ht F)).scale (levy_budget k hk hj ht F l hi) |
| 91 | simp only [mul_one,one_mul,pow_one] at hb hy |
| 92 | unfold stake; refine Pay.add (hb.raise ?_) hy |
| 93 | intro i |
| 94 | apply mul_le_of_le_one_left (decay_pos ..).le |
| 95 | have he := grade_ge (l i) |
| 96 | rw [← div_eq_mul_inv,div_le_one (pow_pos (grade_pos (l i)) _)]; nlinarith |
| 97 | lemma wire_budget : Pay (fun i => decay j (l i)) fun i p => wire k (F i) p (l i) := by |
| 98 | apply Pay.branches (fun i => l i=0) (fun i => (decay_pos ..).le) |
| 99 | · have hh (i : {i // l i=0}) : l i.val=0 := i.property |
| 100 | simp only [wire, hh, if_true,decay_zero] |
| 101 | exact copper_budget k hk hj ht (fun i : {i // l i=0} => F i.val) |
| 102 | have hh (i : {i // ¬ l i=0}) : ¬ l i.val=0 := i.property |
| 103 | simp only [wire,hh,if_false]; exact stake_budget k hk hj ht (fun i : {i // ¬ l i=0} => F i.val) _ hh |
| 104 | end Flight |
| 105 | end YM.Next.Free |