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.Pressure.Seeds |
| 2 | import YM.SectorNext.RECONNECTED_LOCALITY.Pinned |
| 3 | |
| 4 | |
| 5 | |
| 6 | set_option warningAsError false |
| 7 | |
| 8 | /-! |
| 9 | # Another log IR for disjoint unforced gas |
| 10 | |
| 11 | Instead of numbering tuple graphs, proving tree sign cancellation etc, we give a different |
| 12 | convergent expansion of the unrestricted/restricted log, using trees DIRECTLY and over |
| 13 | an arbitrary countable alphabet. Trees are legal log-label *addresses*, including arbitrary |
| 14 | ordered repetitions of the same family member. They will reproduce the log by the differential |
| 15 | relation for the disjoint gas with a family-specific speed (scale member i by $t^{d_i}$, |
| 16 | $d_i$ its support charge), together with HasDerivAt results for unrestricted & all restricted |
| 17 | gases. Doesn't require analytic complex continuation. With the chosen speed a tree gets a |
| 18 | degree denominator (sum of its support charges not count of its nodes) essential to the |
| 19 | proof of convergence: a node anywhere in a child subtree can invoke a connection to its parent, |
| 20 | costing that parent's hit sum times the OCCURRENCE SIZE of the child; so instead of cancelling a |
| 21 | factor n for choosing a marked occurrence we cancel a factor ~D at its grandparent root. |
| 22 | Computing canonical low coefficients from this variant IR still needs authentic low/loop work; |
| 23 | use total pressure identity, don't assert these address coefficients are the numbered E $K$. |
| 24 | This file: tree algebra. |
| 25 | -/ |
| 26 | set_option autoImplicit false |
| 27 | noncomputable section |
| 28 | namespace YM.SectorNext.Reconnect |
| 29 | open Lattice |
| 30 | open Function |
| 31 | |
| 32 | variable (ι : Type*) |
| 33 | |
| 34 | /-- Rose address. -/ |
| 35 | def Rose := WType (fun i : ι × ℕ => Fin i.2) |
| 36 | |
| 37 | namespace Rose |
| 38 | variable {ι} |
| 39 | |
| 40 | instance [Countable ι] : Countable (Rose ι) := by |
| 41 | classical |
| 42 | letI := Encodable.ofCountable (ι×ℕ) |
| 43 | unfold Rose |
| 44 | infer_instance |
| 45 | |
| 46 | def root (i : ι) {n : ℕ} (x : Fin n → Rose ι) : Rose ι := .mk (β:=fun i : ι×ℕ => Fin i.2) (i,n) x -- param name |
| 47 | |
| 48 | @[elab_as_elim] theorem inspect {Q : Rose ι → Prop} (h : ∀ (i : ι) (n : ℕ) (x : Fin n → Rose ι), |
| 49 | (∀ j,Q (x j)) → Q (root i x)) (X : Rose ι) : Q X := by |
| 50 | induction (show WType _ from X) with |
| 51 | | mk a f ih => cases a; exact h _ _ f ih |
| 52 | |
| 53 | /-- All children orders included. Division by factorial handled in the weight. -/ |
| 54 | abbrev Row (ι : Type*) := Σ n : ℕ,Fin n → Rose ι |
| 55 | |
| 56 | def trunk : Rose ι ≃ ι × Row ι where |
| 57 | toFun a := let b:=WType.toSigma (show WType (fun i : ι × ℕ => Fin i.2) from a); |
| 58 | (b.1.1,⟨b.1.2,b.2⟩) |
| 59 | invFun a := root a.1 a.2.2 |
| 60 | left_inv a := by unfold Rose at a; rcases a with ⟨⟨i,n⟩,j⟩; rfl |
| 61 | right_inv a := by rcases a with ⟨i,n,j⟩; rfl |
| 62 | |
| 63 | @[simp] theorem trunk_root (i : ι) {n : ℕ} (x : Fin n → Rose ι) : trunk (root i x)=(i,⟨n,x⟩) := rfl |
| 64 | @[simp] theorem root_trunk (i : ι × Row ι) : trunk.symm i=root i.1 i.2.2 := rfl |
| 65 | |
| 66 | def fold {ω : Type*} (f : ι → (n : ℕ) → (Fin n → ω) → ω) (a : Rose ι) : ω := |
| 67 | WType.elim ω (fun h => f h.1.1 h.1.2 h.2) (show WType (fun i : ι × ℕ => Fin i.2) from a) |
| 68 | |
| 69 | @[simp] theorem fold_node {ω : Type*} {f : ι → (n : ℕ) → (Fin n → ω) → ω} {n : ℕ} {i} (x : Fin n → Rose ι) : |
| 70 | fold f (root i x)=f i _ (fun j => fold f (x j)) := by |
| 71 | unfold fold root; rw [WType.elim] |
| 72 | |
| 73 | variable {c : Side} (S : ι → Support c) (B : ℕ) |
| 74 | |
| 75 | /-- Full locations before any correction merger. -/ |
| 76 | def union : Rose ι → Support c := fold fun i _ f => S i ∪ Finset.univ.biUnion f |
| 77 | @[simp] lemma union_node {i : ι} {n : ℕ} (f : Fin n → Rose ι) : union S (root i f)=S i∪Finset.univ.biUnion (fun j => union S (f j)) := by |
| 78 | rw [union,fold_node] |
| 79 | |
| 80 | def fee : Rose ι → ℕ := fold fun i _ f => coverNumber B (S i) + ∑ j, f j |
| 81 | @[simp] lemma fee_node {i : ι} {n : ℕ} (f : Fin n → Rose ι) : fee S B (root i f)=coverNumber B (S i)+ ∑ j,fee S B (f j) := by |
| 82 | rw [fee,fold_node] |
| 83 | |
| 84 | def occurrences : Rose ι → ℕ := fold fun _ _ f => 1+∑ j,f j |
| 85 | @[simp] lemma number_node {i : ι} {n : ℕ} (f : Fin n → Rose ι) : occurrences (root i f)=1+ ∑ j,occurrences (f j) := by |
| 86 | rw [occurrences,fold_node] |
| 87 | |
| 88 | def depth (t : Rose ι) := WType.depth (β:=fun i : ι × ℕ => Fin i.2) t |
| 89 | |
| 90 | lemma depth_pos (t : Rose ι) : 0 < depth t := WType.depth_pos _ |
| 91 | lemma climbs (i : ι) {n : ℕ} (x : Fin n → Rose ι) (j) : depth (x j) < depth (root i x) := WType.depth_lt_depth_mk (β:=fun i : ι × ℕ => Fin i.2) (i,n) x j |
| 92 | |
| 93 | lemma exist (p : Rose ι) : 0 < occurrences p := by |
| 94 | obtain ⟨⟨i,n,j⟩,rfl⟩:=trunk.symm.surjective p; rw [root_trunk,number_node]; omega |
| 95 | |
| 96 | lemma funds (h : ∀ i,(S i).Nonempty) (p : Rose ι) : occurrences p ≤ fee S B p := by |
| 97 | induction p using Rose.inspect with |
| 98 | | h i n x IH => |
| 99 | rw [number_node, fee_node]; exact Nat.add_le_add (Ledger.cover_pos (h i)) (Finset.sum_le_sum (fun i _ => IH i)) |
| 100 | |
| 101 | |
| 102 | |
| 103 | /-- Root connections: for each child require parent index i support meets **some** |
| 104 | part of the child (not requiring it to meet root of the child!). -/ |
| 105 | def link (i : ι) (a : Rose ι) := ¬Disjoint (S i) (union S a) |
| 106 | |
| 107 | /-- Active trees. Each child invokes connection OF ITS SUPPORT to the parent, the parents' positions |
| 108 | not shifted. Use all original overlap test positions of unforced u. -/ |
| 109 | def operating : Rose ι → Prop := WType.rec (motive:=fun _ : WType (fun i : ι × ℕ => Fin i.2) => Prop) |
| 110 | (fun a f children => ∀ j,link S a.1 (f j) ∧ children j) |
| 111 | |
| 112 | @[simp] lemma active_node {i : ι} {n : ℕ} (f : Fin n → Rose ι) : |
| 113 | operating S (root i f) = ∀ j,link S i (f j) ∧ operating S (f j) := rfl |
| 114 | |
| 115 | private lemma wrap (p : Rose ι) (H : operating S p) : |
| 116 | coverNumber B (union S p) ≤ fee S B p := by |
| 117 | induction p using Rose.inspect with |
| 118 | | h i n f IH => |
| 119 | have hh (s : Finset (Fin n)) : coverNumber B (S i ∪ s.biUnion (fun a => union S (f a))) ≤ |
| 120 | coverNumber B (S i) + ∑ a∈s,fee S B (f a) := by |
| 121 | classical |
| 122 | induction s using Finset.induction_on with |
| 123 | | empty => simp |
| 124 | | insert j s hj ih => |
| 125 | rw [Finset.biUnion_insert,Finset.sum_insert hj] |
| 126 | obtain ⟨a,ha,hx⟩ := Finset.not_disjoint_iff.mp (((active_node S f).mp H j).1) |
| 127 | have he:= Corona.meets_sum (X:=S i∪s.biUnion (fun a => union S (f a))) hx (Finset.mem_union_left _ ha) B |
| 128 | rw [Finset.union_left_comm] |
| 129 | apply le_trans he |
| 130 | have ht:=IH j (((active_node S f).mp H j).2) |
| 131 | omega |
| 132 | rw [fee_node,union_node]; exact hh _ |
| 133 | |
| 134 | |
| 135 | |
| 136 | private lemma volume (a : Rose ι) : (union S a).card ≤ (fee S B a)*Ledger.size B := by |
| 137 | induction a using Rose.inspect with |
| 138 | | h i n f IH => |
| 139 | rw [union_node,fee_node, Nat.add_mul,Finset.sum_mul] |
| 140 | apply le_trans (Finset.card_union_le ..) |
| 141 | exact Nat.add_le_add (Corona.pays ..) ((Finset.card_biUnion_le).trans (Finset.sum_le_sum (fun i _ => IH i))) |
| 142 | |
| 143 | theorem contained (a : Rose ι) : (union S a).card ≤ (fee S B a)*Ledger.size B := volume S B a |
| 144 | |
| 145 | open scoped Classical |
| 146 | /-- Root grade d_i / D. At positive parameter radius will still have recurrence over trees. |
| 147 | θ=1 for positive estimate. θ=−1 for signed *pressure*, NOT negative log of density |
| 148 | until later storage in actions. `v` can already carry masks. -/ |
| 149 | def word (θ : ℝ) (v : ι → ℝ) : Rose ι → ℝ := WType.rec |
| 150 | (motive:=fun _ : WType (fun i : ι × ℕ => Fin i.2) => ℝ) (fun a children w => |
| 151 | ((coverNumber B (S a.1) : ℕ) : ℝ) / fee S B (root a.1 children) * v a.1 * |
| 152 | (∏ j,(if link S a.1 (children j) then θ*w j else 0)) / (a.2.factorial:ℝ)) |
| 153 | |
| 154 | @[simp] lemma spell (θ : ℝ) (v : ι → ℝ) {i : ι} {n : ℕ} (f : Fin n → Rose ι) : |
| 155 | word S B θ v (root i f)= ((coverNumber B (S i) : ℕ) : ℝ) / fee S B (root i f) * v i * |
| 156 | (∏ j,(if link S i (f j) then θ*word S B θ v (f j) else 0)) / (n.factorial:ℝ) := by |
| 157 | rfl |
| 158 | |
| 159 | end Rose |
| 160 | end YM.SectorNext.Reconnect |