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.Push.COMMON_WITNESSES.RankBills |
| 2 | import YM.Work.A15 |
| 3 | |
| 4 | /-! |
| 5 | # From the ROOT bills to unselected tests |
| 6 | |
| 7 | Use only the very projections/points/tables which are converging. No appeal |
| 8 | to `Valid` at RCorrected, which would be circular. For each k get estimates |
| 9 | from the finite root hypotheses, including pair with exact centering and unit. |
| 10 | Here we're only using ONE occupied cell to test moments; in phase assembly |
| 11 | we'll then use the `CheapBill`s again (there full replicas are important). |
| 12 | -/ |
| 13 | set_option autoImplicit false |
| 14 | noncomputable section |
| 15 | namespace YM.Push.Common |
| 16 | open Function Filter Set MeasureTheory Extraction Wilson Lattice Cells Next.Extract |
| 17 | open scoped Topology ContDiff Matrix.Norms.Frobenius BigOperators |
| 18 | |
| 19 | private lemma inOne {G : Gauge} {n : Side} (T : Tiling n) {β} (h : Seam G n β) (F : Config G n → ℂ) |
| 20 | (H : Interior (T.chamber 0) F) : ‖moment β F‖ ≤ T.rootTest β F := by |
| 21 | have hu : Injective (fun (_ : Fin 1) => (0:T.Cell)) := fun _ _ _ => Subsingleton.elim .. |
| 22 | simpa using T.planted h (fun _ : Fin 1 => 0) hu (fun _ => F) (fun _ => H) |
| 23 | |
| 24 | private lemma less {n : Side} {G : Gauge} {K : Set (Site n)} {F : Config G n → ℂ} (h : Interior K F) (a : ℂ) : |
| 25 | Interior K (fun q => F q-a) := by |
| 26 | simpa [sub_eq_add_neg] using (h.plus (Interior.constant K (-a))) |
| 27 | |
| 28 | /- Rank-field entry estimates at all k, table D is either unselected or |
| 29 | one of the phase tables obtained through the assembly. These bounds quantify |
| 30 | over only the prescribed basis and placements. E.g. no comparison of off-grid |
| 31 | kernels at small scale inferred. -/ |
| 32 | variable {G : Gauge} {C : Family G} {d : ℕ} {T : Table C.book} |
| 33 | variable {X : Columns C T d} (Y : X.Trials) |
| 34 | |
| 35 | structure Prices (D : Table C.book) : Prop where |
| 36 | one (k i c s) : ‖D.expect [Retain.plant Y k i c s]- Y.singleton k i c s‖ ≤ Y.gap k |
| 37 | pair (k i c s u) : s<u → ‖D.expect [Retain.plant Y k i c s,Retain.plant Y k i c u]- Retain.free2 Y k i c s u‖ ≤ |
| 38 | Y.gap k + (‖Y.singleton k i c s‖+‖Y.singleton k i c u‖)*Y.gap k |
| 39 | |
| 40 | variable {f : Extraction.Order} (η : Setup Y) (h : f.PointLimits C T) {z : ProbeID X → ℕ → C.label d} |
| 41 | variable (hp : Response Y f z) |
| 42 | |
| 43 | include η h hp in |
| 44 | /-- Can keep the two-stage limit here, aliasing lifts and labels exactly. -/ |
| 45 | lemma probing (k i c) {n : ℕ} (u : Fin n → Fin ((X.row i).extra+1)) (H : Injective u) : |
| 46 | f.limits (fun p => Extraction.Order.grid C (Y.depth k) (Y.mark k i ∘ u)∈ Cyclic C.S p n) |
| 47 | (fun N p => moment (C.beta N p) (fun U => ∏ j, Y.weigh k N p i c (u j) U)) |
| 48 | (T.expect (List.ofFn fun j => Retain.plant Y k i c (u j))) := by |
| 49 | let a := Extraction.Order.grid C (Y.depth k) (Y.mark k i ∘ u) |
| 50 | have ha : a ∈ YM.generic n := fun s => (η.generic k i s).comp H |
| 51 | let r (s) := Columns.Trials.names (X:=X) i c (u s) |
| 52 | have he := keeps_moments (k:=Y.depth k) (d:=fun _ : Fin n => d) C f T _ ha h |
| 53 | (fun j => Y.later k (r j)) (fun N p j => Y.lift k N p (r j)) (fun j => hp.limits (k,r j)) |
| 54 | rw [show T.expect (List.ofFn fun j => Retain.plant Y k i c (u j)) = _ from T.readAt (fun j => Retain.token Y k i c (u j)) a] |
| 55 | exact he |
| 56 | |
| 57 | private lemma bill1 (k N p : ℕ) (i c s) (W : Tiling (C.side N p)) |
| 58 | (h : Interior (W.chamber 0) (Y.weigh k N p i c s)) : |
| 59 | moment (C.beta N p) (Y.subtract1 k N p i c s) = |
| 60 | moment (C.beta N p) (Y.weigh k N p i c s) - Y.singleton k i c s := by |
| 61 | unfold moment Columns.Trials.subtract1 |
| 62 | rw [integral_sub (h.integrable _) (integrable_const _),integral_const]; simp |
| 63 | |
| 64 | /-- The paired root estimate isn't a bound on `F*G-(a*b+c)`; need the two |
| 65 | lower bills as well to give the usual kernel estimate. -/ |
| 66 | private lemma bill2 (k N p : ℕ) (i c s t) (W : Tiling (C.side N p)) |
| 67 | (h : Interior (W.chamber 0) (Y.weigh k N p i c s)) (he : Interior (W.chamber 0) (Y.weigh k N p i c t)) : |
| 68 | moment (C.beta N p) (Y.subtract2 k N p i c s t) = moment (C.beta N p) (fun q => Y.weigh k N p i c s q * Y.weigh k N p i c t q) |
| 69 | - Y.singleton k i c s * moment (C.beta N p) (Y.weigh k N p i c t) |
| 70 | - Y.singleton k i c t * moment (C.beta N p) (Y.weigh k N p i c s) |
| 71 | + (Y.singleton k i c s * Y.singleton k i c t - Y.cumulant k i c s t) := by |
| 72 | let F := Y.weigh k N p i c s |
| 73 | let P := Y.weigh k N p i c t |
| 74 | let a := Y.singleton k i c s |
| 75 | let b := Y.singleton k i c t |
| 76 | let w := Y.cumulant k i c s t |
| 77 | have hu (q : Config G (C.side N p)) : Y.subtract2 k N p i c s t q = F q*P q - a*P q - b*F q + (a*b-w) := by |
| 78 | dsimp [F,P,a,b,w,Columns.Trials.subtract1,Columns.Trials.subtract2]; ring |
| 79 | let β := C.beta N p |
| 80 | let μ := law G (C.side N p) β |
| 81 | have hf : Integrable (fun q => F q*P q) μ := (h.times he).integrable _ |
| 82 | have hw : Integrable (fun q => a*P q) μ := ((he.integrable _).const_mul a) |
| 83 | have hy : Integrable (fun q => b*F q) μ := (h.integrable _).const_mul b |
| 84 | unfold moment |
| 85 | rw [show Y.subtract2 k N p i c s t = _ from funext hu] |
| 86 | have hv : Integrable (fun q => F q*P q - a*P q) μ := hf.sub hw |
| 87 | have hm : Integrable (fun q => F q*P q - a*P q - b*F q) μ := hv.sub hy |
| 88 | rw [integral_add hm (integrable_const _), integral_sub hv hy, integral_sub hf hw, |
| 89 | integral_const_mul, integral_const_mul, integral_const]; simp [F,P,a,b,w,μ,β] |
| 90 | |
| 91 | variable (hy : ∀ N p, Seam G (C.side N p) (C.beta N p)) |
| 92 | variable (hq : ∀ k ε, 0<ε → CheapBill Y f k ε) |
| 93 | |
| 94 | -- Include proofs from the exact extraction. |
| 95 | include η h hp hy hq |
| 96 | |
| 97 | theorem unselected_prices : Prices Y T := by |
| 98 | have hl (k i c s) : Tendsto (fun u : ℕ × ℕ => moment (C.beta u.1 u.2) (Y.weigh k u.1 u.2 i c s)) f.fuse |
| 99 | (𝓝 (T.expect [Retain.plant Y k i c s])) := by |
| 100 | have hI : Injective (fun _ : Fin 1 => s) := fun _ _ _ => Subsingleton.elim .. |
| 101 | have ht := probing Y η h hp k i c _ hI |
| 102 | simpa using Extraction.Order.along ht |
| 103 | have han (k i c s) : ‖T.expect [Retain.plant Y k i c s]- Y.singleton k i c s‖ ≤ Y.gap k := by |
| 104 | apply le_of_forall_pos_le_add |
| 105 | intro ε hε |
| 106 | have hw := ((hl k i c s).sub_const (Y.singleton k i c s)).norm |
| 107 | apply le_of_tendsto hw |
| 108 | change ∀ᶠ u : ℕ × ℕ in f.fuse, ‖moment (C.beta u.1 u.2) (Y.weigh k u.1 u.2 i c s) - Y.singleton k i c s‖ ≤ Y.gap k + ε |
| 109 | rw [Extraction.Order.fused] |
| 110 | refine (hq k ε hε).mono fun v hv => hv.mono ?_ |
| 111 | rintro j ⟨w,W⟩ |
| 112 | obtain ⟨H,Gt,_⟩ := W i c s |
| 113 | rw [← bill1 Y k _ _ i c s _ H] |
| 114 | exact (inOne _ (hy _ _) _ (less H _)).trans Gt |
| 115 | refine ⟨han,?_⟩ |
| 116 | intro k i c s t Hst |
| 117 | let a := Y.singleton k i c s |
| 118 | let b := Y.singleton k i c t |
| 119 | let x := Retain.plant Y k i c |
| 120 | let w := Y.cumulant k i c s t |
| 121 | let y := T.expect [x s,x t]-a*T.expect [x t]-b*T.expect [x s]+(a*b-w) |
| 122 | have hb : ‖y‖ ≤ Y.gap k := by |
| 123 | apply le_of_forall_pos_le_add |
| 124 | intro ε hε |
| 125 | have hI : Injective (![s,t]) := by |
| 126 | intro r u |
| 127 | fin_cases r <;> fin_cases u <;> simp [Hst.ne,Hst.ne'] |
| 128 | have ht := probing Y η h hp k i c _ hI |
| 129 | have ht : Tendsto (fun u : ℕ × ℕ => moment (C.beta u.1 u.2) |
| 130 | (fun q => Y.weigh k u.1 u.2 i c s q * Y.weigh k u.1 u.2 i c t q)) f.fuse (𝓝 (T.expect [x s,x t])) := by |
| 131 | simpa [x,Fin.prod_univ_succ] using Extraction.Order.along ht |
| 132 | have he := (((ht.sub ((hl k i c t).const_mul a)).sub ((hl k i c s).const_mul b)).add_const (a*b-w)).norm |
| 133 | apply le_of_tendsto he |
| 134 | let p (N P : ℕ) := moment (C.beta N P) (fun q => Y.weigh k N P i c s q * Y.weigh k N P i c t q) - |
| 135 | a*moment (C.beta N P) (Y.weigh k N P i c t) - b*moment (C.beta N P) (Y.weigh k N P i c s) + (a*b-w) |
| 136 | change ∀ᶠ u : ℕ × ℕ in f.fuse, ‖p u.1 u.2‖ ≤ Y.gap k + ε |
| 137 | rw [Extraction.Order.fused] |
| 138 | refine (hq k ε hε).mono fun v hv => hv.mono ?_ |
| 139 | rintro j ⟨w,W⟩ |
| 140 | have H := (W i c s).1 |
| 141 | have H' := (W i c t).1 |
| 142 | have hw := bill2 Y k _ _ i c s t _ H H' |
| 143 | change _ = p _ _ at hw |
| 144 | change ‖p _ _‖ ≤ _ |
| 145 | rw [← hw] |
| 146 | exact (inOne _ (hy _ _) _ (less ((less H a).times (less H' b)) _)).trans ((W i c s).2.2 t Hst) |
| 147 | change ‖T.expect [x s,x t] - (w+a*b)‖ ≤ Y.gap k+(‖a‖+‖b‖)*Y.gap k |
| 148 | rw [show T.expect [x s,x t] - (w+a*b) = y + (a*(T.expect [x t]-b)+b*(T.expect [x s]-a)) from by |
| 149 | dsimp [y]; ring, add_mul] |
| 150 | refine (norm_add_le ..).trans (add_le_add hb ((norm_add_le ..).trans ?_)) |
| 151 | rw [norm_mul,norm_mul]; exact add_le_add (mul_le_mul_of_nonneg_left (han k i c t) (norm_nonneg _)) |
| 152 | (mul_le_mul_of_nonneg_left (han k i c s) (norm_nonneg _)) |
| 153 | end YM.Push.Common |