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.Open |
| 2 | import YM.Next.EXTRACTION.Stages |
| 3 | |
| 4 | set_option warningAsError false |
| 5 | |
| 6 | /-! |
| 7 | # Locked dictionary for primary analysis, single common step operator |
| 8 | |
| 9 | Need ATTENUATION & relative errors on the *ordinary* costed input |
| 10 | rays+germs at the vacuum. Include an augmented priced path step if |
| 11 | δ>0; independent of later k radius. Unit carried exactly, not |
| 12 | assuming arbitrary o outputs or choosing their prescriptions yet. |
| 13 | No assumption of payment on a comparison; DECISIVE compatibility with |
| 14 | our pre-existing calibrated factory's labels is made explicit. |
| 15 | -/ |
| 16 | set_option autoImplicit false |
| 17 | noncomputable section |
| 18 | namespace YM.AnalyticNext.GridStop.Coarrival |
| 19 | open Function Filter MeasureTheory RG Marker Wilson Lattice Source Bid Labels Multi Stock Multi.Couples Finset |
| 20 | open Push.GridApprox Push.RelayDifference |
| 21 | open scoped Topology Matrix.Norms.Frobenius BigOperators Classical |
| 22 | variable {G : Gauge} {C : Family G} {m d p N : ℕ} |
| 23 | variable {n : Side} {o : Site n} {F : Frame G d} |
| 24 | |
| 25 | def lead {F : Frame G d} (a : F.Coeff) : Wire F n := (a,0,0) |
| 26 | def lag {F : Frame G d} (a : Wire F n) : Wire F n := (0,a.2) |
| 27 | |
| 28 | private lemma lead_lag {F : Frame G d} (a : Wire F n) : lead a.1+lag a=a := by |
| 29 | ext1 |
| 30 | · exact add_zero _ |
| 31 | ext1 |
| 32 | · exact zero_add _ |
| 33 | exact zero_add _ |
| 34 | |
| 35 | variable {Ω : Hol G} {X : ℕ → Support n} {P : Rep G n} {κ b u : ℝ} {A B : Wire F n} |
| 36 | private lemma wired_add (h : (address X A).Format o Ω P) (H : (address X B).Format o Ω P) |
| 37 | (he : (address X A).remBound o P κ b) (hf : (address X B).remBound o P κ u) : |
| 38 | (address X (A+B)).remBound o P κ (b+u) := by |
| 39 | obtain ⟨a₁,b₁,h₁,h₁',hA,hκ,⟨f,hSet,h₁F⟩,⟨g,hg,hg'⟩⟩:=he |
| 40 | obtain ⟨a₂,b₂,h₂,h₂',hB,-,⟨f',hf',h₂F⟩,⟨k,hk,hk'⟩⟩:=hf |
| 41 | refine ⟨a₁+a₂,b₁+b₂,add_nonneg h₁ h₂,add_nonneg h₁' h₂',by linarith,hκ,⟨f+f',?_,fun i => Next.Foundations.bound_add |
| 42 | (h.smooth i) (H.smooth i) (h₁F i) (h₂F i)⟩,g+k,?_,fun i => ⟨add_nonneg (hg' i).1 (hk' i).1,fun U => (norm_add_le ..).trans |
| 43 | (add_le_add ((hg' i).2 U) ((hk' i).2 U))⟩⟩ |
| 44 | · simpa only [address,BudgetPoint.mass,Pi.add_apply,mul_add] using add_budget hSet hf' |
| 45 | simpa only [BudgetPoint.mass,Pi.add_apply,mul_add] using add_budget hg hk |
| 46 | |
| 47 | |
| 48 | |
| 49 | |
| 50 | |
| 51 | /-- Data for submitting each individual step of the descent. |
| 52 | `B/core` & inverse and margin currencies are the Worth receipts |
| 53 | made before testing. Programs even on ill-formed values can be |
| 54 | abstractly algebraic -- only need equivariance and physical estimates |
| 55 | on admissible common inputs, and of course equality with the given |
| 56 | factory. Postulate x and remainder prices separately for x input and |
| 57 | for r input: no recurrences in this contract. |
| 58 | -/ |
| 59 | def tariff (C : Family G) {d N p i : ℕ} (X : ℕ→Support (C.side i p)) (z : Wire (C.labels.level d) (C.side i p)) (u : ℝ) := |
| 60 | (address X z).remBound 0 (C.path.rep N p i) (money C.path.levels i) u |
| 61 | |
| 62 | def enroll (C : Family G) {d N p i : ℕ} (X : ℕ→Support (C.side i p)) (z : Wire (C.labels.level d) (C.side i p)) := |
| 63 | (address X z).Format 0 C.params (C.path.rep N p i) |
| 64 | |
| 65 | structure Adjacent (C : Family G) (W : Worth) (N p d : ℕ) |
| 66 | (X : (i : ℕ) → ℕ → Support (C.side i p)) (r : ℝ) (i : ℕ) where |
| 67 | hr : 0 ≤ r |
| 68 | travel : Wire (C.labels.level d) (C.side (i+1) p) →ₗ[ℂ] Wire (C.labels.level d) (C.side i p) |
| 69 | diagonal : (C.labels.level d).Coeff ≃ₗ[ℂ] (C.labels.level d).Coeff |
| 70 | worth : ∀ x : (C.labels.level d).Coeff, let V := W.K (C.path.levels.clock.J (i+1)); let F := C.labels.level d |
| 71 | F.coeffSize (diagonal x) ≤ V * F.coeffSize x ∧ F.coeffSize (diagonal.symm x) ≤ V * F.coeffSize x ∧ F.core (diagonal x)=diagonal (F.core x) |
| 72 | basis : ∀ x : (C.labels.level d).Coeff, let L := C.S.block i; let F := C.labels.level d; let y := Bid.vowel F L x |
| 73 | let k := (travel (lead x)); let P := C.path.rep N p i |
| 74 | (address (X i) k).Format 0 C.params P ∧ F.coeffSize (k.1 - diagonal y) ≤ barunit L * F.coeffSize (F.core x) ∧ |
| 75 | (address (X i) k).remBound 0 (Pair.funds P r hr) (money C.path.levels i) (W.K (C.path.levels.clock.J (i+1))* F.coeffSize (F.core y)) |
| 76 | tails : ∀ u z, z=lag z → enroll C (N:=N) (i:=i+1) (X (i+1)) z → tariff C (N:=N) (i:=i+1) (X (i+1)) z u → |
| 77 | let L := C.S.block i; let F := C.labels.level d; let k := travel z; let P := C.path.rep N p i |
| 78 | (address (X i) k).Format 0 C.params P ∧ F.coeffSize k.1≤barunit L * u ∧ |
| 79 | (address (X i) k).remBound 0 (Pair.funds P r hr) (money C.path.levels i) (barunit L * u) |
| 80 | -- need full exact denotations & output format. Even if only uses calibrated or other physical estimates: make J witness. |
| 81 | conveys : ∀ z : Wire (C.labels.level d) (C.side (i+1) p),enroll C (N:=N) (i:=i+1) (X (i+1)) z → (∃ u,tariff C (N:=N) (i:=i+1) (X (i+1)) z u) → |
| 82 | let P := C.path.rep N p i; let Q := C.path.rep N p (i+1); let k := address (X i) (travel z); let S := C.localSection d |
| 83 | k.Format 0 C.params P ∧ k.density 0 S P = ((C.S.block i).val:ℂ)^d • (C.path.levels.clock.op i p).push Q.beta ((address (X (i+1)) z).density 0 S Q) |
| 84 | -- unit pass at wire level. Follows from a canonical rule fixing units |
| 85 | -- EXACTLY. separately test because remBound zero only means zero on good domains. |
| 86 | constant : travel (lead (unitVec (C.labels.level d) C.path (i+1))) = lead (unitVec _ C.path i) |
| 87 | |
| 88 | variable {W : Worth} {r : ℝ} {X : (i : ℕ) → ℕ → Support (C.side i p)} {i : ℕ} |
| 89 | namespace Adjacent |
| 90 | variable (J : Adjacent C W N p d X r i) |
| 91 | |
| 92 | def cost (z : Wire (C.labels.level d) (C.side (i+1) p)) (a : ℝ) := |
| 93 | let F := C.labels.level d; let L := C.S.block i;W.K (C.path.levels.clock.J (i+1)) * F.coeffSize (F.core (Bid.vowel F L z.1))+barunit L*a -- J unused |
| 94 | |
| 95 | include J |
| 96 | lemma levied (z : Wire (C.labels.level d) (C.side (i+1) p)) {a : ℝ} (he : enroll C (X (i+1)) z (N:=N) (i:=i+1)) (hf : tariff C (X (i+1)) z a (N:=N) (i:=i+1)) : |
| 97 | let V := C.path.rep N p i; let k := J.travel z; let c := cost (C:=C) (i:=i) (W:=W) z a |
| 98 | (address (X i) k).remBound 0 (Pair.funds V r J.hr) (money C.path.levels i) c ∧ |
| 99 | Bid.direction C.path W i (C.labels.level d) k.1 z.1 c a := by |
| 100 | intro V k c |
| 101 | have ha : 0≤a := by obtain ⟨e,u,hE,hU,h,-⟩:=hf; exact (add_nonneg hE hU).trans h |
| 102 | obtain ⟨hb,hb',hB⟩ := J.basis z.1 |
| 103 | have hl : enroll C (X (i+1)) (lag z) (N:=N) (i:=i+1) := by obtain ⟨a,b,c,d,e,f,h,i,j⟩:=he; exact ⟨a,b,c,d,e,f,h,i,j⟩ |
| 104 | obtain ⟨ht,ht',hT⟩ := J.tails a (lag z) rfl hl hf |
| 105 | have he (X : (v:ℕ)→ ℕ → Support (C.side v p)) (T : Wire (C.labels.level d) (C.side i p)) (h : (address (X i) T).Format 0 C.params V) : |
| 106 | (address (X i) T).Format 0 C.params (Pair.funds V r J.hr) := by |
| 107 | refine ⟨fun l => ?_,h.origin,h.identity_null,h.projects,h.forcing,h.carried,h.invariant,h.supported,h.borel⟩ |
| 108 | obtain ⟨h,t,hv,hX,hY⟩ := h.smooth l |
| 109 | exact ⟨h,t,hv,hX,hY⟩ |
| 110 | have hx : k= J.travel (lead z.1)+J.travel (lag z) := by unfold k; rw [← map_add,lead_lag] |
| 111 | have hh : (address (X i) k).remBound 0 (Pair.funds V r J.hr) (money C.path.levels i) c := by |
| 112 | rw [hx]; exact wired_add (he X _ hb) (he X _ ht) hB hT |
| 113 | have hc : 0≤c := by obtain ⟨y,u,hy,hv,hc',-⟩ := hh; exact (add_nonneg hy hv).trans hc' |
| 114 | let L := C.S.block i; let y := Bid.vowel (C.labels.level d) L z.1 |
| 115 | refine ⟨hh,hc,ha,J.diagonal,J.worth,le_trans ?_ ((add_le_add hb' ht').trans_eq (mul_add ..).symm),le_rfl⟩ |
| 116 | rw [hx]; let K := C.labels.level d |
| 117 | change K.coeffSize ((J.travel (lead z.1)).1 + (J.travel (lag z)).1 - J.diagonal _) ≤ _ |
| 118 | rw [add_sub_right_comm]; unfold Frame.coeffSize; rw [←sum_add_distrib]; exact Finset.sum_le_sum (fun j _ => norm_add_le ..) |
| 119 | end Adjacent |
| 120 | end YM.AnalyticNext.GridStop.Coarrival |