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.Push.GRID_APPROXIMATION.AttachDefs |
| 2 | import YM.Push.GRID_APPROXIMATION.Nil |
| 3 | import YM.Work.H03 |
| 4 | |
| 5 | /-! |
| 6 | # Reading the coarse birth at actual `P.p` |
| 7 | |
| 8 | Even combined mode payloads have the required `UsesFinal`. Thus leaves |
| 9 | and newly assigned supports use actual flags and root sites. Complete output |
| 10 | `Active`, not yet `Radial`. Needed for volume-independent budgets. Some |
| 11 | proofs use Summability even of OLD marks; don't infer from payload identities |
| 12 | alone. |
| 13 | -/ |
| 14 | set_option autoImplicit false |
| 15 | set_option linter.unusedSectionVars false |
| 16 | noncomputable section |
| 17 | namespace YM.Push.GridApprox.Attach |
| 18 | open RG Lattice Wilson Cells MeasureTheory Measure Function Filter Finset Ac Marker Overlay Nil |
| 19 | open scoped Topology BigOperators |
| 20 | variable {G : Gauge} {n : Side} {V : Type*} [Fintype V] [DecidableEq V] {R : Census V} |
| 21 | {P : Rep G n} {a : Bands R P} (I : Plan a) |
| 22 | |
| 23 | |
| 24 | lemma peel_meas (i : V) : Measurable (peel I i) := |
| 25 | (I.good i).borel.sub (RG.masked_measurable _ _ _ (I.good i).borel) |
| 26 | lemma peel_reads (i : V) : UsesFinal P.p.threshold (I.Y i) (peel I i) := by |
| 27 | intro U W hU hW |
| 28 | have he : Healthy P.p.threshold (I.Y i) U ↔ Healthy P.p.threshold (I.Y i) W := by |
| 29 | simp only [Healthy,Finset.disjoint_iff_inter_eq_empty,hW] |
| 30 | unfold peel; by_cases hp : Healthy P.p.threshold (I.Y i) U |
| 31 | · rw [RG.masked_eq _ _ _ _ hp,RG.masked_eq _ _ _ _ (he.mp hp),sub_self,sub_self] |
| 32 | rw [RG.masked_ne _ _ _ _ hp,RG.masked_ne _ _ _ _ (by exact mt he.mpr hp),(I.good i).sites U W hU] |
| 33 | lemma peel_gauge (i : V) : GaugeInvariant (peel I i) := by |
| 34 | intro t U; unfold peel |
| 35 | have he : Healthy P.p.threshold (I.Y i) (Lattice.gauge t U) ↔ Healthy P.p.threshold (I.Y i) U := by |
| 36 | unfold Healthy; rw [gauge_flags] |
| 37 | classical |
| 38 | by_cases hu : Healthy P.p.threshold (I.Y i) U |
| 39 | · rw [RG.masked_eq _ _ _ _ hu,RG.masked_eq _ _ _ _ (he.mpr hu),sub_self,sub_self] |
| 40 | rw [RG.masked_ne _ _ _ _ hu,RG.masked_ne _ _ _ _ (by exact mt he.mp hu),(I.good i).symmetry t U] |
| 41 | |
| 42 | section payload |
| 43 | variable (hR : P.activities.ForcedFamily P.p) (hA : a.Active) |
| 44 | include hR hA |
| 45 | |
| 46 | |
| 47 | |
| 48 | lemma leaf_meas (l : Alphabet V) : Measurable (leaf I l) := by |
| 49 | cases l with |
| 50 | | inl i => |
| 51 | apply Measurable.add ((Bands.sends _).measurable.comp (Complex.continuous_ofReal.measurable.comp (hR.meas i))) |
| 52 | exact Measurable.tsum fun j => (Bands.sends _).measurable.comp (hA.meas i j) |
| 53 | | inr j => exact (Bands.sends _).measurable.comp (peel_meas I j) |
| 54 | lemma leaf_reads (l : Alphabet V) : UsesFinal P.p.threshold (patch I l) (leaf I l) := by |
| 55 | intro U W ha hw |
| 56 | cases l with |
| 57 | | inl i => |
| 58 | change a.each i U=a.each i W |
| 59 | unfold Bands.each; rw [hR.reads i U W ha hw] |
| 60 | congr 1; refine tsum_congr fun j => ?_ |
| 61 | change Poly.send _ (a.entries i j U) = _ |
| 62 | rw [hA.inspects i j U W ha hw]; rfl |
| 63 | | inr i => exact congr_arg (Poly.send (R.fire i)) (peel_reads I i U W ha hw) |
| 64 | lemma leaf_gauge (l : Alphabet V) : GaugeInvariant (leaf I l) := by |
| 65 | intro t U |
| 66 | cases l with |
| 67 | | inl i => |
| 68 | change a.each i _=a.each i U |
| 69 | unfold Bands.each; rw [hR.sym i t U] |
| 70 | congr 1; refine tsum_congr fun j => ?_ |
| 71 | change Poly.send _ (a.entries i j _) = _ |
| 72 | rw [hA.invi i j t U]; rfl |
| 73 | | inr i => exact congr_arg (Poly.send (R.fire i)) (peel_gauge I i t U) |
| 74 | |
| 75 | variable {I} (T : Spares I) |
| 76 | |
| 77 | lemma conn_meas (j : Block I) : Measurable (connection T j) := by |
| 78 | classical |
| 79 | unfold connection; apply Measurable.ite (Work.H03.eligible_measurable _ _ (hR.meas_test _)) |
| 80 | · exact Finset.measurable_fun_prod _ fun i _ => leaf_meas I hR hA _ |
| 81 | exact measurable_const |
| 82 | lemma conn_reads (j : Block I) : UsesFinal P.p.threshold (P.activities.forced (T.tag j)).support (connection T j) := by |
| 83 | intro U W hu hw |
| 84 | have he := Work.H03.eligible_reads _ _ (hR.reads_test (T.tag j)) U W hu hw |
| 85 | classical |
| 86 | by_cases hh : (P.activities.forced (T.tag j)).eligible P.p.threshold W |
| 87 | · simp only [connection,he,hh,↓reduceIte] |
| 88 | apply Finset.prod_congr rfl; intro i hi |
| 89 | apply Work.H03.reads_larger ?_ (leaf_reads I hR hA i) U W hu hw |
| 90 | rw [T.full]; intro x hx; exact Finset.mem_biUnion.mpr ⟨i,hi,hx⟩ |
| 91 | simp only [connection,he,hh,↓reduceIte] |
| 92 | lemma conn_gauge (j : Block I) : GaugeInvariant (connection T j) := by |
| 93 | intro t U |
| 94 | have he := Work.H03.eligible_gauge P.p.threshold _ _ _ (hR.symtest (T.tag j) t U) |
| 95 | classical |
| 96 | unfold connection; simp only [he, leaf_gauge I hR hA _ t U] |
| 97 | end payload |
| 98 | |
| 99 | section scope |
| 100 | variable {w : V → ℝ} {δ κ u c d b : ℝ} |
| 101 | variable (hR : P.activities.Valid P.p δ κ) (hA : a.Active) (ht : a.Radial w u c d b) |
| 102 | include hR hA ht |
| 103 | |
| 104 | lemma leaf_scope (l : Alphabet V) (U : Config G n) : Scoped {i | a.origins i∈patch I l} (leaf I l U) := by |
| 105 | cases l with |
| 106 | | inr j => |
| 107 | exact scope_send _ _ _ (by intro i hi; obtain rfl : i=j := Finset.mem_singleton.mp hi; exact I.origin _) |
| 108 | | inl i => |
| 109 | apply scope_plus (scope_send _ _ _ (by simp [Census.quiet])) |
| 110 | intro s hs; rw [Poly.share ((a.baseBound hA ht hR U).1 i)] |
| 111 | have he (j) : (a.tagged i j U).part s=0 := by |
| 112 | unfold Bands.tagged |
| 113 | by_cases he : a.entries i j = 0 |
| 114 | · rw [he, Pi.zero_apply,Poly.send_zero,Poly.part_nil] |
| 115 | exact scope_send _ (a.marks i j) _ (fun _ h => hA.retained i j he _ h) s hs |
| 116 | simp_rw [he,tsum_zero] |
| 117 | |
| 118 | lemma conn_scope (T : Spares I) (j : Block I) (U : Config G n) : |
| 119 | Scoped {i | a.origins i∈(P.activities.forced (T.tag j)).support} (connection T j U) := by |
| 120 | rw [T.full] |
| 121 | classical |
| 122 | unfold connection; split |
| 123 | · refine scope_prod _ _ fun i hi => ?_ |
| 124 | intro s hs |
| 125 | refine leaf_scope I hR hA ht i U s fun he => hs ?_ |
| 126 | intro k hk; exact Finset.mem_biUnion.mpr ⟨i,hi,he hk⟩ |
| 127 | exact fun i hi => Poly.part_nil _ |
| 128 | end scope |
| 129 | |
| 130 | section out |
| 131 | variable {w : V → ℝ} {δ κ u c d b : ℝ} |
| 132 | variable (hR : P.activities.Valid P.p δ κ) (hA : a.Active) (ht : a.Radial w u c d b) |
| 133 | variable {I} (T : Spares I) [Nonempty V] |
| 134 | |
| 135 | lemma conn_nz (j : Block I) (s : R.Mode) (U : Config G n) (he : (connection T j U).part s≠0) : |
| 136 | (P.activities.forced (T.tag j)).eligible P.p.threshold U := by |
| 137 | by_contra hh; simp [connection,hh] at he |
| 138 | |
| 139 | include hR hA ht |
| 140 | lemma operates : (attached T).Active := by |
| 141 | have he (i j) : let y := attached T; let p := P.activities.forced i |
| 142 | (y.marks i j).val.Nonempty ∧ Measurable (y.entries i j) ∧ Lattice.GaugeInvariant (y.entries i j) ∧ |
| 143 | UsesFinal P.p.threshold p.support (y.entries i j) ∧ |
| 144 | (∀ U, y.entries i j U≠0 → p.eligible P.p.threshold U) ∧ |
| 145 | (y.entries i j ≠ 0 → ∀ s∈(y.marks i j).val, y.origins s ∈ p.support) := by |
| 146 | intro y p |
| 147 | by_cases h : ∃ t, T.tag t=i |
| 148 | · obtain ⟨t,rfl⟩ := h; unfold y |
| 149 | by_cases h : ∃ s : R.Mode,s.val.Nonempty ∧ code s=j |
| 150 | · obtain ⟨s,hs,rfl⟩ := h |
| 151 | rw [mark_in T _ s hs,entry_in T _ s hs] |
| 152 | refine ⟨hs,(Poly.part_cont s).measurable.comp (conn_meas hR.forced hA T t),fun k U => ?_,fun U W hu hw => ?_, |
| 153 | fun U h => conn_nz T t s U h,?_⟩ |
| 154 | · dsimp only; rw [conn_gauge hR.forced hA T t k U] |
| 155 | · dsimp only; rw [conn_reads hR.forced hA T t U W hu hw] |
| 156 | intro hh i hi; by_contra hn |
| 157 | exact hh (funext fun U => conn_scope I hR hA ht T t U s (fun he => hn (he hi))) |
| 158 | obtain ⟨hf,hh⟩ := entry_extra T t j (by push Not at h; exact h) |
| 159 | rw [hf, hh] |
| 160 | exact ⟨Finset.singleton_nonempty _, measurable_const, fun _ _ => rfl, fun _ _ _ _ => rfl, |
| 161 | fun _ h => (h rfl).elim, fun h => (h rfl).elim⟩ |
| 162 | unfold y; rw [mark_out T i (by tauto),entry_out T i (by tauto)] |
| 163 | exact ⟨hA.occurs i j,hA.meas i j,hA.invi i j,hA.inspects i j,hA.keeps i j,hA.retained i j⟩ |
| 164 | have hf (i) : let y := attached T; (y.rays i).val.Nonempty ∧ |
| 165 | (∀ j∈(y.rays i).val,y.origins j∈y.support i) ∧ P.p.Regular (y.support i) (y.H i) := by |
| 166 | dsimp only [attached]; cases h : shapes V i with |
| 167 | | inl j => exact ⟨hA.proper j,hA.pins j,hA.regular j⟩ |
| 168 | | inr j => exact ⟨Finset.singleton_nonempty _, fun s hs => (Finset.mem_singleton.mp hs).symm ▸ I.origin j,I.good j⟩ |
| 169 | exact ⟨fun i => (hf i).1,fun i => (hf i).2.1,fun i => (hf i).2.2, |
| 170 | fun i j => (he i j).1,fun i j => (he i j).2.2.2.2.2, |
| 171 | fun i j => (he i j).2.2.2.1,fun i j => (he i j).2.2.2.2.1,fun i j => (he i j).2.1,fun i j => (he i j).2.2.1⟩ |
| 172 | end out |
| 173 | end YM.Push.GridApprox.Attach |