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.Extra.MULTISOURCE_TRAJECTORIES.Signals |
| 2 | /-! |
| 3 | # Literal C.O insertions and their replicated or signed copies |
| 4 | |
| 5 | Allow an independent permitted weight, input point and cutoff pull (including |
| 6 | optional value conjugation for tilings) in each slot. Use the stored factory's |
| 7 | one terminal map at this cutoff. Physical equality and transported full top |
| 8 | stencil, including inversely oriented edges; no auxiliary smoothness/linearity |
| 9 | assumption on a re-tuned label field. . |
| 10 | -/ |
| 11 | set_option autoImplicit false |
| 12 | noncomputable section |
| 13 | namespace YM.Extra.Trajectories |
| 14 | open Lattice Wilson RG Source Labels Function |
| 15 | open scoped Topology Matrix.Norms.Frobenius BigOperators ContDiff Classical |
| 16 | variable {G : Gauge} {C : Family G} {V : Type} {N p : ℕ} {n : Side} |
| 17 | |
| 18 | def pullM (s : Signed) (b : Site n) (M : Field G n) : Field G n := fun e => readM ((posDir e.2).rotate s) (affine s b e.1) M |
| 19 | lemma pullM_smooth (s : Signed) (b : Site n) : ContDiff ℝ ∞ (pullM (G:=G) s b) := |
| 20 | contDiff_pi.mpr fun _ => readM_smooth _ _ |
| 21 | lemma field_pull (s : Signed) (b : Site n) (U : Config G n) : pullM s b (matrixField U) = matrixField (pull s b U) := by |
| 22 | funext i; dsimp only [pullM, readM, matrixField, comp_apply, pull, Step.read]; split <;> rfl |
| 23 | |
| 24 | def atom {S : Finset Cover} (o : Site n) (A : Field G n) (k : Source.Index G S) := |
| 25 | let z := (expandAt o A k.1.val) k.2.1 k.2.2.1 |
| 26 | if k.2.2.2 then star z else z |
| 27 | |
| 28 | lemma atom_smooth {S : Finset Cover} (o : Site n) (k : Source.Index G S) : ContDiff ℝ ∞ (fun A => atom o A k) := by |
| 29 | let i := k.2.1; let j := k.2.2.1 |
| 30 | have h : ContDiff ℝ ∞ (fun A : Field G n => (expandAt o A k.1.val) i j) := |
| 31 | (Matrix.entryLinearMap ℝ ℂ i j).toContinuousLinearMap.contDiff.comp (contDiff_apply ℝ _ _) |
| 32 | unfold atom; split |
| 33 | · exact (starL ℝ : ℂ ≃L[ℝ] ℂ).contDiff.comp h |
| 34 | exact h |
| 35 | |
| 36 | private lemma polynomial_smooth {S : Finset Cover} (o : Site n) (Q : Source.Formula G S) : |
| 37 | ContDiff ℝ ∞ (fun A : Field G n => MvPolynomial.aeval (atom o A) Q) := by |
| 38 | induction Q using MvPolynomial.induction_on with |
| 39 | | C c => simpa using! (contDiff_const (𝕜:=ℝ) (E:=Field G n) (n:=∞) (c:=c)) |
| 40 | | add p q hp hq => simp only [map_add]; exact hp.add hq |
| 41 | | mul_X p i hp => simp only [map_mul,MvPolynomial.aeval_X]; exact hp.mul (atom_smooth o i) |
| 42 | |
| 43 | def observable (C : Family G) (N p : ℕ) {d : ℕ} (z : C.label d) (o : Site (C.side N p)) (A : Field G (C.side N p)) : ℂ := |
| 44 | ((C.S.a N : ℂ)^d)⁻¹ * MvPolynomial.aeval (atom o A) ((C.localSection d).evalC (((C.labels.level d).scaled |
| 45 | (C.path.levels.clock.threshold N)⁻¹) ((C.factory d N p).terminal.symm z))) |
| 46 | lemma observable_smooth (C : Family G) (N p d : ℕ) (z : C.label d) (o : Site (C.side N p)) : |
| 47 | ContDiff ℝ ∞ (observable C N p z o) := contDiff_const.mul (polynomial_smooth o _) |
| 48 | lemma observable_field (C : Family G) (N p d : ℕ) (z : C.label d) (o : Site (C.side N p)) (U) : |
| 49 | observable C N p z o (matrixField U) = C.O N p z o U := rfl |
| 50 | |
| 51 | structure Probes (C : Family G) (V : Type) (N p : ℕ) where |
| 52 | d : V → ℕ |
| 53 | z (i : V) : C.label (d i) |
| 54 | point : V → Site (C.side N p) |
| 55 | signed : V → Signed |
| 56 | offset : V → Site (C.side N p) |
| 57 | reflect : V → Prop |
| 58 | |
| 59 | private lemma affine_step (s : Signed) (b : Site n) (e : Edge (Site n)) : |
| 60 | affine s b (e.1 + Lattice.step e.2) = affine s b e.1 + ((posDir e.2).rotate s).vec := by |
| 61 | rw [Step.vec_rotate,affine,affine,s.act_add,Step.vec_pos]; abel |
| 62 | |
| 63 | private lemma pull_gauge_eq (s : Signed) (b : Site n) (k : Site n → G.El) (U : Config G n) : |
| 64 | pull s b (gauge k U) = gauge (k ∘ affine s b) (pull s b U) := by |
| 65 | funext e |
| 66 | unfold Lattice.gauge pull |
| 67 | simp only [comp_apply]; rw [affine_step] |
| 68 | exact Step.gauge_read .. |
| 69 | |
| 70 | private lemma agrees_pull (s : Signed) (b : Site n) (S : Support n) (U W : Config G n) |
| 71 | (h : Agrees (S.image (affine s b)) U W) : Agrees S (pull s b U) (pull s b W) := by |
| 72 | intro e hi hj |
| 73 | have h₁ := Finset.mem_image_of_mem (affine s b) hi |
| 74 | have h₂ := Finset.mem_image_of_mem (affine s b) hj |
| 75 | rw [affine_step] at h₂ |
| 76 | let D := (posDir e.2).rotate s |
| 77 | change D.read U _ = D.read W _ |
| 78 | have he : U (D.used (affine s b e.1))= W (D.used (affine s b e.1)) := by |
| 79 | change affine s b e.1 + D.vec ∈ _ at h₂ |
| 80 | unfold Step.used |
| 81 | split |
| 82 | next ht => exact h _ (by simpa [sub_eq_add_neg,Step.vec,ht] using h₂) (by simpa using h₁) |
| 83 | next ht => exact h _ h₁ (by simpa [Step.vec,ht] using h₂) |
| 84 | unfold Step.read; rw [he] |
| 85 | |
| 86 | namespace Probes |
| 87 | variable (Q : Probes C V N p) |
| 88 | |
| 89 | def place (i : V) := affine (Q.signed i) (Q.offset i) (Q.point i) |
| 90 | def footprint (i : V) : Support (C.side N p) := ((C.localSection (Q.d i)).footprint (Q.point i)).image (affine (Q.signed i) (Q.offset i)) |
| 91 | |
| 92 | def eval (i : V) (U : Config G (C.side N p)) := |
| 93 | let x := C.O N p (Q.z i) (Q.point i) (pull (Q.signed i) (Q.offset i) U) |
| 94 | if Q.reflect i then star x else x |
| 95 | |
| 96 | def toInsertions : Insertions C.path V N p where |
| 97 | load := Q.d |
| 98 | field i A := |
| 99 | let x := observable C N p (Q.z i) (Q.point i) (pullM (Q.signed i) (Q.offset i) A) |
| 100 | if Q.reflect i then star x else x |
| 101 | smooth i := by |
| 102 | let h := (observable_smooth C N p (Q.d i) (Q.z i) (Q.point i)).comp (pullM_smooth (Q.signed i) (Q.offset i)) |
| 103 | dsimp only; split |
| 104 | · exact (starL ℝ : ℂ ≃L[ℝ] ℂ).contDiff.comp h |
| 105 | exact h |
| 106 | lemma physical (i : V) : Q.toInsertions.uses i = Q.eval i := by funext x; simp [eval,Insertions.uses,toInsertions,field_pull,observable_field] |
| 107 | lemma symmetric (h : C.Makes) : Q.toInsertions.Symmetric := by |
| 108 | intro i; rw [Q.physical]; intro k U |
| 109 | simp only [eval,pull_gauge_eq, C.invariant h N p _ (Q.z i) (Q.point i) (k ∘ affine (Q.signed i) (Q.offset i))] |
| 110 | lemma visible (i : V) : LocalOn (Q.footprint i) (Q.eval i) := by |
| 111 | intro U W h |
| 112 | rw [eval,eval,C.localO N p (Q.d i) _ (Q.point i) _ _ (agrees_pull _ _ _ U W h)] |
| 113 | lemma marked (h : C.Makes) (i : V) : Q.place i ∈ Q.footprint i := |
| 114 | Finset.mem_image_of_mem _ (by |
| 115 | simpa only [SectionData.footprint, map_zero, zero_add] using Finset.mem_image_of_mem (fun x => wrap (C.side N p) x + Q.point i) (h.sections (Q.d i)).anchored) |
| 116 | |
| 117 | /-- The precise Story array (actual star copies, common label). -/ |
| 118 | def center {d m : ℕ} (C : Family G) (p : ℕ) (h : m≤N) (v : C.label d) : Probes C (Site (C.side m p)) N p where |
| 119 | d _ := d |
| 120 | z _ := v |
| 121 | point _ := 0 |
| 122 | signed := (Cells.center C.S p h 0).omega |
| 123 | offset := (Cells.center C.S p h 0).translateBy |
| 124 | reflect := (Cells.center C.S p h 0).hand |
| 125 | |
| 126 | lemma center_eq {d m : ℕ} (C : Family G) (p : ℕ) (h : m≤N) (v : C.label d) (i : Site (C.side m p)) : |
| 127 | (center C p h v).eval i = (Cells.center C.S p h 0).copy i (C.O N p (d:=d) v 0) := rfl |
| 128 | lemma center_place {d m : ℕ} (C : Family G) (p : ℕ) (h : m≤N) (v : C.label d) (i : Site (C.side m p)) : |
| 129 | (center C p h v).place i = Mix.camp C p m N i := by |
| 130 | rw [Mix.camp,dif_pos h]; exact (Cells.copy_home C.S h 0 i).trans (zero_add _) |
| 131 | end Probes |
| 132 | end YM.Extra.Trajectories |