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.FREE_RESOLVENT.AlignProbe |
| 2 | import YM.Push.FREE_RESOLVENT.Vertical |
| 3 | |
| 4 | |
| 5 | |
| 6 | /-! |
| 7 | # Post-L budgets for the finite boxes in the nonlinear affine coefficients |
| 8 | |
| 9 | Uniform in period & cut. Use in derivative norm at any finite order given |
| 10 | color/component as an entry with the corresponding address in that actual |
| 11 | patch. Use Branches etc EXACTLY as specified, no Π-norm of an array of |
| 12 | ℛ-dependent dimension with no pricing. |
| 13 | -/ |
| 14 | |
| 15 | set_option autoImplicit false |
| 16 | noncomputable section |
| 17 | namespace YM.FreeResolvent.Affine.View |
| 18 | open Lattice Wilson RG Matrix Laurent Bloch Exterior Precision Tree Bid Work.F03 TestD Filter Function Set |
| 19 | open Work.F08 Lifted Mark |
| 20 | open scoped Topology Matrix.Norms.Frobenius ContDiff BigOperators InnerProductSpace |
| 21 | variable {G : Gauge} {f c f' c' n : Side} {S : StepData c f} {P : Patch} {K : KernelChoices} |
| 22 | variable {h : f.val=c.val*P.L.val} {h' : f'.val=c'.val*P.L.val} |
| 23 | |
| 24 | section compare |
| 25 | -- supply sufficient perturbation functions for cross geometry (use curves or many axes). |
| 26 | variable {X : Type*} [TopologicalSpace X] {x : X} |
| 27 | variable {p : X → pair G c f} {p' : X → pair G c' f'} {R : ℕ} {o : Site c} {o' : Site c'} |
| 28 | lemma fixedPred (hb : P.Branches K G) (t : (data h K).Choices) (t' : (data h' K).Choices) (s : Signed) |
| 29 | (hc : 1<c.val) (hc' : 1<c'.val) (hy : Tendsto p (𝓝 x) (𝓝 0)) (hy' : Tendsto p' (𝓝 x) (𝓝 0)) |
| 30 | (H : ∀ᶠ u in 𝓝 x, Reads (p u) (p' u) h h' K o o' R) |
| 31 | (z : Cover) (w : PAC G 1) (hx : size z+View.reach P+2 ≤ R) : |
| 32 | (fun u => gaugeQ (data h K) s t (p u) (coarseHere s o z w)) =ᶠ[𝓝 x] |
| 33 | fun u => gaugeQ (data h' K) s t' (p' u) (coarseHere s o' z w) := by |
| 34 | have hz : Tendsto (fun u => ((p u).1, (0:Vec G f 1))) (𝓝 x) (𝓝 0) := ((continuous_fst.tendsto _).comp hy).prodMk_nhds tendsto_const_nhds |
| 35 | have hz' : Tendsto (fun u => ((p' u).1, (0:Vec G f' 1))) (𝓝 x) (𝓝 0) := ((continuous_fst.tendsto _).comp hy').prodMk_nhds tendsto_const_nhds |
| 36 | have hp := watches (data h K) t hb |
| 37 | have hq := watches (data h' K) t' hb |
| 38 | filter_upwards [H,hy.eventually hp, hy'.eventually hq, hz.eventually hp, hz'.eventually hq] with a ha h1 h2 h3 h4 |
| 39 | exact responseView hc hc' s z w hb ha hx h1 h2 h3 h4 |
| 40 | end compare |
| 41 | |
| 42 | -- stencil |
| 43 | lemma tile_root (S : StepData c f) (s : Signed) (i : tile G f) : |
| 44 | ∃ w, i=fineHere S s (named S s i) 0 w := by |
| 45 | let R := StepData.sendSites s (0:Site f) |
| 46 | let y := R i.1 |
| 47 | refine ⟨(S.ratio.residue y, i.2), Prod.ext ?_ rfl⟩ |
| 48 | change i.1=R.symm _ |
| 49 | apply R.injective; rw [Equiv.apply_symm_apply]; unfold named bottom addr; rw [map_zero,add_zero] |
| 50 | exact (S.ratio.unpack_at y).symm |
| 51 | |
| 52 | lemma ring_root (s : Signed) (i : raw G c) : i=coarseHere s (namedCo s i) 0 i.2 := by |
| 53 | refine Prod.ext ?_ rfl; let R := StepData.sendSites s (0:Site c) |
| 54 | change i.1 = R.symm _ |
| 55 | unfold addr; rw [map_zero, add_zero]; exact (R.symm_apply_apply _).symm |
| 56 | |
| 57 | lemma monotile (S : StepData c f) (s : Signed) (i : tile G f) (hc : 1 < c.val) : |
| 58 | (fun x => faces S s (stopAt S (named S s i) 4 x) i) = fun x => faces S s x i := by |
| 59 | ext x; obtain ⟨w,hw⟩ := tile_root S s i |
| 60 | have he := (sees_here S (named S s i) 4 x).plaquettes hc hc s 0 w (by simp [size]) |
| 61 | change faces S s x _ = faces S s _ _ at he |
| 62 | -- grid location rewrite on i |
| 63 | apply Eq.symm |
| 64 | convert he using 2 |
| 65 | |
| 66 | lemma monopole (S : StepData c f) (s : Signed) (i : raw G c) (t : S.Choices) (hc : 1<c.val) |
| 67 | (hb : S.patch.Branches S.kernel G) : |
| 68 | (fun x => gaugeQ S s t (stopAt S (namedCo s i) (View.reach S.patch+2) x) i) =ᶠ[𝓝 0] |
| 69 | fun x => gaugeQ S s t x i := by |
| 70 | let L := stopAt (G:=G) S (namedCo s i) (View.reach S.patch+2) |
| 71 | have hh : Tendsto L (𝓝 0) (𝓝 0) := by simpa using L.continuous.tendsto 0 |
| 72 | have h : (fun x => gaugeQ S s t x (coarseHere s (namedCo s i) 0 i.2)) =ᶠ[𝓝 0] |
| 73 | fun x => gaugeQ S s t (L x) (coarseHere s (namedCo s i) 0 i.2) := fixedPred (p:=id) hb t t s hc hc |
| 74 | tendsto_id hh (Eventually.of_forall fun x => sees_here S (namedCo s i) (View.reach S.patch+2) x) 0 i.2 (by simp [size]) |
| 75 | rw [← ring_root s i] at h |
| 76 | exact h.symm |
| 77 | |
| 78 | -- Price at zero by restricting input to maps of norm ≤1 into one fixed finite torus |
| 79 | def area (R : ℕ) : Side := ⟨2*R+2,Nat.zero_lt_succ _⟩ |
| 80 | |
| 81 | private lemma room_gt_one (R : ℕ) : 1 < (area R).val := by change _ < 2*R+2; omega |
| 82 | private lemma room_size (R : ℕ) : 2*R < (area R).val := by change _ < 2*R+2; omega |
| 83 | |
| 84 | def refStep (P : Patch) (K : KernelChoices) (R : ℕ) := |
| 85 | Lifted.data (f:=area R * P.L) (c:=area R) (P:=P) rfl K |
| 86 | |
| 87 | -- pull via all slots (including repeats). origin on target is 0. |
| 88 | variable (R : ℕ) (o : Site c) |
| 89 | |
| 90 | def sheet (G : Gauge) (R : ℕ) (h : f.val=c.val*P.L.val) (K : KernelChoices) (o : Site c) : |
| 91 | pair G c f →L[ℝ] pair G (area R) (area R * P.L) := by |
| 92 | let X := area R; let M := refStep P K R |
| 93 | let i := fun x : raw G X => coarseAt (G:=G) (r:=1) o (lift x.1) x.2 |
| 94 | let j := fun x : raw G (X * P.L) => fineAt (G:=G) (r:=1) (data h K) o (lift (M.ratio.parent x.1)) (M.ratio.residue x.1,x.2) |
| 95 | exact (((LinearMap.funLeft ℝ ℝ i).toContinuousLinearMap.prodMap |
| 96 | ((LinearMap.funLeft ℝ ℝ j).toContinuousLinearMap))) |
| 97 | |
| 98 | lemma transported (p : pair G c f) : Reads p ((sheet G R h K o) p) h (show (area R * P.L).val=_ from rfl) K o 0 R := by |
| 99 | constructor |
| 100 | · intro z hz i |
| 101 | change _ = p.1 (coarseAt (G:=G) (r:=1) o (lift (addr (0: Site (area R)) z)) i) |
| 102 | rw [addr,zero_add,size_centers _ _ hz (room_size R)] |
| 103 | intro z hz i |
| 104 | let y := fineAt (G:=G) (r:=1) (refStep P K R) 0 z i |
| 105 | let q := (refStep P K R).ratio |
| 106 | change _=p.2 (fineAt (G:=G) (r:=1) (data h K) o (lift (q.parent y.1)) (q.residue y.1, y.2)) |
| 107 | erw [show q.parent y.1=addr 0 z from bottom_pp .., show q.residue y.1=i.1 from bottom_pr ..,addr,zero_add,size_centers _ _ hz (room_size R)]; rfl |
| 108 | |
| 109 | lemma transported_size : ‖sheet G R h K o‖ ≤ 1 := by |
| 110 | apply ContinuousLinearMap.opNorm_le_bound _ zero_le_one |
| 111 | intro p; rw [one_mul,Prod.norm_def]; refine max_le ?_ ?_ |
| 112 | · refine (pi_norm_le_iff_of_nonneg (norm_nonneg _)).mpr fun j => ?_ |
| 113 | let i := coarseAt (G:=G) (r:=1) o (lift j.1) j.2 |
| 114 | exact (norm_le_pi_norm p.1 i).trans (norm_fst_le _) |
| 115 | refine (pi_norm_le_iff_of_nonneg (norm_nonneg _)).mpr fun j => ?_ |
| 116 | let M := refStep P K R |
| 117 | let i := fineAt (G:=G) (r:=1) (data h K) o (lift (M.ratio.parent j.1)) (M.ratio.residue j.1,j.2) |
| 118 | exact (norm_le_pi_norm p.2 i).trans (norm_snd_le _) |
| 119 | |
| 120 | variable {R} |
| 121 | -- generic sup over fixed stage. Keep size symbolic. Include all occurrences from orders even if they share basis label. |
| 122 | -- separate |
| 123 | section bulk |
| 124 | variable {σ d A : ℝ} {v : ℕ} |
| 125 | -- Price once for D entries. h smooth used only in entry (global); price constants no h. |
| 126 | def faceBill (G : Gauge) (P : Patch) (K : KernelChoices) (v : ℕ) := |
| 127 | ∑ s : Signed, ∑ j : tile G (area 4 * P.L), ∑ i : Fin (v+1), |
| 128 | ‖iteratedFDeriv ℝ (i.val+1) (fun u => faces (refStep P K 4) s u j) 0‖ |
| 129 | |
| 130 | def ductBill (G : Gauge) (P : Patch) (K : KernelChoices) (v : ℕ) := |
| 131 | let R := View.reach P+2; let t := Classical.arbitrary (refStep P K R).Choices |
| 132 | ∑ s : Signed, ∑ j : raw G (area R), ∑ i : Fin (v+1), |
| 133 | ‖iteratedFDeriv ℝ (i.val+1) (fun u => gaugeQ (refStep P K R) s t u j) 0‖ |
| 134 | |
| 135 | lemma bills_nonneg (G : Gauge) (P : Patch) (K : KernelChoices) (v : ℕ) : |
| 136 | 0 ≤ faceBill G P K v ∧ 0 ≤ ductBill G P K v := by |
| 137 | constructor <;> (dsimp only [faceBill,ductBill]; positivity) |
| 138 | |
| 139 | lemma receipts {α β X Y : Type*} [Fintype α] [Fintype β] |
| 140 | [NormedAddCommGroup X] [NormedSpace ℝ X] [NormedAddCommGroup Y] [NormedSpace ℝ Y] |
| 141 | (F : α → X → β → ℝ) (a : α) (b : β) {f : Y → ℝ} (l k : ℕ) (hl : l ≤ k) |
| 142 | (L : Y →L[ℝ] X) (hp : ‖L‖ ≤ 1) (hs : ContDiffAt ℝ ω (F a) 0) |
| 143 | (he : f =ᶠ[𝓝 0] (fun y => F a (L y) b)) : |
| 144 | ‖iteratedFDeriv ℝ (l+1) f 0‖ ≤ ∑ a, ∑ b, ∑ i : Fin (k+1), ‖iteratedFDeriv ℝ (i.val+1) (fun y => F a y b) 0‖ := by |
| 145 | have h := (contDiffAt_pi.mp hs) b |
| 146 | rw [(he.iteratedFDeriv ℝ _).eq_of_nhds] |
| 147 | let g := fun x : X => F a x b |
| 148 | change ‖iteratedFDeriv ℝ _ (g ∘ L) 0‖ ≤ _ |
| 149 | rw [Next.Foundations.jets_linear L (h.of_le le_top)] |
| 150 | calc |
| 151 | _ ≤ ‖iteratedFDeriv ℝ (l+1) g 0‖ * ∏ _ : Fin (l+1), ‖L‖ := ContinuousMultilinearMap.norm_compContinuousLinearMap_le .. |
| 152 | _ ≤ ‖iteratedFDeriv ℝ (l+1) g 0‖ := mul_le_of_le_one_right (norm_nonneg _) ((Finset.prod_le_prod |
| 153 | (g:=fun _ => (1:ℝ)) (fun i _ => norm_nonneg _) (fun _ _ => hp)).trans_eq (by simp)) |
| 154 | _ ≤ _ := by |
| 155 | let Z (a b) (i : Fin (k+1)) := ‖iteratedFDeriv ℝ (i.val+1) (fun x => F a x b) 0‖ |
| 156 | exact (Finset.single_le_sum (f:=Z a b) (fun i _ => norm_nonneg _) (Finset.mem_univ ⟨l,Nat.lt_succ_of_le hl⟩)).trans <| |
| 157 | (Finset.single_le_sum (f:=fun i => ∑ j, Z a i j) (fun i _ => Finset.sum_nonneg (fun j _ => norm_nonneg _)) (Finset.mem_univ b)).trans <| |
| 158 | Finset.single_le_sum (f:=fun a => ∑ i, ∑ j, Z a i j) (fun a _ => Finset.sum_nonneg (fun i _ => Finset.sum_nonneg fun j _ => norm_nonneg _)) (Finset.mem_univ a) |
| 159 | |
| 160 | lemma face_tariff (S : StepData c f) (s : Signed) (i : tile G f) (hc : 1<c.val) {K : ℕ} (l : ℕ) (hl : l ≤ K) : |
| 161 | ‖iteratedFDeriv ℝ (l+1) (fun z => faces S s z i) 0‖ ≤ faceBill G S.patch S.kernel K := by |
| 162 | let o := named S s i |
| 163 | obtain ⟨w,hw⟩ := tile_root S s i |
| 164 | let W := refStep S.patch S.kernel 4 |
| 165 | apply receipts (fun s => faces W s (G:=G)) s (fineHere W s 0 0 w) _ _ hl |
| 166 | (sheet G 4 S.sizes S.kernel o) (transported_size ..) (face_smooth _).contDiffAt |
| 167 | refine Eventually.of_forall fun z => ?_ |
| 168 | exact Eq.trans (congrArg _ hw) ((transported 4 o z (G:=G) (h:=S.sizes)).plaquettes hc (room_gt_one _) s 0 w (by simp [size])) |
| 169 | |
| 170 | lemma duct_tariff (S : StepData c f) (s : Signed) (k : S.Choices) (i : raw G c) (hc : 1<c.val) |
| 171 | (hb : S.patch.Branches S.kernel G) {K : ℕ} (l : ℕ) (hl : l ≤ K) : |
| 172 | ‖iteratedFDeriv ℝ (l+1) (fun z => gaugeQ S s k z i) 0‖ ≤ ductBill G S.patch S.kernel K := by |
| 173 | let R := View.reach S.patch+2; let W := refStep S.patch S.kernel R |
| 174 | let q := Classical.arbitrary W.Choices |
| 175 | let y := namedCo s i |
| 176 | let L := sheet G R S.sizes S.kernel y |
| 177 | apply receipts (fun s => gaugeQ W s q (G:=G)) s (coarseHere s (0:Site (area R)) 0 i.2) _ _ hl |
| 178 | L (transported_size ..) (duct_smooth hb _ q (S:=W)) |
| 179 | have he := fixedPred (p:=id) (x:=(0:pair G c f)) (p':=(L:pair G c f→_)) hb k q s hc (room_gt_one R) tendsto_id (by simpa using L.continuous.tendsto 0) |
| 180 | (Eventually.of_forall (fun z => transported R y z (h:=S.sizes))) 0 i.2 (by unfold R; simp [size]) |
| 181 | exact EventuallyEq.trans (g:=fun x => gaugeQ S s k x (coarseHere s y 0 i.2)) (Eventually.of_forall fun x => congrArg (gaugeQ S s k x) (ring_root s i)) he |
| 182 | end bulk |
| 183 | end YM.FreeResolvent.Affine.View |