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.AbelianScheme.TateComparison.Evaluation |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.TateComparison.PadicResidueTopology |
| 3 | import Mathlib.RingTheory.Finiteness.Basic |
| 4 | |
| 5 | /-! # Finite Generation -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianScheme.TateComparison.FiniteGeneration.Tate |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Finite generation of the actual Tate module from finite first-level |
| 12 | torsion. Lifts of all first-level points generate to every finite precision; |
| 13 | compactness of their p-adic coefficient space supplies exact coefficients. -/ |
| 14 | |
| 15 | universe u v |
| 16 | variable (q : ℕ) [Fact q.Prime] {H : Type u} [AddCommGroup H] |
| 17 | {I : Type v} [Fintype I] |
| 18 | |
| 19 | def combination (b : I → Add.Tate.Module (H := H) q) : (I → ℤ_[q]) →ₗ[ℤ_[q]] Add.Tate.Module (H := H) q := |
| 20 | ∑ i, (LinearMap.proj i).smulRight (b i) |
| 21 | |
| 22 | theorem combination_single [DecidableEq I] (b : I → Add.Tate.Module (H := H) q) (i : I) : |
| 23 | combination q b (Pi.single i 1) = b i := by |
| 24 | classical |
| 25 | simp [combination, Pi.single_apply] |
| 26 | |
| 27 | theorem combination_approximation (b : I → Add.Tate.Module (H := H) q) |
| 28 | (hb : Function.Surjective (fun i => Evaluation.Tate.evaluate q 1 (b i))) |
| 29 | (n : ℕ) (y : Add.Tate.Module (H := H) q) : |
| 30 | ∃ c : I → ℤ_[q], ∃ z : Add.Tate.Module (H := H) q, |
| 31 | y = combination q b c + (q : ℤ_[q]) ^ n • z := by |
| 32 | classical |
| 33 | induction n with |
| 34 | | zero => exact ⟨0, y, by simp⟩ |
| 35 | | succ n ih => |
| 36 | obtain ⟨c, z, hz⟩ := ih |
| 37 | obtain ⟨i, hi⟩ := hb (Evaluation.Tate.evaluate q 1 z) |
| 38 | change Evaluation.Tate.evaluate q 1 (b i) = Evaluation.Tate.evaluate q 1 z at hi |
| 39 | have he : Evaluation.Tate.evaluate q 1 (z - b i) = 0 := by rw [map_sub, hi, sub_self] |
| 40 | obtain ⟨w, hw⟩ := (Evaluation.Tate.evaluate_eq_zero_iff q 1 (z - b i)).mp he |
| 41 | have hz' : z = b i + (q : ℤ_[q]) • w := by |
| 42 | simpa only [pow_one] using (eq_add_of_sub_eq hw.symm).trans (add_comm _ _) |
| 43 | refine ⟨c + (q : ℤ_[q]) ^ n • Pi.single i 1, w, ?_⟩ |
| 44 | rw [hz, hz', _root_.map_add, map_smul, combination_single, smul_add, pow_succ, mul_smul] |
| 45 | exact (add_assoc _ _ _).symm |
| 46 | |
| 47 | theorem combination_continuous_evaluate (b : I → Add.Tate.Module (H := H) q) (n : ℕ) : |
| 48 | @Continuous (I → ℤ_[q]) (Add.Tate.torsion q H n) _ ⊥ |
| 49 | (fun c => Evaluation.Tate.evaluate q n (combination q b c)) := by |
| 50 | let : TopologicalSpace (Add.Tate.torsion q H n) := ⊥ |
| 51 | let : DiscreteTopology (Add.Tate.torsion q H n) := ⟨rfl⟩ |
| 52 | let f : (I → ZMod (q ^ n)) → Add.Tate.torsion q H n := |
| 53 | fun c => ∑ i, c i • Evaluation.Tate.evaluate q n (b i) |
| 54 | have hf : Continuous f := continuous_of_discreteTopology |
| 55 | have hr : Continuous (fun c : I → ℤ_[q] => fun i => PadicInt.toZModPow n (c i)) := |
| 56 | continuous_pi fun i => (PadicResidueTopology.continuous_padic_residue q n).comp (continuous_apply i) |
| 57 | convert hf.comp hr using 1 |
| 58 | funext c |
| 59 | simp only [Function.comp_apply, f, combination, LinearMap.sum_apply, |
| 60 | LinearMap.smulRight_apply, LinearMap.proj_apply, map_sum, map_smul] |
| 61 | rfl |
| 62 | |
| 63 | theorem combination_surjective (b : I → Add.Tate.Module (H := H) q) |
| 64 | (hb : Function.Surjective (fun i => Evaluation.Tate.evaluate q 1 (b i))) : |
| 65 | Function.Surjective (combination q b) := by |
| 66 | intro y |
| 67 | let S : ℕ → Set (I → ℤ_[q]) := fun n => |
| 68 | {c | Evaluation.Tate.evaluate q n (combination q b c) = Evaluation.Tate.evaluate q n y} |
| 69 | have hclosed : ∀ n, IsClosed (S n) := by |
| 70 | intro n |
| 71 | let : TopologicalSpace (Add.Tate.torsion q H n) := ⊥ |
| 72 | let : DiscreteTopology (Add.Tate.torsion q H n) := ⟨rfl⟩ |
| 73 | exact isClosed_singleton.preimage (combination_continuous_evaluate q b n) |
| 74 | have hnonempty : ∀ n, (S n).Nonempty := by |
| 75 | intro n |
| 76 | obtain ⟨c, z, hz⟩ := combination_approximation q b hb n y |
| 77 | refine ⟨c, ?_⟩ |
| 78 | change Evaluation.Tate.evaluate q n (combination q b c) = Evaluation.Tate.evaluate q n y |
| 79 | rw [hz, _root_.map_add] |
| 80 | have he := (Evaluation.Tate.evaluate_eq_zero_iff q n ((q : ℤ_[q]) ^ n • z)).mpr ⟨z, rfl⟩ |
| 81 | rw [he, add_zero] |
| 82 | have hdecreasing : ∀ n, S (n + 1) ⊆ S n := by |
| 83 | intro n c hc |
| 84 | exact ((combination q b c).property n).symm.trans |
| 85 | ((congrArg (Add.Tate.transition q n) hc).trans (y.property n)) |
| 86 | obtain ⟨c, hc⟩ := IsCompact.nonempty_iInter_of_sequence_nonempty_isCompact_isClosed |
| 87 | S hdecreasing hnonempty (hclosed 0).isCompact hclosed |
| 88 | refine ⟨c, ?_⟩ |
| 89 | apply Subtype.ext |
| 90 | funext n |
| 91 | exact Set.mem_iInter.mp hc n |
| 92 | |
| 93 | theorem finite_of_finite_torsion [Finite (Add.Tate.torsion q H 1)] |
| 94 | (hdiv : ∀ x : H, ∃ y, q • y = x) : |
| 95 | _root_.Module.Finite ℤ_[q] (Add.Tate.Module (H := H) q) := by |
| 96 | let := Fintype.ofFinite (Add.Tate.torsion q H 1) |
| 97 | let b : Add.Tate.torsion q H 1 → Add.Tate.Module (H := H) q := |
| 98 | fun x => (Evaluation.Tate.evaluate_surjective q hdiv 1 x).choose |
| 99 | have hb : Function.Surjective (fun i => Evaluation.Tate.evaluate q 1 (b i)) := by |
| 100 | intro x |
| 101 | exact ⟨x, (Evaluation.Tate.evaluate_surjective q hdiv 1 x).choose_spec⟩ |
| 102 | exact _root_.Module.Finite.of_surjective (combination q b) (combination_surjective q b hb) |
| 103 | |
| 104 | end |
| 105 | |
| 106 | end OAI.AlgebraicGeometry.AbelianScheme.TateComparison.FiniteGeneration.Tate |