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.Caps |
| 2 | import YM.AnalyticNext.CONNECTED_ACTIVITY_JETS_E6.Inherited |
| 3 | import YM.AnalyticNext.CONNECTED_ACTIVITY_JETS_E6.Mean |
| 4 | import YM.AnalyticNext.CONNECTED_ACTIVITY_JETS_E6.Rewards |
| 5 | import YM.AnalyticNext.CONNECTED_ACTIVITY_JETS_E6.Tax |
| 6 | |
| 7 | /-! |
| 8 | # Short exponent family (remaining row energy & paired log and Haar) |
| 9 | |
| 10 | Signs stored as in integrand (= means use exp(Short) not - when |
| 11 | forming 1+h). Subtraction ends at actual calibrated mean in β. |
| 12 | Use masks gamma for U-reads, not requiring hard membership before |
| 13 | estimating `short`. Geometric support in shortBand factor extends with |
| 14 | halo parameter l, no eligibility cut count here. Do not pay a volume |
| 15 | term as though it were local. |
| 16 | -/ |
| 17 | set_option autoImplicit false |
| 18 | noncomputable section |
| 19 | namespace YM.ConnectedActivityE6.Coat |
| 20 | open Filter Function Lattice RG Pressure Pressure.Stores Pressure.Tube Tree Wilson Finset MeasureTheory Matrix |
| 21 | open Push Push.AbsoluteSums Precision Exterior Shell Channel Next.Fluctuations SectorMeasure Oriented Work.E03 |
| 22 | open Bloch Laurent Work.F03 Progress.StationaryScenes Bid SliceRows Control Window Census Green Mask Pulse Itinerary |
| 23 | open scoped Topology InnerProductSpace Matrix.Norms.Frobenius ContDiff BigOperators Classical |
| 24 | variable {G : Gauge} {c f n : Side} {P : Teller G} {S : StepData c f} {T : Tube G S} {F : Forest S.ratio} |
| 25 | variable {η r Q Y b : ℝ} {L : Side} |
| 26 | |
| 27 | variable (X : Coat T F) |
| 28 | |
| 29 | abbrev Stream (c f : Side) := Signed × Spot c f |
| 30 | abbrev Miniature (c f : Side) := Stream c f ⊕ Bond f ⊕ Bond f |
| 31 | |
| 32 | def rowSite (S : StepData c f) (i : Stream c f) := i.1.act (lead S i.2) |
| 33 | def caption (S : StepData c f) : Miniature c f → Site c := Sum.elim (rowSite S) (Sum.elim (atEdge S) (atEdge S)) |
| 34 | def sleeve (S : StepData c f) (B l : ℕ) : Miniature c f → Support c := |
| 35 | Sum.elim (fun i => Animals.neighbors (l*B) (rowSite S i)) (Sum.elim (town S B l) (town S B l)) |
| 36 | |
| 37 | def voyage (A : Stores S) (d : ℕ) (i : Bond f) := ¬Disjoint (A.dome d) (ends S i) |
| 38 | def visit (A : Stores S) (d : ℕ) := univ.filter (voyage A d) |
| 39 | |
| 40 | lemma lives_in (i : Bond f) (A : Stores S) {d : ℕ} (h : voyage A d i) : Inside (atEdge S i) A (d+1) := by |
| 41 | obtain ⟨x,hx,he⟩ := Finset.not_disjoint_iff.mp h |
| 42 | exact touch_extend hx (by gcongr; exact stride i he) |
| 43 | lemma without (i : Bond f) (A : Stores S) {d : ℕ} (h : ¬voyage A d i) : ¬ Inside (atEdge S i) A d := fun hp => |
| 44 | h <| Finset.not_disjoint_iff.mpr ⟨_,hp,center_end _⟩ |
| 45 | |
| 46 | lemma touch_price (S : StepData c f) (d : ℕ) (A : Stores S) : (visit A d).card ≤ |
| 47 | A.shares * Animals.ballCost ((d+1)+1) * Itinerary.density S.patch.L := offset_bound (S:=S) (perch S) _ _ _ fun i hi => lives_in i A (mem_filter.mp hi).2 |
| 48 | |
| 49 | /-- Full row exponent minus compulsory energy/affine cut, including the |
| 50 | centered *residual square* outside main integral. -/ |
| 51 | def speck (u : Directions G f) (β a : ℝ) (p : Stream c f) := |
| 52 | if Inside (rowSite S p) X.seeds (200*X.B) then 0 else |
| 53 | -β*Raw.orientation*(X.enforce (2*a) u (X.booth (rowSite S p)) * X.light u p.1 p.2+ |
| 54 | X.extracted X.μ p.1 p.2) |
| 55 | |
| 56 | def undercurrent (p : Bond f) := if voyage X.seeds (200*X.B) p then 0 else X.condensation p |
| 57 | |
| 58 | def solo (u : Directions G f) (Ñ : ChartRatio G) (a : ℝ) (i : Bond f) := |
| 59 | if i∉X.plaza (X.seeds.dome (304*X.B)) ∧ X.Hot i then X.gentry Ñ a u i else 0 |
| 60 | |
| 61 | def Short (u : Directions G f) (Ñ : ChartRatio G) (β a : ℝ) : Miniature c f → ℝ := |
| 62 | Sum.elim (X.speck u β a) (Sum.elim X.undercurrent (X.solo u Ñ a)) |
| 63 | |
| 64 | /-- Intact sector BEFORE any optional drops. E Drow stencil alive through |
| 65 | radius including at boundaries, even if X.seeds empty. -/ |
| 66 | lemma original (h : Room P S T X.x) (p : Stream c f) (u : Directions G f) {W : ℝ} |
| 67 | (he : Seeded X.seeds (X.input u) X.k X.V X.x W) (ha : Alive S (X.input u) X.k) |
| 68 | (ht : ¬ Inside (rowSite S p) X.seeds (200*X.B)) : X.light u p.1 p.2=X.debit u p.1 p.2 := by |
| 69 | rcases p with ⟨s,b | b⟩ |
| 70 | swap; · rfl |
| 71 | let V := pull s 0 X.V |
| 72 | let U := pull s 0 (X.input u) |
| 73 | let k := choice s X.k |
| 74 | have hf : ¬Inside (S.ratio.parent b.1) (turnStore s X.seeds) X.B := fun H => ht <| |
| 75 | Corona.halo_mono (show X.B ≤ 200*X.B by omega) (Finset.Subset.refl _) ((rotates_dome ..).mp H) |
| 76 | have hm := funds_branch h.accepted |
| 77 | have hk : Alive S U k := by |
| 78 | simpa only [Alive,U,k, (carry s hm X.k (X.input u)).1] using! ha |
| 79 | have hh : Interior S X.x W (S.ratio.parent b.1) X.B U k V := Interior.of_actual U V k _ (pull_seeded s hm he) hk hf |
| 80 | have hp : X.t / 2 ≤ X.t := by linarith [show 0<X.t from h.fiery] |
| 81 | have hb : PathData.kept T.high X.t b.1 U := by |
| 82 | intro p; by_cases ht' : X.t*Real.exp (separation b.1 p.1 / T.high.relaxation) < 2 |
| 83 | · have he := h.laneU _ ht' |
| 84 | apply ((hh.fine p ((Work.E04.parent_separation S.ratio b.1 p.1).trans (by change _ ≤ radiusB X.x; omega))).trans hp).trans |
| 85 | exact le_mul_of_one_le_right h.fiery.le (Real.one_le_exp (div_nonneg (Nat.cast_nonneg _) T.high.radius_pos.le)) |
| 86 | exact (G.chord_le_two _).trans (le_of_not_gt ht') |
| 87 | unfold light debit; dsimp only |
| 88 | rw [show X.energy u s (.inl b)=T.workF X.R U V X.t (Pressure.temp X.x) b from rfl, |
| 89 | splitF T X.x U V k b ((hh.fine b (separation_self _ ▸ Nat.zero_le _)).trans hp) hb]; rfl |
| 90 | |
| 91 | lemma lamplight (p : Spot c f) (s : Signed) {u : Directions G f} {C : ℝ} (_hC : 0≤C) |
| 92 | (he : ∀ i∈parents p, ‖X.realPath s i u‖ ≤ C) : |X.extracted u s p| ≤ 2*(C^2/2) := by |
| 93 | rw [abs_of_nonneg (X.extracted_nn ..)] |
| 94 | apply le_trans (b:= ∑ _i∈parents p, C^2/2) |
| 95 | · apply Finset.sum_le_sum; intro i hi; change X.surcharge s i u ≤ _ |
| 96 | unfold surcharge; split |
| 97 | next hk => gcongr; exact he i hi |
| 98 | next ht => positivity |
| 99 | rcases p with b|b; · simp [parents, two_mul] |
| 100 | rcases b with j|j |
| 101 | · simp only [parents,sum_singleton]; nlinarith |
| 102 | simp only [parents,sum_empty]; positivity |
| 103 | |
| 104 | |
| 105 | |
| 106 | theorem minute (P : Teller G) (L : Side) (D : Patch) (hd : D.Branches P.bind G) (M V H : ℝ) (hM : 0<M) (hH : 0<H) |
| 107 | (h : Torch η r Q) {Ñ : ChartRatio G} (hÑ : LocalRatio Ñ) : |
| 108 | ∃ E : ℝ → ℝ, Rate G L (-(1/2)) E ∧ ∀ᶠ x in atTop, ∀ (c f : Side) (S : StepData c f) (T : Tube G S) |
| 109 | (F : Forest S.ratio) (X : Coat T F), X.x=x → S.patch=D → S.patch.L=L → Rotator P L η r Q V X → |
| 110 | Rotator P L η r Q V X.blank → (∀ z, Rotator P L η r Q V (X.rinse z)) → Stamp T → |
| 111 | (∀ v, Maximum M T x v) → X.manifest → 0 ≤ E x ∧ |
| 112 | ∀ u i, ∀ (β : ℝ), 0<β → β ≤ 2*betaF G x L → |X.Short u Ñ β H i| ≤ E x := by |
| 113 | obtain ⟨E,hE,H₁⟩ := condenses P L D hd η r Q V |
| 114 | obtain ⟨C,hC,h₃⟩ := germ_charge hÑ L hH |
| 115 | obtain ⟨A,hA,h₂⟩ := pressure_mean P D hd L η r Q V h |
| 116 | let b x := (2*(2*H))*Pressure.fiery G x L |
| 117 | obtain ⟨J,hJ,h₄⟩ := light_costs P L D hd M hM (w:=b) (Rate.flame.mul_left _) |
| 118 | (Eventually.of_forall fun x => mul_nonneg (by positivity) (by unfold Pressure.fiery temp; positivity)) |
| 119 | let C₁ x := C * Pressure.fiery G x L |
| 120 | let V x := J x + (A x)^2 |
| 121 | let W x := 2*betaF G x L*V x |
| 122 | have hw : Rate G L (-(1/2)) W := by |
| 123 | convert ((Rate.hat.mul_left 2).mul (hJ.add ((hA.pow 2).weaken (by norm_num)))) using 1; norm_num |
| 124 | let B x := E x + C₁ x + W x |
| 125 | refine ⟨_,(hE.add (Rate.flame.mul_left C)).add hw,?_⟩ |
| 126 | filter_upwards [H₁,h₃,h₂,h₄,Delay.shift_pos G L] with x h₁ h₃ h₂ h₄ hY c f S T F X he hS hL hr hp hA hd hv hX |
| 127 | obtain ⟨hg,hC⟩ := h₁ c f S T F X he hS hL hr hX hA hp |
| 128 | have hm := hr.room |
| 129 | subst x |
| 130 | have hz := h₃ c f S T F X rfl hL hm.fiery |
| 131 | obtain ⟨hs,hA⟩ := h₂ c f S T hS hL hd F X rfl hr hX |
| 132 | have he := h₄.1 |
| 133 | have ht : Pressure.fiery G X.x L=X.t := hL ▸ rfl |
| 134 | have hx : 0 < H*X.t := mul_pos hH hm.fiery |
| 135 | have hC₁ : 0≤C₁ X.x := mul_nonneg (by positivity) (ht ▸ hm.fiery.le) |
| 136 | have hV : 0 ≤ V X.x := add_nonneg he (sq_nonneg _) |
| 137 | refine ⟨(by change 0 ≤ B X.x; have h := mul_nonneg (b:=V X.x) (show 0≤2*betaF G X.x L by positivity) hV; unfold B W; linarith),fun u i β hβ hQ => ?_⟩ |
| 138 | have hW : 0 ≤ W X.x := mul_nonneg (hβ.le.trans hQ) hV |
| 139 | have hhT : C*X.t=C₁ X.x := by unfold C₁; rw [ht] |
| 140 | change |X.Short u Ñ β H i| ≤ B X.x |
| 141 | rcases i with p|i|i |
| 142 | · let o := rowSite S p; unfold Short; dsimp only [Sum.elim]; unfold speck; split |
| 143 | next he' => rw [abs_zero]; unfold B; linarith |
| 144 | next he' => |
| 145 | have hx' : ¬Inside o X.seeds (11*X.B+1) := clear he' (by change 11*X.B+1+separation o o ≤ _; rw [separation_self]; have hh : 100 ≤ X.B := hm.sight.1; omega) |
| 146 | have ho : Clean X.V X.x o X.B := (clean_far X.seeds X.V hX hx').shrink (by rw [separation_self]; omega) |
| 147 | let g := X.enforce (2*H) u (X.booth o) |
| 148 | have hl : |g*X.light u p.1 p.2| ≤ J X.x := by |
| 149 | by_cases hf : g=0 |
| 150 | · rwa [hf,zero_mul,abs_zero] |
| 151 | have hf' : X.selected p.1 p.2 := clear hx' (by change 6*X.B+separation o o≤_; rw [separation_self]; omega) |
| 152 | have hu : Grafted X.V (X.input u) (X.signal u) o X.B (b X.x) S := by |
| 153 | refine X.distant u o (by unfold b; rw [ht]; have hf := hm.fiery; positivity) hx' (fun j hj hk => ?_) |
| 154 | unfold b; rw [ht]; exact X.protection _ (show 0<2*H*X.t by rw [mul_assoc]; positivity) u hf _ (X.ages j o hk hj) |
| 155 | rw [abs_mul,abs_of_nonneg (X.conserve ..).1] |
| 156 | exact (mul_le_of_le_one_left (abs_nonneg _) (X.conserve (X.booth o) (2*H) u|>.2)).trans |
| 157 | ((h₄.2 c f S T F X rfl hS hL hm u p.2 p.1 ho hu (hv _)).2 hf') |
| 158 | have hX : |X.extracted X.μ p.1 p.2| ≤ (A X.x)^2 := by |
| 159 | apply (lamplight X _ _ hs (fun i hi => ?_)).trans_eq |
| 160 | · ring |
| 161 | have ht : root S (p.1,i)=o := by unfold root; rw [cost_is_here i,(parent_iff i _).mp hi]; rfl |
| 162 | apply hA (p.1,i) |
| 163 | rw [ht]; apply clear he' (by change 30*X.B+separation o o≤_; rw [separation_self]; omega) |
| 164 | rw [abs_mul, abs_mul, abs_neg, abs_of_nonneg hβ.le, abs_of_nonneg Raw.orientation_range.1.le] |
| 165 | apply le_trans (b:=W X.x) _ (by unfold B; linarith) |
| 166 | exact mul_le_mul ((mul_le_of_le_one_right hβ.le Raw.orientation_range.2).trans hQ) |
| 167 | ((abs_add_le ..).trans (add_le_add hl hX)) (abs_nonneg _) (hβ.le.trans hQ) |
| 168 | · change |X.undercurrent i| ≤ _; unfold undercurrent; split |
| 169 | next hp => rw [abs_zero]; unfold B; linarith |
| 170 | next hx => |
| 171 | have hy : ¬ Inside (atEdge S i) X.seeds (30*X.B) := clear (without i X.seeds hx) (by rw [separation_self]; omega) |
| 172 | apply (hC i hy).trans; unfold B; linarith |
| 173 | change |X.solo u Ñ H i| ≤ _; unfold solo; split |
| 174 | next hu => apply (hz.2 ..).trans; rw [hhT]; unfold B; linarith |
| 175 | next hu => rw [abs_zero]; unfold B; linarith |
| 176 | end YM.ConnectedActivityE6.Coat |