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.Isogenies.NeighborCounting.AffineProductRank |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.Rank |
| 3 | import OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Finite.NeutralGroup |
| 4 | |
| 5 | /-! # Group Rank -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Finite.GroupRank.CM |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The scheme-theoretic order of a finite commutative group is the product |
| 12 | of the orders of its connected and constant factors. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | open MonoidalCategory CartesianMonoidalCategory |
| 16 | open scoped _root_.CategoryTheory.MonObj |
| 17 | |
| 18 | open OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.Rank.Construction.Schemes |
| 19 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.AffineProductRank |
| 20 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Finite.GroupDecomposition.CM OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Finite.NeutralGroup.CM |
| 21 | |
| 22 | variable {k : Type} [Field k] |
| 23 | |
| 24 | theorem tensor_finrank (G H : Grp (Over (Spec (.of k)))) |
| 25 | [IsCommMonObj G.X] [IsCommMonObj H.X] [IsFinite G.X.hom] [IsFinite H.X.hom] |
| 26 | (z : Spec (.of k)) : |
| 27 | (G.X ⊗ H.X).hom.finrank z = G.X.hom.finrank z * H.X.hom.finrank z := by |
| 28 | obtain ⟨R, hR, _, ⟨e⟩⟩ := Picard.Homomorphisms.FiniteHopfPresentation.Construction.finite_commutative_hopfPresentation k G |
| 29 | obtain ⟨T, hT, _, ⟨f⟩⟩ := Picard.Homomorphisms.FiniteHopfPresentation.Construction.finite_commutative_hopfPresentation k H |
| 30 | let : Module.Finite k R := hR |
| 31 | let : Module.Finite k T := hT |
| 32 | let i : Isogenies.NeighborCounting.AffineProductRank.affine k R ≅ G.X := (Grp.forget _).mapIso e |
| 33 | let j : Isogenies.NeighborCounting.AffineProductRank.affine k T ≅ H.X := (Grp.forget _).mapIso f |
| 34 | let ij : G.X ⊗ H.X ≅ Isogenies.NeighborCounting.AffineProductRank.affine k R ⊗ Isogenies.NeighborCounting.AffineProductRank.affine k T := tensorIso i.symm j.symm |
| 35 | have : IsFinite (Isogenies.NeighborCounting.AffineProductRank.affine k R).hom := Isogenies.NeighborCounting.AffineProductRank.affine_finite k R |
| 36 | have : IsFinite (Isogenies.NeighborCounting.AffineProductRank.affine k T).hom := Isogenies.NeighborCounting.AffineProductRank.affine_finite k T |
| 37 | have : IsFinite (Isogenies.NeighborCounting.AffineProductRank.affine k R ⊗ Isogenies.NeighborCounting.AffineProductRank.affine k T).hom := |
| 38 | inferInstanceAs (IsFinite (Limits.pullback.fst (Isogenies.NeighborCounting.AffineProductRank.affine k R).hom (Isogenies.NeighborCounting.AffineProductRank.affine k T).hom ≫ |
| 39 | (Isogenies.NeighborCounting.AffineProductRank.affine k R).hom)) |
| 40 | calc |
| 41 | (G.X ⊗ H.X).hom.finrank z = (Isogenies.NeighborCounting.AffineProductRank.affine k R ⊗ Isogenies.NeighborCounting.AffineProductRank.affine k T).hom.finrank z := |
| 42 | AbelianScheme.CartierDuality.Rank.Construction.Schemes.overIso_finrank ij z |
| 43 | _ = Module.finrank k R * Module.finrank k T := Isogenies.NeighborCounting.AffineProductRank.affine_product_rank k R T z |
| 44 | _ = G.X.hom.finrank z * H.X.hom.finrank z := |
| 45 | congrArg₂ (· * ·) ((Isogenies.NeighborCounting.AffineProductRank.affine_rank k R z).symm.trans (AbelianScheme.CartierDuality.Rank.Construction.Schemes.overIso_finrank i z)) |
| 46 | ((Isogenies.NeighborCounting.AffineProductRank.affine_rank k T z).symm.trans (AbelianScheme.CartierDuality.Rank.Construction.Schemes.overIso_finrank j z)) |
| 47 | |
| 48 | theorem connected_times_points [IsAlgClosed k] |
| 49 | (G : Grp (Over (Spec (.of k)))) [IsCommMonObj G.X] [IsFinite G.X.hom] |
| 50 | (z : Spec (.of k)) : |
| 51 | (GroupDecomposition.CM.neutralPart G).X.hom.finrank z * Nat.card (Over.mk (𝟙 (Spec (.of k))) ⟶ G.X) = |
| 52 | G.X.hom.finrank z := by |
| 53 | let : IsFinite (GroupDecomposition.CM.neutralPart G).X.hom := NeutralGroup.CM.neutral_finite G |
| 54 | let : IsFinite (GroupDecomposition.CM.pointGroup G).X.hom := NeutralGroup.CM.pointGroup_finite G |
| 55 | let : IsCommMonObj (GroupDecomposition.CM.neutralPart G).X := |
| 56 | Picard.PoincareBundle.Kernel.Scheme.kernelGroup_commutative |
| 57 | (GroupRetraction.CM.componentMap G) |
| 58 | let : IsCommMonObj (GroupDecomposition.CM.pointGroup G).X := by |
| 59 | change IsCommMonObj (AbelianScheme.FrobeniusKernel.EtaleSubgroups.Construction.etaleGroupScheme (Spec (.of k)) |
| 60 | (Over.mk (𝟙 (Spec (.of k))) ⟶ G.X)).X |
| 61 | infer_instance |
| 62 | let : Finite (Over.mk (𝟙 (Spec (.of k))) ⟶ G.X) := Picard.Homomorphisms.FiniteGeometricPoints.Construction.finite_overPoints G.X (𝟙 _) |
| 63 | have hp : (GroupDecomposition.CM.pointGroup G).X.hom.finrank z = Nat.card (Over.mk (𝟙 (Spec (.of k))) ⟶ G.X) := |
| 64 | RepresentationTheory.Theta.Geometric.ConstantSchemeDegree.constantScheme_finrank k _ z |
| 65 | let d : (GroupDecomposition.CM.neutralPart G).X ⊗ (GroupDecomposition.CM.pointGroup G).X ≅ G.X := |
| 66 | (Grp.forget _).mapIso (GroupDecomposition.CM.decomposition G) |
| 67 | exact (congrArg ((GroupDecomposition.CM.neutralPart G).X.hom.finrank z * ·) hp.symm).trans |
| 68 | ((tensor_finrank (GroupDecomposition.CM.neutralPart G) (GroupDecomposition.CM.pointGroup G) z).symm.trans |
| 69 | (AbelianScheme.CartierDuality.Rank.Construction.Schemes.overIso_finrank d z)) |
| 70 | |
| 71 | end |
| 72 | |
| 73 | end OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Finite.GroupRank.CM |