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.Cartier |
| 2 | import OAI.AlgebraicGeometry.GroupSchemes.LocalObstruction |
| 3 | |
| 4 | /-! # Dual Points -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.GroupSchemes.DualPoints.FiniteEtale |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Rational Cartier-dual points as elements of the original coordinate algebra. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite WithConv _root_.CategoryTheory.MonObj |
| 13 | |
| 14 | universe u |
| 15 | variable (k A : Type u) [Field k] [CommRing A] [HopfAlgebra k A] |
| 16 | [Coalgebra.IsCocomm k A] [Module.Finite k A] |
| 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 | /-- A dual rational point determines its element of the coordinate algebra by biduality. -/ |
| 22 | def pointElement : WithConv (AbelianScheme.CartierDuality.DualAlgebra.Construction.DualCoordinate k A →ₐ[k] k) →* A where |
| 23 | toFun f := (AbelianScheme.CartierDuality.DualAlgebra.Construction.dualCoordinateBidualBialgEquiv k A).symm (toConv f.ofConv.toLinearMap) |
| 24 | map_one' := by |
| 25 | rw [AlgHom.toLinearMap_convOne, map_one] |
| 26 | map_mul' f g := by |
| 27 | rw [AlgHom.toLinearMap_convMul, map_mul] |
| 28 | |
| 29 | /-- Distinct dual rational points give distinct coordinate elements. -/ |
| 30 | theorem pointElement_injective : Function.Injective (pointElement k A) := by |
| 31 | intro f g h |
| 32 | apply WithConv.ofConv_injective |
| 33 | apply AlgHom.toLinearMap_injective |
| 34 | apply WithConv.toConv_injective |
| 35 | exact (AbelianScheme.CartierDuality.DualAlgebra.Construction.dualCoordinateBidualBialgEquiv k A).symm.injective h |
| 36 | |
| 37 | /-- A dual rational point has augmentation one in the original coordinate algebra. -/ |
| 38 | theorem pointElement_counit (f : WithConv (AbelianScheme.CartierDuality.DualAlgebra.Construction.DualCoordinate k A →ₐ[k] k)) : |
| 39 | Coalgebra.counit (R := k) (pointElement k A f) = 1 := by |
| 40 | change Coalgebra.counit (R := k) |
| 41 | ((AbelianScheme.CartierDuality.DualAlgebra.Construction.dualCoordinateBidualBialgEquiv k A).symm (toConv f.ofConv.toLinearMap)) = 1 |
| 42 | rw [CoalgHomClass.counit_comp_apply] |
| 43 | exact f.ofConv.map_one |
| 44 | |
| 45 | /-- The dual rational points of a local rank-p coordinate algebra are p-torsion. -/ |
| 46 | theorem dual_points_pow (p : ℕ) [Fact p.Prime] [CharP k p] [IsLocalRing A] |
| 47 | (hdim : Module.finrank k A = p) (f : WithConv (AbelianScheme.CartierDuality.DualAlgebra.Construction.DualCoordinate k A →ₐ[k] k)) : |
| 48 | f ^ p = 1 := by |
| 49 | apply pointElement_injective k A |
| 50 | rw [(pointElement k A).map_pow f p, (pointElement k A).map_one] |
| 51 | rw [LocalObstruction.FiniteEtale.frobenius_of_local_rank_prime k A p hdim |
| 52 | (Bialgebra.counitAlgHom k A), Bialgebra.counitAlgHom_apply, pointElement_counit, |
| 53 | one_pow, map_one] |
| 54 | |
| 55 | /-- The dual point calculation applies to the actual Cartier-dual group scheme. -/ |
| 56 | theorem dualOfHopf_points_pow (p : ℕ) [Fact p.Prime] [CharP k p] [IsLocalRing A] |
| 57 | (hdim : Module.finrank k A = p) |
| 58 | (x : FiniteEtale.affine k (CommAlgCat.of k k) ⟶ (FiniteEtale.FiniteCommGroupScheme.dualOfHopf (k := k) A).scheme) : |
| 59 | x ^ p = 1 := by |
| 60 | let e := @Spec.mapMulEquiv k (AbelianScheme.CartierDuality.DualAlgebra.Construction.DualCoordinate k A) k _ _ _ inferInstance _ |
| 61 | have h := dual_points_pow k A p hdim (e.symm x) |
| 62 | have he : e (e.symm x) ^ p = 1 := |
| 63 | (map_pow e (e.symm x) p).symm.trans ((congrArg e h).trans e.map_one) |
| 64 | exact (congrArg (fun y => y ^ p) (e.apply_symm_apply x)).symm.trans he |
| 65 | |
| 66 | end |
| 67 | |
| 68 | end OAI.AlgebraicGeometry.GroupSchemes.DualPoints.FiniteEtale |