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.MergeProof.Paddle |
| 2 | import YM.Work.I01 |
| 3 | import YM.Primitives.CONNECTED_GAUSSIAN_CUMULANTS.Connectors |
| 4 | /-! # Moderated separation intermediate for regroup |
| 5 | |
| 6 | See YM/Work/I01.lean and YM/Primitives/CONNECTED_GAUSSIAN_CUMULANTS/Connectors.lean |
| 7 | for the argument. Uses line native, earns only `w` in the mint; conversely now can |
| 8 | actually afford the regroup geometry at servicing this *failure* scale. |
| 9 | -/ |
| 10 | set_option autoImplicit false |
| 11 | noncomputable section |
| 12 | namespace YM.OPE.Log |
| 13 | open Function Finset Lattice Corona RG |
| 14 | open scoped Topology BigOperators |
| 15 | variable {V:Type} [DecidableEq V] {n : Side} |
| 16 | theorem separatedMarks (F:Finset V)(f:V→Site n){B w:ℕ} |
| 17 | (hsep: ∀ i∈F,∀ j∈F,i ≠ j→B*w ≤ separation (f i) (f j)) |
| 18 | (hw:8≤w)(hB:1≤B)(hcard:2≤F.card)(H:Support n)(hsub:F.image f⊆ H) : w*F.card≤ 64*coverNumber B H := by |
| 19 | classical |
| 20 | obtain ⟨D, hD, hprice⟩ := coverNumber_realized B H |
| 21 | obtain ⟨N, hN, R, hstep, hvisits⟩ := |
| 22 | Corona.ring_path _ (Corona.halo_ship B hD.2) |
| 23 | -- Pick a time for each marker in F, within B of it. |
| 24 | have hpick (i : V) (hi : i ∈ F) : |
| 25 | ∃ k, k ≤ N ∧ separation (R k) (f i) ≤ B := by |
| 26 | obtain ⟨c, hc, hdist⟩ := |
| 27 | halo_spec.mp (hD.1 (hsub (Finset.mem_image_of_mem f hi))) |
| 28 | obtain ⟨k, hk, he⟩ := hvisits c hc |
| 29 | exact ⟨k, hk, he.symm ▸ hdist⟩ |
| 30 | choose! t ht hnear using hpick |
| 31 | let gap := B*w - 2*B |
| 32 | have hsq : 8*B ≤ B*w := by |
| 33 | rw [mul_comm _ w]; exact Nat.mul_le_mul_right B hw |
| 34 | have hpos : 0 < gap := by dsimp [gap]; omega |
| 35 | -- A gap in distance forces a gap in time, paying two radii. |
| 36 | have apart (i : V) (hi : i ∈ F) (j : V) (hj : j ∈ F) (hne : i ≠ j) |
| 37 | (hij : t i ≤ t j) : t i + gap ≤ t j := by |
| 38 | have hspan := Corona.path_span hstep (t i) (t j) hij (ht j hj) |
| 39 | have h1 := separation_triangle (f i) (R (t i)) (f j) |
| 40 | have h2 := separation_triangle (R (t i)) (R (t j)) (f j) |
| 41 | rw [separation_comm (f i) (R (t i))] at h1 |
| 42 | have := hnear i hi |
| 43 | have := hnear j hj |
| 44 | have := hsep i hi j hj hne |
| 45 | dsimp [gap] |
| 46 | omega |
| 47 | let bucket := fun i => t i / gap |
| 48 | have later (i : V) (hi : i ∈ F) (j : V) (hj : j ∈ F) (hne : i ≠ j) |
| 49 | (hij : t i ≤ t j) : bucket i < bucket j := by |
| 50 | have h := Nat.div_le_div_right (c := gap) (apart i hi j hj hne hij) |
| 51 | rw [Nat.add_div_right (t i) hpos] at h |
| 52 | exact h |
| 53 | -- At most one marker per bucket, including the bucket containing N. |
| 54 | have hpack : F.card ≤ N/gap + 1 := by |
| 55 | let I := Finset.range (N/gap + 1) |
| 56 | calc |
| 57 | F.card ≤ I.card := by |
| 58 | apply Finset.card_le_card_of_injOn bucket |
| 59 | · intro i hi |
| 60 | exact Finset.mem_range.mpr (Nat.lt_succ_of_le (Nat.div_le_div_right (c := gap) (ht i hi))) |
| 61 | · intro i hi j hj heq |
| 62 | by_contra hne |
| 63 | rcases le_total (t i) (t j) with hij | hji |
| 64 | · exact (later i hi j hj hne hij).ne heq |
| 65 | exact (later j hj i hi (Ne.symm hne) hji).ne heq.symm |
| 66 | _ = N/gap + 1 := Finset.card_range _ |
| 67 | have hm : (F.card-1)*gap ≤ N := (Nat.le_div_iff_mul_le hpos).mp (by omega) |
| 68 | rw [← hprice] |
| 69 | apply Nat.le_of_mul_le_mul_left (c := B) _ (by omega) |
| 70 | calc |
| 71 | B * (w * F.card) = F.card*(B*w) := by ring |
| 72 | _ ≤ (2*(F.card-1)) * (2*gap) := |
| 73 | Nat.mul_le_mul (by omega) (by dsimp [gap]; omega) |
| 74 | _ = 4*((F.card-1)*gap) := by ring |
| 75 | _ ≤ 4*N := Nat.mul_le_mul_left _ hm |
| 76 | _ ≤ 4*(D.card*((B+B+1)+(B+B+1))) := Nat.mul_le_mul_left _ hN |
| 77 | _ ≤ 4*(D.card*(16*B)) := |
| 78 | Nat.mul_le_mul_left _ (Nat.mul_le_mul_left _ (by omega)) |
| 79 | _ = B*(64*D.card) := by ring |
| 80 | |
| 81 | |
| 82 | lemma link (x y : Site n) (B : ℕ) : coverNumber B ({x,y}:Support n) ≤ separation x y / (B+1)+2 := by |
| 83 | let k := B+1; let t := separation x y/k + 1; let f b := line x y (k*b) |
| 84 | let U := range (t+1); let s := U.image f |
| 85 | have he (j : ℕ) (h : j≤t) : f j∈s := mem_image_of_mem _ (mem_range.mpr (by omega)) |
| 86 | have hh : f 0=x := by simp [f] |
| 87 | have hd : f t=y := line_end x y (le_of_lt (Nat.lt_mul_div_succ (separation x y) (Nat.succ_pos B))) |
| 88 | have hi : Ships s (B+B+1) := by |
| 89 | have he' i (hi : i≤t) : Relation.ReflTransGen (Touch s (B+B+1)) (f 0) (f i) := by |
| 90 | refine line_path _ _ (fun i h => he _ (h.trans hi)) (fun j hj => ?_) |
| 91 | unfold f |
| 92 | apply (line_dist x y _ _ ?_).trans |
| 93 | · rw [Nat.mul_add,Nat.mul_one,Nat.add_sub_cancel_left]; unfold k; omega |
| 94 | exact Nat.mul_le_mul_left _ (by omega) |
| 95 | intro a ha b hb |
| 96 | rcases mem_image.mp ha with ⟨i,hi,rfl⟩ |
| 97 | rcases mem_image.mp hb with ⟨j,hj,rfl⟩ |
| 98 | exact (Corona.sym (he' i (by have := mem_range.mp hi; omega))).trans (he' j (by have := mem_range.mp hj; omega)) |
| 99 | have hg : covers B ({x,y}:Support n) s := by |
| 100 | refine ⟨?_, Corona.ship_halo B hi⟩ |
| 101 | refine (Finset.insert_subset ?_ (singleton_subset_iff.mpr ?_)).trans (halo_subset B s) |
| 102 | · exact hh ▸ he 0 (Nat.zero_le t) |
| 103 | exact hd ▸ he t le_rfl |
| 104 | exact (list_cost B hg).trans (card_image_le.trans (by simp [k,t,U])) |
| 105 | |
| 106 | lemma moderateRadius (x y : Site n) (B w:ℕ) (h:separation x y≤ B*w) : coverNumber B ({x,y}:Support n) ≤ w+2:=by |
| 107 | have hp : separation x y/(B+1) ≤ w:=by |
| 108 | refine Nat.div_le_of_le_mul (h.trans ?_) |
| 109 | nlinarith |
| 110 | exact (link ..).trans (Nat.add_le_add_right hp _) |
| 111 | structure Moderate (f : V→Site n)(B w:ℕ) : Prop where |
| 112 | wide : ∀ i j:V, i ≠ j → B*w ≤ separation (f i) (f j) |
| 113 | variable [Fintype V] {W W': V→ℝ} {K : Marker.Census V}{f:V→Site n}{b w:ℕ} |
| 114 | open MergeProof Accent Marker Extra.Multi Push GridApprox.Nil Local Extra.Trajectories |
| 115 | omit [Fintype V] in |
| 116 | lemma Moderate.pegs (h:Moderate f b w)(he:∀ i,W' i≤ W i*mintK w)(hp:∀ i,0<W' i)(hq:∀ i,0<W i)(hb:1≤b)(hw:8≤w): Repegs f b W W' (1/2) 1 K:=by |
| 117 | intro i hi X hX; have ht := separatedMarks i.val f (fun i _ j _=> h.wide i j) hw hb hi X hX |
| 118 | rw [one_mul]; unfold Poly.toll |
| 119 | refine (Finset.prod_le_prod (fun i _=>hp i|>.le) (fun i _=>he i)).trans ?_ |
| 120 | rw [Finset.prod_mul_distrib,prod_const]; apply mul_le_mul_of_nonneg_left _ (prod_nonneg fun i _=> hq i|>.le); unfold mintK; rw [← Real.exp_nat_mul] |
| 121 | have ht':(w:ℝ)*i.val.card ≤ 64*(coverNumber b X :ℝ):= by exact_mod_cast ht |
| 122 | apply Real.exp_monotone; linarith only [ht'] |
| 123 | end YM.OPE.Log |