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.Next.FREE_KERNELS.Differences |
| 2 | import YM.Next.STATIONARY.Shape.SoftTransfers |
| 3 | |
| 4 | /-! |
| 5 | # Difference division in the Wilson rooted coefficient norm |
| 6 | |
| 7 | Factor through real forward-difference kernels using the order of a Taylor |
| 8 | zero in the independent momenta. All widths and costs here can be fixed |
| 9 | before the block size and period. We use the analytic division theorem of |
| 10 | `Stationary.layers`; we don't divide by the momentum norm squared. |
| 11 | -/ |
| 12 | |
| 13 | set_option autoImplicit false |
| 14 | noncomputable section |
| 15 | namespace YM.RG08 |
| 16 | |
| 17 | open Function Filter Finset Laurent Stationary Lattice Bloch Matrix Precision |
| 18 | open Next.Free Work.F08 |
| 19 | open scoped Topology BigOperators |
| 20 | |
| 21 | lemma readRealKernel_neg {I : Type} [Fintype I] (f : Shift I → ℝ) (p : Phase I) |
| 22 | (hp : star p = p) : |
| 23 | star (Laurent.read (fun x => (f x : ℂ)) (-p)) = |
| 24 | Laurent.read (fun x => (f x : ℂ)) p := by |
| 25 | unfold Laurent.read |
| 26 | rw [tsum_star] |
| 27 | apply tsum_congr |
| 28 | intro b |
| 29 | have h := mode_adjoint (-p) b |
| 30 | rw [star_neg, hp, mode_opposite, mode_inverse, inv_inv] at h |
| 31 | simp only [smul_eq_mul, star_mul, mode_inverse,h] |
| 32 | rw [Complex.star_def, Complex.conj_ofReal, mul_comm] |
| 33 | |
| 34 | lemma divZ_neg {I : Type} [Fintype I] [DecidableEq I] |
| 35 | (i : I) (p : Phase I) (hp : star p = p) : |
| 36 | star (divZ i (-p)) = divZ i p := by |
| 37 | unfold divZ |
| 38 | have hpi : star (p i) = p i := congr_fun hp i |
| 39 | simp only [Complex.star_def] at * |
| 40 | rw [map_sub, map_one, ← Complex.exp_conj] |
| 41 | congr 1 |
| 42 | simp [hpi] |
| 43 | |
| 44 | /-- `n` true differences with a pre-block loss of strip width. Real |
| 45 | coefficient packets, `size` is the sum of the absolute values. -/ |
| 46 | theorem real_difference_division (I : Type) [Fintype I] [DecidableEq I] |
| 47 | (n : ℕ) (σ : ℝ) (hs : 0 < σ) : |
| 48 | ∃ η K : ℝ, 0 < η ∧ η ≤ σ ∧ 0 ≤ K ∧ |
| 49 | ∀ (A : ℝ), 0 ≤ A → ∀ f : Shift I → ℝ, Width σ A f → |
| 50 | Rays n (Laurent.read (fun x => (f x : ℂ)) ∘ axes) → |
| 51 | ∃ g : (Fin n → I) → Shift I → ℝ, |
| 52 | (∀ b, Width η (A*K) (g b)) ∧ |
| 53 | ∀ p : Phase I, star p = p → |
| 54 | Laurent.read (fun x => (f x : ℂ)) p = |
| 55 | ∑ b : Fin n → I, (∏ i, divZ (b i) p) * |
| 56 | Laurent.read (fun x => (g b x : ℂ)) p := by |
| 57 | obtain ⟨w,K,hw,hw',hK,H⟩ := layers I n hs |
| 58 | let η := w/4 |
| 59 | have hη : 0 < η := by unfold η; positivity |
| 60 | have he : η + η < w := by unfold η; linarith |
| 61 | let D := (2*((1+η)/η))^(Fintype.card I) |
| 62 | refine ⟨η,K*D,hη,by linarith,mul_nonneg hK (by unfold D; positivity),?_⟩ |
| 63 | intro A ha f hf hr |
| 64 | let F (p : Phase I) := Laurent.read (fun x => (f x : ℂ)) p |
| 65 | obtain ⟨g,hg,Hg⟩ := H A ha F (Firm.of_series |
| 66 | (by simpa only [Width,Complex.norm_real] using hf) hs) hr |
| 67 | let Q b := Laurent.market (g b) 0 |
| 68 | have hQ b : Width η (A*(K*D)) (Q b) := by |
| 69 | rw [← mul_assoc]; exact (hg b).1.issues (hg b).2 η η hη.le hη he |
| 70 | refine ⟨fun b x => (Q b x).re, fun b => Work.F07.widthRealPart (hQ b), fun p hp => ?_⟩ |
| 71 | have hn : star (-p) = -p := by rw [star_neg,hp] |
| 72 | let d (b : Fin n → I) (p : Phase I) := ∏ i, divZ (b i) p |
| 73 | have hh b : Laurent.read (fun i => ((Q b i).re : ℂ)) p = |
| 74 | (g b p + star (g b (-p)))/2 := by |
| 75 | rw [Work.F07.readRealPart (hQ b) hη hp] |
| 76 | unfold Q |
| 77 | rw [(hg b).1.paints (hg b).2 p ((hg b).in_range hp), |
| 78 | (hg b).1.paints (hg b).2 _ ((hg b).in_range hn)] |
| 79 | symm |
| 80 | simp_rw [hh, ← mul_div_assoc, mul_add] |
| 81 | rw [← Finset.sum_div, Finset.sum_add_distrib] |
| 82 | have hr : ∀ b, star (d b (-p)) = d b p := by |
| 83 | intro b |
| 84 | simp only [d, star_prod, divZ_neg _ _ hp] |
| 85 | have hy : (∑ b : Fin n → I, d b p * star (g b (-p))) = F p := by |
| 86 | rw [show F p = star (F (-p)) from (readRealKernel_neg f p hp).symm, |
| 87 | Hg _ (Work.F07.realStrip _ hw hn), star_sum] |
| 88 | exact sum_congr rfl fun b _ => by |
| 89 | change _ = star (d b (-p)*g b (-p)); rw [star_mul,hr b,mul_comm] |
| 90 | change (_ + (∑ b : Fin n → I, d b p * star (g b (-p))))/2 = F p |
| 91 | rw [hy, ← Hg p (Work.F07.realStrip _ hw hp)] |
| 92 | ring |
| 93 | |
| 94 | section Rows |
| 95 | |
| 96 | variable {α β γ I : Type} |
| 97 | |
| 98 | /-- Order of a zero of the Fourier matrix at zero momentum. -/ |
| 99 | def ZeroOrder (n : ℕ) (R : Row α β) := |
| 100 | ∀ i j, Stationary.Rays n (fun p : Corn Axis => R.read (axes p) i j) |
| 101 | |
| 102 | def differenceList {n : ℕ} (b : Fin n → Axis) := List.ofFn b |
| 103 | lemma difference_length {n : ℕ} (b : Fin n → Axis) : (differenceList b).length=n := by simp [differenceList] |
| 104 | lemma list_product {n : ℕ} (b : Fin n → Axis) (p : Momentum) : |
| 105 | listChip p (differenceList b) = ∏ i, divZ (b i) p := by |
| 106 | induction n with |
| 107 | | zero => simp [listChip,differenceList] |
| 108 | | succ n ih => |
| 109 | rw [Fin.prod_univ_succ] |
| 110 | simp only [differenceList,List.ofFn_succ,listChip,List.map_cons,List.prod_cons] |
| 111 | congr 1 |
| 112 | exact ih (fun i => b i.succ) |
| 113 | |
| 114 | def rowSum [Fintype I] (R : I → Row α β) : Row α β := fun i j z => ∑ k, R k i j z |
| 115 | |
| 116 | lemma rowSum_strip [Fintype I] {R : I → Row α β} {η A : ℝ} (h : ∀ i, (R i).strip η A) : |
| 117 | (rowSum R).strip η (Fintype.card I * A) := fun i j => width_sum_finite fun k => h k i j |
| 118 | lemma rowSum_safe [Fintype I] {R : I → Row α β} (h : ∀ i, (R i).safe) : |
| 119 | (rowSum R).safe := by |
| 120 | intro i j |
| 121 | exact (show Summable ((rowSum R) i j) from summable_sum fun k _ => (h k i j).of_norm).norm |
| 122 | |
| 123 | lemma rowSum_acts [Fintype I] {R : I → Row α β} (h : ∀ i, (R i).safe) (c : Side) : |
| 124 | (rowSum R).acts c = ∑ i, (R i).acts c := by |
| 125 | ext ⟨x,i⟩ ⟨y,j⟩ |
| 126 | rw [Matrix.sum_apply] |
| 127 | change sift (fun z => ∑ k, R k i j z) c x y = ∑ k, sift (R k i j) c x y |
| 128 | exact sift_sum_finite (fun k => (h k i j).of_norm) .. |
| 129 | |
| 130 | lemma rowSum_read [Fintype I] {R : I → Row α β} (h : ∀ i, (R i).safe) {p : Momentum} (hp : physical p) : |
| 131 | (rowSum R).read p = ∑ i, (R i).read p := by |
| 132 | ext i j |
| 133 | rw [Matrix.sum_apply] |
| 134 | exact Next.Free.real_sum (m:=I) Finset.univ (a:=fun k => R k i j) (fun k _ => h k i j) hp |
| 135 | |
| 136 | theorem row_division (α β : Type) [Fintype α] [Fintype β] [DecidableEq β] |
| 137 | (d : ℕ) (σ : ℝ) (hs : 0 < σ) : |
| 138 | ∃ η K : ℝ, 0 < η ∧ η ≤ σ ∧ 0 ≤ K ∧ |
| 139 | ∀ (A : ℝ), 0 ≤ A → ∀ R : Row α β, R.strip σ A → ZeroOrder d R → |
| 140 | ∃ T : (Fin d → Axis) → Row α β, |
| 141 | (∀ i, (T i).strip η (A*K)) ∧ |
| 142 | R=rowSum (fun i => composeRows (T i) (pathJet β (differenceList i))) := by |
| 143 | obtain ⟨η,K,he,hg,hK,H⟩ := real_difference_division Axis d σ hs |
| 144 | refine ⟨η,K,he,hg,hK,fun A ha R hr hv => ?_⟩ |
| 145 | choose T hT H' using fun i j => H A ha (R i j) (hr i j) (hv i j) |
| 146 | let Q (j) : Row α β := fun i k => T i k j |
| 147 | have hQ p : Whole (Q p) := ⟨_,_,he,fun i j => hT i j p⟩ |
| 148 | let F (j) := composeRows (Q j) (pathJet β (differenceList j)) |
| 149 | have hF j : (F j).safe := ((hQ j).prod (jet_whole ..)).safe |
| 150 | refine ⟨Q,fun p i j => hT i j p,?_⟩ |
| 151 | have hm : R.safe := Row.rights _ _ hr hs.le |
| 152 | change R=rowSum F |
| 153 | apply bank_injective hm (rowSum_safe hF) |
| 154 | apply acts_of_cube hm (rowSum_safe hF) |
| 155 | intro p hp |
| 156 | rw [rowSum_read hF hp.1] |
| 157 | ext i j |
| 158 | rw [Matrix.sum_apply] |
| 159 | refine (H' i j p hp.1).trans (sum_congr rfl ?_) |
| 160 | intro a _ |
| 161 | unfold F |
| 162 | rw [(hQ a).read (jet_whole ..) hp.1, jet_read _ _ hp.1,list_product,Matrix.mul_smul,Matrix.mul_one] |
| 163 | rfl |
| 164 | |
| 165 | end Rows |
| 166 | end YM.RG08 |