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.AnalyticNext.GRID_STOP_ATTENUATION.Coarrival.Oper |
| 2 | import YM.Laurent.Turn |
| 3 | import YM.Push.GRID_APPROXIMATION.Palette |
| 4 | import YM.Work.B18 |
| 5 | |
| 6 | set_option warningAsError false |
| 7 | |
| 8 | /-! |
| 9 | # Upstream gates applied to pairing |
| 10 | |
| 11 | Common dictionary at all steps, no coefficient estimates on precomputed |
| 12 | signed differences. Core choices & unmarked path fully frozen even between |
| 13 | birth station and cutoff. The program/combinator and its compatibility |
| 14 | with the calibrated family are actual red gates. We pay this for the |
| 15 | primary part. Pinned mixed response still needs its own buys: even propagating |
| 16 | primary successfully one need NOT get required mixed responses with same |
| 17 | primary output choice from a separate existential statement. |
| 18 | -/ |
| 19 | set_option autoImplicit false |
| 20 | noncomputable section |
| 21 | namespace YM.AnalyticNext.GridStop.Coarrival |
| 22 | open Function Filter MeasureTheory RG Marker Wilson Lattice Source Bid Labels Multi Stock Multi.Couples Finset Stepwise |
| 23 | open Push.GridApprox |
| 24 | open scoped Topology Matrix.Norms.Frobenius BigOperators Classical |
| 25 | variable {G : Gauge} {C : Family G} {m d p N k : ℕ} {W : Worth} |
| 26 | |
| 27 | /-- Transformations of entries (a rotation typically reindexes several |
| 28 | addresses as well as acting on their arguments). Needn't choose a topology |
| 29 | or rep on all directions. Require the first projection even if using a |
| 30 | Book-limited address dictionary. These only concern this station's paper. |
| 31 | `axial` only addresses the effective ancestor at origin. -/ |
| 32 | structure Atlas (C : Family G) (W : Worth) (N p d k : ℕ) (r : ℝ) where |
| 33 | exponent : 0≤r |
| 34 | slot : (i : ℕ)→ ℕ→ Support (C.side i p) |
| 35 | seat (i : ℕ) : ∀ j,0∈slot i j |
| 36 | launch : Room (C.path.rep N p k) |
| 37 | axial (i : ℕ) (he : C.ref d ≤ i) (hk : i < k) : Adjacent C W N p d slot r i |
| 38 | mirror (i : ℕ) : Wire (C.labels.level d) (C.side i p) → Wire (C.labels.level d) (C.side i p) |
| 39 | turn (i : ℕ) : Signed → Wire (C.labels.level d) (C.side i p) → Wire (C.labels.level d) (C.side i p) |
| 40 | soundm i u : (mirror i u).1=star u.1 |
| 41 | sounds i s u : (turn i s u).1=(C.labels.level d).act s.ortho u.1 |
| 42 | beginm v : mirror k (beginAt (C.localSection d) 0 launch v)=beginAt (C.localSection d) 0 launch (star v) |
| 43 | begins v s : turn k s (beginAt (C.localSection d) 0 launch v)=beginAt (C.localSection d) 0 launch ((C.labels.level d).act s.ortho v) |
| 44 | commutesm (i : ℕ) (he : C.ref d ≤ i) (hk : i < k) z : enroll C (N:=N) (i:=i+1) (slot (i+1)) z → |
| 45 | (∃ v, tariff C (N:=N) (i:=i+1) (slot (i+1)) z v) → |
| 46 | (axial i he hk).travel (mirror (i+1) z) = mirror i ((axial i he hk).travel z) |
| 47 | commutess (i : ℕ) (he : C.ref d ≤ i) (hk : i < k) z s : enroll C (N:=N) (i:=i+1) (slot (i+1)) z → |
| 48 | (∃ v, tariff C (N:=N) (i:=i+1) (slot (i+1)) z v) → |
| 49 | (axial i he hk).travel (turn (i+1) s z) = turn i s ((axial i he hk).travel z) |
| 50 | /-- Compatibility stronger than one needs for C factory & J; only |
| 51 | require origin and that Master eventually arrives, even if allocated different |
| 52 | indices outside our k region. Very important; otherwise no subtraction |
| 53 | with these stencils. -/ |
| 54 | belongs (i) (he : C.ref d ≤ i) (hk : i≤k) : (Match.old C i N p (0:C.label d)).support=slot i |
| 55 | identical (i) (he : C.ref d ≤ i) (hk : i < k) (v : C.label d) : |
| 56 | wire (Match.old C i N p v) = (axial i he hk).travel (wire (Match.old C (i+1) N p v)) |
| 57 | |
| 58 | variable {r : ℝ} |
| 59 | namespace Atlas |
| 60 | variable (A : Atlas C W N p d k r) |
| 61 | |
| 62 | def pulses (i : ℕ) : C.label d →ₗ[ℂ] Wire (C.labels.level d) (C.side i p) := |
| 63 | if h:i = k then h ▸ (begin_linear (C.localSection d) 0 A.launch).mk' _ |
| 64 | else if he : C.ref d ≤ i ∧ i < k then LinearMap.comp (A.axial i he.1 he.2).travel (pulses (i+1)) |
| 65 | else 0 |
| 66 | termination_by k-i |
| 67 | |
| 68 | def salaries (v : C.label d) (i : ℕ) := if i = k then (C.labels.level d).coeffSize ((C.labels.level d).core v) |
| 69 | else if he : C.ref d ≤ i ∧ i < k then Adjacent.cost (C:=C) (W:=W) (i:=i) (A.pulses (i+1) v) (salaries v (i+1)) else 0 |
| 70 | termination_by k-i |
| 71 | |
| 72 | def resume : Paper (Match.view C.path N) k p (C.labels.level d) := ⟨fun i v => address (A.slot i) (A.pulses i v), fun i v => A.salaries v i⟩ |
| 73 | |
| 74 | lemma first (v : C.label d) : A.resume.inits k v = address (A.slot k) (beginAt (C.localSection d) 0 A.launch v) ∧ |
| 75 | A.resume.paid k v = (C.labels.level d).coeffSize ((C.labels.level d).core v) := by |
| 76 | unfold resume; simp only; rw [pulses,dif_pos rfl, |
| 77 | salaries,if_pos rfl]; exact ⟨rfl,rfl⟩ |
| 78 | |
| 79 | lemma step (i) (h : C.ref d ≤ i) (hh : i < k) : A.pulses i = LinearMap.comp (A.axial i h hh).travel (A.pulses (i+1)) := by |
| 80 | rw [pulses,dif_neg hh.ne,dif_pos ⟨h,hh⟩] |
| 81 | |
| 82 | lemma salary_st (v : C.label d) (i) (h : C.ref d ≤ i) (hh : i < k) : A.salaries v i=Adjacent.cost (C:=C) (i:=i) (W:=W) (A.pulses (i+1) v) (A.salaries v (i+1)) := by |
| 83 | rw [salaries,if_neg hh.ne,dif_pos ⟨h,hh⟩] |
| 84 | |
| 85 | variable (H : C.Makes) (hr : C.ref d ≤ k) (hk : k≤N) |
| 86 | (hY : Maquette.room (C.localSection d) ≤ C.path.levels.clock.coverSize k) |
| 87 | (hF : money C.path.levels k*openingFee C d k ≤ 1) |
| 88 | include H hk hY hF |
| 89 | |
| 90 | lemma logged (v : C.label d) (i) (h : C.ref d ≤ i) (hi : i≤k) : |
| 91 | enroll C (N:=N) (i:=i) (A.slot i) (A.pulses i v) ∧ tariff C (N:=N) (i:=i) (A.slot i) (A.pulses i v) (A.salaries v i) := by |
| 92 | by_cases he:i = k |
| 93 | · subst i; unfold pulses salaries; rw [dif_pos rfl,if_pos rfl] |
| 94 | obtain ⟨hu,hv,-⟩ := arrival H (0:Site (C.side k p)) (A.slot k) (A.seat k) A.launch hk hY hF v; exact ⟨hu,hv⟩ |
| 95 | obtain ⟨hl,hj⟩:= logged v (i+1) (h.trans (Nat.le_succ _)) (show i < k by omega) |
| 96 | let J := A.axial i h (by omega) |
| 97 | have ht := J.levied _ hl hj |
| 98 | rw [A.step i h (show i < k by omega), A.salary_st v i h (show i < k by omega)] |
| 99 | exact ⟨(J.conveys _ hl ⟨_,hj⟩).1,Pair.funds_erases J.hr ht.1⟩ |
| 100 | termination_by k-i |
| 101 | |
| 102 | lemma locks (v : C.label d) (i) (h : C.ref d ≤ i) (he : i≤k) : |
| 103 | A.pulses i (star v)=A.mirror i (A.pulses i v) ∧ ∀ s, A.pulses i ((C.labels.level d).act s.ortho v)= A.turn i s (A.pulses i v) := by |
| 104 | have hl i h he := A.logged H hk hY hF v i h he |
| 105 | by_cases ht : i = k |
| 106 | · subst i; rw [pulses,dif_pos rfl]; exact ⟨(A.beginm v).symm,fun s => (A.begins v s).symm⟩ |
| 107 | have hf:i < k := lt_of_le_of_ne he ht |
| 108 | obtain ⟨hx,hy⟩ := locks v (i+1) (h.trans (Nat.le_succ _)) hf |
| 109 | rw [A.step i h hf]; simp only [LinearMap.comp_apply,hx,hy] |
| 110 | have hz := hl (i+1) (h.trans (Nat.le_succ _)) hf |
| 111 | exact ⟨A.commutesm _ h hf _ hz.1 ⟨_,hz.2⟩, fun s => A.commutess _ h hf _ _ hz.1 ⟨_,hz.2⟩⟩ |
| 112 | termination_by k-i |
| 113 | |
| 114 | omit H hk hY hF in |
| 115 | lemma unity (i) (h : C.ref d ≤ i) (he : i≤k) : A.pulses i (unitVec (C.labels.level d) C.path k)=lead (unitVec _ C.path i) := by |
| 116 | by_cases ht : i = k |
| 117 | · subst i; rw [pulses,dif_pos rfl]; let F := C.labels.level d; let P := (C.path.rep N p k).p; let S := C.localSection d |
| 118 | have he : F.core F.e0=0 := by ext1 i; by_cases e:i=0 <;> simp [Frame.core,Frame.e0,e] |
| 119 | refine Prod.ext rfl (Prod.ext rfl ?_); let Z := kit S (0:Site (C.side k p)) P.threshold (unitVec F C.path k) |
| 120 | have hu U : Z.tail (C.path.rep N p k) U=0 := by |
| 121 | unfold Z; rw [tail_is,Pi.sub_apply]; unfold unitVec; rw [map_smul,he,smul_zero,map_zero]; unfold SectionData.places |
| 122 | rw [show S.evaluate 0=0 from map_zero (S.eval_linear.mk' _)]; simp [masked] |
| 123 | funext j U |
| 124 | change Primary.allocate A.launch (ballast (S.footprint 0) _ (Z.tail (C.path.rep N p k))) j U=0 |
| 125 | unfold Primary.allocate; split |
| 126 | · unfold ballast; split; rw [hu,zero_mul]; rfl |
| 127 | rfl |
| 128 | have hf:i < k := lt_of_le_of_ne he ht |
| 129 | rw [A.step i h hf,LinearMap.comp_apply,unity (i+1) (h.trans (Nat.le_succ _)) hf] |
| 130 | exact (A.axial i h hf).constant |
| 131 | termination_by k-i |
| 132 | |
| 133 | include hr |
| 134 | |
| 135 | end Atlas |
| 136 | end YM.AnalyticNext.GridStop.Coarrival |