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.QUARTIC_MATCH.Multiples |
| 2 | import YM.Progress.JOINT_CALENDAR.Issue |
| 3 | import YM.Progress.STATIONARY_SCENES.Frames |
| 4 | |
| 5 | |
| 6 | |
| 7 | /-! |
| 8 | # Install A0 on all auxiliary meshes, without assuming those meshes in Horizon |
| 9 | |
| 10 | Uses the same Tower. No width/size improvement or cost claim at the extended |
| 11 | period. Re-enabling the cheaper centered representative on each period later needs |
| 12 | these *identities*. |
| 13 | -/ |
| 14 | set_option autoImplicit false |
| 15 | noncomputable section |
| 16 | namespace YM.AnalyticNext.QuarticMatch.Pre |
| 17 | open Lattice RG Precision Bid Function Matrix Wilson Exterior Filter Laurent Bloch |
| 18 | open Work.F08 YM.Next.Free |
| 19 | open scoped Topology ContDiff Matrix.Norms.Frobenius BigOperators |
| 20 | variable {G : Gauge} |
| 21 | |
| 22 | namespace Rows |
| 23 | |
| 24 | /-- mean step lands w in block-distance coordinates, reads r (fine residue). |
| 25 | This is the actual finite patch including all path repeats. -/ |
| 26 | def reach (P : Patch) (i : TypeFace 1) (v : P.Points × Fin P.L.val) : Cover := |
| 27 | v.1.val+v.2.val • step (axisEquiv.symm i) |
| 28 | def tailName (P : Patch) (i : TypeFace 1) (v : P.Points × Fin P.L.val) := |
| 29 | ( (arrives (0 : Site P.L) (reach P i v),i), carry (0 : Site P.L) (reach P i v)) |
| 30 | def word (P : Patch) : Row (TypeFace 1) (Co P.L (TypeFace 1)) := fun i j z => |
| 31 | ∑ v : P.Points × Fin P.L.val, if (j,z)=tailName P i v then P.weight v.1 else 0 |
| 32 | lemma word_pay (P : Patch) : Whole (word P) := by |
| 33 | classical |
| 34 | let S := Finset.univ.image fun q : TypeFace 1 × (P.Points × Fin P.L.val) => (tailName P q.1 q.2).2 |
| 35 | obtain ⟨C,_,h⟩ := Work.F06.strip_of_fin S (word P) (show ∀ i j z,z∉S → word P i j z=0 from |
| 36 | fun i j z hn => Finset.sum_eq_zero fun v _ => if_neg fun he => hn (Finset.mem_image.mpr ⟨(i,v),Finset.mem_univ _, |
| 37 | (congr_arg Prod.snd he).symm⟩)) 1 |
| 38 | exact ⟨1,C,one_pos,h⟩ |
| 39 | |
| 40 | lemma expression {P : Patch} (i j) (c : Side) (x y : Site c) : |
| 41 | (word P).acts c (x,i) (y,j) = |
| 42 | ∑ v : P.Points × Fin P.L.val, if j=(tailName P i v).1 ∧ y=x+wrap c (tailName P i v).2 |
| 43 | then P.weight v.1 else 0 := by |
| 44 | change sift (fun z => ∑ v : P.Points × Fin P.L.val, if (j,z)=_ then P.weight v.1 else 0) c x y=_ |
| 45 | rw [sift_sum_finite]; swap |
| 46 | · intro v |
| 47 | apply summable_of_ne_finset_zero (s:={(tailName P i v).2}) |
| 48 | intro a h |
| 49 | exact if_neg fun hx => h (Finset.mem_singleton.mpr (congr_arg Prod.snd hx)) |
| 50 | apply Finset.sum_congr rfl; intro v _ |
| 51 | unfold sift |
| 52 | rw [tsum_eq_single (tailName P i v).2] |
| 53 | · obtain he : tailName P i v=((tailName P i v).1,(tailName P i v).2) := rfl |
| 54 | split_ifs <;> grind |
| 55 | intro z h; split_ifs <;> grind |
| 56 | |
| 57 | section period |
| 58 | variable {c f : Side} (S : StepData c f) |
| 59 | lemma catches (z : Body 1 c) (i : S.patch.Points × Fin S.patch.L.val) : |
| 60 | let b := atPoint S z.1 i.1+i.2.val • step (axisEquiv.symm z.2) |
| 61 | splitCo S.ratio (TypeFace 1) (b,z.2)=(z.1+wrap c (tailName S.patch z.2 i).2,(tailName S.patch z.2 i).1) := by |
| 62 | intro b |
| 63 | let w := reach S.patch z.2 i |
| 64 | have he : b=S.ratio.embed z.1+wrap f w := by |
| 65 | unfold b atPoint w reach |
| 66 | simp only [map_add,map_nsmul,wrap_step]; abel |
| 67 | have hx : S.ratio.residue (S.ratio.embed z.1)=(0:Site S.patch.L) := Ratio.residue_embed .. |
| 68 | rw [he,split_co,moves_parent,moves_residue,hx,S.ratio.embed_parent]; rfl |
| 69 | lemma mean_eq : installed S.ratio (transRows (word S.patch))=(mean S).transpose := by |
| 70 | have he a (x : Body 1 c) : |
| 71 | (((installed S.ratio (transRows (word S.patch))).transpose)*ᵥ a) x = ∑ v : S.patch.Points × Fin S.patch.L.val, |
| 72 | S.patch.weight v.1 * a (atPoint S x.1 v.1+v.2.val • step (axisEquiv.symm x.2),x.2) := by |
| 73 | unfold Matrix.mulVec dotProduct |
| 74 | simp_rw [installed,Matrix.transpose_apply,Matrix.submatrix_apply,id_eq,acts_trans,Matrix.transpose_apply] |
| 75 | let Q : Body 1 f ≃ Co c (Co S.patch.L (TypeFace 1)) := splitCo S.ratio _ |
| 76 | have hh (v : Body 1 f) := expression (P:=S.patch) x.2 (Q v).2 c x.1 (Q v).1 |
| 77 | change ∑ v : Body 1 f,(word S.patch).acts c x (Q v)*a v=_ |
| 78 | simp_rw [(show ∀ v, (word S.patch).acts c x (Q v) = _ from hh), Finset.sum_mul] |
| 79 | rw [Finset.sum_comm]; refine Finset.sum_congr rfl fun i _ => ?_ |
| 80 | let b : Body 1 f := (atPoint S x.1 i.1 + i.2.val • step (axisEquiv.symm x.2),x.2) |
| 81 | have hz v : (Q v).2=(tailName S.patch x.2 i).1 ∧ |
| 82 | (Q v).1=x.1+wrap c (tailName S.patch x.2 i).2 ↔ v=b := by |
| 83 | have hs : Q b=_ := catches S x i |
| 84 | rw [← (Q).injective.eq_iff, hs]; simp only [Prod.ext_iff]; tauto |
| 85 | simp_rw [hz,ite_mul, zero_mul]; rw [Finset.sum_ite_eq', if_pos (Finset.mem_univ _)] |
| 86 | apply Matrix.transpose_injective; rw [Matrix.transpose_transpose]; apply Matrix.toLin'.injective |
| 87 | apply LinearMap.ext; intro a; funext x |
| 88 | change (((installed S.ratio (transRows (word S.patch))).transpose)*ᵥ a) x=(mean S*ᵥ a) x |
| 89 | rw [he,mean_run_real,Fintype.sum_prod_type] |
| 90 | refine Finset.sum_congr rfl fun i _ => ?_ |
| 91 | rw [Finset.mul_sum] |
| 92 | exact Fin.sum_univ_eq_sum_range (fun j => S.patch.weight i*a (atPoint S x.1 i + j • step (axisEquiv.symm x.2),x.2)) _ |
| 93 | end period |
| 94 | |
| 95 | /-- Assemble identities with exactly the coverage from the tower. -/ |
| 96 | def beast (M : Bed) := composeRows (composeRows (transRows (cobound 1)) M.metric) (cobound 1) |
| 97 | lemma beast_acts {M : Bed} (h : Whole M.metric) (n : Side) : (beast M).acts n=Precision.K (M.metric.acts n) := by |
| 98 | let W := Whole.boundary 1 |
| 99 | unfold beast Precision.K; rw [(W.flipped.prod h).acts W,W.flipped.acts h,acts_trans] |
| 100 | lemma fine_whole {L : Side} {H : Row (TypeFace 1) (TypeFace 1)} {X : Cross L (TypeFace 1) (TypeFace 1)} |
| 101 | (h : Whole H) (g : Whole X) : Whole (fineCompose H X) := by |
| 102 | obtain ⟨σ,C,hp,h⟩ := h; obtain ⟨τ,D,hθ,d⟩ := g; have ht := lt_min hp hθ |
| 103 | exact ⟨min σ τ,_,ht, strip_fine ht.le (strip_mono h (min_le_left σ τ) le_rfl) |
| 104 | (strip_mono d (min_le_right σ τ) le_rfl)⟩ |
| 105 | |
| 106 | lemma horizon {A B : Type*} {P R : Row A B} (h : Whole P) (g : Whole R) {n : ℕ→Side} (hn : Tendsto (fun j => (n j).val) atTop atTop) |
| 107 | (hg : ∀ j, P.acts (n j)=R.acts (n j)) : P=R := by |
| 108 | funext i j x; apply tendsto_nhds_unique (entry_limit n hn P h.safe i j x) |
| 109 | simp_rw [hg]; exact entry_limit n hn R g.safe i j x |
| 110 | |
| 111 | /-- Coverage of A0 and K,W. Extending never reselects the Tower. -/ |
| 112 | theorem across {c f : ℕ→Side} (S : ∀ i, StepData (c i) (f i)) (P : Patch) (Q : KernelChoices) |
| 113 | (W : Cross P.L (TypeFace 1) (TypeFace 1)) (M N : Bed) |
| 114 | (hc : Tendsto (fun i => (c i).val) atTop atTop) |
| 115 | (h : Whole M.metric) (g : Whole N.metric) (ht : Whole W) (H : ∀ i, (S i).patch=P) (Hq : ∀ i, (S i).kernel=Q) |
| 116 | (he : ∀ i, |
| 117 | Inputs (S i) (installed (S i).ratio (show Cross _ (TypeFace 1) (TypeFace 1) from (by rw [show (S i).ratio.count=(S i).patch.L from rfl,H i]; exact W))) |
| 118 | (M.metric.acts (f i)) (N.metric.acts (c i))) : ∀ c' : Side, |
| 119 | let R := Sheets.stepAt P Q c' |
| 120 | Inputs R (installed R.ratio W) (M.metric.acts (c'*P.L)) (N.metric.acts c') := by |
| 121 | let a := transRows (word P) |
| 122 | have ha : Whole a := (word_pay P).flipped |
| 123 | let F := fineCompose (beast M) W |
| 124 | let G := composeRows a (beast N) |
| 125 | let T := net a W |
| 126 | let U := minusRows (unitRow (TypeFace 1)) (scaleRows Q.penalty⁻¹ (beast N)) |
| 127 | have hm : Whole (beast M) := (((Whole.boundary 1).flipped).prod h).prod (Whole.boundary 1) |
| 128 | have hk : Whole (beast N) := (((Whole.boundary 1).flipped).prod g).prod (Whole.boundary 1) |
| 129 | have HH (c f : Side) (S : StepData c f) (H : S.patch=P) (hx : S.kernel=Q) : |
| 130 | let L : Cross S.ratio.count (TypeFace 1) (TypeFace 1) := by rw [show S.ratio.count=S.patch.L from rfl,H]; exact W |
| 131 | Inputs S (installed S.ratio L) (M.metric.acts f) (N.metric.acts c) ↔ |
| 132 | F.acts c=G.acts c ∧ T.acts c=U.acts c := by |
| 133 | subst P Q; intro L |
| 134 | have hW : L=W := rfl |
| 135 | have h₁ : installed S.ratio F=Precision.K (M.metric.acts f)*installed S.ratio L := by rw [← beast_acts h]; exact Whole.from_fine S.ratio hm ht |
| 136 | have h₂ : installed S.ratio G=(mean S).transpose*Precision.K (N.metric.acts c) := by rw [← mean_eq S,← beast_acts g]; exact Whole.from_coarse S.ratio ha hk |
| 137 | have h₃ : T.acts c=mean S*installed S.ratio L := by |
| 138 | rw [hW, show T.acts c=(installed S.ratio a).transpose*installed S.ratio W from net_action S.ratio ha ht, show installed S.ratio a=_ from mean_eq S, transpose_transpose] |
| 139 | have h₄ : U.acts c=1-S.kernel.penalty⁻¹ • Precision.K (N.metric.acts c) := by |
| 140 | unfold U; rw [(Whole.coin _).less (hk.weight _),acts_unit,acts_scale,beast_acts g] |
| 141 | rw [h₃,h₄] |
| 142 | constructor |
| 143 | · intro i; refine ⟨?_,i.dual⟩ |
| 144 | have he : installed S.ratio F=installed S.ratio G := h₁.trans (i.primal.trans h₂.symm) |
| 145 | ext x y |
| 146 | have hz := congr_fun (congr_fun he ((splitCo S.ratio (TypeFace 1)).symm x)) y |
| 147 | simp only [installed, Matrix.submatrix_apply, Equiv.apply_symm_apply,id_eq] at hz; exact hz |
| 148 | rintro ⟨hr,hv⟩; refine ⟨h₁.symm.trans ((show installed S.ratio F=installed S.ratio G from congr_arg (fun D => D.submatrix (splitCo S.ratio _) id) hr).trans h₂),hv⟩ |
| 149 | have hv (i : ℕ) := (HH _ _ _ (H i) (Hq i)).mp (he i) |
| 150 | have hi := horizon (fine_whole hm ht) (ha.prod hk) hc (fun i => (hv i).1) |
| 151 | have hh := horizon (ha.flipped.prod ht) ((Whole.coin _).minus (hk.weight _)) hc (fun i => (hv i).2) |
| 152 | intro i R; exact (HH _ _ R rfl rfl).mpr ⟨congr_arg (Row.acts · i) hi,congr_arg (Row.acts · i) hh⟩ |
| 153 | end Rows |
| 154 | end YM.AnalyticNext.QuarticMatch.Pre |