Hodge conjecture: the CM case in Lean, read and discussed
OpenAI's Lean proof of the Hodge conjecture for CM abelian varieties: rerun it, read its statement, and keep the open questions with their sources. The conjecture is open

| 1 | /- |
| 2 | Copyright 2026 The Formal Conjectures Authors. |
| 3 | Released under Apache 2.0 license as described in the file LICENSE. |
| 4 | This file has been modified. |
| 5 | -/ |
| 6 | import OAI.AlgebraicGeometry.Stratification.BasicLe |
| 7 | |
| 8 | /-! # Closed Filtration -/ |
| 9 | |
| 10 | namespace OAI.AlgebraicGeometry.Stratification.ClosedFiltration |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | open _root_.AlgebraicGeometry |
| 15 | |
| 16 | /-! |
| 17 | # The canonical smooth decomposition as a closed filtration |
| 18 | |
| 19 | The filtration is antitone, consecutive closed supports differ by the actual smooth piece, |
| 20 | and it is empty at the length of the existing finite list and thereafter. |
| 21 | -/ |
| 22 | |
| 23 | open _root_.CategoryTheory _root_.Topology _root_.TopologicalSpace |
| 24 | |
| 25 | universe u |
| 26 | |
| 27 | variable {K : Type u} [Field K] {X : Scheme.{u}} |
| 28 | (f : X ⟶ Spec (.of K)) [LocallyOfFiniteType f] |
| 29 | |
| 30 | @[simp] theorem reducedSmoothClosedFiltration_zero (S : Closeds X) : |
| 31 | Basic.reducedSmoothClosedFiltration f S 0 = S := rfl |
| 32 | |
| 33 | @[simp] theorem reducedSmoothClosedFiltration_succ (S : Closeds X) (k : ℕ) : |
| 34 | Basic.reducedSmoothClosedFiltration f S (k + 1) = |
| 35 | Basic.reducedClosedSingularRemainder f (Basic.reducedSmoothClosedFiltration f S k) := rfl |
| 36 | |
| 37 | theorem reducedSmoothClosedFiltration_succ_start (S : Closeds X) (k : ℕ) : |
| 38 | Basic.reducedSmoothClosedFiltration f S (k + 1) = |
| 39 | Basic.reducedSmoothClosedFiltration f (Basic.reducedClosedSingularRemainder f S) k := by |
| 40 | induction k with |
| 41 | | zero => rfl |
| 42 | | succ k ih => |
| 43 | rw [reducedSmoothClosedFiltration_succ, ih, reducedSmoothClosedFiltration_succ] |
| 44 | |
| 45 | @[simp] theorem reducedClosedSingularRemainder_bot : |
| 46 | Basic.reducedClosedSingularRemainder f ⊥ = ⊥ := |
| 47 | le_bot_iff.mp (BasicLe.reducedClosedSingularRemainder_le f ⊥) |
| 48 | |
| 49 | @[simp] theorem reducedSmoothClosedFiltration_bot (k : ℕ) : |
| 50 | Basic.reducedSmoothClosedFiltration f ⊥ k = ⊥ := by |
| 51 | induction k with |
| 52 | | zero => rfl |
| 53 | | succ k ih => rw [reducedSmoothClosedFiltration_succ, ih, reducedClosedSingularRemainder_bot] |
| 54 | |
| 55 | theorem reducedSmoothClosedFiltration_succ_le (S : Closeds X) (k : ℕ) : |
| 56 | Basic.reducedSmoothClosedFiltration f S (k + 1) ≤ Basic.reducedSmoothClosedFiltration f S k := |
| 57 | BasicLe.reducedClosedSingularRemainder_le f _ |
| 58 | |
| 59 | theorem reducedSmoothClosedFiltration_antitone (S : Closeds X) : |
| 60 | Antitone (Basic.reducedSmoothClosedFiltration f S) := |
| 61 | antitone_nat_of_succ_le (reducedSmoothClosedFiltration_succ_le f S) |
| 62 | |
| 63 | theorem reducedSmoothClosedFiltration_le (S : Closeds X) (k : ℕ) : |
| 64 | Basic.reducedSmoothClosedFiltration f S k ≤ S := |
| 65 | reducedSmoothClosedFiltration_antitone f S (Nat.zero_le k) |
| 66 | |
| 67 | /-- Each successive layer is the range of the smooth locally closed immersion. -/ |
| 68 | theorem reducedSmoothClosedFiltration_layer (S : Closeds X) (k : ℕ) : |
| 69 | Set.range (BasicLe.reducedClosedSmoothPieceι f (Basic.reducedSmoothClosedFiltration f S k)) = |
| 70 | (Basic.reducedSmoothClosedFiltration f S k : Set X) \ |
| 71 | (Basic.reducedSmoothClosedFiltration f S (k + 1) : Set X) := |
| 72 | BasicLe.reducedClosedSmoothPiece_range f _ |
| 73 | |
| 74 | variable [PerfectField K] [NoetherianSpace X] |
| 75 | |
| 76 | /-- The terminal index is the length of the finite list. -/ |
| 77 | theorem reducedSmoothClosedFiltration_length (S : Closeds X) : |
| 78 | Basic.reducedSmoothClosedFiltration f S (BasicLe.reducedSmoothStratification f S).length = ⊥ := by |
| 79 | induction S using (wellFounded_lt (α := Closeds X)).induction with |
| 80 | | h S ih => |
| 81 | by_cases hS : S = ⊥ |
| 82 | · subst S |
| 83 | exact reducedSmoothClosedFiltration_bot f _ |
| 84 | · have hlen : (BasicLe.reducedSmoothStratification f S).length = |
| 85 | (BasicLe.reducedSmoothStratification f (Basic.reducedClosedSingularRemainder f S)).length + 1 := by |
| 86 | rw [BasicLe.reducedSmoothStratification, ite_eq_right hS, List.length_cons] |
| 87 | rw [hlen, reducedSmoothClosedFiltration_succ_start] |
| 88 | exact ih _ (BasicLe.reducedClosedSingularRemainder_lt f S hS) |
| 89 | |
| 90 | end |
| 91 | |
| 92 | end OAI.AlgebraicGeometry.Stratification.ClosedFiltration |