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.ACTUAL_SECTOR_FACTOR_DICTIONARY.Order |
| 2 | |
| 3 | |
| 4 | |
| 5 | /-! |
| 6 | # A normalization *without* using any K value |
| 7 | |
| 8 | At a marked K address the old physical amplitude may be zero. So |
| 9 | `Spot.canvas`, `schedule.exhaust` etc might hold simply by old K=0 and |
| 10 | are not enough. Check the gate/log edits also on these stripped Products. |
| 11 | -/ |
| 12 | set_option autoImplicit false |
| 13 | noncomputable section |
| 14 | namespace YM.PhysicalNext.Dictionary.Formal |
| 15 | open Function Filter Set Lattice RG Wilson Pressure Pressure.Tube Pressure.Stores Tree Precision Exterior MeasureTheory Matrix Bloch |
| 16 | open Next.Fluctuations Next.Fluctuations.Sector Next.SectorChange Next.SectorChange.Rows Push.SectorMeasure Push.SectorMeasure.Oriented Push.SectorMeasure.Presented |
| 17 | open AnalyticBridge.Annulus.Map |
| 18 | open AnalyticBridge.LocalGaussian Spot |
| 19 | open scoped Topology BigOperators Classical Matrix.Norms.Frobenius ContDiff InnerProductSpace |
| 20 | open Wires Geo Notify Voice Voice.Check Parcel SectorNext.Reconnect |
| 21 | variable {G : Gauge} {c f : Side} {S : StepData c f} (D : AnalyticBridge.LocalGaussian.Desk G S) (h : Lit D) |
| 22 | (F : Forest S.ratio) (A : Stores S) (k₀ k : S.Choices) (V : Config G c) (b : Finset ℕ) |
| 23 | local notation "x"=>D.betaHat |
| 24 | local notation "B"=>radiusB x |
| 25 | local notation "H₀"=>chosen D F k₀ A k |
| 26 | local notation "T"=>Voice.Check.Test |
| 27 | |
| 28 | -- Exactly the non-K gates of H₀. |
| 29 | abbrev Quizzes (u : Spot D) := u.TestIndex ⊕ Lattice.Site f |
| 30 | |
| 31 | def original (u : Spot D) : Quizzes D u→u.Gates b := Sum.elim Sum.inl (Sum.inr ∘ Sum.inr) |
| 32 | lemma orig_inj (u : Spot D) : Injective (original D b u) := by |
| 33 | rintro (i|i) (j|j) e <;> simpa [original] using e |
| 34 | |
| 35 | -- Extract the independent nonK address, even at inactive and padded. |
| 36 | def translation (u : Spot D) : Quizzes D u → T c f := Sum.elim |
| 37 | (Sum.elim Test.fine (Sum.elim Test.noise (Sum.elim Test.frame (Sum.elim Test.predictor (fun i=>Test.screen i.val.val))))) Test.void |
| 38 | lemma translations (u : Spot D) (i : Quizzes D u) : Sum.inl (translation D u i) = historical D u (original D b u i) := by |
| 39 | rcases i with (i|i|i|i|i)|i <;> rfl |
| 40 | lemma phrases_inj (u : Spot D) : Injective (translation D u) := by |
| 41 | intro i j e |
| 42 | apply orig_inj D ∅ u; apply admits D u (b:=∅) |
| 43 | rw [←translations,←translations,e] |
| 44 | lemma phrases (u : Spot D) (i : T c f) : i ∈ Set.range (translation D u) ↔ live x u.F u.A b (.inl i) := by |
| 45 | rw [← controlled D u b (.inl i)] |
| 46 | constructor |
| 47 | · rintro ⟨j,rfl⟩; exact ⟨original D b u j,(translations ..).symm⟩ |
| 48 | rintro ⟨j,hj⟩ |
| 49 | rcases j with j|j|j |
| 50 | · exact ⟨.inl j,Sum.inl_injective (((translations D b u (.inl j))).trans hj)⟩ |
| 51 | · exact False.elim (by cases hj) |
| 52 | exact ⟨.inr j,Sum.inl_injective (((translations D b u (.inr j))).trans hj)⟩ |
| 53 | |
| 54 | |
| 55 | |
| 56 | def exam (uPAGE : (H₀).Visual) (j : Quizzes D (H₀)) : ℝ := (H₀).gate b (original D b H₀ j) V uPAGE |
| 57 | |
| 58 | -- Don't use Charts off domain; every equality invoked against real bills. |
| 59 | include h |
| 60 | lemma answers (uPAGE : (H₀).Visual) (hc : (H₀).Clearing V) (i : Quizzes D (H₀)) : films D (translation D H₀ i) F A b k V (Print.backdrop x A F uPAGE) = exam D F A k₀ k V b uPAGE i := by |
| 61 | have ha := true_gate D h.toApp F A k k₀ V b hc.flags (Print.backdrop x A F uPAGE) (original D b H₀ i) |
| 62 | dsimp only at ha |
| 63 | rw [Print.rollback,←translations] at ha |
| 64 | exact ha.symm |
| 65 | |
| 66 | lemma coat_cost (uPAGE : (H₀).Visual) (hc : (H₀).Clearing V) (ok : (∏ i : Quizzes D (H₀), exam D F A k₀ k V b uPAGE i) ≠0) (s : Support c) : |
| 67 | tarp D s F A b k V (Print.backdrop x A F uPAGE)=1 := by |
| 68 | apply Spotter.protects D h.toApp F k₀ A k b V hc |
| 69 | rw [Print.rollback] |
| 70 | intro i |
| 71 | exact (Finset.prod_ne_zero_iff.mp ok) _ (Finset.mem_univ (Sum.inl (Sum.inr (Sum.inr (Sum.inr (Sum.inr i)))) : Quizzes D (H₀))) |
| 72 | |
| 73 | -- Here we deliberately recheck `Parcel.diets` under ONLY the fine gates. |
| 74 | private lemma budget_cost (uPAGE : (H₀).Visual) (hc : (H₀).Clearing V) (s : Signed) (j : Spot.Shape c f) |
| 75 | (hn : ¬wants D A (.row (s,j))) (ok : (∏ i : Quizzes D (H₀),exam D F A k₀ k V b uPAGE i) ≠ 0) : |
| 76 | Defenses.diet D (s.act (hinge S j)) F A b k V (Print.backdrop x A F uPAGE)=1 := by |
| 77 | let o:= s.act (hinge S j) |
| 78 | unfold Defenses.diet; refine Finset.prod_eq_one fun i hi=>?_ |
| 79 | have ht : separation o (S.ratio.parent i.1) ≤ 6*B := (Finset.mem_filter.mp hi).2 |
| 80 | have hx : i∉A.costs := by |
| 81 | intro hz; apply hn; apply (records ..).mpr |
| 82 | have h0:=Finset.mem_image_of_mem S.ratio.parent (Work.E01.base_touched i) |
| 83 | refine ⟨o,Finset.mem_singleton_self _, S.ratio.parent i.1, Finset.mem_union_left _ (Finset.mem_union_left _ |
| 84 | (Finset.mem_biUnion.mpr ⟨i,hz,h0⟩)),?_⟩ |
| 85 | rw [separation_comm]; change separation o _ ≤ 200*B; omega |
| 86 | let t : Quizzes D (H₀) := .inl (.inl i) |
| 87 | have hv := Finset.prod_ne_zero_iff.mp ok t (Finset.mem_univ _) |
| 88 | rw [←answers D h F A k₀ k V b uPAGE hc] at hv |
| 89 | let U:=skin D F A b k V (Print.backdrop x A F uPAGE); let d:=fiery G D.betaHat S.patch.L |
| 90 | have hD := D.paidScale |
| 91 | change fineBit (chosen D F k A k) i U ≠0 at hv |
| 92 | unfold fineBit at hv; dsimp only at hv; rw [if_neg (show i∉(chosen D F k A k).A.costs from hx)] at hv |
| 93 | apply D.profile.to_one |
| 94 | have hr := D.profile.chosen_lt (toll U i) (d/4) (by unfold d; positivity) hv |
| 95 | have hb : 0 ≤ toll U i := G.chord_nonneg _ |
| 96 | have hf : toll U i/(d/2) ≤ 1 := (div_le_one (by unfold d; positivity)).mpr (by linarith) |
| 97 | have hp : 0 ≤ toll U i/(d/2) := by unfold d; positivity |
| 98 | change (toll U i/(d/2))^2 ≤ 1 |
| 99 | nlinarith |
| 100 | |
| 101 | lemma arranged (uPAGE : (H₀).Visual) (hc : (H₀).Clearing V) (ok : (∏ i : Quizzes D (H₀),exam D F A k₀ k V b uPAGE i) ≠0) (j : (H₀).Log) : |
| 102 | Parcel.receipt D (written D H₀ j) F A b k V (Print.backdrop x A F uPAGE) = (H₀).price (packets D F k₀ A k h) j V uPAGE := by |
| 103 | have hX := cream D h F A k k₀ V b hc.flags (Print.backdrop x A F uPAGE) j |
| 104 | dsimp only at hX |
| 105 | rw [Print.rollback] at hX |
| 106 | rw [hX]; unfold Parcel.receipt; split |
| 107 | · rfl |
| 108 | rename_i ht |
| 109 | generalize he : written D H₀ j=i at * |
| 110 | unfold Defenses.introduce |
| 111 | have hp : Defenses.barrier D i F A b k V (Print.backdrop x A F uPAGE)=1 := by |
| 112 | unfold Defenses.barrier; split; exact coat_cost D h F A k₀ k V b uPAGE hc ok _; rfl |
| 113 | have hb : Defenses.budget D i F A b k V (Print.backdrop x A F uPAGE)=1 := by |
| 114 | cases i with |
| 115 | | row j=> simp only [ Defenses.budget]; split; exact budget_cost D h F A k₀ k V b uPAGE hc j.1 j.2 ht ok; rfl |
| 116 | | _=>rfl |
| 117 | rw [hp,hb,mul_one,mul_one] |
| 118 | |
| 119 | def poster (uPAGE : (H₀).Visual) (i : T c f) : ℝ := if live x F A b (Sum.inl i) then Parcel.frontage D i F A b k V (Print.backdrop x A F uPAGE) else 1 |
| 120 | |
| 121 | -- `schedule.first` chronology, reused here on these quizzes. |
| 122 | lemma prices (uPAGE : (H₀).Visual) (hc : (H₀).Clearing V) (hn : D.Nonoverlap b) (i : Quizzes D H₀) (ht : ∀ j : Quizzes D H₀, |
| 123 | timing (.inl (translation D H₀ j)) < timing (Sum.inl (translation D H₀ i)) → exam D F A k₀ k V b uPAGE j ≠ 0) : |
| 124 | poster D F A k₀ k V b uPAGE (translation D H₀ i) = exam D F A k₀ k V b uPAGE i := by |
| 125 | unfold poster |
| 126 | rw [if_pos (show live D.betaHat F A b (.inl (translation D H₀ i)) from (phrases D b H₀ _).mp ⟨i,rfl⟩)] |
| 127 | let u:=original D b H₀ i; let L:=schedule D k₀ b h F A k 0 hn |
| 128 | apply Eq.trans (show Parcel.frontage D (translation D (H₀) i) F A b k V (Print.backdrop x A F uPAGE)=L.stored u V uPAGE from ?_) (L.first _ _ _ hc ?_) |
| 129 | · change _= (historical D H₀ u).elim (frontage D) (intact D) F A b k V (Print.backdrop x A F uPAGE); rw [← translations]; rfl |
| 130 | rintro (j|j|j) |
| 131 | · have hg := ht (.inl j); rw [translations D b,translations D b] at hg; exact hg |
| 132 | · have he : L.layer u≤1 := by |
| 133 | change timing (historical D H₀ u) ≤1 |
| 134 | cases historical D H₀ u with |
| 135 | | inr => exact Nat.le_refl 1 |
| 136 | | inl i=>cases i <;> simp [timing] |
| 137 | exact fun he1=>False.elim (he.not_gt he1) -- layer inr K rfl |
| 138 | · have hg := ht (.inr j); rw [translations D b,translations D b] at hg; exact hg |
| 139 | |
| 140 | -- all irrelevant Test names padded by one. Compare through injection. |
| 141 | -- export Fintype for subsequent Consumers. |
| 142 | scoped instance testing : Fintype (T c f) := Fintype.ofFinite _ |
| 143 | lemma feed (uPAGE : (H₀).Visual) (hc : (H₀).Clearing V) (hi : D.Nonoverlap b) : |
| 144 | ∏ i,poster D F A k₀ k V b uPAGE i = ∏ i,exam D F A k₀ k V b uPAGE i := by |
| 145 | let t:=translation D H₀ |
| 146 | let q (i : Quizzes D H₀) := timing (Sum.inl (t i)) |
| 147 | let p:=exam D F A k₀ k V b uPAGE |
| 148 | let r:=poster D F A k₀ k V b uPAGE |
| 149 | change ∏ i,r i = ∏ i,p i |
| 150 | rw [← Finset.prod_subset (f:=r) (Finset.subset_univ ((Finset.univ : Finset (Quizzes D H₀)).image t)) ?_, |
| 151 | Finset.prod_image (phrases_inj D H₀).injOn] |
| 152 | swap |
| 153 | · intro i _ he; apply if_neg |
| 154 | intro hv; obtain ⟨j,hj⟩:=(phrases D b H₀ i).2 hv |
| 155 | exact he (Finset.mem_image.mpr ⟨j,Finset.mem_univ _,hj⟩) |
| 156 | by_cases he : ∀ i,p i≠0 |
| 157 | · exact Finset.prod_congr rfl fun i _=> prices D h F A k₀ k V b uPAGE hc hi i (fun j _=>he j) |
| 158 | push Not at he |
| 159 | let s:=Finset.univ.filter fun i=>p i=0 |
| 160 | obtain ⟨i,hj⟩:=he |
| 161 | obtain ⟨j,h₁,h₂⟩:=Finset.exists_min_image s q (⟨i,Finset.mem_filter.mpr ⟨Finset.mem_univ _,hj⟩⟩) |
| 162 | have hp : p j=0 := (Finset.mem_filter.mp h₁).2 |
| 163 | rw [Finset.prod_eq_zero (Finset.mem_univ j) hp] |
| 164 | apply Finset.prod_eq_zero (Finset.mem_univ j) |
| 165 | apply Eq.trans (prices D h F A k₀ k V b uPAGE hc hi j ?_) hp |
| 166 | intro u hu hz; exact hu.not_ge (h₂ u (Finset.mem_filter.mpr ⟨Finset.mem_univ _,hz⟩)) |
| 167 | end YM.PhysicalNext.Dictionary.Formal |