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.GRID_STOP_ATTENUATION.Alphabet.Mint |
| 2 | import YM.AnalyticNext.GRID_STOP_ATTENUATION.Primary.Ballast |
| 3 | import YM.AnalyticNext.GRID_STOP_ATTENUATION.Primary.Clerk |
| 4 | import YM.AnalyticNext.GRID_STOP_ATTENUATION.Primary.Folio |
| 5 | import YM.AnalyticNext.GRID_STOP_ATTENUATION.Weave |
| 6 | import YM.Push.RELAY_DIFFERENCE.Shuffles |
| 7 | |
| 8 | |
| 9 | set_option warningAsError false |
| 10 | |
| 11 | /-! # Probe preparation at an internal calibration station |
| 12 | |
| 13 | Thick cost: pay by true compulsory Pack budget at the ordinary exponent, |
| 14 | NOT by advocating a stronger given Based column for this station. Even at |
| 15 | this small demand need late thresholds and room. No correction to x allowed, |
| 16 | no propagation yet. -/ |
| 17 | set_option autoImplicit false |
| 18 | noncomputable section |
| 19 | namespace YM.AnalyticNext.GridStop.Coarrival |
| 20 | open Function Filter MeasureTheory RG Marker Wilson Lattice Source Bid Labels Multi Stock Multi.Couples Finset |
| 21 | open Push.GridApprox |
| 22 | open scoped Topology Matrix.Norms.Frobenius BigOperators Classical |
| 23 | variable {G : Gauge} {C : Family G} {m d p N : ℕ} |
| 24 | variable {n : Side} |
| 25 | |
| 26 | /-- Caller's dictionary indexed i for regular entries. Supports stored separately |
| 27 | for alignment inherited via programs (including old factory requirements). -/ |
| 28 | abbrev Wire (F : Frame G d) (n : Side) := F.Coeff × (ℕ → Config G n → ℂ) × (ℕ → Config G n → ℂ) |
| 29 | variable {F : Frame G d} |
| 30 | |
| 31 | def address (X : ℕ → Support n) (D : Wire F n) : Coefficient F n := ⟨D.1,X,D.2.1,D.2.2⟩ |
| 32 | def wire (D : Coefficient F n) : Wire F n := ⟨D.x,D.regular,D.forced⟩ |
| 33 | |
| 34 | |
| 35 | |
| 36 | variable (S : SectionData F) (o : Site n) |
| 37 | |
| 38 | def kit (t : ℝ) (v : F.Coeff) : Vessel G n where |
| 39 | siteSet := S.footprint o |
| 40 | tall := v 0 |
| 41 | seen := S.places (F.scaled t⁻¹ (F.core v)) o |
| 42 | |
| 43 | variable {P : Rep G n} |
| 44 | |
| 45 | lemma complete_kit (h : S.Sound C.params) (t : ℝ) (v : F.Coeff) : |
| 46 | (kit S o t v).full = S.places (F.scaled t⁻¹ v) o := by |
| 47 | have hv : v= v 0 • F.e0+ F.core v := by ext1 i; by_cases e:i=0 <;> simp [Frame.e0,Frame.core,e] |
| 48 | conv_rhs => rw [hv,map_add,map_smul,F.scaled_unit] |
| 49 | unfold kit Vessel.full SectionData.places |
| 50 | simp only |
| 51 | funext U |
| 52 | rw [S.eval_linear.map_add,S.eval_linear.map_smul,h.unit]; simp |
| 53 | |
| 54 | lemma tail_is (v : F.Coeff) : (kit S o (P.p.threshold) v).tail P= |
| 55 | S.places (F.scaled P.p.threshold⁻¹ (F.core v)) o - masked P.p.threshold (S.footprint o) |
| 56 | (S.places (F.scaled P.p.threshold⁻¹ (F.core v)) o) := by |
| 57 | funext u; unfold kit Vessel.tail Vessel.cheek Vessel.full; dsimp only [Pi.sub_apply]; abel |
| 58 | |
| 59 | lemma kit_copies (v : F.Coeff) (h : S.Sound C.params) : Weight P.p (S.footprint o) ((kit S o (P.p.threshold) v).tail P) := |
| 60 | (kit S o P.p.threshold v).tail_weight _ (S.placed_local o _) (S.continuous_places ..).measurable (S.placed_invariant h o _) |
| 61 | |
| 62 | def beginAt (h : Room P) (v : F.Coeff) : Wire F n := let t := P.p.threshold |
| 63 | ⟨v,0,Primary.allocate h (ballast (S.footprint o) P ((kit S o t v).tail P))⟩ |
| 64 | |
| 65 | /-- Born as one common dictionary. -/ |
| 66 | lemma begin_linear (h : Room P) : IsLinearMap ℂ (beginAt S o h) := by |
| 67 | let t := P.p.threshold; let L := S.footprint o |
| 68 | let f (v : F.Coeff) := (kit S o t v).tail P |
| 69 | have he : IsLinearMap ℂ f := by |
| 70 | have hv := S.eval_linear |
| 71 | constructor |
| 72 | · intro i j; funext U |
| 73 | unfold f; rw [tail_is,tail_is,tail_is,map_add,map_add]; by_cases H: Healthy P.p.threshold (S.footprint o) U |
| 74 | · simp only [Pi.sub_apply,masked_eq _ _ _ _ H,sub_self,Pi.add_apply,add_zero] |
| 75 | simp only [Pi.sub_apply,masked_ne _ _ _ _ H,sub_zero,Pi.add_apply]; exact congr_fun (hv.map_add ..) _ |
| 76 | intro i j; funext U |
| 77 | unfold f; rw [tail_is,tail_is,map_smul,map_smul]; by_cases H: Healthy P.p.threshold (S.footprint o) U |
| 78 | · simp only [Pi.sub_apply,masked_eq _ _ _ _ H,sub_self,Pi.smul_apply,smul_zero] |
| 79 | simp only [Pi.sub_apply,masked_ne _ _ _ _ H,sub_zero,Pi.smul_apply]; exact congr_fun (hv.map_smul ..) _ |
| 80 | constructor |
| 81 | · intro x y |
| 82 | refine Prod.ext rfl (Prod.ext (zero_add _).symm ?_) |
| 83 | funext j U; change Primary.allocate h (ballast _ _ (f (x+y))) j U = Primary.allocate h (ballast _ _ (f x)) j U + Primary.allocate h (ballast _ _ (f y)) j U |
| 84 | unfold Primary.allocate; split; swap; exact (add_zero (0:ℂ)).symm |
| 85 | unfold ballast; split |
| 86 | · rw [show f (x+y) U=f x U+f y U from congr_fun (he.map_add ..) _, add_mul] |
| 87 | exact (add_zero _).symm |
| 88 | intro i x; refine Prod.ext rfl (Prod.ext (smul_zero i).symm ?_) |
| 89 | funext j U; change Primary.allocate h (ballast _ _ (f (i • x))) j U=i*Primary.allocate h (ballast _ _ (f x)) j U |
| 90 | unfold Primary.allocate; split |
| 91 | · unfold ballast; split |
| 92 | · rw [show f (i • x) U = i*f x U from congr_fun (he.map_smul ..) _,mul_assoc] |
| 93 | exact (mul_zero _).symm |
| 94 | exact (mul_zero i).symm |
| 95 | |
| 96 | /-- Probe startup bill test at stage m. -/ |
| 97 | def openingFee (C : Family G) (d m : ℕ) := |
| 98 | liftFee (C.localSection d).stencil.card * |
| 99 | (Real.exp (C.path.levels.params m).supportExponent * (Maquette.upper (C.localSection d)*(Single.excess C d m))) |
| 100 | |
| 101 | set_option maxHeartbeats 800000 |
| 102 | -- charged at base |
| 103 | lemma arrival (H : C.Makes) (o : Site (C.side m p)) (X : ℕ→Support (C.side m p)) (hX : ∀ i,o∈X i) |
| 104 | (h : Room (C.path.rep N p m)) (hi : m≤N) (hY : Maquette.room (C.localSection d) ≤ C.path.levels.clock.coverSize m) |
| 105 | (hF : money C.path.levels m*openingFee C d m ≤ 1) (v : C.label d) : |
| 106 | let F := C.labels.level d; let P := C.path.rep N p m; let S := C.localSection d |
| 107 | let Q := address X (beginAt S o h v) |
| 108 | Q.Format o C.params P ∧ Q.remBound o P (money C.path.levels m) (F.coeffSize (F.core v)) ∧ Q.regular=0 ∧ Q.x=v ∧ |
| 109 | ∀ U,Q.density o S P U= ((C.S.a m:ℂ)^d) * ((C.path.rep N p m).eval U:ℂ) * initial S (Match.view C.path N) m p v o U := by |
| 110 | intro F P S Q |
| 111 | let L := C.path.levels; let κ := money L m; let w := L.clock.forcedAllowance m; let R := F.coeffSize (F.core v); let t := P.p.threshold |
| 112 | let Z := kit S o t v |
| 113 | let K := S.footprint o |
| 114 | have hR : 0≤R := Work.G08.size_nonneg .. |
| 115 | obtain ⟨hκ,hκ'⟩ := (money_accepted L m : 0<κ ∧ κ≤1) |
| 116 | have hp := (H.wilson.represents N p m hi).good |
| 117 | have hL : P.p=L.budget m := (H.wilson.represents N p m hi).vac |
| 118 | let g := Single.excess C d m |
| 119 | let a := Maquette.upper S |
| 120 | have hA := H.sections d |
| 121 | have hZ : Weight P.p K (Z.tail P) := kit_copies S o v hA |
| 122 | have hg := Single.excess_one C d m |
| 123 | have ha : 1 ≤ a := (Maquette.purposes S 0).1 |
| 124 | have hv U : ‖Z.seen U‖ ≤ a*g*R := by unfold Z kit t; rw [hL]; exact Maquette.maximum S _ (potential_hat L m).1 _ (potential_hat L m).2 o _ _ |
| 125 | have hz U : ‖Z.tail P U‖ ≤ a*g*R := by unfold Z t; rw [tail_is,Pi.sub_apply]; by_cases he : Healthy P.p.threshold K U |
| 126 | · rw [masked_eq _ _ _ _ he,sub_self,norm_zero]; change 1≤g at hg; positivity |
| 127 | rw [masked_ne _ _ _ _ he,sub_zero]; exact hv _ |
| 128 | obtain hiw : w = κ^2 := (Real.sq_sqrt (Real.exp_pos _).le).symm |
| 129 | have hw : 0<w := Real.exp_pos _ |
| 130 | have hW : w≤1 := by rw [hiw]; nlinarith only [hκ,hκ'] |
| 131 | obtain ⟨f,hf,hU⟩ := merge_bound P (fun _ : Unit => K) {()} (singleton_nonempty _) (r:=0) le_rfl hw.le hW |
| 132 | (Alphabet.mint_zero P hp.labels) S.stencil.card (fun _ => card_image_le) (fun _ => Z.tail P) (fun _=>a*g*R) |
| 133 | (by change 1≤g at hg; intro i; positivity) (fun _ => hz) |
| 134 | rw [prod_singleton] at hf |
| 135 | let B := ballast K P (Z.tail P) |
| 136 | have he (q : Pack (C.side m p)) U : B q U=payload (fun _ : Unit => K) P (fun _=>Z.tail P) {()} q U := (single_payload (fun _ : Unit => K) P (fun _=>Z.tail P) q () U).symm |
| 137 | have hh q := Primary.credible P K (Z.tail P) hZ hp.labels q |
| 138 | have hvalid := Primary.wrapped h B (fun q => (hh q)) |
| 139 | have hor : o∈K := mem_image.mpr ⟨0,hA.anchored,by simp⟩ |
| 140 | have hF' : Q.Format o C.params P := ⟨fun i => (null_path ..).1,hX,fun _=>rfl, |
| 141 | fun i hh J => ⟨contDiffAt_const,fun j _ => by change iteratedDeriv j (0:ℝ→ℂ) 0=0; simp⟩, |
| 142 | fun i => (hvalid i).2.2.2.2,fun i h => (hvalid i).2.2.2.1 h hor,fun i => (hvalid i).1, |
| 143 | fun i => (hvalid i).2.1,fun i => (hvalid i).2.2.1⟩ |
| 144 | obtain ⟨x,hx,hS⟩ := Primary.expenses h B (r:=0) (c:=κ*R) (by |
| 145 | refine ⟨f,hf.trans ?_,fun i => ⟨(hU i).1,fun U => (he i U) ▸ (hU i).2 U⟩⟩ |
| 146 | have hϕ := (L.budget m).exponent_pos |
| 147 | let r := liftFee S.stencil.card |
| 148 | have hr : 0≤r := (lift_pos _).le |
| 149 | have ht : burn P.p 0 ((fun _ : Unit=>K) ()) ≤ Real.exp ((L.budget m).supportExponent) := by |
| 150 | unfold burn; rw [add_zero,hL]; refine Real.exp_monotone (mul_le_of_le_one_right hϕ.le ?_) |
| 151 | exact_mod_cast (show coverNumber (L.budget m).B K≤1 from Maquette.hoist S o _ hY) |
| 152 | change 1 ≤ g at hg |
| 153 | calc |
| 154 | _ ≤ w * (r * (Real.exp ((L.budget m).supportExponent)*(a*g*R))) := by change w*(r*(_*_)) ≤ _; gcongr |
| 155 | _ = κ*(κ* openingFee C d m *R) := by rw [hiw]; change κ^ _ * (r*(_*(_*R)))=κ*(κ*(r*(_*(a*g)))*R); dsimp only [L,Levels.budget]; ring |
| 156 | _ ≤ _ := by |
| 157 | apply mul_le_mul_of_nonneg_left ((mul_le_mul_of_nonneg_right hF hR).trans_eq (one_mul _)) hκ.le) |
| 158 | have hhome : Q.remBound o P κ R := ⟨0,R,le_rfl,hR,(zero_add _).le,hκ, ⟨0,by simp [SumBudget,BudgetPoint.mass],fun i => (null_path ..).2 _⟩,x,by simpa only [burn_zero] using hx,hS⟩ |
| 159 | refine ⟨hF',hhome,rfl,rfl,fun U => ?_⟩ |
| 160 | rw [← BranchOne.present Q _ o hp hhome] |
| 161 | have H : BranchOne.center Q S o P=Z.birth P := by |
| 162 | apply Prod.ext |
| 163 | · funext U; change _+_+(∑' i : ℕ,masked P.p.threshold (X i) ((0:ℕ→ Config G (C.side m p)→ℂ) i) U)=_ ; simp only [Pi.zero_apply]; simp [masked]; rfl |
| 164 | funext q U; exact Primary.allocation h B U q |
| 165 | rw [H,birth_tangent P Z hp.labels hZ, complete_kit S o hA] |
| 166 | unfold initial |
| 167 | have hα := C.S.a_pos m |
| 168 | have hy : (C.S.a m:ℂ)≠0 := by exact_mod_cast hα.ne' |
| 169 | have hv' : (Match.view C.path N).S.a m=C.S.a m := rfl |
| 170 | rw [Pi.smul_apply,smul_eq_mul,hv',show (Match.view C.path N).levels.clock.threshold m=t from congrArg BudgetPoint.threshold hL.symm] |
| 171 | field_simp; rfl |
| 172 | end YM.AnalyticNext.GridStop.Coarrival |