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.Station |
| 2 | import YM.Work.F03.Transport |
| 3 | |
| 4 | /-! |
| 5 | # The quadratic contribution and the real periodic `Bed` |
| 6 | |
| 7 | Only `Attached` *on the cover* is given. We prove explicitly that the root |
| 8 | matrix periodizes to the same output as the sum over the actual paths of the |
| 9 | leading slot values. Then identify the fiscal form with the stacked inner |
| 10 | product used by `Floor`. All sums in physical counting coordinates. |
| 11 | -/ |
| 12 | set_option autoImplicit false |
| 13 | noncomputable section |
| 14 | namespace YM.Work.F03 |
| 15 | open Filter Function Lattice RG Wilson Precision Exterior Push Bid |
| 16 | open scoped Topology Matrix.Norms.Frobenius ContDiff BigOperators InnerProductSpace |
| 17 | open Matrix Bloch Laurent |
| 18 | |
| 19 | variable {G : Gauge} {n : Side} |
| 20 | (B : Bed) {W : PathData G} {p σ C Λ u v} (hb : W.Bounds p σ C Λ) (ht : Attached B W) |
| 21 | |
| 22 | include hb ht |
| 23 | /-- Collect all coefficients over a given *physical* face. Infinitely |
| 24 | many offsets on the cover can contribute to this one coefficient. -/ |
| 25 | lemma layout_physical (b c : Face (Per n)) : |
| 26 | HasSum (fun i : ℕ => if slotFace (W.row b.2 i).2 b.1 = c then (W.row b.2 i).1 else 0) |
| 27 | (B.roots.acts n (b.1,plaquette b.2) (c.1,plaquette c.2)) := by |
| 28 | let F i := if slotFace (W.row b.2 i).2 b.1 = c then (W.row b.2 i).1 else 0 |
| 29 | let l (i : ℕ) := (W.row b.2 i).2.offset |
| 30 | have hs : Summable F := by |
| 31 | have h := row_abs_summable W hb b.2 |
| 32 | refine Summable.of_norm_bounded h ?_ |
| 33 | intro i; unfold F; split |
| 34 | · rw [Real.norm_eq_abs] |
| 35 | rw [norm_zero]; exact abs_nonneg _ |
| 36 | have he : HasSum (fun x => if c.1 = b.1 + wrap n x |
| 37 | then B.roots (plaquette b.2) (plaquette c.2) x else 0) (∑' i, F i) := by |
| 38 | classical |
| 39 | apply HasSum.congr_fun (hs.hasSum.tsum_fiberwise l) |
| 40 | intro y |
| 41 | rw [tsum_subtype] |
| 42 | split_ifs with hz |
| 43 | · rw [← (ht.layout b.2 c.2 y).tsum_eq] |
| 44 | refine tsum_congr fun i => ?_ |
| 45 | by_cases h : (W.row b.2 i).2.offset = y |
| 46 | · rw [Set.indicator_of_mem (show i ∈ l ⁻¹' {y} from h)]; unfold F slotFace |
| 47 | rw [h, add_comm, ← hz] |
| 48 | simp [Prod.ext_iff] |
| 49 | rw [Set.indicator_of_notMem (show i ∉ l ⁻¹' {y} from h)]; rw [if_neg (fun a => h a.2)] |
| 50 | rw [← tsum_zero (α := ℝ) (β := ℕ)] |
| 51 | symm; refine tsum_congr fun i => ?_ |
| 52 | by_cases H : i ∈ l ⁻¹' {y} |
| 53 | · rw [Set.indicator_of_mem H]; unfold F; rw [if_neg] |
| 54 | intro hi |
| 55 | have hy : (W.row b.2 i).2.offset = y := H |
| 56 | have he := congr_arg Prod.fst hi |
| 57 | apply hz; unfold slotFace at he |
| 58 | simpa [hy,add_comm] using he.symm |
| 59 | exact Set.indicator_of_notMem H _ |
| 60 | rw [show B.roots.acts n (b.1,plaquette b.2) (c.1,plaquette c.2) = ∑' i, F i from he.tsum_eq] |
| 61 | exact hs.hasSum |
| 62 | |
| 63 | lemma ellLine_root (b : Face (Per n)) (a : fieldDir G n 1) : |
| 64 | ellLine W b a = ∑ c : Face (Per n), |
| 65 | B.roots.acts n (b.1,plaquette b.2) (c.1,plaquette c.2) • faceCurl c a := by |
| 66 | let l (i : ℕ) := slotFace (W.row b.2 i).2 b.1 |
| 67 | have hs := (ellLine_summable W hb b a).hasSum.tsum_fiberwise l |
| 68 | have he : HasSum (fun c : Face (Per n) => |
| 69 | B.roots.acts n (b.1,plaquette b.2) (c.1,plaquette c.2) • faceCurl c a) |
| 70 | (ellLine W b a) := by |
| 71 | apply HasSum.congr_fun hs |
| 72 | intro c |
| 73 | rw [← ((layout_physical B hb ht b c).smul_const (faceCurl c a)).tsum_eq] |
| 74 | classical |
| 75 | rw [tsum_subtype (l ⁻¹' {c}) (fun i => (W.row b.2 i).1 • faceCurl (slotFace (W.row b.2 i).2 b.1) a)] |
| 76 | refine tsum_congr fun i => ?_ |
| 77 | by_cases h : i ∈ l ⁻¹' {c} |
| 78 | · have hv : slotFace (W.row b.2 i).2 b.1 = c := h |
| 79 | rw [Set.indicator_of_mem h, if_pos hv, hv] |
| 80 | have hv : slotFace (W.row b.2 i).2 b.1 ≠ c := h |
| 81 | rw [Set.indicator_of_notMem h, if_neg hv, zero_smul] |
| 82 | rw [← he.tsum_eq, tsum_fintype] |
| 83 | |
| 84 | lemma ellLine_mulVec (b : Face (Per n)) (a : fieldDir G n 1) (i : G.ColorIndex) : |
| 85 | (ellLine W b a) i = |
| 86 | (B.roots.acts n *ᵥ (d 1 n *ᵥ parts G 1 a i)) (b.1,plaquette b.2) := by |
| 87 | rw [ellLine_root B hb ht] |
| 88 | let f : G.Color →ₗ[ℝ] ℝ := LinearMap.comp (LinearMap.proj i) (WithLp.linearEquiv 2 ℝ _).toLinearMap |
| 89 | change f (∑ b : Face (Per n), _) = _ |
| 90 | rw [map_sum, mulVec, dotProduct, |
| 91 | ← Equiv.sum_comp (Equiv.prodCongr (Equiv.refl (Site n)) plaqEquiv)] |
| 92 | refine Finset.sum_congr rfl fun j _ => ?_ |
| 93 | rw [map_smul] |
| 94 | rfl |
| 95 | |
| 96 | lemma left_stack (a b : fieldDir G n 1) (hf : Floor B p n u v) (i : G.ColorIndex) : |
| 97 | dotProduct (parts G 1 a i) (K (B.metric.acts n) *ᵥ parts G 1 b i) = |
| 98 | ∑ x : Face (Per n), ((p.direct * ((faceCurl x a) i * (faceCurl x b) i)) + |
| 99 | (ellLine W x a) i * (ellLine W x b) i) := by |
| 100 | let m (z : fieldDir G n 1) := d 1 n *ᵥ parts G 1 z i |
| 101 | rw [Precision.K, ← mulVec_mulVec, ← mulVec_mulVec, dotProduct_mulVec, vecMul_transpose, |
| 102 | ← hf.roots, ← mulVec_mulVec, dotProduct_mulVec, vecMul_transpose] |
| 103 | change dotProduct (B.full p n *ᵥ m a) (B.full p n *ᵥ m b) = _ |
| 104 | have he (x : Face (Per n)) (z) : (B.full p n *ᵥ m z) (x.1, Sum.inr (plaquette x.2)) = |
| 105 | (ellLine W x z) i := (ellLine_mulVec B hb ht x z i).symm |
| 106 | have ha (x : Face (Per n)) (z) : (B.full p n *ᵥ m z) (x.1, Sum.inl (plaquette x.2)) = |
| 107 | Real.sqrt p.direct * (faceCurl x z) i := by |
| 108 | change (∑ j : Body 2 n, (Real.sqrt p.direct * |
| 109 | (1 : Matrix (Body 2 n) (Body 2 n) ℝ) (x.1, plaquette x.2) j) * m z j) = _ |
| 110 | simp_rw [mul_assoc]; rw [← Finset.mul_sum] |
| 111 | change Real.sqrt p.direct * ((1 : Matrix (Body 2 n) (Body 2 n) ℝ) *ᵥ m z) |
| 112 | (x.1,plaquette x.2) = _ |
| 113 | rw [Matrix.one_mulVec]; rfl |
| 114 | rw [dotProduct, Fintype.sum_prod_type, Fintype.sum_prod_type] |
| 115 | refine Finset.sum_congr rfl fun x _ => ?_ |
| 116 | rw [Fintype.sum_sum_type, Finset.sum_add_distrib] |
| 117 | conv_lhs => |
| 118 | arg 1; rw [← Equiv.sum_comp plaqEquiv] |
| 119 | conv_lhs => |
| 120 | arg 2; rw [← Equiv.sum_comp plaqEquiv] |
| 121 | congr 1 |
| 122 | · apply Finset.sum_congr rfl; intro j hj |
| 123 | rw [show plaqEquiv j = _ from plaq_map j, ha (x,j), ha (x,j)] |
| 124 | have hp := Real.sq_sqrt p.quadratic_pos.le |
| 125 | conv_rhs => rw [← hp] |
| 126 | ring |
| 127 | apply Finset.sum_congr rfl; intro j hj |
| 128 | rw [show plaqEquiv j = _ from plaq_map j, he (x,j), he (x,j)] |
| 129 | |
| 130 | omit B hb ht in |
| 131 | lemma inner_color (x y : G.Color) : inner ℝ x y = ∑ i, x i * y i := by |
| 132 | rw [real_inner_comm, PiLp.inner_apply] |
| 133 | simp |
| 134 | |
| 135 | lemma metric_pair (a b : fieldDir G n 1) (hf : Floor B p n u v) : |
| 136 | gaugeFiscal B a b = ∑ x : Face (Per n), ((p.direct * |
| 137 | inner ℝ (faceCurl x a) (faceCurl x b)) + inner ℝ (ellLine W x a) (ellLine W x b)) := by |
| 138 | unfold gaugeFiscal |
| 139 | simp_rw [left_stack B hb ht a b hf, inner_color, Finset.mul_sum, ← Finset.sum_add_distrib] |
| 140 | rw [Finset.sum_comm] |
| 141 | |
| 142 | end YM.Work.F03 |