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.Bid.Town |
| 2 | import YM.Next.EXTRACTION.Tails |
| 3 | import YM.Work.B04 |
| 4 | import YM.Work.F03.Flat |
| 5 | import YM.Work.F04.Pairing |
| 6 | |
| 7 | /-! |
| 8 | # Transporting stationary linear curls in every orientation |
| 9 | |
| 10 | Do not assume equivariance of tree representatives or of their logs. Transform the |
| 11 | *linear equation* and use positivity to discard only their possible curl-null |
| 12 | difference. The physical rooted probe equivariance is deduced from the actual |
| 13 | predictor (derivative at flat on its branches). Includes nonzero shifts on |
| 14 | inverted links and the counting/physical color normalization unchanged. |
| 15 | -/ |
| 16 | set_option autoImplicit false |
| 17 | noncomputable section |
| 18 | namespace YM.Extra.Iteration.Channel |
| 19 | open Lattice Wilson RG Exterior Precision Bloch Tree Matrix Function Finset Bid |
| 20 | open scoped Topology BigOperators ContDiff Matrix.Norms.Frobenius InnerProductSpace |
| 21 | variable {G : Gauge} {n c f : Side} {S : StepData c f} |
| 22 | |
| 23 | def bondBody (n : Side) : Edge (Site n) ≃ Body 1 n := Equiv.prodCongr (Equiv.refl _) axisEquiv |
| 24 | lemma pulled_edge (x : Dir G n) (s : Signed) (e : Edge (Site n)) : pulled x s (bondBody n e) = |
| 25 | if s.flip e.2 then -x (bondBody n (sendEdge s 0 e)) else x (bondBody n (sendEdge s 0 e)) := by |
| 26 | rcases e with ⟨a,i⟩ |
| 27 | unfold pulled; change (let u := (posDir (axisEquiv.symm (axisEquiv i))).rotate s; let v := u.used (affine s 0 a) |
| 28 | if u.neg then -x (v.1,axisEquiv v.2) else x (v.1,axisEquiv v.2)) = _ |
| 29 | rw [axisEquiv.symm_apply_apply]; simp only [sendEdge,Step.rotate,posDir,Bool.false_xor]; rfl |
| 30 | |
| 31 | lemma pulls_onto (s : Signed) : Function.Surjective (fun x : Dir G n => pulled x s) := by |
| 32 | intro x |
| 33 | let E := StepData.sendBonds (c:=n) s 0 |
| 34 | refine ⟨fun e => let v := E.symm ((bondBody n).symm e); if s.flip v.2 then -x (bondBody n v) else x (bondBody n v), funext fun i => ?_⟩ |
| 35 | obtain ⟨i,rfl⟩ := (bondBody n).surjective i |
| 36 | dsimp only |
| 37 | rw [pulled_edge, (bondBody n).symm_apply_apply,show sendEdge s 0 i = E i from rfl,E.symm_apply_apply] |
| 38 | split <;> simp [*] |
| 39 | lemma pulls_sub (s : Signed) (u v : Dir G n) : pulled (u-v) s = pulled u s - pulled v s := by |
| 40 | funext i; obtain ⟨i,rfl⟩ := (bondBody n).surjective i |
| 41 | rw [Pi.sub_apply, pulled_edge,pulled_edge,pulled_edge] |
| 42 | split <;> simp [*]; abel |
| 43 | |
| 44 | def pairing (u v : Dir G n) := ∑ b, dotProduct (parts G 1 u b) (parts G 1 v b) |
| 45 | lemma pair_signed (s : Signed) (u v : Dir G n) : pairing (pulled u s) (pulled v s) = pairing u v := by |
| 46 | apply sum_congr rfl; intro i _ |
| 47 | unfold dotProduct |
| 48 | rw [← Equiv.sum_comp (bondBody n), ← Equiv.sum_comp (bondBody n)] |
| 49 | conv_rhs => rw [← Equiv.sum_comp (StepData.sendBonds s (0:Site n))] |
| 50 | apply sum_congr rfl; intro j _; unfold parts |
| 51 | rw [pulled_edge,pulled_edge]; cases h : s.flip j.2 <;> simp only [Bool.false_eq_true,↓reduceIte, PiLp.neg_apply, neg_mul_neg] <;> rfl |
| 52 | lemma pair_nn (u : Dir G n) : 0 ≤ pairing u u := sum_nonneg fun _ _ => sum_nonneg fun _ _ => mul_self_nonneg _ |
| 53 | lemma pair_sub (u v w : Dir G n) : pairing u (v-w) = pairing u v - pairing u w := by |
| 54 | unfold pairing parts dotProduct; simp [sum_sub_distrib,mul_sub] |
| 55 | lemma fiscal_sub (B : Bed) (u v w : Dir G n) : gaugeFiscal B u (v-w)=gaugeFiscal B u v-gaugeFiscal B u w := by |
| 56 | unfold gaugeFiscal; simp_rw [show ∀ i, parts G 1 (v-w) i=parts G 1 v i-parts G 1 w i from fun _ => rfl, |
| 57 | mulVec_sub,dotProduct_sub,sum_sub_distrib] |
| 58 | lemma fiscal_flux (B : Bed) (u v : Dir G n) : gaugeFiscal B u v = ∑ i, dotProduct (d 1 n *ᵥ parts G 1 u i) |
| 59 | (B.metric.acts n *ᵥ (d 1 n *ᵥ parts G 1 v i)) := by |
| 60 | unfold gaugeFiscal Precision.K; simp_rw [← mulVec_mulVec, dotProduct_mulVec (A:=(d 1 n).transpose),vecMul_transpose] |
| 61 | lemma fiscal_spec {B : Bed} {p η A} (hf : Floor B p n η A) (u : Dir G n) : |
| 62 | η*(∑ i : G.ColorIndex, ∑ w, ((d 1 n *ᵥ parts G 1 u i) w)^2) ≤ gaugeFiscal B u u := by |
| 63 | rw [fiscal_flux,mul_sum]; exact sum_le_sum fun i _ => by simpa [dotProduct,sq] using (hf.uniform.1 (d 1 n *ᵥ parts G 1 u i)).1 |
| 64 | lemma fiscal_kernel {B : Bed} {p η A} (he : 0 < η) (hf : Floor B p n η A) {u : Dir G n} |
| 65 | (hz : gaugeFiscal B u u ≤ 0) (i : G.ColorIndex) : d 1 n *ᵥ parts G 1 u i = 0 := by |
| 66 | have hu := nonpos_of_mul_nonpos_right ((fiscal_spec hf u).trans hz) he |
| 67 | funext w |
| 68 | have hx : ((d 1 n *ᵥ parts G 1 u i) w)^2 ≤ 0 := calc |
| 69 | _ ≤ ∑ w, ((d 1 n *ᵥ parts G 1 u i) w)^2 := single_le_sum (f:=fun w => ((d 1 n *ᵥ parts G 1 u i) w)^2) (fun _ _ => by positivity) (mem_univ w) |
| 70 | _ ≤ _ := le_trans (single_le_sum (f:=fun i => ∑ w, ((d 1 n *ᵥ parts G 1 u i) w)^2) (fun _ _ => sum_nonneg fun _ _ => by positivity) (mem_univ i)) hu |
| 71 | rw [Pi.zero_apply]; nlinarith |
| 72 | |
| 73 | lemma bills_sub (a b : Dir G f) : bills S (a-b) = bills S a - bills S b := by |
| 74 | ext e i; change ((probe S) *ᵥ (parts G 1 a i-parts G 1 b i)) _ = _; rw [mulVec_sub]; rfl |
| 75 | |
| 76 | lemma bills_signed (s : Signed) (hs : S.patch.Branches S.kernel G) (a : Dir G f) : bills S (pulled a s) = pulled (bills S a) s := by |
| 77 | let tag : S.Choices := Classical.arbitrary _ |
| 78 | let tag' := S.withinChoice s 0 tag |
| 79 | funext i; obtain ⟨i,rfl⟩ := (bondBody c).surjective i |
| 80 | rw [pulled_edge]; apply G.colorMat_injective |
| 81 | let v := sendEdge s (0:Site c) i |
| 82 | have he := Push.prices S hs i tag (pulled a s); have hv := Push.prices S hs v tag' a |
| 83 | change HasDerivAt _ (G.colorMat (bills S _ (bondBody c i))) _ at he |
| 84 | change HasDerivAt _ (G.colorMat (bills S a (bondBody c v))) _ at hv |
| 85 | have hz : S.ratio.embed 0 = 0 := S.ratio.root.map_zero |
| 86 | have h (t : ℝ) : S.prediction (represent (t • pulled a s)) tag i = if s.flip i.2 then (S.prediction (represent (t • a)) tag' v)⁻¹ |
| 87 | else S.prediction (represent (t • a)) tag' v := by |
| 88 | have he := S.prediction_channel hs s 0 (represent (t • a)) tag |
| 89 | rw [hz, Work.F03.represent_pulled] at he; rw [he] |
| 90 | simp only [pull,Step.read,v,sendEdge,tag',posDir,Step.rotate,Bool.false_xor] |
| 91 | simp_rw [h] at he |
| 92 | split <;> rename_i H |
| 93 | · simp_rw [if_pos H,G.mat_inv] at he; rw [map_neg,← G.colorMat_skew]; exact he.unique hv.star |
| 94 | simp_rw [if_neg H] at he; exact he.unique hv |
| 95 | |
| 96 | section station |
| 97 | variable {H : Forest S.ratio} {B C : Bed} {U : Matrix (Body 1 f) (Body 1 c) ℝ} |
| 98 | def rising (H : Forest S.ratio) (U : Matrix (Body 1 f) (Body 1 c) ℝ) (x : Dir G c) := stretch H (x,relative (S:=S) H U x) |
| 99 | |
| 100 | def solves (S : StepData c f) (B : Bed) (z : Dir G f) (v : Dir G c) := ∀ x : Dir G f, |
| 101 | gaugeFiscal B x z + S.kernel.penalty * pairing (bills S x) (bills S z-v) = 0 |
| 102 | |
| 103 | lemma equation (hd : Inputs S U (B.metric.acts f) (C.metric.acts c)) (v : Dir G c) : solves S B (rising H U v) v := by |
| 104 | intro x |
| 105 | let z := rising H U v |
| 106 | obtain ⟨he,hb⟩ := stationed H U _ _ hd |
| 107 | have h (i : G.ColorIndex) : parts G 1 z i = _ := Work.F04.parts_stretch (S:=S) H U v i |
| 108 | have hz i : parts G 1 (bills S z - v) i = -(S.kernel.penalty⁻¹ • (Precision.K (C.metric.acts c)*ᵥ parts G 1 v i)) := by |
| 109 | change probe S *ᵥ (parts G 1 z i) - parts G 1 v i = _ |
| 110 | rw [h,mulVec_mulVec,he,sub_mulVec,one_mulVec,smul_mulVec]; abel |
| 111 | change gaugeFiscal B _ z + _ * pairing _ (bills S z-v) = _ |
| 112 | unfold gaugeFiscal pairing; rw [mul_sum,← sum_add_distrib]; apply sum_eq_zero; intro i _ |
| 113 | rw [h,mulVec_mulVec,hb,← mulVec_mulVec,dotProduct_mulVec,vecMul_transpose,hz, dotProduct_neg,dotProduct_smul, |
| 114 | smul_eq_mul, mul_neg,← mul_assoc _ S.kernel.penalty⁻¹, mul_inv_cancel₀ S.kernel.penalty_pos.ne',one_mul] |
| 115 | change dotProduct (parts G 1 (bills S x) i) _ + _ = _; exact add_neg_cancel _ |
| 116 | |
| 117 | lemma solved_unique {p η D} {v : Dir G c} {z w : Dir G f} (he : 0 < η) (hf : Floor B p f η D) (ha : solves S B z v) (hb : solves S B w v) |
| 118 | (i : G.ColorIndex) : d 1 f *ᵥ parts G 1 z i = d 1 f *ᵥ parts G 1 w i := by |
| 119 | refine sub_eq_zero.mp ?_; rw [← mulVec_sub] |
| 120 | change d 1 f *ᵥ (parts G 1 (z-w) i) = 0; apply fiscal_kernel he hf _ i |
| 121 | have hz := ha (z-w); have hw := hb (z-w) |
| 122 | have hn := pair_nn (bills S (z-w)) |
| 123 | rw [bills_sub, pair_sub] at hn |
| 124 | rw [pair_sub, bills_sub] at hz hw |
| 125 | rw [fiscal_sub]; linarith [mul_nonneg S.kernel.penalty_pos.le hn] |
| 126 | |
| 127 | lemma solved_signed (s : Signed) {v : Dir G c} {z : Dir G f} (hs : S.patch.Branches S.kernel G) |
| 128 | (hb : Sworn B f G) (ha : solves S B z v) : solves S B (pulled z s) (pulled v s) := by |
| 129 | intro x; obtain ⟨x,rfl⟩ := pulls_onto s x |
| 130 | rw [hb,bills_signed s hs,bills_signed s hs,← pulls_sub,pair_signed]; exact ha x |
| 131 | |
| 132 | lemma column_signed (hs : S.patch.Branches S.kernel G) {p η D} (he : 0 < η) (hf : Floor B p f η D) (hb : Sworn B f G) |
| 133 | (hd : Inputs S U (B.metric.acts f) (C.metric.acts c)) (v : Dir G c) (s : Signed) (i : G.ColorIndex) : |
| 134 | d 1 f *ᵥ parts G 1 (pulled (rising H U v) s) i = (d 1 f * U) *ᵥ parts G 1 (pulled v s) i := by |
| 135 | rw [solved_unique he hf (solved_signed s hs hb (equation hd v)) (equation (H:=H) hd _), rising, Work.F04.parts_stretch, mulVec_mulVec] |
| 136 | rw [extracted,Matrix.mul_add, ← Matrix.mul_assoc, Exterior.closed 0,Matrix.zero_mul,add_zero] |
| 137 | end station |
| 138 | end YM.Extra.Iteration.Channel |