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.LOOP_COEFFICIENT.Paths.Domination |
| 2 | import YM.Work.F07.Read |
| 3 | |
| 4 | /-! |
| 5 | # Anchored local analytic functions with literal cover addresses |
| 6 | -/ |
| 7 | set_option autoImplicit false |
| 8 | noncomputable section |
| 9 | namespace YM.Push.Loops.Paths |
| 10 | open Function Filter Set Matrix Lattice Laurent Bloch Exterior RG Complex Metric |
| 11 | open scoped Topology ContDiff BigOperators |
| 12 | variable {ι a b : Type} {n : Side} {k : ℕ} |
| 13 | |
| 14 | structure Reader (a : Type) where |
| 15 | shape : Type |
| 16 | [range : Fintype shape] |
| 17 | leaf : shape → a |
| 18 | offset : shape → Cover |
| 19 | sizeBound : ℕ |
| 20 | near i : size (offset i) ≤ sizeBound |
| 21 | value : CSpace shape → ℂ |
| 22 | attribute [instance] Reader.range |
| 23 | namespace Reader |
| 24 | variable [Fintype a] (M : Reader a) [Fintype b] [DecidableEq a] (A : Grid n b a) |
| 25 | |
| 26 | def location (x : Site n) (i : M.shape) := A.symm (x+wrap n (M.offset i),M.leaf i) |
| 27 | |
| 28 | def gather (x : Site n) : CSpace b →L[ℂ] CSpace M.shape := ContinuousLinearMap.pi fun i => ContinuousLinearMap.proj (M.location A x i) |
| 29 | |
| 30 | def insertions (p : Momentum) : CSpace a →L[ℂ] CSpace M.shape := ContinuousLinearMap.pi fun i => mode p (M.offset i) • ContinuousLinearMap.proj (M.leaf i) |
| 31 | |
| 32 | omit [DecidableEq a] [Fintype a] in |
| 33 | lemma gather_norm (x : Site n) (v : CSpace b) : ‖M.gather A x v‖ ≤ ‖v‖ := (pi_norm_le_iff_of_nonneg (norm_nonneg _)).mpr (fun i => norm_le_pi_norm v (M.location A x i)) |
| 34 | |
| 35 | omit [DecidableEq a] in |
| 36 | lemma insertions_norm {η : ℝ} (hη : 0≤η) (p : Momentum) (hp : Within η p) : ‖M.insertions p‖ ≤ Real.exp (η*M.sizeBound) := by |
| 37 | apply ContinuousLinearMap.opNorm_le_bound _ (Real.exp_pos _).le; intro x |
| 38 | refine (pi_norm_le_iff_of_nonneg (by positivity)).mpr (fun i => ?_) |
| 39 | change ‖mode _ _ * x _‖ ≤ _ |
| 40 | rw [norm_mul]; exact mul_le_mul ((reward _ _ _ hp).trans (by gcongr; exact M.near _)) (norm_le_pi_norm ..) (norm_nonneg _) (Real.exp_pos _).le |
| 41 | |
| 42 | def distributed (u : CSpace b) := ∑ x, M.value (M.gather A x u) |
| 43 | |
| 44 | def monomial (M : Reader a) (p : Fin k → Momentum) : CSpace a [×k]→L[ℂ] ℂ := (iteratedFDeriv ℂ k M.value 0).compContinuousLinearMap fun i => M.insertions (p i) |
| 45 | |
| 46 | omit [Fintype b] in |
| 47 | lemma gather_wave {p : Momentum} {i : Site n} (hi : Matches p i) (x : Site n) (v : CSpace a) : M.gather A x (plane A i *ᵥ v) = cell i x • (M.insertions p v) := by |
| 48 | ext1 j; change (plane A i *ᵥ v) (M.location A x j) = cell i x * (mode _ _ * _) |
| 49 | rw [plane_apply, location,A.apply_symm_apply,hi.read,cell_add]; exact mul_assoc .. |
| 50 | omit [Fintype a] [DecidableEq a] in |
| 51 | lemma jet_total (hM : ContDiff ℂ ω M.value) (v : Fin k → CSpace b) : iteratedFDeriv ℂ k (M.distributed A) 0 v = ∑ x, iteratedFDeriv ℂ k M.value 0 fun i => M.gather A x (v i) := by |
| 52 | rw [show M.distributed A = (∑ x,M.value ∘ M.gather A x) by ext; simp [distributed], iteratedFDeriv_sum_apply |
| 53 | (fun x _ => (hM.comp (M.gather A x).contDiff |>.contDiffAt.of_le le_top))]; simp [ContinuousLinearMap.iteratedFDeriv_comp_right _ hM _ (le_top (a:=(k:WithTop ℕ∞))), ContinuousMultilinearMap.compContinuousLinearMap_apply] |
| 54 | |
| 55 | lemma prod_cell (x : Site n) (r : Fin k → Site n) : ∏ i, cell (r i) x = cell (∑ i,r i) x := by |
| 56 | simp_rw [cell_duality _ x]; induction k with |
| 57 | | zero => simp |
| 58 | | succ k ih => rw [Fin.sum_univ_succ,Fin.prod_univ_succ,cell_add,← ih] |
| 59 | lemma jet_plane (hM : ContDiff ℂ ω M.value) {r : Fin k → Site n} {p : Fin k → Momentum} (hr : ∀ i, Matches (p i) (r i)) (v : Fin k → CSpace a) : |
| 60 | iteratedFDeriv ℂ k (M.distributed A) 0 (fun i => plane A (r i) *ᵥ v i) = if ∑ i,r i=0 then (n.val:ℂ)^4 • M.monomial p v else 0 := by |
| 61 | rw [jet_total M A hM]; simp_rw [fun i x => M.gather_wave A (hr i) x, ContinuousMultilinearMap.map_smul_univ, ← Finset.sum_smul,prod_cell] |
| 62 | split |
| 63 | next h => rw [h]; simp only [cell,mon_zero,mode_constant,Finset.sum_const,Finset.card_univ,site_card,nsmul_eq_mul,Nat.cast_pow,mul_one]; rfl |
| 64 | next h => rw [sum_cell h,zero_smul] |
| 65 | |
| 66 | omit [DecidableEq a] [Fintype a] in |
| 67 | lemma insertion_diff (v : CSpace a) : ContDiff ℂ ω (fun p => M.insertions p v) := contDiff_pi.mpr fun j => show ContDiff ℂ ω (fun p : Momentum => mode p (M.offset j) * v (M.leaf j)) by unfold mode; fun_prop |
| 68 | |
| 69 | omit [Fintype a] [DecidableEq a] in |
| 70 | lemma monomial_diff (v : Fin k → CSpace a) : ContDiff ℂ ω (fun p => M.monomial p v) := by |
| 71 | unfold monomial; simp_rw [ContinuousMultilinearMap.compContinuousLinearMap_apply]; apply ContinuousMultilinearMap.contDiff _ |>.comp (f:=fun (p : Fin k → Momentum) i => M.insertions (p i) (v i)) |
| 72 | exact contDiff_pi.mpr fun i => (M.insertion_diff (v i)).comp (contDiff_apply ℂ _ i) |
| 73 | omit [DecidableEq a] [Fintype a] in |
| 74 | lemma monomial_period (v : Fin k → Cover) (p : Fin k → Momentum) : M.monomial (fun i => p i+ Laurent.reciprocal (v i)) = M.monomial p := by simp only [monomial,insertions,mode_phase,mode_periodic,mul_one] |
| 75 | end Reader |
| 76 | |
| 77 | variable [Fintype a] [DecidableEq a] [Fintype b] {A : Grid n b a} (M : ι → Reader a) |
| 78 | |
| 79 | def total (A : Grid n b a) (x : CSpace b) := ∑' i,(M i).distributed A x |
| 80 | |
| 81 | def source (p : Fin k → Momentum) := ∑' i, (M i).monomial p |
| 82 | |
| 83 | structure Damped (M : ι → Reader a) (η ρ C : ℝ) : Prop where |
| 84 | width : 0<η |
| 85 | radius : 0<ρ |
| 86 | smooth i : ContDiff ℂ ω (M i).value |
| 87 | bill : ∃ g : ι → ℝ, SumBudget g C ∧ ∀ i x, ‖x‖ ≤ ρ → ‖(M i).value x‖ * Real.exp (η*(M i).sizeBound) ≤ g i |
| 88 | namespace Damped |
| 89 | variable {M} {η ρ C : ℝ} (h : Damped M η ρ C) |
| 90 | include h |
| 91 | omit [Fintype a] [DecidableEq a] in |
| 92 | lemma nonneg : 0≤C := by obtain ⟨_,hb,-⟩ := h.bill; exact (tsum_nonneg hb.1).trans hb.2.2 |
| 93 | omit [Fintype a] [DecidableEq a] in |
| 94 | lemma field_budget (A : Grid n b a) : ∃ g : ι → ℝ, Summable g ∧ ∀ i, ∀ z∈ball (0:CSpace b) ρ, ‖(M i).distributed A z‖ ≤ g i := by |
| 95 | obtain ⟨g,hg,H⟩ := h.bill |
| 96 | refine ⟨fun i => Fintype.card (Site n) * g i,hg.2.1.mul_left _,fun i z hz => ?_⟩; refine (norm_sum_le ..).trans ((Finset.sum_le_sum (g:=fun _ => g i) fun x _ => (le_mul_of_one_le_right (norm_nonneg _) |
| 97 | (Real.one_le_exp (mul_nonneg h.width.le (by positivity)))).trans (H i _ ?_)).trans_eq (by simp)) |
| 98 | exact ((M i).gather_norm A _ _).trans (by simpa using (ball_subset_closedBall hz)) |
| 99 | omit [Fintype a] [DecidableEq a] in |
| 100 | lemma distributed_diff (A : Grid n b a) (i : ι) : ContDiff ℂ ω ((M i).distributed A) := ContDiff.sum fun _ _ => (h.smooth i).comp ((M i).gather A _).contDiff |
| 101 | omit [Fintype a] [DecidableEq a] in |
| 102 | lemma total_diff : ContDiffAt ℂ ω (total M A) 0 := by obtain ⟨_,hg,H⟩ := h.field_budget A; exact (Work.F02.analytic_series _ h.radius (fun i => (h.distributed_diff A i).differentiable (by simp)) hg H).contDiffAt |
| 103 | omit [Fintype a] [DecidableEq a] in |
| 104 | lemma total_jets (v : Fin k → CSpace b) : HasSum (fun i => iteratedFDeriv ℂ k ((M i).distributed A) 0 v) (iteratedFDeriv ℂ k (total M A) 0 v) := by obtain ⟨_,hg,H⟩ := h.field_budget A; exact (ContinuousMultilinearMap.apply ℂ _ _ v).hasSum (iteratedFDeriv_hasSum h.radius k (h.distributed_diff A) hg H) |
| 105 | |
| 106 | omit [DecidableEq a] h in |
| 107 | lemma freq_budget {η ρ} (hη : 0<η) (hρ : 0<ρ) (d : ℕ) : ∃ e D : ℝ,0<e ∧ e ≤ η ∧ 0<D ∧ ∀ {ι : Type} {M : ι → Reader a} {C} (_h : Damped M η ρ C), ∃ g : ι → ℝ, SumBudget g (D*C) ∧ |
| 108 | ∀ {k}, k≤d → ∀ p : Fin k → Momentum, (∀ j, Within e (p j)) → ∀ i, ‖(M i).monomial p‖ ≤ g i := by |
| 109 | let e := η/(d+1) |
| 110 | have he : 0<e := by unfold e; positivity |
| 111 | obtain ⟨r,D,hr,hr',hD,H⟩ := degree_bound hρ d |
| 112 | refine ⟨e,D,he,div_le_self hη.le (by simp),hD,fun {ι M C} h => ?_⟩ |
| 113 | obtain ⟨g,hg,hB⟩ := h.bill |
| 114 | refine ⟨_,⟨fun i => mul_nonneg hD.le (hg.1 i), hg.2.1.mul_left _, by rw [tsum_mul_left]; gcongr; exact hg.2.2⟩,fun hk p hp i => ?_⟩ |
| 115 | let r := (M i).sizeBound |
| 116 | have hx := H (h.smooth i) (C:=g i/Real.exp (η*r)) (x:=0) (fun z hz => (le_div_iff₀ (Real.exp_pos _)).mpr (hB i z (by simpa using (ball_subset_closedBall hz)))) (0:CSpace (M i).shape) (by simp [hr]) _ hk |
| 117 | have ht : (∏ j, ‖(M i).insertions (p j)‖) ≤ Real.exp (η*r) := by |
| 118 | apply (Finset.prod_le_prod (fun _ _ => norm_nonneg _) fun j _ => (M i).insertions_norm he.le _ (hp j)).trans |
| 119 | simp only [Finset.prod_const,Finset.card_univ,Fintype.card_fin,← Real.exp_nat_mul]; apply Real.exp_monotone |
| 120 | rw [← mul_assoc]; gcongr; unfold e; rw [mul_div_assoc',div_le_iff₀ (by positivity)]; have := Nat.cast_le (α:=ℝ) |>.mpr hk; nlinarith |
| 121 | have hb := hg.1 i |
| 122 | exact (ContinuousMultilinearMap.norm_compContinuousLinearMap_le ..).trans ((mul_le_mul hx ht (by positivity) (by positivity)).trans_eq (by rw [mul_assoc,div_mul_cancel₀ _ (Real.exp_ne_zero _)])) |
| 123 | |
| 124 | omit [DecidableEq a] in |
| 125 | lemma matched_summable {p : Fin k → Momentum} (hr : ∀ i,star (p i)=p i) : Summable fun i => (M i).monomial p := by |
| 126 | obtain ⟨e,D,he,_,_,H⟩ := freq_budget (a:=a) h.width h.radius k |
| 127 | obtain ⟨g,hg,H⟩ := H h |
| 128 | exact .of_norm_bounded hg.2.1 (H le_rfl p fun i j => (Work.F07.realStrip _ he (hr i) j).le) |
| 129 | |
| 130 | lemma total_plane {r : Fin k → Site n} {p : Fin k → Momentum} (hr : ∀ i, Matches (p i) (r i)) (v : Fin k → CSpace a) : |
| 131 | iteratedFDeriv ℂ k (total M A) 0 (fun i => plane A (r i) *ᵥ v i) = if ∑ i,r i=0 then (n.val:ℂ)^4 • source M p v else 0 := by |
| 132 | rw [← (h.total_jets ..).tsum_eq]; simp_rw [fun i => Reader.jet_plane (M i) A (h.smooth i) hr v]; split <;> simp [*,source, tsum_mul_left, ContinuousMultilinearMap.tsum_eval (h.matched_summable (fun i => (hr i).bar))] |
| 133 | end Damped |
| 134 | end YM.Push.Loops.Paths |