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.CUBIC_MATCH.Lift.Count |
| 2 | |
| 3 | set_option warningAsError false |
| 4 | |
| 5 | /-! |
| 6 | # Separate and dependent contractions, on the cover coefficients |
| 7 | |
| 8 | Real, vector-valued. Forward primal difference corresponds to `x-step` |
| 9 | as below on the stored dual coefficient. Can even translate by a vector |
| 10 | in a joint cover space, so last momentum here need not be independent. |
| 11 | -/ |
| 12 | set_option autoImplicit false |
| 13 | noncomputable section |
| 14 | namespace YM.CubicMatch.Lift |
| 15 | |
| 16 | open Filter Function Lattice RG Precision Laurent Bloch Exterior Matrix |
| 17 | open scoped Topology BigOperators |
| 18 | |
| 19 | variable {E D : Type*} [AddCommGroup E] [Module ℝ E] |
| 20 | variable [AddCommGroup D] |
| 21 | variable {ι : Type*} {r s t : ℕ} |
| 22 | |
| 23 | abbrev Line (D E : Type*) (r : ℕ) := TypeFace r → D → E |
| 24 | |
| 25 | def bite (w : Axis → D) (A : Line D E (r+1)) (b : TypeFace r) (x : D) := |
| 26 | ∑ k : TypeFace (r+1), ∑ i : Axis, left ℝ r i k b • (A k (x-w i)-A k x) |
| 27 | |
| 28 | lemma bite_add (w : Axis → D) (A B : Line D E (r+1)) : bite w (A+B)=bite w A+bite w B := by |
| 29 | funext i x; simp only [bite, Pi.add_apply] |
| 30 | simp_rw [add_sub_add_comm,smul_add,Finset.sum_add_distrib] |
| 31 | lemma bite_sub (w : Axis → D) (A B : Line D E (r+1)) : bite w (A-B)=bite w A-bite w B := by |
| 32 | funext i x; simp only [bite, Pi.sub_apply] |
| 33 | have e (b : TypeFace (r+1)) (z : Axis) : |
| 34 | A b (x-w z)-B b (x-w z)-(A b x-B b x)=(A b (x-w z)-A b x)-(B b (x-w z)-B b x) := by abel_nf |
| 35 | simp_rw [e,smul_sub,Finset.sum_sub_distrib] |
| 36 | |
| 37 | lemma bite_zero (w : Axis → D) : bite w (0 : Line D E (r+1))=0 := by funext i x; simp [bite] |
| 38 | lemma bite_sum (w : Axis → D) (A : ι → Line D E (r+1)) (q : Finset ι) : |
| 39 | bite w (∑ i∈q,A i)=∑ i∈q,bite w (A i) := by |
| 40 | classical |
| 41 | induction q using Finset.induction_on with |
| 42 | | empty => rw [Finset.sum_empty,Finset.sum_empty,bite_zero] |
| 43 | | @insert a q h ih => rw [Finset.sum_insert h, Finset.sum_insert h,bite_add, ih] |
| 44 | lemma bite_map {M : Type*} [AddCommGroup M] [Module ℝ M] (w : Axis → D) |
| 45 | (A : Line D E (r+1)) (L : E →ₗ[ℝ] M) (i : TypeFace r) (x : D) : |
| 46 | L (bite w A i x)=bite w (fun j x => L (A j x)) i x := by simp only [bite,map_sum,map_sub,map_smul] |
| 47 | |
| 48 | lemma bite_comm (w v : Axis → D) (A : TypeFace (r+1) → Line D E (s+1)) (i j : _) : |
| 49 | bite w (fun a => bite v (A a) j) i=bite v (fun a => bite w (fun b => A b a) i) j := by |
| 50 | funext x |
| 51 | have he (z : D → E) (a b : Axis) : z (x-w a-v b) - z (x-w a)-(z (x-v b)-z x)= |
| 52 | z (x-v b-w a)-z (x-v b) - (z (x-w a)-z x) := by rw [sub_right_comm x]; abel_nf |
| 53 | unfold bite |
| 54 | simp only [← Finset.sum_sub_distrib, Finset.smul_sum, ← smul_sub] |
| 55 | calc |
| 56 | _ = ∑ a : TypeFace (r+1), ∑ b : TypeFace (s+1), ∑ c : Axis, ∑ d : Axis, |
| 57 | left ℝ r c a i • left ℝ s d b j • |
| 58 | (A a b (x-w c-v d)-A a b (x-w c)-(A a b (x-v d)-A a b x)) := by |
| 59 | refine Finset.sum_congr rfl fun a _ => ?_; rw [Finset.sum_comm] |
| 60 | _ = _ := by |
| 61 | rw [Finset.sum_comm]; refine Finset.sum_congr rfl fun a _ => ?_ |
| 62 | conv_rhs => rw [Finset.sum_comm] |
| 63 | refine Finset.sum_congr rfl fun b _ => ?_ |
| 64 | rw [Finset.sum_comm]; refine Finset.sum_congr rfl fun c _ => Finset.sum_congr rfl fun d _ => ?_ |
| 65 | rw [he,smul_comm] |
| 66 | |
| 67 | |
| 68 | |
| 69 | abbrev Three (E : Type*) (r s t : ℕ) := TypeFace r → TypeFace s → TypeFace t → Couple → E |
| 70 | |
| 71 | def aheadX (s : Axis) : Couple := (step s,0) |
| 72 | def aheadY (s : Axis) : Couple := (0,step s) |
| 73 | def behind (s : Axis) : Couple := (-step s,-step s) |
| 74 | |
| 75 | def δx (A : Three E (r+1) s t) : Three E r s t := fun i j a => bite aheadX (fun b => A b j a) i |
| 76 | def δy (A : Three E r (s+1) t) : Three E r s t := fun i j a => bite aheadY (fun b => A i b a) j |
| 77 | def δz (A : Three E r s (t+1)) : Three E r s t := fun i j a => bite behind (A i j) a |
| 78 | |
| 79 | lemma xy (A : Three E (r+1) (s+1) t) : δx (δy A) = δy (δx A) := by |
| 80 | funext i j a; exact bite_comm _ _ (fun u v => A u v a) _ _ |
| 81 | lemma yz (A : Three E r (s+1) (t+1)) : δy (δz A)=δz (δy A) := by |
| 82 | funext i j a; exact bite_comm _ _ (A i) _ _ |
| 83 | lemma xz (A : Three E (r+1) s (t+1)) : δx (δz A)=δz (δx A) := by |
| 84 | funext i j a; exact bite_comm _ _ (fun u => A u j) _ _ |
| 85 | lemma δz_sub (A B : Three E r s (t+1)) : δz (A-B)=δz A-δz B := by |
| 86 | funext i j; exact bite_sub _ _ _ |
| 87 | lemma δz_zero : δz (0:Three E r s (t+1))=0 := by funext i j; exact bite_zero behind |
| 88 | lemma δx_sub (A B : Three E (r+1) s t) : δx (A-B)=δx A-δx B := by |
| 89 | funext i j a; exact congr_fun (bite_sub _ (fun b => A b j a) (fun b => B b j a)) i |
| 90 | lemma δy_sub (A B : Three E r (s+1) t) : δy (A-B)=δy A-δy B := by |
| 91 | funext i j a; exact congr_fun (bite_sub _ (fun b => A i b a) (fun b => B i b a)) j |
| 92 | |
| 93 | lemma δy_zero : δy (0:Three E r (s+1) t)=0 := by funext i j a; exact congr_fun (bite_zero (r:=s) _) j |
| 94 | lemma δx_sum (A : ι → Three E (r+1) s t) (q : Finset ι) : δx (∑ i∈q,A i)=∑ i∈q,δx (A i) := by |
| 95 | funext i j a x; simp only [δx,bite,Finset.sum_apply,← Finset.sum_sub_distrib, Finset.smul_sum] |
| 96 | conv_lhs => arg 2; intro b; rw [Finset.sum_comm] |
| 97 | rw [Finset.sum_comm] |
| 98 | lemma δy_sum (A : ι → Three E r (s+1) t) (q : Finset ι) : δy (∑ i∈q,A i)=∑ i∈q,δy (A i) := by |
| 99 | funext i j a x; simp only [δy,bite,Finset.sum_apply,← Finset.sum_sub_distrib, Finset.smul_sum] |
| 100 | conv_lhs => arg 2; intro b; rw [Finset.sum_comm] |
| 101 | rw [Finset.sum_comm] |
| 102 | lemma δz_sum (A : ι → Three E r s (t+1)) (q : Finset ι) : δz (∑ i∈q,A i)=∑ i∈q,δz (A i) := by |
| 103 | funext i j; simp only [Finset.sum_apply] |
| 104 | change bite behind ((∑ k∈q,A k) i j) = ∑ k∈q,bite behind (A k i j) |
| 105 | simp only [Finset.sum_apply,bite_sum] |
| 106 | |
| 107 | /-- All three shifts need commute only on different legs. -/ |
| 108 | lemma permute {C : Type*} [AddCommGroup C] (A : Line D E (r+1)) (e : C ≃+ D) (v : Axis → C) |
| 109 | (i : TypeFace r) (x : C) : |
| 110 | bite v (fun i => A i ∘ e) i x=bite (fun j => e (v j)) A i (e x) := by |
| 111 | simp only [bite, Function.comp_apply,map_sub] |
| 112 | end YM.CubicMatch.Lift |
| 113 | |
| 114 | namespace YM.CubicMatch.Lift |
| 115 | open Filter Function Lattice RG Precision Laurent Bloch Exterior Matrix |
| 116 | open scoped Topology BigOperators |
| 117 | |
| 118 | variable {E : Type*} [SeminormedAddCommGroup E] [NormedSpace ℝ E] {r s t : ℕ} {η θ C D : ℝ} |
| 119 | |
| 120 | def Pace (η C : ℝ) (A : Three E r s t) := ∀ a b c, Decay length2 η C (A a b c) |
| 121 | |
| 122 | def stepFee (η : ℝ) (s : Axis → Couple) (r : ℕ) := |
| 123 | Fintype.card (TypeFace (r+1)) * (∑ i, (Real.exp (η*length2 (s i))+1)) |
| 124 | |
| 125 | lemma stepFee_nonneg (η : ℝ) (w : Axis → Couple) (r : ℕ) : 0 ≤ stepFee η w r := by unfold stepFee; positivity |
| 126 | |
| 127 | lemma location_price (hη : 0 ≤ η) (w : Axis → Couple) {A : Line Couple E (r+1)} |
| 128 | (h : ∀ k, Decay length2 η C (A k)) (i : TypeFace r) : |
| 129 | Decay length2 η (stepFee η w r*C) (bite w A i) := by |
| 130 | unfold bite |
| 131 | have he (k s) : Decay length2 η ((Real.exp (η*length2 (w s))+1)*C) (fun x => left ℝ r s k i • (A k (x-w s)-A k x)) := by |
| 132 | have hb s : Decay length2 η (Real.exp (η*length2 (w s))*C) (fun x => A k (x-w s)) := |
| 133 | fun x => (h k (x-w s)).trans ((mul_le_mul_of_nonneg_left (sub_decay hη x (w s)) (h k|>.cash)).trans_eq |
| 134 | (by ring)) |
| 135 | apply Decay.enlarge ((Decay.minus (hb s) (h k)).scaled (left ℝ r s k i)) |
| 136 | have hN := (h k).cash |
| 137 | have hh : |left ℝ r s k i| ≤ 1 := by unfold Exterior.left; rw [Matrix.of_apply]; split_ifs <;> simp [parity] |
| 138 | exact (mul_le_of_le_one_left (by positivity) hh).trans (by rw [add_mul, one_mul]) |
| 139 | refine (Decay.fin (fun k (_ : k∈Finset.univ) => Decay.fin (fun s (_ : s∈Finset.univ) => he k s))).enlarge ?_ |
| 140 | simp_rw [← Finset.sum_mul]; rw [Finset.sum_const,Finset.card_univ,nsmul_eq_mul]; unfold stepFee; rw [mul_assoc] |
| 141 | |
| 142 | variable {A B : Three E r s t} |
| 143 | omit [NormedSpace ℝ E] in |
| 144 | lemma Pace.mono (h : Pace η C A) (he : θ ≤ η) (hv : C ≤ D) (hh : 0 ≤ D) : Pace θ D A := fun i j a => |
| 145 | (h i j a).mono he hv hh |
| 146 | omit [NormedSpace ℝ E] in |
| 147 | lemma Pace.sub (h : Pace η C A) (g : Pace η D B) : Pace η (C+D) (A-B) := fun i j a => |
| 148 | (h i j a).minus (g i j a) |
| 149 | lemma Pace.x {A : Three E (r+1) s t} (h : Pace η C A) (hη : 0 ≤ η) : |
| 150 | Pace η (stepFee η aheadX r*C) (δx A) := fun i j a => location_price hη aheadX (fun k => h k j a) i |
| 151 | lemma Pace.y {A : Three E r (s+1) t} (h : Pace η C A) (hη : 0 ≤ η) : |
| 152 | Pace η (stepFee η aheadY s*C) (δy A) := fun i j a => location_price hη aheadY (fun k => h i k a) j |
| 153 | lemma Pace.z {A : Three E r s (t+1)} (h : Pace η C A) (hη : 0 ≤ η) : |
| 154 | Pace η (stepFee η behind t*C) (δz A) := fun i j a => location_price hη behind (h i j) a |
| 155 | end YM.CubicMatch.Lift |