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.CONNECTED_ACTIVITY_JETS_E6.Room |
| 2 | import YM.AnalyticNext.CONNECTED_ACTIVITY_JETS_E6.Sector |
| 3 | import YM.Next.PHASE.Roots |
| 4 | |
| 5 | /-! |
| 6 | # Active/frozen shell on the same F and V |
| 7 | |
| 8 | Hard sectors and every Plot still use actual tags. For the annulus |
| 9 | part of a compulsory packet don't attempt a single gauge orientation |
| 10 | valid on the whole torus. `Shell.Interior` is for near the site. All-field |
| 11 | bounds on the *frozen* influences allow spending on the Gaussian |
| 12 | corrections after optional h's outside the packet removed some defaults. |
| 13 | Never infer Chart before the slice. Post-L prices unless stated. |
| 14 | -/ |
| 15 | |
| 16 | set_option autoImplicit false |
| 17 | noncomputable section |
| 18 | namespace YM.ConnectedActivityE6 |
| 19 | open Filter Function Lattice RG Pressure Pressure.Stores Pressure.Tube Tree Wilson Finset MeasureTheory |
| 20 | open Push Push.AbsoluteSums Push.AbsoluteSums.Paths Push.AbsoluteSums.Footprint Precision |
| 21 | open SectorMeasure Oriented Next.Fluctuations Tags Channel |
| 22 | open scoped Topology InnerProductSpace Matrix.Norms.Frobenius ContDiff BigOperators Classical |
| 23 | variable {G : Gauge} {c f : Side} {S : StepData c f} |
| 24 | |
| 25 | namespace Shell |
| 26 | /-- Coarse scale center and endpoints. -/ |
| 27 | def atEdge (S : StepData c f) (x : Bond f) : Site c := S.ratio.parent x.1 |
| 28 | |
| 29 | def ends (S : StepData c f) (x : Bond f) := (Pressure.pinPos x).image S.ratio.parent |
| 30 | |
| 31 | def distAt (S : StepData c f) (x : Bond f) (y : Site c) := separation y (atEdge S x) |
| 32 | |
| 33 | abbrev Inside (x : Site c) (A : Stores S) (n : ℕ) : Prop := x∈A.dome n |
| 34 | |
| 35 | lemma touch_extend {A : Stores S} {x y : Site c} {u v : ℕ} (he : Inside x A u) (hf : u+separation x y ≤ v) : |
| 36 | Inside y A v := by |
| 37 | obtain ⟨z,hz,h⟩ := halo_spec.mp he |
| 38 | exact halo_spec.mpr ⟨z,hz,(separation_triangle z x y).trans (by omega)⟩ |
| 39 | |
| 40 | lemma clear {A : Stores S} {x y : Site c} {u v : ℕ} (he : ¬Inside x A v) (hf : u+separation x y ≤ v) : |
| 41 | ¬Inside y A u := fun h => he (touch_extend h (by rwa [separation_comm y])) |
| 42 | |
| 43 | variable (A : Stores S) |
| 44 | |
| 45 | lemma stride (p : Bond f) {x : Site c} (h : x∈ends S p) : distAt S p x ≤ 1 := by |
| 46 | obtain ⟨v,hv,rfl⟩ := mem_image.mp h |
| 47 | unfold distAt atEdge |
| 48 | rcases mem_insert.mp hv with h|h |
| 49 | · subst v; simp |
| 50 | rw [mem_singleton.mp h,separation_comm]; exact Work.E03.parent_step S p.1 p.2 |
| 51 | |
| 52 | lemma center_end (p : Bond f) : atEdge S p ∈ ends S p := mem_image_of_mem _ (mem_insert_self ..) |
| 53 | |
| 54 | def frozen (A : Stores S) (B : ℕ) (p : Bond f) := ¬ Disjoint (A.dome (10*B)) (ends S p) |
| 55 | |
| 56 | def active (F : Forest S.ratio) (A : Stores S) (B : ℕ) (p : Bond f) := p ∉ F.trunks ∧ ¬ frozen A B p |
| 57 | |
| 58 | lemma active_far {F : Forest S.ratio} {B : ℕ} (p : Bond f) (h : active F A B p) : |
| 59 | ¬ Inside (atEdge S p) A (10*B) := fun he => h.2 ((not_disjoint_iff).mpr ⟨_,he,center_end p⟩) |
| 60 | |
| 61 | lemma far_active (F : Forest S.ratio) {B : ℕ} (p : Bond f) (h : ¬ Inside (atEdge S p) A (10*B+1)) (hp : p ∉ F.trunks) : |
| 62 | active F A B p := by |
| 63 | refine ⟨hp,fun he => ?_⟩ |
| 64 | obtain ⟨v,hv,ht⟩ := not_disjoint_iff.mp he |
| 65 | exact h (touch_extend hv (Nat.add_le_add_left (stride p ht) _)) |
| 66 | |
| 67 | |
| 68 | |
| 69 | /-- Under manifest flags or a Wide constraint supplying them at the |
| 70 | required halo sites. No differentiating any actual flag. -/ |
| 71 | def Clean (V : Config G c) (x : ℝ) (o : Site c) (B : ℕ) : Prop := ∀ y : Site c, |
| 72 | separation o y ≤ B → y ∉ RG.flags (Pressure.temp x) V |
| 73 | |
| 74 | lemma Clean.toll {V : Config G c} {x : ℝ} {o : Site c} {B : ℕ} (h : Clean V x o B) {b : Cell c} |
| 75 | (he : separation o b.1 ≤ B) : toll V b ≤ Pressure.temp x := by |
| 76 | apply le_of_not_gt; intro hv |
| 77 | exact h _ he ((flags_spec ..).mpr ⟨b,Work.E01.base_touched _,hv⟩) |
| 78 | |
| 79 | lemma Clean.kept {P : Teller G} {T : Tube G S} {V : Config G c} {x : ℝ} (hR : Room P S T x) |
| 80 | {o : Site c} {B : ℕ} (h : Clean V x o B) (y : Site c) (hy : separation o y+radiusB x/25 ≤ B) : |
| 81 | PathData.kept T.low (Pressure.temp x) y V := by |
| 82 | intro p |
| 83 | by_cases hk : Pressure.temp x*Real.exp ((separation y p.1:ℝ)/T.low.relaxation) < 2 |
| 84 | · have he := hR.laneV _ hk; have hh : separation o p.1 ≤ B := (separation_triangle o y p.1).trans (by omega) |
| 85 | exact le_trans (h.toll (b:=p) hh) (le_mul_of_one_le_right (temp_nonneg x) |
| 86 | (Real.one_le_exp (div_nonneg (Nat.cast_nonneg _) T.low.radius_pos.le))) |
| 87 | exact (G.chord_le_two _).trans (le_of_not_gt hk) |
| 88 | |
| 89 | lemma Clean.turn {o : Site c} {s : Signed} {B : ℕ} {x : ℝ} {V : Config G c} (h : Clean V x (s.act o) B) : |
| 90 | Clean (pull s 0 V) x o B := by |
| 91 | intro y he hh; refine h (s.act y) (by rwa [separation_signed]) ?_ |
| 92 | rw [← Work.H03.flags_send s 0]; exact (affine0 _ _ ▸ mem_image_of_mem (affine s 0) hh) |
| 93 | |
| 94 | lemma Clean.shrink {o v : Site c} {B D : ℕ} {x : ℝ} {V : Config G c} (h : Clean V x o B) |
| 95 | (hi : separation o v+D ≤ B) : Clean V x v D := by |
| 96 | intro y he; exact h _ ((separation_triangle o v y).trans (by omega)) |
| 97 | |
| 98 | lemma clean_far {x : ℝ} (V : Config G c) {o : Site c} {B : ℕ} (h : A.flags = RG.flags (Pressure.temp x) V) |
| 99 | (he : ¬ Inside o A B) : Clean V x o B := by |
| 100 | intro y hy H; apply he; exact halo_spec.mpr |
| 101 | ⟨y,mem_union_right _ (h.symm ▸ H),by rwa [separation_comm]⟩ |
| 102 | |
| 103 | lemma clean_halo {x W d} {U : Config G f} {k : S.Choices} {V : Config G c} {o : Site c} {B E : ℕ} |
| 104 | (h : Tags.Wide A d U k V x W) (hi : ¬Inside o A B) (hf : Inside o A E) (he : E+B ≤ d) : Clean V x o B := by |
| 105 | intro y hy H; apply hi |
| 106 | exact halo_spec.mpr ⟨y,mem_union_right _ ((h.flags y (touch_extend hf (by omega))).mpr H),by rwa [separation_comm y]⟩ |
| 107 | |
| 108 | section moves |
| 109 | variable {P : Teller G} {T : Tube G S} {A} |
| 110 | |
| 111 | lemma cops_at (G : Gauge) (P : Teller G) (L : Side) : ∃ C : ℝ, 0 < C ∧ |
| 112 | ∀ {c f : Side} (S : StepData c f) (T : Tube G S) (x : ℝ), S.patch.L=L → Room P S T x → |
| 113 | ∀ F : Forest S.ratio, ∀ (U : Config G f) (V : Config G c) (k : S.Choices), SliceSet S F U → |
| 114 | ∀ i : Bond f, Pressure.usable S U (atEdge S i) k → Bid.Cops (S:=S) U V (S.prediction U k) i C := by |
| 115 | obtain ⟨C,hC,H⟩ := Work.E02.answer G L P.j P.bind |
| 116 | exact ⟨C,hC,fun _ _ _ h hr F U V k hu i hi => H _ _ _ hr.accepted.knobs h hr.accepted.atStep hr.larger.2.1 hr.larger.2.2 F U hu V i k hi⟩ |
| 117 | |
| 118 | /-- Number of sites only in a precommitted macro-box bound. -/ |
| 119 | def macroPrice (S : Patch) : ℝ := (2*(Pressure.macroR S:ℝ)+1)^4 * (Fintype.card PlaqAxes:ℝ) |
| 120 | |
| 121 | def shellPrice (P : Patch) (C W : ℝ) : ℝ := C*macroPrice P / 2 + 2*W |
| 122 | |
| 123 | lemma shellPrice_pos (P : Patch) {C W : ℝ} (hC : 0 ≤ C) (hW : 0 < W) : 0 < shellPrice P C W := by |
| 124 | unfold shellPrice macroPrice; positivity |
| 125 | |
| 126 | /-- Local on ONE V (which may have distant flags); no need for a shared-store |
| 127 | choice beyond same k, orientation. -/ |
| 128 | structure Interior (S : StepData c f) (x W : ℝ) (o : Site c) (B : ℕ) (U : Config G f) |
| 129 | (k : S.Choices) (V : Config G c) : Prop where |
| 130 | list y : separation o y ≤ B → 0 < S.patch.frameMass S.kernel (expandAt (S.ratio.embed y) U) (k.1 y) |
| 131 | fine (i : Cell f) : separation o (S.ratio.parent i.1) ≤ B → toll U i ≤ Pressure.fiery G x S.patch.L/2 |
| 132 | bond (b : Bond c) : separation o b.1 ≤ B → wire (S.prediction U k) V b ≤ 2*W*Pressure.fiery G x S.patch.L |
| 133 | |
| 134 | lemma Interior.from_wide (U : Config G f) (V : Config G c) (k : S.Choices) (o : Site c) {x W a b B} |
| 135 | (h : Tags.Wide A b U k V x W) (hi : Inside o A a) (hv : a+B ≤ b) (hp : ¬Inside o A B) : |
| 136 | Interior S x W o B U k V := by |
| 137 | have hk w (hw : separation o w ≤ B) : Inside w A b := touch_extend hi |
| 138 | ((Nat.add_le_add_left hw a).trans hv) |
| 139 | constructor |
| 140 | · intro y hy; exact h.frame_active _ (hk _ hy) |
| 141 | · intro i he |
| 142 | let u := S.ratio.parent i.1 |
| 143 | have hu : u∈startPos S i := Packets.contains S (.inl i) |
| 144 | apply (h.s i (Finset.not_disjoint_iff.mpr ⟨u,hk _ he,hu⟩)).2 |
| 145 | intro hA; apply hp |
| 146 | exact halo_spec.mpr ⟨u,mem_union_left _ (mem_union_left _ (mem_biUnion.mpr ⟨i,hA,hu⟩)), |
| 147 | (separation_comm ..).trans_le he⟩ |
| 148 | intro b hb; have he : b.1∈pinPos b := mem_insert_self .. |
| 149 | apply (h.n b (Finset.not_disjoint_iff.mpr ⟨b.1,hk b.1 hb,he⟩)).2 |
| 150 | intro ha; apply hp |
| 151 | exact halo_spec.mpr ⟨b.1,mem_union_left _ (mem_union_right _ (mem_biUnion.mpr ⟨b,ha,he⟩)), |
| 152 | (separation_comm ..).trans_le hb⟩ |
| 153 | |
| 154 | lemma Interior.of_actual {x W : ℝ} {B : ℕ} (U : Config G f) (V : Config G c) (k : S.Choices) (o : Site c) |
| 155 | (h : SectorMeasure.Seeded A U k V x W) (hk : SectorMeasure.Alive S U k) (hp : ¬Inside o A B) : |
| 156 | Interior S x W o B U k V := by |
| 157 | constructor |
| 158 | · exact fun i _ => SectorMeasure.listed_of_alive hk i |
| 159 | · intro i hi; apply (h.fine i).2; intro he |
| 160 | exact hp <| halo_spec.mpr ⟨_,mem_union_left _ (mem_union_left _ (mem_biUnion.mpr |
| 161 | ⟨i,he, Packets.contains S (.inl i)⟩)),(separation_comm ..).trans_le hi⟩ |
| 162 | intro b hb; apply (h.coarse b).2; intro ha |
| 163 | exact hp <| halo_spec.mpr ⟨_,mem_union_left _ (mem_union_right _ (mem_biUnion.mpr |
| 164 | ⟨b,ha,Packets.contains S (.inr (.inl b))⟩)),(separation_comm ..).trans_le hb⟩ |
| 165 | |
| 166 | |
| 167 | |
| 168 | lemma Interior.displacement {x W : ℝ} (hW : 0 ≤ W) (r : Room P S T x) {U : Config G f} {V : Config G c} |
| 169 | {k : S.Choices} {e : Bond f} {C : ℝ} (hC : 0 < C) |
| 170 | (cops : usable S U (atEdge S e) k → Bid.Cops (S:=S) U V (S.prediction U k) e C) |
| 171 | (h : Interior S x W (atEdge S e) (radiusB x/4) U k V) : |
| 172 | G.chord (U e * (replica S.ratio V e)⁻¹) ≤ shellPrice S.patch C W * Pressure.fiery G x S.patch.L := by |
| 173 | let B := radiusB x; let t := Pressure.fiery G x S.patch.L; let y := atEdge S e |
| 174 | have hz : 0 < t := r.fiery |
| 175 | have hrB := r.frame |
| 176 | have hh : usable S U y k := fun z he => h.list _ ((Work.E08.separation_box_add y he).trans (by omega)) |
| 177 | have hv : port S y U ≤ macroPrice S.patch * (t/2) := Work.E08.port_le y (B/4) _ (half_pos hz).le h.fine y |
| 178 | (by unfold B; rw [separation_self]; omega) |
| 179 | have hp : wire (S.prediction U k) V (y,e.2) ≤ 2*W*t := h.bond (y,e.2) (by simp [y]) |
| 180 | have hq : 0 ≤ 2*W*t := by positivity |
| 181 | apply (cops hh).trans |
| 182 | calc |
| 183 | _ ≤ C*(macroPrice S.patch*(t/2))+2*W*t := add_le_add (mul_le_mul_of_nonneg_left hv hC.le) (by split <;> assumption) |
| 184 | _ = _ := by unfold shellPrice t; ring |
| 185 | end moves |
| 186 | end Shell |
| 187 | end YM.ConnectedActivityE6 |