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 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.MonomialFinitenessIs |
| 2 | import Mathlib.Topology.Compactness.Compact |
| 3 | |
| 4 | /-! # Controlled Exponent Bound -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.ControlledExponentBound.MonomialFiniteness |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Dickson's lemma has a uniform finite horizon for exponent sequences with prescribed coordinate growth. This supplies field-independent termination bounds for controlled leading-monomial enlargement. -/ |
| 11 | |
| 12 | theorem exists_controlled_exponent_horizon (n : ℕ) (growth : ℕ → ℕ) : |
| 13 | ∃ B : ℕ, ∀ f : ℕ → MonomialFinitenessIs.MonomialFiniteness.Exponent n, |
| 14 | (∀ k i, f k i ≤ growth k) → ∃ i j : ℕ, i < j ∧ j < B ∧ f i ≤ f j := by |
| 15 | classical |
| 16 | let A := fun k => Fin n → Fin (growth k + 1) |
| 17 | let : ∀ k, TopologicalSpace (A k) := fun _ => ⊥ |
| 18 | let : ∀ k, DiscreteTopology (A k) := fun _ => ⟨rfl⟩ |
| 19 | let X := (k : ℕ) → A k |
| 20 | let U : ℕ × ℕ → Set X := fun ij => |
| 21 | {f | ij.1 < ij.2 ∧ ∀ a : Fin n, (f ij.1 a).val ≤ (f ij.2 a).val} |
| 22 | have hU : ∀ ij, IsOpen (U ij) := by |
| 23 | intro ij |
| 24 | let V : Set (A ij.1 × A ij.2) := {p | ij.1 < ij.2 ∧ ∀ a, (p.1 a).val ≤ (p.2 a).val} |
| 25 | have hV : IsOpen V := isOpen_discrete _ |
| 26 | exact hV.preimage ((continuous_apply ij.1).prodMk (continuous_apply ij.2)) |
| 27 | have hcover : (Set.univ : Set X) ⊆ ⋃ ij, U ij := by |
| 28 | intro f _ |
| 29 | obtain ⟨i, j, hij, hle⟩ := (wellQuasiOrdered_le : WellQuasiOrdered (fun a b : MonomialFinitenessIs.MonomialFiniteness.Exponent n => a ≤ b)) |
| 30 | (fun k a => (f k a).val) |
| 31 | exact Set.mem_iUnion.mpr ⟨(i, j), hij, hle⟩ |
| 32 | obtain ⟨T, hT⟩ := isCompact_univ.elim_finite_subcover U hU hcover |
| 33 | refine ⟨T.sup Prod.snd + 1, fun f hf => ?_⟩ |
| 34 | let x : X := fun k i => ⟨f k i, Nat.lt_succ_of_le (hf k i)⟩ |
| 35 | obtain ⟨ij, hij, hx⟩ := Set.mem_iUnion₂.mp (hT (Set.mem_univ x)) |
| 36 | exact ⟨ij.1, ij.2, hx.1, Nat.lt_succ_of_le (Finset.le_sup hij), hx.2⟩ |
| 37 | |
| 38 | def controlledExponentHorizon (n : ℕ) (growth : ℕ → ℕ) : ℕ := |
| 39 | (exists_controlled_exponent_horizon n growth).choose |
| 40 | |
| 41 | theorem controlledExponentHorizon_spec (n : ℕ) (growth : ℕ → ℕ) (f : ℕ → MonomialFinitenessIs.MonomialFiniteness.Exponent n) |
| 42 | (hf : ∀ k i, f k i ≤ growth k) : |
| 43 | ∃ i j : ℕ, i < j ∧ j < controlledExponentHorizon n growth ∧ f i ≤ f j := |
| 44 | (exists_controlled_exponent_horizon n growth).choose_spec f hf |
| 45 | |
| 46 | theorem controlled_bad_exponent_length (n : ℕ) (growth : ℕ → ℕ) (L : ℕ) |
| 47 | (f : Fin L → MonomialFinitenessIs.MonomialFiniteness.Exponent n) (hf : ∀ k i, f k i ≤ growth k.val) |
| 48 | (hbad : ∀ i j : Fin L, i < j → ¬ f i ≤ f j) : L < controlledExponentHorizon n growth := by |
| 49 | classical |
| 50 | by_contra hL |
| 51 | have hBL : controlledExponentHorizon n growth ≤ L := Nat.le_of_not_gt hL |
| 52 | let F : ℕ → MonomialFinitenessIs.MonomialFiniteness.Exponent n := fun k => if hk : k < L then f ⟨k, hk⟩ else 0 |
| 53 | have hF : ∀ k i, F k i ≤ growth k := by |
| 54 | intro k i |
| 55 | by_cases hk : k < L |
| 56 | · simpa only [F, dite_eq_left hk] using hf ⟨k, hk⟩ i |
| 57 | · simp only [F, dite_eq_right hk, Pi.zero_apply, Nat.zero_le] |
| 58 | obtain ⟨i, j, hij, hjB, hle⟩ := controlledExponentHorizon_spec n growth F hF |
| 59 | have hjL : j < L := hjB.trans_le hBL |
| 60 | have hiL : i < L := hij.trans hjL |
| 61 | exact hbad ⟨i, hiL⟩ ⟨j, hjL⟩ hij (by simpa only [F, dite_eq_left hiL, dite_eq_left hjL] using hle) |
| 62 | |
| 63 | end |
| 64 | |
| 65 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.ControlledExponentBound.MonomialFiniteness |