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.PhysicalNext.AFTERNOON_INTERACTING_RANK_COMPARISON.Opacity.Shield |
| 2 | import YM.PhysicalNext.AFTERNOON_INTERACTING_RANK_COMPARISON.Opacity.Soles |
| 3 | /-! |
| 4 | # Roster for the unmarked VAT. Optional parts carry detector rents. |
| 5 | -/ |
| 6 | set_option autoImplicit false |
| 7 | noncomputable section |
| 8 | namespace YM.PhysicalNext.InteractingRank.Pump |
| 9 | open Function Lattice RG Pressure Tree Wilson AnalyticBridge.GaussianFieldAlignment Locations Channels |
| 10 | open Matrix Finset PhysicalGuard7f546.Curved Next.SectorChange Precision AnalyticBridge.LocalGaussianLaws Filter |
| 11 | SectorTools.PhysicalGaussianSwitch AnalyticBridge.RelativeLogdet MeasureTheory |
| 12 | Push.SectorMeasure Push.SectorMeasure.Oriented Push.AbsoluteSums Pressure.Stores |
| 13 | AnalyticNext.ConnectedActivity GaugeRoute |
| 14 | open scoped Topology BigOperators Classical Matrix.Norms.Frobenius |
| 15 | variable {c f : Side} {G : Gauge} {S : StepData c f} {x : ℝ} {A B : Stores S} |
| 16 | {F F' : Forest S.ratio} {k k' : S.Choices} {X X' : Support c} {p q : Pilot G S x} {P : Teller G} |
| 17 | variable (W : ℝ) |
| 18 | |
| 19 | def spanFoot (S : StepData c f) (x) (i : Fleck S):= halo (320*radiusB x) (foot S i) |
| 20 | def runUp (p : Stores S) x (i:Fleck S):= Disjoint (foot S i) (p.dome (300*radiusB x)) |
| 21 | |
| 22 | lemma runAt (e : Wheel c) (x : ℝ) (i): runUp (book e.1 e.2 A) x i↔ runUp A x (pursuit S e i):= by |
| 23 | unfold runUp; rw [← foot_ship, ← show pushed e ((book e.1 e.2 A).dome (300*radiusB x)) = A.dome (300*radiusB x) from ?_]; exact (Finset.disjoint_map _).symm |
| 24 | ext z; obtain ⟨z,rfl⟩:= (orient e).surjective z; simp only [pushed,mem_map_equiv,Equiv.symm_apply_apply]; exact dome_map .. |
| 25 | lemma push_walk (e : Wheel c) (B : ℕ) : pushed e (halo B X)=halo B (pushed e X):= by |
| 26 | ext j; obtain ⟨j,rfl⟩:= (orient e).surjective j; simp only [pushed, mem_map_equiv,Equiv.symm_apply_apply, halo_spec]; nth_rw 2 [(orient e).surjective.exists]; simp only [Equiv.symm_apply_apply,moving e] |
| 27 | lemma flight (S : StepData c f) (e : Wheel c) (x : ℝ) (i) : spanFoot S x (pursuit S e i)= pushed e (spanFoot S x i):= by rw [spanFoot,spanFoot,push_walk,foot_ship] |
| 28 | namespace Dyed |
| 29 | variable (v : Dyed G S) |
| 30 | |
| 31 | def sock (i : Fleck S) (p : Pilot G S x):= if runUp p.key x i then ask v W p i-1 else 0 |
| 32 | lemma sock_ship (h : P.Funds S v.things) (i : Fleck S) (e : Wheel c) (p : Pilot G S x): sock W v (pursuit S e i) p=sock W v i (spires e p):= by |
| 33 | unfold sock; refine if_congr (runAt (A:=p.key) _ _ _).symm ?_ rfl; rw [footship v W e h] |
| 34 | lemma sock_budget (h : Boosted v.things P x) (i : Fleck S) (hv : Coverage.shutters S.patch+1 ≤ radiusB x) (hd : 0<v.arc) (hr : 2*v.arc<firstRadius G) : |
| 35 | Pulled (sock W v i (x:=x)) (spanFoot S x i) ∧ Tinted (sock W v i (x:=x)):= by |
| 36 | let X:= spanFoot S x i |
| 37 | have hh : Pulled (fun p : Pilot G S x=> ask v W p i) X:= footage_read v W i h hv hd hr (fun j hj k hk=> halo_spec.mpr ⟨j,hj,hk.trans (by change _ ≤320*radiusB x; omega)⟩) |
| 38 | refine ⟨⟨fun A F k=> ?_,?_⟩,fun p hp u=> ?_⟩ |
| 39 | · obtain ⟨f,h,H⟩:=hh.enter A F k |
| 40 | unfold sock; by_cases he : runUp A x i |
| 41 | · dsimp only; simp_rw [if_pos he]; exact ⟨fun p=> f p-1,h.sub measurable_const,fun V hv y=>congr_arg (·-1) (H _ hv y)⟩ |
| 42 | dsimp only; simp_rw [if_neg he]; exact ⟨fun _=>0,measurable_const,fun _ _ _=>rfl⟩ |
| 43 | · intro p q he hf hx; unfold sock |
| 44 | apply if_congr; swap; · exact congr_arg (·-1) (hh.agreed he hf hx) |
| 45 | swap; · rfl |
| 46 | unfold runUp; simp_rw [disjoint_left] |
| 47 | refine forall_congr' fun j=>?_ -- notation ∀ ⦃j⦄ |
| 48 | apply imp_congr_right; intro hj; apply not_congr |
| 49 | exact hx.reads.dome_agrees _ _ (fun k hk=>halo_spec.mpr ⟨j,hj,hk.trans (by omega)⟩) |
| 50 | unfold sock; rw [← bootup v W h p i u hp]; rfl |
| 51 | lemma attrition (h : S.patch.Branches S.kernel G) (i : Fleck S) (p : Pilot G S x): |ask v W p i|+1≤ Jewels.attrition S.patch:= by |
| 52 | suffices hz : |ask v W p i| ≤ 1+(Fintype.card S.patch.FrameTag:ℝ)+(Fintype.card S.patch.Points:ℝ) by unfold Jewels.attrition; linarith only [hz] |
| 53 | have hv : 1≤1+(Fintype.card S.patch.FrameTag:ℝ)+(Fintype.card S.patch.Points:ℝ):=by linarith [Nat.cast_nonneg (α:=ℝ) (Fintype.card S.patch.FrameTag),Nat.cast_nonneg (α:=ℝ) (Fintype.card S.patch.Points)] |
| 54 | unfold ask |
| 55 | rcases i with i|i|i|i|i <;> simp only [Sum.elim_inr,Sum.elim_inl] |
| 56 | · unfold Aff.fine; split; next he=> exact (sub _).trans hv |
| 57 | exact (hold _).trans hv |
| 58 | · unfold Aff.wireMask; split; next he=> exact (sub _).trans hv |
| 59 | exact (hold _).trans hv |
| 60 | · apply ((Aff.tollKit (v.top p) p.tag h).1 _).trans; linarith only [Nat.cast_nonneg (α:=ℝ) (Fintype.card S.patch.Points)] |
| 61 | · apply ((Aff.tollKit (v.top p) p.tag h).2 _).trans; linarith only [Nat.cast_nonneg (α:=ℝ) (Fintype.card S.patch.FrameTag)] |
| 62 | unfold door; split; next hx=> exact (hold _).trans hv |
| 63 | rwa [abs_one] |
| 64 | where |
| 65 | sub (x:ℝ) : |1-v.chi.read x|≤1:= (abs_of_nonneg (sub_nonneg.mpr (v.chi.range x).2)).trans_le (by linarith only [(v.chi.range x).1]) |
| 66 | hold (x:ℝ) : |v.chi.read x|≤1:=(abs_of_nonneg (v.chi.range x).1).trans_le (v.chi.range x).2 |
| 67 | lemma little_sock (h : S.patch.Branches S.kernel G) (i : Fleck S) (p : Pilot G S x): |sock W v i p|≤ Jewels.attrition S.patch:= by |
| 68 | unfold sock; split; next hx=> exact (abs_sub ..).trans ((show _≤ _ from by rw [abs_one]; exact attrition W v h i p)) |
| 69 | rw [abs_zero]; exact Jewels.attrition_nn _ |
| 70 | end Dyed |
| 71 | open Milk |
| 72 | -- Economics: Toned grants can cover *all* masks simultaneously. |
| 73 | def DeepDoors (P : Teller G) (S : StepData c f) (C : ℝ) (W : ℝ) (x : ℝ):= ∀ (F : Forest S.ratio) (T : Tube G S), |
| 74 | P.Funds S T → 100*(1+radiusB x) ≤ c.val → ∀ (A : Stores S) (V : Config G c) Z Y (p : Active A x F), |
| 75 | let U := physical A F V Y (tape Z) |
| 76 | (∃ k : S.Choices, Outposts S U V k x W (Aff.home S p.val.val)) → ‖tape Z p‖ < firstRadius G → ‖tape Z p‖ ≤ C*fiery G x S.patch.L |
| 77 | |
| 78 | lemma putAway (v : Dyed G S) (W : ℝ) (hw : 0<W) {C ε : ℝ} (h : Beacons P S.patch W ε x) |
| 79 | (he : DeepDoors P S C W x) (hs : C * fiery G x S.patch.L ≤ v.arc) (hp : P.Funds S v.things) (hd : 0<v.arc) (hβ : 0<v.source.beta) |
| 80 | (hv : 0<fiery G x S.patch.L) (hr : 2 ≤ radiusB x) (hM : 100*(1+radiusB x)≤c.val) |
| 81 | (hL : Bid.Larger (G:=G) S) {H K} (hQ : Aff.Alongside H K v.things) (hX : Lift.Booth P S v.things) |
| 82 | (p : Pilot G S x) (i : Fleck S) (ht : Matched p) (hy : Toned (2*radiusB x) (toes S i) p.y.2 (ε*fiery G x S.patch.L/coupling v.source.beta)) : v.sock W i p=0:= by |
| 83 | unfold Dyed.sock |
| 84 | split; swap; rfl |
| 85 | rename_i hI |
| 86 | let Z:= Local.portrait v.things p.key p.park p.tag x p.view .endpoint v.chi v.arc p.y.1+coupling v.source.beta • p.y.2 |
| 87 | let q:= toes S i; let U:= v.top p; let B:=radiusB x; let V:=p.view |
| 88 | have heq : Aff.cert S x p.key p.view:=⟨hM,ht⟩ |
| 89 | have hh : q∉ p.key.dome (50*B):= fun hx=>Finset.disjoint_left.mp hI (footfall S i) (Aff.placed _ _ _ (by omega) hx) |
| 90 | have ht:=h.fires c f S v.things hp rfl hL H K hQ hX p.park p.key p.view p.tag heq v.chi v.arc p.y v.source.beta hβ q (fun hx=>hh (Aff.placed _ _ _ (by omega) hx)) (hy.shift (by dsimp only [q]; simp only [separation_self,Nat.zero_add]; omega)) |
| 91 | have H' : Outposts S (v.top p) p.view p.tag x W q:= blaze (d:=v.arc) (V:=p.view) h hp rfl hL hQ hX heq p.tag v.chi p.y hβ hr hh hy |
| 92 | suffices hz : v.ask W p i=1 by rw [hz,sub_self] |
| 93 | let t:=fiery G x S.patch.L |
| 94 | rcases i with i|i|i|i|i |
| 95 | · change Aff.fine p.key _ _ _ _=1; unfold Aff.fine |
| 96 | have hq: i∉p.key.costs:= fun he=> hh (halo_subset _ _ (mem_union_left _ (mem_union_left _ (mem_biUnion.mpr ⟨_,he,Packets.contains S (.inl i)⟩)))) |
| 97 | rw [if_neg hq]; exact share_one v.chi (toll U i) _ (by change 0<t/4; positivity) (G.chord_nonneg _) (ht.2.1 i rfl).le |
| 98 | · change Aff.wireMask p.key _ _ _ _ _ _ _=1; unfold Aff.wireMask |
| 99 | have hq : i∉ p.key.aisles:= fun he=> hh (halo_subset _ _ (mem_union_left _ (mem_union_right _ (mem_biUnion.mpr ⟨_,he,Packets.contains S (.inr (.inl i))⟩)))) |
| 100 | rw [if_neg hq]; exact share_one v.chi (wire (S.prediction U p.tag) p.view i) (W*t) (mul_pos hw hv) (G.chord_nonneg _) ((ht.2.2 i rfl).1.le) |
| 101 | · exact (ht.2.2 (i,0) rfl).2.1 |
| 102 | · exact (ht.2.2 i rfl).2.2 |
| 103 | change v.door p i=1; unfold Dyed.door; split |
| 104 | next hx=> let y:=fundedB i hx; apply Next.SectorChange.broad_one _ hd |
| 105 | have hu : ‖tape Z y‖ < firstRadius G:= ht.1 y rfl |
| 106 | have hp': physical p.key p.park p.view p.y.1 (tape Z)=v.top p:=rfl |
| 107 | have hZ : v.tapeAt p y=tape Z y:= by unfold Dyed.tapeAt; rw [mean_endpoint];rfl |
| 108 | rw [hZ]; exact (he _ _ hp hM _ _ Z _ y ⟨p.tag,hp'.symm ▸ H'⟩ hu).trans hs |
| 109 | rfl |
| 110 | where |
| 111 | share_one (q : Chi) (r d : ℝ) (h : 0<d) (hr : 0≤r) (he : r≤d): q.innerShare d r=1:=q.to_one _ (by have hp := (div_le_one h).mpr he; have ht := div_nonneg hr h.le; nlinarith) |
| 112 | end YM.PhysicalNext.InteractingRank.Pump |