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.Pair |
| 2 | import YM.AnalyticNext.CUBIC_MATCH.Terms.Slots |
| 3 | import YM.Progress.JOINT_CALENDAR.Rows |
| 4 | |
| 5 | |
| 6 | |
| 7 | set_option warningAsError false |
| 8 | |
| 9 | /-! |
| 10 | # Output cubic atoms at true path budget |
| 11 | |
| 12 | Includes the physical path lengths, even on windings, |
| 13 | so these plug into the `.Bounds` width without any period cost. Signed |
| 14 | execution still as whole-channel averages. Cutoff masks not applied to these |
| 15 | comparisons (this module isn't paying for the activity representation). |
| 16 | -/ |
| 17 | set_option autoImplicit false |
| 18 | noncomputable section |
| 19 | namespace YM.CubicMatch |
| 20 | open Filter Function RG Wilson Lattice Precision Exterior Tree Work.F02 Work.F03 Bid Matrix |
| 21 | open Progress.Joint Lift Laurent |
| 22 | open scoped ContDiff Topology BigOperators Matrix.Norms.Frobenius |
| 23 | |
| 24 | variable {G : Gauge} |
| 25 | |
| 26 | abbrev Tiles3 := TypeFace 2 × TypeFace 2 × TypeFace 2 |
| 27 | abbrev Box3 := Tiles3 × Couple |
| 28 | def slate (a : TypeFace 2) (x : Cover) : Slot := script (plaqEquiv.symm a,x) |
| 29 | |
| 30 | def pigment (x : Fin 3 → G.ColorIndex) (i : Fin 3) := EuclideanSpace.basisFun G.ColorIndex ℝ (x i) |
| 31 | |
| 32 | abbrev Stored (G : Gauge) := Three (Shades G) 2 2 2 |
| 33 | def deposit (A : Stored G) (z : Tiles3) (q : Couple) : Atom G 3 := |
| 34 | ⟨![slate z.1 q.1,slate z.2.1 q.2,slate z.2.2 0],fun i => A z.1 z.2.1 z.2.2 q (pigment i)⟩ |
| 35 | |
| 36 | def marks3 : ℕ ≃ Box3 := by |
| 37 | haveI : Nonempty (TypeFace 2) := ⟨plaquette ⟨(0,1),by decide⟩⟩ |
| 38 | exact Classical.choice nonempty_equiv_of_countable |
| 39 | |
| 40 | def plant3 (A : Stored G) (i : ℕ) := deposit A (marks3 i).1 (marks3 i).2 |
| 41 | |
| 42 | variable {η C : ℝ} |
| 43 | |
| 44 | lemma deposit_length (A : Stored G) (i : Tiles3) (q : Couple) : |
| 45 | (deposit A i q).length=length2 q+12 := by |
| 46 | unfold deposit Atom.length |
| 47 | simp only [Fin.sum_univ_succ,cons_val_zero,cons_val_succ,Finset.univ_eq_empty,Finset.sum_empty,add_zero] |
| 48 | change (slate i.1 q.1).length+((slate i.2.1 q.2).length+(slate i.2.2 0).length)=_ |
| 49 | unfold slate; simp_rw [script_length] |
| 50 | rw [show size (0:Cover)=0 by simp [size]] |
| 51 | unfold length2; omega |
| 52 | |
| 53 | lemma deposit_poly (A : Stored G) (z : Tiles3) (m : Couple) (x : Fin 3 → G.Color) : |
| 54 | (deposit A z m).poly x=A z.1 z.2.1 z.2.2 m x := by |
| 55 | let T := A z.1 z.2.1 z.2.2 m |
| 56 | let B := EuclideanSpace.basisFun G.ColorIndex ℝ |
| 57 | let f (i : Fin 3) (k : G.ColorIndex) := x i k • B k |
| 58 | have ht i : ∑ k, f i k = x i := B.sum_repr _ |
| 59 | have he := T.map_sum f |
| 60 | simp_rw [ht] at he |
| 61 | refine Eq.trans (Finset.sum_congr rfl (fun b hb => ?_)) he.symm |
| 62 | change T (pigment b) * (∏ i, x i (b i)) = T (fun i => x i (b i) • pigment b i) |
| 63 | rw [T.map_smul_univ (fun i => x i (b i)) (pigment b), smul_eq_mul,mul_comm] |
| 64 | lemma plant3_valid {A : Stored G} (h : ∀ i j a p,A i j a p∈ Shades.invariant G) (i : ℕ) : |
| 65 | (plant3 A i).Invariant := by |
| 66 | intro u x; rw [plant3,deposit_poly,deposit_poly]; exact h _ _ _ _ u x |
| 67 | |
| 68 | lemma color_price {x : Fin 3 → G.ColorIndex} (A : Shades G) : |
| 69 | |A (pigment x)| ≤ ‖A‖ := by simpa [pigment] using A.le_opNorm (pigment x) |
| 70 | |
| 71 | /-- width loss buys the COUNT on y and z. -/ |
| 72 | def lamp (G : Gauge) (η : ℝ) := (Fintype.card (Fin 3 → G.ColorIndex):ℝ)*Real.exp ((η/2)*12) |
| 73 | lemma lamp_nonneg (G : Gauge) (η : ℝ) : 0 ≤ lamp G η := by unfold lamp; positivity |
| 74 | |
| 75 | def bookFee (G : Gauge) (η : ℝ) := (Fintype.card Tiles3 : ℝ)*lamp G η* |
| 76 | (∑' q : Couple, wanes (η/2) (length2 q)) |
| 77 | lemma bookFee_nonneg (G : Gauge) (η : ℝ) : 0 ≤ bookFee G η := |
| 78 | mul_nonneg (mul_nonneg (by positivity) (lamp_nonneg ..)) (tsum_nonneg fun _ => (wanes_pos ..).le) |
| 79 | |
| 80 | private lemma published {A : Stored G} (h : Pace η C A) (hp : 0<η) (hx : 0≤C) (z : Tiles3) : |
| 81 | SumBudget (fun p => (deposit A z p).budget (η/2)) (lamp G η * C * |
| 82 | ∑' p : Couple,wanes (η/2) (length2 p)) := by |
| 83 | let g := lamp G η * C |
| 84 | have hy := summable_two (half_pos hp) |
| 85 | have hh : SumBudget (fun p : Couple => g*wanes (η/2) (length2 p)) (g*∑' p : Couple,wanes (η/2) (length2 p)) := by |
| 86 | refine ⟨fun i => mul_nonneg (mul_nonneg (lamp_nonneg ..) hx) (wanes_pos ..).le, hy.mul_left g,?_⟩; rw [tsum_mul_left] |
| 87 | refine Work.F08.budget_minor hh (fun _ => mul_nonneg (Finset.sum_nonneg fun _ _ => abs_nonneg _) (Real.exp_pos _).le) fun p => ?_ |
| 88 | unfold Atom.budget |
| 89 | rw [deposit_length] |
| 90 | have he : (deposit A z p).magnitude ≤ Fintype.card (Fin 3 → G.ColorIndex)*(C*wanes η (length2 p)) := by |
| 91 | unfold Atom.magnitude |
| 92 | exact (Finset.sum_le_sum (fun i _ => (color_price (x:=i) (A z.1 z.2.1 z.2.2 p)).trans (h _ _ _ _))).trans_eq (by simp) |
| 93 | refine (mul_le_mul_of_nonneg_right he (Real.exp_pos _).le).trans_eq ?_ |
| 94 | have hk : wanes η (length2 p)*Real.exp (η/2*((length2 p+12:ℕ):ℝ)) = |
| 95 | Real.exp (η/2*12)*wanes (η/2) (length2 p) := by |
| 96 | unfold wanes; rw [← Real.exp_add, ← Real.exp_add]; push_cast; congr 1; ring |
| 97 | rw [mul_assoc,mul_assoc,hk]; unfold g lamp; ring |
| 98 | |
| 99 | lemma plant3_quote {A : Stored G} (h : Pace η C A) (hp : 0<η) (hx : 0≤C) : |
| 100 | SumBudget (fun i => (plant3 A i).budget (η/2)) (bookFee G η*C) := by |
| 101 | have he := published h hp hx |
| 102 | let f (q : Box3) := (deposit A q.1 q.2).budget (η/2) |
| 103 | have ht : ∀ i, 0 ≤ f i := fun i => (he i.1).1 i.2 |
| 104 | have hh : Summable f := (summable_prod_of_nonneg ht).mpr ⟨fun i => (he i).2.1,.of_finite⟩ |
| 105 | change SumBudget (fun i => f (marks3 i)) _ |
| 106 | refine ⟨fun i => ht _, marks3.summable_iff.mpr hh,?_⟩ |
| 107 | rw [Equiv.tsum_eq marks3, hh.tsum_prod,tsum_fintype]; refine (Finset.sum_le_sum fun i _ => (he i).2.2).trans_eq ?_ |
| 108 | rw [Finset.sum_const,Finset.card_univ,nsmul_eq_mul]; unfold bookFee; ring |
| 109 | |
| 110 | section site |
| 111 | variable {n : Side} |
| 112 | lemma tile_read (A : Stored G) (t : Tiles3) (q : Couple) (x : Dir G n) (z : Site n) : |
| 113 | let V := dColor G n 1 x |
| 114 | (deposit A t q).poly (fun b => faceCurl (slotFace ((deposit A t q).leg b) z) x) = |
| 115 | A t.1 t.2.1 t.2.2 q (![V (wrap n q.1+z,t.1),V (wrap n q.2+z,t.2.1),V (z,t.2.2)]) := by |
| 116 | let V := dColor G n 1 x; intro |
| 117 | have hx (i : TypeFace 2) p : faceCurl (slotFace (slate i p) z) x= V (wrap n p+z,i) := by |
| 118 | unfold faceCurl V slotFace slate |
| 119 | rw [script_offset]; change V (_,plaqEquiv (plaqEquiv.symm i))=V _ |
| 120 | rw [plaqEquiv.apply_symm_apply] |
| 121 | rw [deposit_poly] |
| 122 | refine congr_arg (A ..) (funext fun i => ?_) |
| 123 | fin_cases i |
| 124 | · exact hx _ _ |
| 125 | · exact hx _ _ |
| 126 | change faceCurl (slotFace (slate _ 0) _) _= V (z,t.2.2) |
| 127 | rw [hx,map_zero,zero_add] |
| 128 | |
| 129 | lemma plant3_third {A : Stored G} (h : Pace η C A) (hp : 0<η) (hx : 0≤C) (x : Dir G n) : |
| 130 | term 3 (fun t : ℝ => uncut (plant3 A) (represent (t • x)))=pair3 (completely A) x x x := by |
| 131 | rw [(preamble (half_pos hp) (plant3_quote h hp hx) x).1, ← against_three h hp, translation h hp] |
| 132 | refine Finset.sum_congr rfl fun z _ => ?_ |
| 133 | let Q (b : Box3) := (deposit A b.1 b.2).poly (fun i => faceCurl (slotFace ((deposit A b.1 b.2).leg i) z) x) |
| 134 | change ∑' i, Q (marks3 i)=_ |
| 135 | have ha := plant3_quote h hp hx |
| 136 | have hb := atom_story (A:=plant3 A) (j:=3) (U:=fun t : ℝ => represent (t • x)) (half_pos hp) ha z (test_ray x) |
| 137 | have he : Summable Q := marks3.summable_iff.mp <| hb.summable.congr (fun i => (slot_first ..).1) |
| 138 | rw [Equiv.tsum_eq marks3, he.tsum_prod,tsum_fintype] |
| 139 | rw [Fintype.sum_prod_type]; refine Finset.sum_congr rfl fun i _ => ?_ |
| 140 | rw [Fintype.sum_prod_type]; refine Finset.sum_congr rfl fun j _ => Finset.sum_congr rfl fun k _ => |
| 141 | tsum_congr fun p => tile_read A (i,j,k) p x z |
| 142 | end site |
| 143 | end YM.CubicMatch |