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.RG08.Flat.KStep |
| 2 | |
| 3 | /-! |
| 4 | # Precise flat Wilson history used for the formal coefficients |
| 5 | |
| 6 | Adapter from the *same* actual gauge history; no existential tuning/volume |
| 7 | limits used here. Also admits contexts with no deep-demand promises (fixed |
| 8 | smoothing formal tests). `pair` extends to artificial periods with exactly |
| 9 | the same cover-block germ. Does not supply real Estimates for those periods. |
| 10 | -/ |
| 11 | set_option autoImplicit false |
| 12 | noncomputable section |
| 13 | namespace YM.RG08 |
| 14 | open Function Filter Lattice Wilson RG Exterior Precision Next.Free |
| 15 | open Laurent Bloch Matrix Work.F08 |
| 16 | open scoped Topology BigOperators |
| 17 | |
| 18 | structure Chain where |
| 19 | S : Schedule |
| 20 | kernel : KernelChoices |
| 21 | J : ℕ→ℕ |
| 22 | adm i : 4 ≤ J i |
| 23 | mono i : J i ≤ J (i+1) |
| 24 | slow i : J (i+1) ≤ J i + 1 |
| 25 | |
| 26 | namespace Chain |
| 27 | variable (X : Chain) {G : Gauge} |
| 28 | |
| 29 | /-- Blocking can be imported *literally* from the cutoff witness. -/ |
| 30 | def actual (a : Levels G) : Chain := ⟨a.S,a.clock.kernel,a.clock.J,a.clock.adm, |
| 31 | fun _ => a.fits.mono (Nat.le_succ _),a.fits.stepSlow⟩ |
| 32 | |
| 33 | def patch (m : ℕ) : Patch := |
| 34 | ⟨X.S.block m,X.J (m+1),X.adm _,X.S.block_large m,X.S.block_odd m⟩ |
| 35 | |
| 36 | def pair (m : ℕ) (c f : Side) (h : f.val=c.val*(X.S.block m).val) : StepData c f := |
| 37 | ⟨X.patch m,X.kernel,h⟩ |
| 38 | def stepOp (m p : ℕ) : StepData (X.S.side m p) (X.S.side (m+1) p) := |
| 39 | X.pair m _ _ (X.S.oneStep m p).exact_size |
| 40 | lemma stepOp_uses (a : Levels G) (m p) : (actual a).stepOp m p = a.clock.op m p := rfl |
| 41 | |
| 42 | def step (m : ℕ) (v : Train (X.J (m+1))) : Flight (X.J (m+1)) (X.J m) := |
| 43 | ⟨X.S.block m,X.S.block_odd _,X.S.block_large _,X.adm _,X.mono m,X.slow m,v⟩ |
| 44 | def link (d i : ℕ) : Train (X.J i) := match d with |
| 45 | | 0 => Train.top _ |
| 46 | | d+1 => (X.step i (link d (i+1))).land |
| 47 | def history (N i : ℕ) := X.link (N-i) i |
| 48 | lemma history_top (N : ℕ) : X.history N N=Train.top _ := by rw [history,Nat.sub_self,link] |
| 49 | def flight (N i : ℕ) := X.step i (X.history N (i+1)) |
| 50 | lemma history_step (N i : ℕ) (h : i<N) : X.history N i=(X.flight N i).land := by |
| 51 | unfold flight history; rw [show N-i = N-(i+1)+1 by omega, link] |
| 52 | |
| 53 | def metric (N m : ℕ) := pink X.kernel.penalty (X.history N m) |
| 54 | /-- fluctuation order zero unscaled Hessian, *not* a physical derivative. -/ |
| 55 | def K₀ (N i : ℕ) : KRow := hessian (X.metric N i) |
| 56 | |
| 57 | def A₀ (N m : ℕ) : Cross (X.S.block m) (TypeFace 1) (TypeFace 1) := |
| 58 | ((X.flight N m).duo X.kernel.penalty).A0 |
| 59 | |
| 60 | lemma metric_whole (N m) : Whole (X.metric N m) := |
| 61 | (heart_saves X.kernel.penalty X.kernel.penalty_pos (X.adm _) (id : Train (X.J m) → _)).1.whole (X.history N m) |
| 62 | lemma k_whole (N m) : Whole (X.K₀ N m) := hessian_whole (X.metric_whole ..) |
| 63 | lemma metric_start (N m) : (X.metric N m).read 0=1 := |
| 64 | ((heart_true _ X.kernel.penalty_pos (X.adm _) (X.history N m)).1.echo 0 |
| 65 | ⟨(by unfold physical; simp),by intro i; simp [Real.pi_pos.le]⟩).trans (pulse_zero ..) |
| 66 | lemma metric_sym (N m) (c : Side) : ((X.metric N m).acts c)ᵀ=(X.metric N m).acts c := |
| 67 | (heart_inverse X.kernel.penalty X.kernel.penalty_pos (X.adm _) (X.history N m) c).2.1 |
| 68 | lemma metric_wilson (N : ℕ) : X.metric N N=unitRow _ := by |
| 69 | apply bank_injective (X.metric_whole ..).safe (Whole.coin _).safe |
| 70 | apply Whole.eq_on (X.metric_whole ..) (Whole.coin _) |
| 71 | intro p hp |
| 72 | unfold metric pink; rw [X.history_top] |
| 73 | apply Eq.trans ((heart_true X.kernel.penalty X.kernel.penalty_pos (X.adm _) (Train.top (X.J N))).1.echo _ hp) |
| 74 | exact (top_metric _ X.kernel.penalty_pos _ (base_subset_realCube zone_pos hp)).2.trans (read_unit ..).symm |
| 75 | |
| 76 | lemma sym_acts (N m) (c : Side) : (X.K₀ N m).acts c= K ((X.metric N m).acts c) := |
| 77 | hessian_acts (X.metric_whole ..) c |
| 78 | lemma canonical (N m) (hn:m<N) {c f : Side} (h : f.val=c.val*(X.S.block m).val) : |
| 79 | Inputs (X.pair m c f h) (installed (X.pair m c f h).ratio (X.A₀ N m)) |
| 80 | ((X.metric N (m+1)).acts f) ((X.metric N m).acts c) := by |
| 81 | unfold metric; rw [X.history_step N m hn] |
| 82 | exact ((X.flight N m).tangent X.kernel (X.adm _) (c:=c) (f:=f) h).1 |
| 83 | lemma az_whole (N m) : Whole (X.A₀ N m) := by |
| 84 | obtain ⟨t,C,ht,-,H⟩ := ((secure_both _ X.kernel.penalty_pos (X.adm (m+1)) (X.adm m)).1).honored (X.adm (m+1)) 1 |
| 85 | exact ⟨_,_,ht,H (X.flight N m) [] (Nat.zero_le _)⟩ |
| 86 | |
| 87 | lemma link_actual (a : Levels G) (m n) : (actual a).link m n = flying a m n := by |
| 88 | induction m generalizing n with |
| 89 | | zero => rfl |
| 90 | | succ m ih => rw [link,ih, flying]; rfl |
| 91 | lemma A₀_actual (a : Levels G) (N m) : (actual a).A₀ N m=((destination a N m).duo a.clock.kernel.penalty).A0 := by |
| 92 | unfold A₀ flight history; rw [link_actual]; rfl |
| 93 | lemma metric_actual (a : Levels G) (N m) : (actual a).metric N m=pink a.clock.kernel.penalty (location a N m) := by |
| 94 | unfold metric history; rw [link_actual]; rfl |
| 95 | |
| 96 | lemma side_infinite (s : YM.Schedule) (m : ℕ) : Tendsto (fun i => (s.side m i).val) atTop atTop := by |
| 97 | refine tendsto_atTop_mono (fun i => ?_) s.period_strict.tendsto_atTop |
| 98 | exact Nat.le_mul_of_pos_right _ (s.denominator m).property |
| 99 | |
| 100 | /-- No A-A' difference on the right. -/ |
| 101 | theorem k_difference_step (m N N' : ℕ) (h:m<N) (hh:m<N') : |
| 102 | minusRows (X.K₀ N m) (X.K₀ N' m) = |
| 103 | pullbackRows (X.A₀ N m) (X.A₀ N' m) (minusRows (X.K₀ N (m+1)) (X.K₀ N' (m+1))) := |
| 104 | cross_pullback (X.S.side m) (X.S.side (m+1)) (X.stepOp m) (X.S.block m) (fun _ => rfl) |
| 105 | (side_infinite X.S m) (X.metric_whole _ _) (X.metric_whole _ _) (X.metric_whole _ _) (X.metric_whole _ _) |
| 106 | (X.az_whole _ _) (X.az_whole _ _) |
| 107 | (.of_forall fun i => ⟨X.canonical _ _ h (c:=X.S.side m i) (f:=X.S.side (m+1) i) (X.S.oneStep m i).exact_size, |
| 108 | X.canonical _ _ hh (c:=X.S.side m i) (f:=X.S.side (m+1) i) (X.S.oneStep m i).exact_size, |
| 109 | X.metric_sym .., X.metric_sym ..⟩) |
| 110 | |
| 111 | /-- Any horizon with the actual Rack identities yields precisely this Hessian on |
| 112 | every admitted level, not claiming similar uniqueness for higher real path data. -/ |
| 113 | theorem same_rack (a : Levels G) (Q : Horizon a) (p : MapPrices) (h : Craft.Rack a p Q) |
| 114 | (N m : ℕ) (hm:m≤N) : (actual a).K₀ N m=hessian (Q.H N m).metric := by |
| 115 | let s := actual a |
| 116 | have hv i hi : Whole (Q.H N i).metric := |
| 117 | ⟨_,_,p.alpha_pos _, (h.covers N i hi).2.1⟩ |
| 118 | have hk i L : (s.K₀ N i).acts L= K ((s.metric N i).acts L) := sym_acts .. |
| 119 | change s.K₀ N m=_ |
| 120 | induction hm using Nat.decreasingInduction with |
| 121 | | self => |
| 122 | apply bank_injective (s.k_whole ..).safe (hessian_whole (hv _ le_rfl)).safe |
| 123 | intro L |
| 124 | rw [hessian_acts (hv _ le_rfl),hk,s.metric_wilson,acts_unit] |
| 125 | have hz := (h.traces N N le_rfl L).same |
| 126 | rw [h.top] at hz |
| 127 | rw [K,K,Matrix.mul_assoc, Matrix.mul_assoc, hz] |
| 128 | | of_succ i hi IH => |
| 129 | apply row_ext_tail (side_infinite a.S i) (s.k_whole ..).safe (hessian_whole (hv _ hi.le)).safe |
| 130 | refine Eventually.of_forall fun z => ?_ |
| 131 | let F := a.S.side (i+1) z; let c := a.S.side i z |
| 132 | let S := a.clock.op i z |
| 133 | have ha := s.canonical _ _ hi (c:=c) (f:=F) (a.S.oneStep i z).exact_size |
| 134 | have hX := cross_identity S (s.metric_sym ..) (s.metric_sym ..) ha (h.crosses N i z hi|>.trial) |
| 135 | have hm := hv (i+1) hi |
| 136 | have hs : s.K₀ N (i+1) = _ := IH |
| 137 | rw [← hk (i+1) F,hs,hessian_acts hm,sub_self,Matrix.mul_zero,Matrix.zero_mul] at hX |
| 138 | rw [hk i c,hessian_acts (hv _ hi.le)]; exact sub_eq_zero.mp hX |
| 139 | |
| 140 | end Chain |
| 141 | end YM.RG08 |