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.Sector |
| 2 | import YM.Push.ABSOLUTE_SUMS.Packet |
| 3 | |
| 4 | /-! |
| 5 | # Compulsory profile prices through the actual stencils |
| 6 | |
| 7 | Complement h's away from these packets still another bill. No |
| 8 | multiplying a tag probability at each *use* or through a rotated |
| 9 | pullback. Use one factor per physical site and coarse bond, in this |
| 10 | case at all tested sites/bonds through the wide halo. At every use the |
| 11 | realized per-tag weights include the likelihood denominators; no |
| 12 | "summing over" an unrelated choice-list at a per-vertex test site. |
| 13 | -/ |
| 14 | set_option autoImplicit false |
| 15 | noncomputable section |
| 16 | namespace YM.ConnectedActivityE6.Mask |
| 17 | open Filter Function Lattice RG Pressure Pressure.Stores Tree Wilson Finset MeasureTheory |
| 18 | open Push Push.AbsoluteSums Push.AbsoluteSums.Paths Push.AbsoluteSums.Footprint |
| 19 | open SectorMeasure Oriented Channel Tags Animals Packets |
| 20 | open scoped Topology InnerProductSpace Matrix.Norms.Frobenius ContDiff BigOperators Classical |
| 21 | variable {G : Gauge} {c f : Side} {S : StepData c f} (A : Stores S) |
| 22 | |
| 23 | /-- Charge all locations needed for any tests at d (projected), including both endpoints. -/ |
| 24 | def readFine (X : Support c) (S : StepData c f) := univ.filter fun i => ¬Disjoint X (startPos S i) |
| 25 | def readBonds (X : Support c) := univ.filter fun i : Bond c => ¬Disjoint X (pinPos i) |
| 26 | |
| 27 | def fine (χ : Chi) (p : Cell f) (t : ℝ) (U : Config G f) := |
| 28 | let h:=χ.innerShare (t/4) (toll U p) |
| 29 | if p∈A.costs then 1-h else h |
| 30 | |
| 31 | def noise (χ : Chi) (p : Bond c) (t W : ℝ) (U : Config G f) (k : S.Choices) (V : Config G c) := |
| 32 | let h:=χ.innerShare (W*t) (wire (S.prediction U k) V p) |
| 33 | if p∈A.aisles then 1-h else h |
| 34 | |
| 35 | def profiles (χ : Chi) (d : ℕ) (x W : ℝ) (U : Config G f) (k : S.Choices) (V : Config G c) := |
| 36 | let X:=A.dome d |
| 37 | let t:=fiery G x S.patch.L |
| 38 | (∏ p∈readFine X S,fine A χ p t U)*∏ p∈readBonds X,noise A χ p t W U k V |
| 39 | |
| 40 | def tickets (d : ℕ) (U : Config G f) (k : S.Choices) := |
| 41 | let X:=A.dome d |
| 42 | (∏ p∈X, siteMass U k p)*∏ b ∈ readBonds X,pinMass U k b |
| 43 | |
| 44 | lemma fine_range (χ : Chi) (p : Cell f) (t : ℝ) (U : Config G f) : |
| 45 | fine A χ p t U ∈ Set.Icc 0 1 := by |
| 46 | have he : χ.innerShare (t/4) (toll U p)∈ Set.Icc 0 1 := χ.range _ |
| 47 | unfold fine; dsimp only |
| 48 | split |
| 49 | next h => exact ⟨sub_nonneg.mpr he.2,sub_le_self _ he.1⟩ |
| 50 | next => exact he |
| 51 | |
| 52 | lemma noise_range (χ : Chi) (p : Bond c) (t W : ℝ) (U : Config G f) (k : S.Choices) (V : Config G c) : |
| 53 | noise A χ p t W U k V ∈ Set.Icc 0 1 := by |
| 54 | have he : χ.innerShare (W*t) (wire (S.prediction U k) V p)∈ Set.Icc 0 1 := χ.range _ |
| 55 | unfold noise; dsimp only |
| 56 | split |
| 57 | next h => exact ⟨sub_nonneg.mpr he.2,sub_le_self _ he.1⟩ |
| 58 | next => exact he |
| 59 | |
| 60 | lemma profiles_range (χ : Chi) (d : ℕ) (x W : ℝ) (U : Config G f) (k : S.Choices) (V : Config G c) : |
| 61 | profiles A χ d x W U k V∈Set.Icc 0 1 := by |
| 62 | have hf := fun p => fine_range A χ p (fiery G x S.patch.L) U |
| 63 | have hn := fun b => noise_range A χ b (fiery G x S.patch.L) W U k V |
| 64 | exact ⟨mul_nonneg (prod_nonneg fun _ _ => (hf _).1) (prod_nonneg fun _ _ => (hn _).1), |
| 65 | mul_le_one₀ (prod_le_one (fun _ _ => (hf _).1) (fun _ _ => (hf _).2)) |
| 66 | (prod_nonneg fun _ _ => (hn _).1) (prod_le_one (fun _ _ => (hn _).1) (fun _ _ => (hn _).2))⟩ |
| 67 | |
| 68 | lemma ticket_nonneg (d : ℕ) (U : Config G f) (k : S.Choices) : 0 ≤ tickets A d U k := |
| 69 | mul_nonneg (prod_nonneg fun _ _ => site_nn ..) (prod_nonneg fun _ _ => pin_nn ..) |
| 70 | |
| 71 | /-- Incidence is enough here; other defaults need not hold globally. -/ |
| 72 | lemma masks_wide (χ : Chi) (d : ℕ) (x W : ℝ) (U : Config G f) (k : S.Choices) (V : Config G c) |
| 73 | (hW : 0<W) (hx : 0<fiery G x S.patch.L) (hm : profiles A χ d x W U k V ≠ 0) (hk : tickets A d U k ≠ 0) |
| 74 | (he : ∀ i∈A.dome d,i∈A.flags ↔ i∈RG.flags (temp x) V) : Tags.Wide A d U k V x W := by |
| 75 | have ht (p) (hf : p∈readFine (A.dome d) S) : fine A χ p (fiery G x S.patch.L) U ≠ 0 := fun h => |
| 76 | left_ne_zero_of_mul hm (Finset.prod_eq_zero hf h) |
| 77 | have hu (b : Bond c) (hb : b∈readBonds (A.dome d)) : noise A χ b (fiery G x S.patch.L) W U k V ≠ 0 := fun h => |
| 78 | right_ne_zero_of_mul hm (Finset.prod_eq_zero hb h) |
| 79 | refine ⟨?_,?_,?_,he⟩ |
| 80 | · intro i hi |
| 81 | exact lt_of_le_of_ne (site_nn ..) fun h => left_ne_zero_of_mul hk (Finset.prod_eq_zero hi h.symm) |
| 82 | · intro p hp |
| 83 | have hh := ht p (mem_filter.mpr ⟨mem_univ _,hp⟩) |
| 84 | unfold fine at hh; dsimp only at hh |
| 85 | constructor |
| 86 | · intro hA; rw [if_pos hA] at hh; exact (χ.exterior_gt _ _ (G.chord_nonneg _) (by positivity) hh).le |
| 87 | intro hA; rw [if_neg hA] at hh; linarith [χ.chosen_lt _ _ (by positivity) hh] |
| 88 | intro b hb |
| 89 | have hh := hu b (mem_filter.mpr ⟨mem_univ _,hb⟩) |
| 90 | unfold noise at hh; dsimp only at hh |
| 91 | constructor |
| 92 | · intro hA; rw [if_pos hA] at hh; exact (χ.exterior_gt _ _ (G.chord_nonneg _) (by positivity) hh).le |
| 93 | intro hA; rw [if_neg hA] at hh; linarith [χ.chosen_lt _ _ (by positivity) hh] |
| 94 | |
| 95 | /-- Use these counts even along nonconnected Stores, can charge the |
| 96 | canonical stores once with total volume of the *neighborhoods*. -/ |
| 97 | lemma dome_count (d : ℕ) : (A.dome d).card ≤ A.shares * Animals.ballCost (d+1) := by |
| 98 | let V:=seeds S A |
| 99 | have he : d=d*1 := by simp |
| 100 | calc |
| 101 | _ ≤ ∑ v∈V, (skin S d 1 v).card := by |
| 102 | nth_rw 1 [he]; rw [← Packets.support_reads S A]; exact Finset.card_biUnion_le |
| 103 | _ ≤ ∑ _v∈V, Animals.ballCost (d+1) := by |
| 104 | refine Finset.sum_le_sum fun i _ => ?_ |
| 105 | apply le_trans _ (neighbors_card (d+1) (anchor S i)) |
| 106 | refine card_le_card fun y hy => (neighbors_mem ..).mpr ?_ |
| 107 | simpa only [mul_one] using price_skin S d 1 i y hy |
| 108 | _ = _ := by simp [V, seeds_card] |
| 109 | |
| 110 | lemma readBonds_count (d : ℕ) : |
| 111 | (readBonds (A.dome d)).card ≤ A.shares*Animals.ballCost (d+1+1)*Fintype.card Axis := by |
| 112 | have ht : readBonds (A.dome d) ⊆ A.dome (d+1) ×ˢ univ := by |
| 113 | intro b hb; have hh:= (mem_filter.mp hb).2 |
| 114 | obtain ⟨y,hy,hb⟩ := Finset.not_disjoint_iff.mp hh |
| 115 | obtain ⟨w,hw,h⟩ := halo_spec.mp hy |
| 116 | apply mem_product.mpr |
| 117 | refine ⟨halo_spec.mpr ⟨w,hw,(separation_triangle _ y _).trans (add_le_add h ?_)⟩,mem_univ _⟩ |
| 118 | rw [separation_comm]; exact Packets.price_one S (.inr (.inl b)) y hb |
| 119 | exact (card_le_card ht).trans (by rw [Finset.card_product,card_univ]; gcongr; exact dome_count A _) |
| 120 | |
| 121 | def tollFee (p : Patch) (d : ℕ) : ℝ := |
| 122 | (Animals.ballCost (d+1):ℝ) * (Fintype.card p.FrameTag:ℝ) + |
| 123 | (Animals.ballCost (d+1+1):ℝ) * (Fintype.card Axis:ℝ) * (Fintype.card p.Points:ℝ) |
| 124 | |
| 125 | theorem tickets_le (d : ℕ) (U : Config G f) (k : S.Choices) : |
| 126 | tickets A d U k ≤ Real.exp (tollFee S.patch d * A.shares) := by |
| 127 | unfold tickets; dsimp only |
| 128 | let a : ℝ := Fintype.card S.patch.FrameTag |
| 129 | let b : ℝ := Fintype.card S.patch.Points |
| 130 | have he (i : Site c) : siteMass U k i ≤ Real.exp a := (site_cap ..).trans (by |
| 131 | change a ≤ _; linarith [Real.add_one_le_exp a]) |
| 132 | have hp (i : Bond c) : pinMass U k i ≤ Real.exp b := (pin_cap ..).trans (by |
| 133 | change b ≤ _; linarith [Real.add_one_le_exp b]) |
| 134 | apply le_trans (mul_le_mul (prod_le_prod (fun i _ => site_nn ..) (fun i _ => he i)) |
| 135 | (prod_le_prod (fun i _ => pin_nn ..) (fun i _ => hp i)) |
| 136 | (prod_nonneg fun _ _ => pin_nn ..) (prod_nonneg fun _ _ => (Real.exp_pos _).le)) |
| 137 | rw [Finset.prod_const,Finset.prod_const,← Real.exp_nat_mul,← Real.exp_nat_mul,← Real.exp_add] |
| 138 | apply Real.exp_monotone |
| 139 | let r := Animals.ballCost (d+1) |
| 140 | let r' := Animals.ballCost (d+1+1) |
| 141 | have h : ((A.dome d).card:ℝ) ≤ A.shares*(r:ℝ) := by exact_mod_cast dome_count A d |
| 142 | have hx : ((readBonds (A.dome d)).card:ℝ) ≤ A.shares*(r':ℝ)*Fintype.card Axis := by exact_mod_cast readBonds_count A d |
| 143 | apply (add_le_add (mul_le_mul_of_nonneg_right h (by unfold a; positivity)) |
| 144 | (mul_le_mul_of_nonneg_right hx (by unfold b; positivity))).trans |
| 145 | unfold r r' tollFee a b; exact le_of_eq (by ring) |
| 146 | end YM.ConnectedActivityE6.Mask |