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.GroupSchemes.Verschiebung |
| 2 | |
| 3 | /-! # Surjective -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.GroupSchemes.Surjective.FiniteEtaleV |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Surjectivity criteria for the constructed Verschiebung. -/ |
| 10 | |
| 11 | open WithConv OAI.AlgebraicGeometry.GroupSchemes.Verschiebung.FiniteEtale |
| 12 | |
| 13 | universe u |
| 14 | variable (k A : Type u) [Field k] [CommRing A] [HopfAlgebra k A] |
| 15 | [Coalgebra.IsCocomm k A] [Module.Finite k A] |
| 16 | variable (p : ℕ) [Fact p.Prime] [CharP k p] [PerfectRing k p] |
| 17 | |
| 18 | local instance : CommRing (AbelianScheme.CartierDuality.DualAlgebra.Construction.DualCoordinate k A) := LinearMap.convCommRing |
| 19 | local instance : Algebra k (AbelianScheme.CartierDuality.DualAlgebra.Construction.DualCoordinate k A) := LinearMap.convAlgebra |
| 20 | |
| 21 | /-- Verschiebung acts on the augmentation through inverse Frobenius. -/ |
| 22 | theorem counit_verschiebung (x : A) : |
| 23 | Coalgebra.counit (R := k) (Verschiebung.FiniteEtale.verschiebungFun p k A x) = |
| 24 | (frobeniusEquiv k p).symm (Coalgebra.counit (R := k) x) := by |
| 25 | have h := Verschiebung.FiniteEtale.eval_verschiebung p k A (1 : AbelianScheme.CartierDuality.DualAlgebra.Construction.DualCoordinate k A) x |
| 26 | simpa only [one_pow, LinearMap.convOne_apply, Algebra.algebraMap_self, RingHom.id_apply] using h |
| 27 | |
| 28 | /-- The constructed ring map is semilinear on scalars. -/ |
| 29 | theorem verschiebung_scalars (c : k) : |
| 30 | Verschiebung.FiniteEtale.verschiebungRingHom p k A (algebraMap k A c) = |
| 31 | algebraMap k A ((frobeniusEquiv k p).symm c) := by |
| 32 | have h := (Verschiebung.FiniteEtale.verschiebung p k A).map_smulₛₗ c (1 : A) |
| 33 | change Verschiebung.FiniteEtale.verschiebungFun p k A (c • (1 : A)) = |
| 34 | (frobeniusEquiv k p).symm c • Verschiebung.FiniteEtale.verschiebungFun p k A 1 at h |
| 35 | change Verschiebung.FiniteEtale.verschiebungFun p k A (algebraMap k A c) = _ |
| 36 | simpa only [Algebra.smul_def, mul_one, Verschiebung.FiniteEtale.verschiebung_one] using h |
| 37 | |
| 38 | /-- In finite dimension the semilinear ring map is a finite ring homomorphism. -/ |
| 39 | theorem verschiebung_finite : (Verschiebung.FiniteEtale.verschiebungRingHom p k A).Finite := by |
| 40 | apply RingHom.Finite.of_comp_finite (f := algebraMap k A) |
| 41 | have he : (Verschiebung.FiniteEtale.verschiebungRingHom p k A).comp (algebraMap k A) = |
| 42 | (algebraMap k A).comp (frobeniusEquiv k p).symm.toRingHom := by |
| 43 | ext c |
| 44 | exact verschiebung_scalars k A p c |
| 45 | rw [he] |
| 46 | exact (RingHom.finite_algebraMap.mpr inferInstance).comp (frobeniusEquiv k p).symm.finite |
| 47 | |
| 48 | /-- Reduced Cartier-dual coordinates make Verschiebung surjective. -/ |
| 49 | theorem verschiebung_surjective [IsReduced (AbelianScheme.CartierDuality.DualAlgebra.Construction.DualCoordinate k A)] : |
| 50 | Function.Surjective (Verschiebung.FiniteEtale.verschiebungFun p k A) := by |
| 51 | have : RingHomSurjective (frobeniusEquiv k p).symm.toRingHom := |
| 52 | ⟨(frobeniusEquiv k p).symm.surjective⟩ |
| 53 | change Function.Surjective (Verschiebung.FiniteEtale.verschiebung p k A) |
| 54 | apply LinearMap.range_eq_top.mp |
| 55 | apply Submodule.dualAnnihilator_eq_bot_iff.mp |
| 56 | apply le_antisymm _ bot_le |
| 57 | intro f hf |
| 58 | have hp : (toConv f : AbelianScheme.CartierDuality.DualAlgebra.Construction.DualCoordinate k A) ^ p = 0 := by |
| 59 | ext x |
| 60 | rw [← Verschiebung.FiniteEtale.eval_verschiebung_pow] |
| 61 | have hfx : f (Verschiebung.FiniteEtale.verschiebungFun p k A x) = 0 := |
| 62 | (Submodule.mem_dualAnnihilator f).mp hf _ ⟨x, rfl⟩ |
| 63 | rw [hfx, zero_pow (Fact.out : p.Prime).ne_zero] |
| 64 | rfl |
| 65 | have hnil : IsNilpotent (toConv f : AbelianScheme.CartierDuality.DualAlgebra.Construction.DualCoordinate k A) := ⟨p, hp⟩ |
| 66 | have hz : (toConv f : AbelianScheme.CartierDuality.DualAlgebra.Construction.DualCoordinate k A) = 0 := hnil.eq_zero |
| 67 | exact WithConv.toConv_injective hz |
| 68 | |
| 69 | /-- Surjectivity of Verschiebung forces reduced Cartier-dual coordinates. -/ |
| 70 | theorem dual_reduced_of_surjective (hV : Function.Surjective (Verschiebung.FiniteEtale.verschiebungFun p k A)) : |
| 71 | IsReduced (AbelianScheme.CartierDuality.DualAlgebra.Construction.DualCoordinate k A) := by |
| 72 | have hF : ∀ f : AbelianScheme.CartierDuality.DualAlgebra.Construction.DualCoordinate k A, f ^ p = 0 → f = 0 := by |
| 73 | intro f hf |
| 74 | ext x |
| 75 | obtain ⟨y, rfl⟩ := hV x |
| 76 | have he := Verschiebung.FiniteEtale.eval_verschiebung_pow p k A f y |
| 77 | rw [hf] at he |
| 78 | exact eq_zero_of_pow_eq_zero he |
| 79 | constructor |
| 80 | intro f hf |
| 81 | obtain ⟨n, hn⟩ := hf |
| 82 | have hnp : n ≤ p ^ n := by |
| 83 | clear hn |
| 84 | have hp := (Fact.out : p.Prime).two_le |
| 85 | induction n with |
| 86 | | zero => simp |
| 87 | | succ n ih => |
| 88 | rw [pow_succ] |
| 89 | have hpos : 0 < p ^ n := pow_pos (by omega) n |
| 90 | nlinarith |
| 91 | have hzero := pow_eq_zero_of_le hnp hn |
| 92 | clear hn hnp |
| 93 | induction n with |
| 94 | | zero => simpa only [pow_zero, pow_one] using hzero |
| 95 | | succ n ih => |
| 96 | apply ih |
| 97 | apply hF |
| 98 | simpa only [← pow_mul, pow_succ] using hzero |
| 99 | |
| 100 | end |
| 101 | |
| 102 | end OAI.AlgebraicGeometry.GroupSchemes.Surjective.FiniteEtaleV |