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.MergeProof.Canyon |
| 2 | set_option autoImplicit false |
| 3 | noncomputable section |
| 4 | namespace YM.Push.Mark |
| 5 | open Function Set MeasureTheory Filter Labels Wilson Source Lattice RG Bid |
| 6 | open Extraction Extraction.Lease Next.Extract |
| 7 | open scoped Topology ContDiff Matrix.Norms.Frobenius BigOperators InnerProductSpace |
| 8 | variable {G : Gauge} {C : Family G} {d p n N : ℕ} |
| 9 | |
| 10 | variable (R : Weave G) |
| 11 | private lemma additive (I : Finset (Fin n)) (f : Fin n→Pre G) {r m : ℕ} (hf : ∀ i∈I,Continuous (f i)) |
| 12 | (h : ∀ i∈I,MicroAt (f i) r m) : MicroAt (∑ i∈I,f i) r m := by |
| 13 | induction I using Finset.induction_on with |
| 14 | | empty => rw [Finset.sum_empty]; exact MicroAt.zero G r m |
| 15 | | insert i s hi ih=> |
| 16 | rw [Finset.sum_insert hi] |
| 17 | let a := Finset.mem_insert_self i s |
| 18 | have he : Continuous (∑ j∈s,f j) := by |
| 19 | rw [funext (fun x : CoverConfig G=> Finset.sum_apply x s f)] |
| 20 | exact continuous_finsetSum _ fun j hj=> hf j (Finset.mem_insert_of_mem hj) |
| 21 | apply (h i a).add _ (hf i a) he |
| 22 | exact ih (fun i hi=>hf i (Finset.mem_insert_of_mem hi)) (fun i hi=>h i (Finset.mem_insert_of_mem hi)) |
| 23 | |
| 24 | private lemma radius_uniform {B : Frame G d} {H : Hol G} (X : SectionData B) (he : Portfolio H X (R d)) : |
| 25 | ∃ r m : ℕ,∀ x : Label G d,x∈Maxwell.equationIdeal G d → MicroAt (X.evaluate (B.coords (R d x))) r m := by |
| 26 | let S := Maxwell.equationIdeal G d |
| 27 | have hp {V : Type} [AddCommGroup V] [Module ℂ V] [FiniteDimensional ℂ V] (P : Submodule ℂ V) : |
| 28 | Module.Free ℂ P ∧ Module.Finite ℂ P := ⟨inferInstance,inferInstance⟩ |
| 29 | haveI := (hp S).1; haveI := (hp S).2 |
| 30 | let E := Module.finBasis ℂ S |
| 31 | let f : S →ₗ[ℂ] Pre G := ((X.eval_linear).mk' X.evaluate).comp |
| 32 | (B.coords.toLinearMap.comp ((R d).toLinearMap.comp S.subtype)) |
| 33 | choose r m h using fun i=> (he.rank (E i).1 (E i).2).2 |
| 34 | let M := Finset.univ.sup m |
| 35 | let A := Finset.univ.sup r |
| 36 | refine ⟨A,M,fun x hx=>?_⟩ |
| 37 | let z : S := ⟨x,hx⟩ |
| 38 | change MicroAt (f z) _ _ |
| 39 | rw [← E.sum_repr z,map_sum]; simp_rw [map_smul] |
| 40 | refine additive _ _ ?_ ?_ |
| 41 | · intro i _; apply Continuous.const_smul; exact (he.rank (E i).1 (E i).2).1 |
| 42 | intro i hi; exact ((h i).mono (Finset.le_sup (s:=Finset.univ) (f:=r) hi) (Finset.le_sup (s:=Finset.univ) (f:=m) hi)).scale (E.repr z i) |
| 43 | private lemma covers_radius (C : Family G) (w : ℕ) : ∃ r M : ℕ, ∀ k p : ℕ, M ≤ (C.side k p).val → |
| 44 | ∀ x : Site (C.side k p),∀ y∈ (C.localSection w).footprint x,separation y x ≤ r := by |
| 45 | classical |
| 46 | let s := (C.localSection w).stencil |
| 47 | choose r M hM using fun i:s=> place_size i.val |
| 48 | refine ⟨Finset.univ.sup r,Finset.univ.sup M,fun k p hk x y hy=>?_⟩ |
| 49 | obtain ⟨i,hi,rfl⟩ := Finset.mem_image.mp hy |
| 50 | let j : s := ⟨i,hi⟩ |
| 51 | rw [separation,add_sub_cancel_right] |
| 52 | exact ((hM j _ ((Finset.le_sup (f:=M) (Finset.mem_univ j)).trans hk)).2).trans (Finset.le_sup (f:=r) (Finset.mem_univ j)) |
| 53 | private lemma featured_partition {P : Trial C} (i : Fin n) (q : Fin n→ C.book.Token) (x : Fin n→Site (C.side N p)) : |
| 54 | featuring P q i N p x=moment (C.beta N p) (fun U=> P N p (x i) U * ∏ j∈Finset.univ.erase i,C.seen (q j) (x j) U) := by |
| 55 | unfold featuring; congr 1; funext U |
| 56 | rw [← Finset.mul_prod_erase _ _ (Finset.mem_univ i),if_pos rfl]; congr 1 |
| 57 | exact Finset.prod_congr rfl fun b hb=> if_neg (Finset.ne_of_mem_erase hb) |
| 58 | open YM.MergeProof |
| 59 | theorem skyprobes (V:SectionData (C.labels.level d))(he:Portfolio C.params V (R d)) (δ:ℝ)(hδ:0 < δ)(n:ℕ) |
| 60 | (w:Fin n →ℕ) : ∀ᶠ N:ℕ in atTop, ∀ p:ℕ, C.beta N p≠0 → ∀ a: Rowe C d, (C.factory d N p).terminal (a (N,p)) ∈ carrier C R d N p → |
| 61 | ∀ q : Fin n→ C.book.Token, (∀ i,(q i).1=w i) → ∀ i : Fin n,∀ x, |
| 62 | (∀ j, j ≠ i → δ ≤ C.S.a N * separation (x j) (x i)) → |
| 63 | featuring (hallmarks V a) q i N p x=0 := by |
| 64 | classical |
| 65 | choose r M h using fun i=> covers_radius C (w i) |
| 66 | let m := Finset.univ.sup r |
| 67 | let K := Finset.univ.sup M |
| 68 | obtain ⟨s,H,hH⟩ := radius_uniform R V he |
| 69 | let g := s+m |
| 70 | have ht : ∀ᶠ k : ℕ in atTop, C.S.a k * g < δ := by |
| 71 | have hl := (C.S.shrinks.mul_const (g:ℝ)); rw [zero_mul] at hl |
| 72 | exact hl.eventually (gt_mem_nhds hδ) |
| 73 | filter_upwards [ht, lengths C.S K,lengths C.S H] with N hn hN hM p hβ a ha q hq i x hx |
| 74 | let D := Finset.univ.erase i |
| 75 | let T : Config G (C.side N p)→ ℂ := fun U=>∏ j∈D,C.seen (q j) (x j) U |
| 76 | have hS : Envelope T := cont_envelope (continuous_finsetProd D fun j _=> C.continuousO ..) |
| 77 | have he (j : Fin n) (hj : j∈D) y (hy : y∈ (C.localSection (q j).1).footprint (x j)) : y∈Outer s (x i) := by |
| 78 | have hr := h j N p ((Finset.le_sup (f:=M) (Finset.mem_univ j)).trans (hN p)) (x j) y (by rwa [← hq]) |
| 79 | have hl : g < separation (x j) (x i) := by |
| 80 | have hg : C.S.a N * g < C.S.a N * separation (x j) (x i) := hn.trans_le (hx j (Finset.ne_of_mem_erase hj)) |
| 81 | exact_mod_cast (lt_of_mul_lt_mul_left hg (C.S.a_pos N).le) |
| 82 | have hy := Finset.le_sup (f:=r) (Finset.mem_univ j) |
| 83 | have hp := separation_triangle (x j) y (x i); rw [separation_comm (x j) y] at hp |
| 84 | change s < _; unfold g m at *; omega |
| 85 | have hy : LocalOn (Outer s (x i)) T := fun P Q h=> Finset.prod_congr rfl fun j hj=> |
| 86 | C.localO N p (q j).1 (q j).2 (x j) _ _ (agrees_mono h (fun _ hv=> he j hj _ hv)) |
| 87 | rw [featured_partition]; let X := C.factory d N p; obtain ⟨y,hy',h0⟩:= obtained R _ ha |
| 88 | have hz : hallmarks V a N p (x i)= ((C.S.a N:ℂ)^d)⁻¹ • (V.evaluate ((C.labels.level d).coords (R d y)) ∘ expandAt (x i)):=by |
| 89 | unfold hallmarks; unfold embedTo at h0; simp only [LinearEquiv.trans_apply] at h0; unfold initial; rw [(C.factory d N p).terminal.injective h0] |
| 90 | let F:= C.labels.level d; let j:= C.path.levels.clock.threshold N; rw [show ∀ w:C.label d,F.scaled j⁻¹ (tied C d N w)=w from (tied C d N).left_inv]; rfl |
| 91 | rw [hz]; exact ((hH y hy').scale (((C.S.a N:ℂ)^d)⁻¹)) (C.side N p) (hM p) (x i) (C.beta N p) hβ T hy hS |
| 92 | end YM.Push.Mark |