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.Rational |
| 2 | |
| 3 | /-! # Functor -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianScheme.TateComparison.Functor |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Functoriality and absence of torsion in the actual Tate inverse limit. |
| 10 | These statements use its torsion points and transition maps directly. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | open scoped _root_.CategoryTheory.MonObj |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | namespace Tate |
| 18 | |
| 19 | variable (q : ℕ) [Fact q.Prime] {H H' H'' : Type u} |
| 20 | [AddCommGroup H] [AddCommGroup H'] [AddCommGroup H''] |
| 21 | |
| 22 | theorem map_id : Add.Tate.map q (AddMonoidHom.id H) = LinearMap.id := by |
| 23 | ext x n |
| 24 | rfl |
| 25 | |
| 26 | theorem map_comp (f : H →+ H') (g : H' →+ H'') : |
| 27 | Add.Tate.map q (g.comp f) = (Add.Tate.map q g).comp (Add.Tate.map q f) := by |
| 28 | ext x n |
| 29 | rfl |
| 30 | |
| 31 | theorem map_add (f g : H →+ H') : Add.Tate.map q (f + g) = Add.Tate.map q f + Add.Tate.map q g := by |
| 32 | ext x n |
| 33 | rfl |
| 34 | |
| 35 | theorem map_nsmul (n : ℕ) (f : H →+ H') : Add.Tate.map q (n • f) = n • Add.Tate.map q f := by |
| 36 | ext x k |
| 37 | rfl |
| 38 | |
| 39 | theorem transition_iterate (x : Add.Tate.Module (H := H) q) (n k : ℕ) : |
| 40 | q ^ k • (x.val (n + k)).val = (x.val n).val := by |
| 41 | induction k with |
| 42 | | zero => simp |
| 43 | | succ k ih => |
| 44 | have ht := congrArg Subtype.val (x.property (n + k)) |
| 45 | change q • (x.val (n + k + 1)).val = (x.val (n + k)).val at ht |
| 46 | rw [pow_succ', mul_nsmul, ← Nat.add_assoc, ht, ih] |
| 47 | |
| 48 | theorem q_smul_eq_zero (x : Add.Tate.Module (H := H) q) (h : (q : ℤ_[q]) • x = 0) : x = 0 := by |
| 49 | rw [Nat.cast_smul_eq_nsmul] at h |
| 50 | apply Subtype.ext |
| 51 | funext n |
| 52 | apply Subtype.ext |
| 53 | have hz : q • (x.val (n + 1)).val = 0 := |
| 54 | congrArg (fun y : Add.Tate.Module (H := H) q => (y.val (n + 1)).val) h |
| 55 | exact (congrArg Subtype.val (x.property n)).symm.trans hz |
| 56 | |
| 57 | theorem q_pow_smul_eq_zero (n : ℕ) (x : Add.Tate.Module (H := H) q) |
| 58 | (h : (q : ℤ_[q]) ^ n • x = 0) : x = 0 := by |
| 59 | induction n with |
| 60 | | zero => simpa using h |
| 61 | | succ n ih => |
| 62 | rw [pow_succ', mul_smul] at h |
| 63 | exact ih (q_smul_eq_zero q _ h) |
| 64 | |
| 65 | theorem smul_eq_zero_of_ne_zero (z : ℤ_[q]) (hz : z ≠ 0) |
| 66 | (x : Add.Tate.Module (H := H) q) (h : z • x = 0) : x = 0 := by |
| 67 | obtain ⟨n, u, rfl⟩ := IsDiscreteValuationRing.eq_unit_mul_pow_irreducible hz |
| 68 | (PadicInt.irreducible_p (p := q)) |
| 69 | rw [mul_smul, u.isUnit.smul_eq_zero] at h |
| 70 | exact q_pow_smul_eq_zero q n x h |
| 71 | |
| 72 | instance moduleIsTorsionFree : _root_.Module.IsTorsionFree ℤ_[q] (Add.Tate.Module (H := H) q) := |
| 73 | _root_.Module.IsTorsionFree.of_smul_eq_zero fun z x h => by |
| 74 | by_cases hz : z = 0 |
| 75 | · exact Or.inl hz |
| 76 | · exact Or.inr (smul_eq_zero_of_ne_zero q z hz x h) |
| 77 | |
| 78 | end Tate |
| 79 | |
| 80 | variable {S : Scheme.{u}} {A B C : Over S} |
| 81 | [GrpObj A] [IsCommMonObj A] [GrpObj B] [IsCommMonObj B] [GrpObj C] [IsCommMonObj C] |
| 82 | (T : Over S) (q : ℕ) [Fact q.Prime] |
| 83 | |
| 84 | theorem schemeTateMap_id : Add.schemeTateMap A T q (𝟙 A) = LinearMap.id := by |
| 85 | apply LinearMap.ext |
| 86 | intro x |
| 87 | apply Subtype.ext |
| 88 | funext n |
| 89 | apply Subtype.ext |
| 90 | exact congrArg Additive.ofMul (Category.comp_id (x.val n).val.toMul) |
| 91 | |
| 92 | theorem schemeTateMap_comp (f : A ⟶ B) [IsMonHom f] (g : B ⟶ C) [IsMonHom g] : |
| 93 | Add.schemeTateMap A T q (f ≫ g) = (Add.schemeTateMap B T q g).comp (Add.schemeTateMap A T q f) := by |
| 94 | apply LinearMap.ext |
| 95 | intro x |
| 96 | apply Subtype.ext |
| 97 | funext n |
| 98 | apply Subtype.ext |
| 99 | exact congrArg Additive.ofMul (Category.assoc (x.val n).val.toMul f g).symm |
| 100 | |
| 101 | theorem rationalTateMap_id : Rational.rationalTateMap (T := T) (q := q) (𝟙 A) = LinearMap.id := by |
| 102 | rw [Rational.rationalTateMap, schemeTateMap_id, LinearMap.baseChange_id] |
| 103 | |
| 104 | theorem rationalTateMap_comp (f : A ⟶ B) [IsMonHom f] (g : B ⟶ C) [IsMonHom g] : |
| 105 | Rational.rationalTateMap (T := T) (q := q) (f ≫ g) = |
| 106 | (Rational.rationalTateMap (T := T) (q := q) g).comp (Rational.rationalTateMap (T := T) (q := q) f) := by |
| 107 | rw [Rational.rationalTateMap, schemeTateMap_comp, LinearMap.baseChange_comp] |
| 108 | rfl |
| 109 | |
| 110 | end |
| 111 | |
| 112 | end OAI.AlgebraicGeometry.AbelianScheme.TateComparison.Functor |