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.Extra.WILSON_STARTUP.Packets |
| 2 | |
| 3 | /-! # One startup dictionary, including dormant E, forced and attachment addresses -/ |
| 4 | noncomputable section |
| 5 | set_option autoImplicit false |
| 6 | namespace YM.WilsonStartup.Start |
| 7 | open Function Filter RG Wilson Lattice Design Work Ovens Pipes Padded Ac |
| 8 | open scoped ContDiff Topology Matrix.Norms.Frobenius Classical |
| 9 | variable {G : Gauge} {n : Side} |
| 10 | |
| 11 | abbrev Blank (n : Side) := {x : Site n × Support n // x.1 ∈ x.2} |
| 12 | abbrev Foot (n : Side) := {x : Support n × Support n // x.2.Nonempty ∧ x.2 ⊆ x.1} |
| 13 | abbrev Sheet (n : Side) := Key n ⊕ Blank n |
| 14 | abbrev Reach (n : Side) := {x : Support n // x.Nonempty} |
| 15 | |
| 16 | scoped instance blankNonempty : Nonempty (Blank n) := ⟨⟨(0,{0}),Finset.mem_singleton_self _⟩⟩ |
| 17 | scoped instance footNonempty : Nonempty (Foot n) := ⟨⟨({0},{0}),Finset.singleton_nonempty _,Finset.Subset.refl _⟩⟩ |
| 18 | scoped instance reachNonempty : Nonempty (Reach n) := ⟨⟨{0},Finset.singleton_nonempty _⟩⟩ |
| 19 | |
| 20 | def supports (s : Signed) (x : Site n) := (frameSites s x).finsetCongr |
| 21 | |
| 22 | lemma supports_apply (s : Signed) (x : Site n) (D : Support n) : supports s x D = D.image (affine s x) := by |
| 23 | unfold supports; rw [Equiv.finsetCongr_apply,Finset.map_eq_image]; rfl |
| 24 | |
| 25 | def blankAction (s : Signed) (x : Site n) : Equiv.Perm (Blank n) := |
| 26 | Equiv.Perm.subtypePerm ((frameSites s x).prodCongr (supports s x)) (by |
| 27 | intro p |
| 28 | change affine s x p.1 ∈ supports s x p.2 ↔ _ |
| 29 | rw [supports_apply]; simp [(aff_inj s x).eq_iff]) |
| 30 | |
| 31 | def sheetAction (s : Signed) (x : Site n) : Equiv.Perm (Sheet n) := |
| 32 | (Key.perm s x).sumCongr (blankAction s x) |
| 33 | |
| 34 | def footAction (s : Signed) (x : Site n) : Equiv.Perm (Foot n) := |
| 35 | Equiv.Perm.subtypePerm ((supports s x).prodCongr (supports s x)) (by |
| 36 | intro p |
| 37 | change ( (supports s x p.2).Nonempty ∧ supports s x p.2 ⊆ supports s x p.1) ↔ _ |
| 38 | simp [supports_apply,Finset.image_subset_image_iff (aff_inj ..)]) |
| 39 | |
| 40 | def reachAction (s : Signed) (x : Site n) : Equiv.Perm (Reach n) := |
| 41 | Equiv.Perm.subtypePerm (supports s x) (by intro p; rw [supports_apply]; simp) |
| 42 | |
| 43 | def eInfo (i : Sheet n) : RegularAddress n := i.elim Key.addrE (fun p => ⟨p.val.1,p.val.2,p.property⟩) |
| 44 | def kInfo (G : Gauge) (i : Foot n) : ForcedAddress G n := ⟨i.val.1,i.val.2,i.property.1,i.property.2,fun _ => True⟩ |
| 45 | |
| 46 | @[simp] theorem eInfo_transport (s : Signed) (x : Site n) (i : Sheet n) : |
| 47 | eInfo (sheetAction s x i) = |
| 48 | ⟨affine s x (eInfo i).site, ((eInfo i).support).image (affine s x),Finset.mem_image_of_mem _ (eInfo i).anchor⟩ := by |
| 49 | cases i with |
| 50 | | inl i => simp [sheetAction,eInfo,Key.addrE,Key.spun]; rfl |
| 51 | | inr i => |
| 52 | simp only [sheetAction,Equiv.sumCongr_apply,Sum.map_inr,eInfo,Sum.elim_inr] |
| 53 | congr 1; exact supports_apply s x _ |
| 54 | |
| 55 | theorem foot_trans (s : Signed) (x : Site n) (i : Foot n) : |
| 56 | (footAction s x i).val = (i.val.1.image (affine s x), i.val.2.image (affine s x)) := |
| 57 | congr_arg₂ Prod.mk (supports_apply ..) (supports_apply ..) |
| 58 | |
| 59 | def dictionary (G : Gauge) (n : Side) : Pipes G n where |
| 60 | reg := fun i => eInfo (name (Sheet n) i) |
| 61 | kernel := fun i => kInfo G (name (Foot n) i) |
| 62 | softer := fun i => (name (Reach n) i).val |
| 63 | sites := fun i => (name (Reach n) i).property |
| 64 | |
| 65 | variable (c : Clip) (b : BudgetPoint) |
| 66 | |
| 67 | def weight (β : ℝ) := β*share*bulk c |
| 68 | |
| 69 | def written (i : Sheet n) (β : ℝ) : Config G n → ℝ := i.elim (fun p => weight c β • p.accrual) (fun _ => 0) |
| 70 | def lives (i : Foot n) := Spark (pad b) i.val.2 ∧ i.val.1 = region b i.val.2 |
| 71 | |
| 72 | def admission (i : Foot n) (U : Config G n) := lives b i ∧ i.val.1 ∩ flags b.threshold U = i.val.2 |
| 73 | |
| 74 | def paid (i : Foot n) (β : ℝ) (U : Config G n) := if admission b i U then Real.exp (-β * charge c b i.val.2 U) else 0 |
| 75 | |
| 76 | def payload (G : Gauge) (n : Side) (β : ℝ) : Tap G n where |
| 77 | regular := fun i => if fixed (Sheet n) i then written c (name (Sheet n) i) β else 0 |
| 78 | forced := fun i => if fixed (Foot n) i then paid c b (name (Foot n) i) β else 0 |
| 79 | logarithm := 0 |
| 80 | |
| 81 | variable {c b} |
| 82 | |
| 83 | def raw (G : Gauge) (n : Side) (c : Clip) (b : BudgetPoint) (β : ℝ) := (dictionary G n).pours (payload c b G n β) |
| 84 | |
| 85 | lemma admission_iff (i : Foot n) (U : Config G n) : admission b i U ↔ lives b i ∧ (kInfo G i).eligible b.threshold U := by |
| 86 | simp [admission,ForcedAddress.eligible,kInfo] |
| 87 | |
| 88 | theorem paid_gauge (i : Foot n) (β : ℝ) (U : Config G n) (k : Site n → G.El) : paid c b i β (gauge k U) = paid c b i β U := by |
| 89 | simp [paid,admission,charge_gauge] |
| 90 | |
| 91 | theorem paid_meas (i : Foot n) (β : ℝ) : Measurable (paid c b i β (G:=G)) := by |
| 92 | unfold paid; simp_rw [admission_iff] |
| 93 | by_cases he : lives b i |
| 94 | · simp only [he,true_and] |
| 95 | exact Measurable.ite (H03.eligible_measurable _ _ MeasurableSet.univ) |
| 96 | (Real.continuous_exp.measurable.comp (measurable_const.mul (charge_measurable ..))) measurable_const |
| 97 | simp [he,measurable_const] |
| 98 | |
| 99 | theorem paid_final (h : Decent c b) (i : Foot n) (β : ℝ) : UsesFinal b.threshold i.val.1 (paid c b i β (G:=G)) := by |
| 100 | intro U V he hf |
| 101 | dsimp only [paid,admission] |
| 102 | by_cases ht : lives b i |
| 103 | · rw [ht.2] at he hf |
| 104 | simp only [ht.2,charge_final c b (G:=G) h i.val.2 U V he hf,hf] |
| 105 | simp only [ht,false_and, ↓reduceIte] |
| 106 | |
| 107 | theorem paid_oriented (s : Signed) (x : Site n) (i : Foot n) (β : ℝ) (U : Config G n) : |
| 108 | paid c b (footAction s x i) β U = paid c b i β (pull s x U) := by |
| 109 | simp only [paid,admission,lives,foot_trans,spark_transport,region_image,charge_oriented,(Finset.image_injective (aff_inj ..)).eq_iff] |
| 110 | -- need one direction rewrite only |
| 111 | have h := H03.eligible_send s x b.threshold U (kInfo G i) (kInfo G (footAction s x i)) (congr_arg Prod.fst (foot_trans s x i)) |
| 112 | (congr_arg Prod.snd (foot_trans s x i)) Iff.rfl |
| 113 | simp only [ForcedAddress.eligible,kInfo, and_true,foot_trans] at h |
| 114 | simp only [h]; congr 1 |
| 115 | |
| 116 | theorem permit_paid (i : Foot n) (β : ℝ) (U : Config G n) (h : paid c b i β U ≠ 0) : (kInfo G i).eligible b.threshold U := |
| 117 | ((admission_iff i U).mp (of_not_not (fun hh => h (if_neg hh)))).2 |
| 118 | |
| 119 | theorem forcedFamily (h : Decent c b) (β : ℝ) : (raw G n c b β).ForcedFamily b := by |
| 120 | have he i : (raw G n c b β).K i = if fixed (Foot n) i then paid c b (name (Foot n) i) β else 0 := rfl |
| 121 | refine ⟨fun i k U => ?_,fun _ _ _ => Iff.rfl,fun i => ?_,fun _ => MeasurableSet.univ, fun i => ?_, fun _ _ _ _ _ => rfl,fun i U hp => ?_⟩ |
| 122 | · rw [he]; split; exact paid_gauge ..; rfl |
| 123 | · rw [he]; split; exact paid_meas ..; exact measurable_const |
| 124 | · rw [he]; split |
| 125 | · exact paid_final h _ _ |
| 126 | intro U V _ _; rfl |
| 127 | rw [he] at hp; split at hp |
| 128 | · exact permit_paid _ β U hp |
| 129 | exact (hp rfl).elim |
| 130 | |
| 131 | theorem written_oriented (s : Signed) (x : Site n) (i : Sheet n) (β : ℝ) (U : Config G n) : |
| 132 | written c (sheetAction s x i) β U = written c i β (pull s x U) := by |
| 133 | cases i with |
| 134 | | inl i => change weight c β * residual G _ _ = weight c β * residual G _ _; rw [Key.oriented]; rfl |
| 135 | | inr i => rfl |
| 136 | |
| 137 | theorem moves (s : Signed) (x : Site n) (β : ℝ) : Nonempty ((raw G n c b β).Moves s x) := by |
| 138 | refine ⟨{ ep := sends (sheetAction s x), kp := sends (footAction s x), reg_site := fun i => ?_,reg_support := fun i => ?_, |
| 139 | forced_support := fun i => ?_,forced_inventory := fun i => ?_,forced_tests := fun i U => Iff.rfl, |
| 140 | valuesE := fun i U => ?_,valuesK := fun i U => ?_ }⟩ |
| 141 | · change (eInfo _).site = affine s x (eInfo _).site |
| 142 | rw [name_sends,eInfo_transport] |
| 143 | · change (eInfo _).support = Finset.image _ (eInfo _).support |
| 144 | rw [name_sends,eInfo_transport] |
| 145 | · change (name (Foot n) _).val.1 = (name (Foot n) i).val.1.image _ |
| 146 | rw [name_sends,foot_trans] |
| 147 | · change (name (Foot n) _).val.2 = (name (Foot n) i).val.2.image _ |
| 148 | rw [name_sends,foot_trans] |
| 149 | · simp only [raw,pours,payload,name_sends,fixed_sends] |
| 150 | split <;> first | exact written_oriented .. | exact rfl |
| 151 | · simp only [raw,pours,payload,name_sends,fixed_sends] |
| 152 | split <;> first | exact paid_oriented .. | exact rfl |
| 153 | end YM.WilsonStartup.Start |