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.Slice.Independent |
| 2 | import YM.Cells.Interior |
| 3 | |
| 4 | /-! |
| 5 | # Factor the integrand apart from indicated cross seams |
| 6 | |
| 7 | Applies to bounded measurable probes LocalOn the strict positive sector. |
| 8 | -/ |
| 9 | set_option autoImplicit false |
| 10 | noncomputable section |
| 11 | namespace YM.Slice |
| 12 | open Function Set Filter MeasureTheory Lattice Wilson Cells |
| 13 | open scoped Topology BigOperators Matrix.Norms.Frobenius ComplexOrder |
| 14 | variable {n : Side} {G : Gauge} (C : Cut n) |
| 15 | |
| 16 | /-- Standard filler elsewhere, does not force any of the weight couplings when pairing. -/ |
| 17 | def reader (K : Posts C G) (P : Open C G) := follow C ((K,1),P,P) |
| 18 | |
| 19 | private lemma alongPos {P Q : Circle G C.pos n} (hl : ∀ i : Inner C, (P i).1=(Q i).1) |
| 20 | (ht : ∀ i : Steps C, (P i).2=(Q i).2) : Agrees C.sector (chain C.pos P) (chain C.pos Q) := by |
| 21 | rintro ⟨x,j⟩ hx he |
| 22 | change x + step j ∈ C.sector at he |
| 23 | have hp : Plus C (x C.pos) := hx |
| 24 | unfold chain |
| 25 | dsimp only |
| 26 | split_ifs with H |
| 27 | · have hh : Plus C (x C.pos + 1) := by |
| 28 | subst j |
| 29 | change Plus C ((x+step C.pos : Site n) C.pos) at he; simpa using he |
| 30 | rw [ht ⟨_, strict_thread hp hh⟩] |
| 31 | rw [hl ⟨_,hp⟩] |
| 32 | |
| 33 | lemma first_eye (p : Dwelling C G) : Agrees C.sector (chain C.pos (follow C p)) |
| 34 | (chain C.pos (reader C p.1.1 p.2.1)) := by |
| 35 | apply alongPos C (by intro i; simp only [reader,follow,hit]) (by intro i; simp only [reader,follow,pointed]) |
| 36 | |
| 37 | lemma second_eye (p : Dwelling C G) : Agrees C.sector (C.pullC G (chain C.pos (follow C p))) |
| 38 | (chain C.pos (reader C p.1.1 p.2.2)) := by |
| 39 | rw [mirrors] |
| 40 | apply alongPos C (by intro i; simp only [reader,follow,hit,opposite,hitOpp,replace]) |
| 41 | intro i |
| 42 | simp only [reader] |
| 43 | change (((follow C p (imageChord C i)).2)⁻¹) = _ |
| 44 | simp [follow, pointed_back, replace] |
| 45 | |
| 46 | private lemma forwardLook (p : Dwelling C G) {x : Per n} (hx : ¬ Plus C (level C x)) : |
| 47 | (follow C p x).1 = (reader C p.1.1 p.2.1 x).1 := by |
| 48 | by_cases h : Plus C x |
| 49 | · unfold reader follow; rw [hit C (⟨x,h⟩ : Inner C),hit C (⟨x,h⟩ : Inner C)] |
| 50 | have he : x ∈ pier C := ⟨h,hx⟩ |
| 51 | unfold reader follow; rw [seam C ⟨x,he⟩, seam C ⟨x,he⟩] |
| 52 | |
| 53 | private lemma rearLook (p : Dwelling C G) {x : Per n} (hx : ¬ Plus C (level C x)) : |
| 54 | (follow C p (level C x)).1 = (reader C p.1.1 p.2.2 x).1 := by |
| 55 | by_cases h : Plus C x |
| 56 | · unfold reader follow; rw [hitOpp C (⟨x,h⟩ : Inner C),hit C (⟨x,h⟩ : Inner C)]; rfl |
| 57 | have he : x ∈ pier C := ⟨h,hx⟩ |
| 58 | unfold reader follow; rw [fixed_pier he,seam C ⟨x,he⟩, seam C ⟨x,he⟩] |
| 59 | |
| 60 | variable (β : ℝ) |
| 61 | |
| 62 | def area (K : Posts C G) (P : Open C G) := |
| 63 | ∏ i : Steps C, weight C.pos β (reader C K P i).1 (reader C K P (i.val+1)).1 (reader C K P i).2 |
| 64 | |
| 65 | def rim (P : Dwelling C G) := |
| 66 | ∏ i : ↥(gate C), weight C.pos β (follow C P i).1 (follow C P (i.val+1)).1 (follow C P i).2 |
| 67 | |
| 68 | lemma class_bijection : Function.Bijective (Sum.elim (Sum.elim (fun i : Steps C => i.val) (fun i : Steps C => imageChord C i)) |
| 69 | (fun i : ↥(gate C) => i.val)) := by |
| 70 | constructor |
| 71 | · rintro ((i|i)|i) ((j|j)|j) H <;> simp only [Sum.elim_inl,Sum.elim_inr] at H |
| 72 | · rw [show i=j from Subtype.ext H] |
| 73 | · exact (opposite_time j.property (H ▸ i.property)).elim |
| 74 | · exact (j.property.1 (H ▸ i.property)).elim |
| 75 | · exact (opposite_time i.property (H.symm ▸ j.property)).elim |
| 76 | · have hw : Involutive (imageChord C) := chord_turn C |
| 77 | rw [show i=j from Subtype.ext (hw.injective H)] |
| 78 | · have hV : imageChord C j.val=i.val := by rw [← show imageChord C i=j.val from H,chord_turn] |
| 79 | exact (j.property.2 (hV.symm ▸ i.property)).elim |
| 80 | · exact (i.property.1 (H.symm ▸ j.property)).elim |
| 81 | · have hV : imageChord C i.val=j.val := by rw [← show imageChord C j=i.val from H.symm,chord_turn]; |
| 82 | exact (i.property.2 (hV.symm ▸ j.property)).elim |
| 83 | rw [show i=j from Subtype.ext H] |
| 84 | intro x |
| 85 | by_cases h : bridge C x |
| 86 | · exact ⟨Sum.inl (Sum.inl ⟨x,h⟩),rfl⟩ |
| 87 | by_cases hv : bridge C (imageChord C x) |
| 88 | · exact ⟨Sum.inl (Sum.inr ⟨_,hv⟩),chord_turn C x⟩ |
| 89 | exact ⟨Sum.inr ⟨x,h,hv⟩,rfl⟩ |
| 90 | |
| 91 | lemma includes (v : Dwelling C G) : bare β (chain C.pos (follow C v)) = |
| 92 | area C β v.1.1 v.2.1 * area C β v.1.1 v.2.2 * rim C β v := by |
| 93 | classical |
| 94 | let W := follow C v |
| 95 | let f (i : Per n) := weight C.pos β (W i).1 (W (i+1)).1 (W i).2 |
| 96 | rw [totalWeight] |
| 97 | change ∏ i, f i = _ |
| 98 | rw [← Equiv.prod_comp (Equiv.ofBijective _ (class_bijection C)) f]; simp only [Fintype.prod_sum_type,Equiv.ofBijective_apply, |
| 99 | Sum.elim_inl,Sum.elim_inr] |
| 100 | unfold area rim |
| 101 | refine congr_arg₂ (· * ·) (congr_arg₂ (· * ·) ?_ ?_) rfl |
| 102 | · refine Finset.prod_congr rfl fun i _ => ?_ |
| 103 | have h := thread_ends i.property |
| 104 | unfold f |
| 105 | rw [show (W i).1 = _ from forwardLook C v h.1, show (W _).1 = _ from forwardLook C v h.2] |
| 106 | simp only [W,reader,follow,pointed] |
| 107 | refine Finset.prod_congr rfl fun i _ => ?_ |
| 108 | obtain ⟨h,p⟩ := thread_ends i.property |
| 109 | have h₁ : level C i.val = imageChord C i + 1 := by rw [imageChord]; ring |
| 110 | have h₂ := (chord_end C i.val).symm |
| 111 | have hx : (W (imageChord C i.val)).2 = ((reader C v.1.1 v.2.2 i).2)⁻¹ := by simp [reader,W,follow,replace] |
| 112 | unfold f |
| 113 | rw [← h₁,hx, show (W (level C i)).1 = _ from rearLook C v h, show (W (imageChord C i)).1 = _ from |
| 114 | congr_arg (fun x => (W x).1) h₂ |>.trans (rearLook C v p), weight_reflect] |
| 115 | end YM.Slice |