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.Masks |
| 2 | |
| 3 | /-! |
| 4 | # Entry costs (fixed matrix types) |
| 5 | |
| 6 | Absolute cube bounds. Fiber residue or alias size still varying? Put the |
| 7 | chosen residue or alias into the index over which the bounds are uniform, NOT |
| 8 | into the matrix type here. In particular the `times` product theorem spends |
| 9 | dimension constants. |
| 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 | |
| 17 | variable {ι κ α β γ : Type*} |
| 18 | |
| 19 | lemma staple [Fintype κ] (P : κ → ℝ → ℝ → Prop) |
| 20 | (h : ∀ i, ∃ σ C : ℝ, 0<σ ∧ 0<C ∧ P i σ C) |
| 21 | (m : ∀ i σ C η A, P i σ C → η ≤ σ → 0<η → C ≤ A → P i η A) : |
| 22 | ∃ σ C : ℝ, 0<σ ∧ 0<C ∧ ∀ i, P i σ C := by |
| 23 | classical |
| 24 | have he (s : Finset κ) : ∃ σ C : ℝ, 0<σ ∧ 0<C ∧ ∀ i∈s, P i σ C := by |
| 25 | induction s using Finset.induction_on with |
| 26 | | empty => exact ⟨1,1,one_pos,one_pos,by simp⟩ |
| 27 | | insert b s _ ih => |
| 28 | obtain ⟨σ,C,hσ,hC,hb⟩ := h b |
| 29 | obtain ⟨η,A,hη,hA,hx⟩ := ih |
| 30 | have hp := lt_min hσ hη |
| 31 | refine ⟨min σ η,max C A,hp,lt_max_of_lt_left hC,fun i hi => ?_⟩ |
| 32 | rcases Finset.mem_insert.mp hi with rfl|hi |
| 33 | · exact m _ _ _ _ _ hb (min_le_left ..) hp (le_max_left ..) |
| 34 | exact m _ _ _ _ _ (hx i hi) (min_le_right ..) hp (le_max_right ..) |
| 35 | obtain ⟨σ,C,hσ,hC,he⟩ := he Finset.univ |
| 36 | exact ⟨σ,C,hσ,hC,fun i => he i (Finset.mem_univ _)⟩ |
| 37 | |
| 38 | /-- Matrix with every displacement still *unscaled* native; entries on |
| 39 | radial-frequency cubes. -/ |
| 40 | structure Pay (w : ι → ℝ) (f : ι → Momentum → Matrix α β ℂ) : Prop where |
| 41 | site i : 0 ≤ w i |
| 42 | tap a b : Moderate w fun i p => f i p a b |
| 43 | |
| 44 | namespace Pay |
| 45 | variable {w u : ι → ℝ} {f g : ι → Momentum → Matrix α β ℂ} |
| 46 | lemma reindex (hf : Pay w f) (π : κ → ι) : Pay (fun i => w (π i)) fun i => f (π i) := |
| 47 | ⟨fun i => hf.site (π i), fun a b => (hf.tap a b).index π⟩ |
| 48 | lemma raise (h : Pay w f) (he : w ≤ u) : Pay u f := |
| 49 | ⟨fun i => (h.site i).trans (he i), fun a b => (h.tap a b).raise_price he⟩ |
| 50 | lemma add (h : Pay w f) (h' : Pay w g) : Pay w fun i p => f i p + g i p := |
| 51 | ⟨h.site,fun a b => (h.tap a b).add (h'.tap a b)⟩ |
| 52 | lemma sub (h : Pay w f) (h' : Pay w g) : Pay w fun i p => f i p - g i p := |
| 53 | ⟨h.site,fun a b => (h.tap a b).sub (h'.tap a b)⟩ |
| 54 | |
| 55 | lemma transpose (h : Pay w f) : Pay w fun i p => (f i p).transpose := ⟨h.site,fun a b => h.tap b a⟩ |
| 56 | lemma reverse (h : Pay w f) : Pay w fun i p => f i (-p) := ⟨h.site,fun a b => (h.tap a b).reverse⟩ |
| 57 | lemma scale {c : ι → Momentum → ℂ} (h : Pay w f) (hc : Moderate u c) : Pay (fun i => u i*w i) fun i p => c i p • f i p := |
| 58 | ⟨fun i => mul_nonneg (hc.nonneg i) (h.site i),fun a b => hc.mul (h.tap a b)⟩ |
| 59 | lemma times [Fintype β] {g : ι → Momentum → Matrix β γ ℂ} (hf : Pay w f) (hg : Pay u g) : |
| 60 | Pay (fun i => w i*u i) fun i p => f i p * g i p := by |
| 61 | have he (i : ι) : 0 ≤ w i*u i := mul_nonneg (hf.site i) (hg.site i) |
| 62 | exact ⟨he,fun a b => Moderate.sum Finset.univ _ he fun i _ => (hf.tap a i).mul (hg.tap i b)⟩ |
| 63 | lemma on_alias (hf : Pay w f) (L : ι → Side) (ho : ∀ i, Odd (L i).val) (l : ∀ i, Site (L i)) : |
| 64 | Pay w fun i p => f i (aliasAt p (l i)) := ⟨hf.site,fun a b => (hf.tap a b).on_alias L ho l⟩ |
| 65 | lemma const (f : Matrix α β ℂ) : Pay (fun _ : ι => 1) fun _ _ => f := ⟨fun _ => zero_le_one, fun a b => Moderate.const (f a b)⟩ |
| 66 | lemma diag [DecidableEq α] (c : ι → Momentum → α → ℂ) (hc : ∀ a, Moderate w fun i p => c i p a) (h : ∀ i, 0≤w i) : |
| 67 | Pay w fun i p => Matrix.diagonal (c i p) := by |
| 68 | refine ⟨h,fun a b => ?_⟩; by_cases he : a=b |
| 69 | · subst b; simpa only [Matrix.diagonal_apply_eq] using hc a |
| 70 | simpa only [Matrix.diagonal_apply_ne _ he] using Moderate.zero h |
| 71 | lemma pockets {f : ι → Momentum → α → ℂ} {s : Finset α} (h : ∀ a ∈ s, Moderate w fun i p => f i p a) : |
| 72 | Moderate (fun i => w i ^ s.card) fun i p => ∏ a∈s, f i p a := by |
| 73 | classical |
| 74 | induction s using Finset.induction_on with |
| 75 | | empty => simpa only [Finset.card_empty,pow_zero,Finset.prod_empty] using Moderate.const (ι:=ι) 1 |
| 76 | | insert a s ha ih => |
| 77 | have he := (h a (Finset.mem_insert_self ..)).mul (ih fun b hb => h b (Finset.mem_insert_of_mem hb)) |
| 78 | simpa only [Finset.card_insert_of_notMem ha,pow_succ',Finset.prod_insert ha] using he |
| 79 | lemma expose_mask {t : ι → Momentum → Axis → ℂ} (r : ℕ) (h : ∀ a, Moderate w fun i p => t i p a) : |
| 80 | Pay (fun i => (w i)^r) fun i p => mask r (t i p) := by |
| 81 | have hh := (h 0).nonneg |
| 82 | apply diag; swap; exact fun i => pow_nonneg (hh i) _ |
| 83 | intro a |
| 84 | unfold inventory |
| 85 | simpa only [a.property] using pockets (s:=a.val) (fun k _ => h k) |
| 86 | lemma expose_wedge {t : ι → Momentum → Axis → ℂ} (r : ℕ) (h : ∀ a, Moderate w fun i p => t i p a) : |
| 87 | Pay w fun i p => wedge r (t i p) := by |
| 88 | have hh := (h 0).nonneg |
| 89 | refine ⟨hh,fun a b => ?_⟩ |
| 90 | simp only [wedge,Matrix.sum_apply,Matrix.smul_apply,smul_eq_mul] |
| 91 | apply Moderate.sum _ _ hh; intro j _; simpa only [mul_one] using (h j).mul (Moderate.const _) |
| 92 | |
| 93 | lemma stapleMat [Fintype α] [Fintype β] (h : Pay w f) : Moderate (fun x : ι×α×β => w x.1) fun x p => f x.1 p x.2.1 x.2.2 := by |
| 94 | apply Exists.elim (staple (κ:=α×β) (fun x η A => ∀ i, SafeCube η (A*w i) (fun p => f i p x.1 x.2)) |
| 95 | (fun x => h.tap x.1 x.2) (fun x _ _ _ _ h' he hp hb i => (h' i).mono he (mul_le_mul_of_nonneg_right hb (h.site i)))) |
| 96 | rintro η ⟨A,hp,hA,h⟩; exact ⟨η,A,hp,hA,fun i => h i.2 i.1⟩ |
| 97 | |
| 98 | end Pay |
| 99 | |
| 100 | def record (f : Momentum → Matrix α β ℂ) : Row α β := fun a b => tape (fun p => f p a b) |
| 101 | |
| 102 | variable {w : ι → ℝ} {f : ι → Momentum → Matrix α β ℂ} |
| 103 | |
| 104 | lemma matrix_cover [Fintype α] [Fintype β] (h : Pay w f) {η : ℝ} (hp : 0 < η) |
| 105 | (hh : ∀ i (p : Momentum), p∈realCube η → ∀ x, p+reciprocal x ∈ realCube η → f i (p+reciprocal x)=f i p) : |
| 106 | ∃ σ C : ℝ, 0 < σ ∧ 0 < C ∧ ∀ i, (record (f i)).strip σ (C*w i) := by |
| 107 | obtain ⟨σ,C,he,hc,h⟩ := tapes_sound h.stapleMat hp (fun i p hg x hx => by |
| 108 | exact congr_fun (congr_fun (hh _ p hg x hx) _) _) |
| 109 | exact ⟨σ,C,he,hc,fun i a b => h (i,a,b)⟩ |
| 110 | lemma record_eq (h : Pay w f) {η : ℝ} (hp : 0 < η) (i : ι) |
| 111 | (hh : ∀ i (p : Momentum), p∈realCube η → ∀ x, p+reciprocal x ∈ realCube η → f i (p+reciprocal x)=f i p) |
| 112 | (hj : ∀ i (p : Momentum), p∈realCube η → (f i (-p)).map star=f i p) {p : Momentum} (he : p∈baseCube) : |
| 113 | (record (f i)).read p=f i p := by |
| 114 | ext a b |
| 115 | obtain ⟨θ,hc,h⟩ := tapes_read (h.tap a b) hp (fun i p hg x hx => by |
| 116 | exact congr_fun (congr_fun (hh _ p hg x hx) _) _) (fun i p hh => congr_fun (congr_fun (hj i p hh) _) _) |
| 117 | exact h i p (base_subset_realCube hc he) |
| 118 | end YM.Next.Free |