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.PELModuli.IntegralModel.GeometricTorsionRank |
| 2 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.Finite.EtaleGeometricCardinality |
| 3 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.PrimeTorsionLabels |
| 4 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.TorsionDivision |
| 5 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Geometric.Splitting |
| 6 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Constant.GroupIsomorphisms |
| 7 | |
| 8 | /-! # Geometric Prime Level -/ |
| 9 | |
| 10 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.GeometricPrimeLevel |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | /-! Actual full ordered prime levels on geometric abelian schemes in |
| 15 | every characteristic where the prime is invertible. -/ |
| 16 | |
| 17 | set_option backward.isDefEq.respectTransparency false |
| 18 | set_option backward.isDefEq.respectTransparency.types false |
| 19 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 20 | open scoped _root_.CategoryTheory.MonObj |
| 21 | |
| 22 | variable {K : Type} [Field K] [IsAlgClosed K] {g : ℕ} |
| 23 | |
| 24 | def fieldConstantValuesEquiv (G : Type) [Group G] : G ≃* LocallyConstant (Spec (.of K)) G where |
| 25 | toFun := LocallyConstant.const _ |
| 26 | invFun f := f default |
| 27 | left_inv _ := rfl |
| 28 | right_inv f := by |
| 29 | apply LocallyConstant.ext |
| 30 | intro x |
| 31 | exact congrArg f (Subsingleton.elim default x) |
| 32 | map_mul' _ _ := rfl |
| 33 | |
| 34 | theorem fullLevel_of_prime_torsion_card (A : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g (Spec (.of K))) |
| 35 | (p : ℕ) [Fact p.Prime] [IsFinite (A.torsionScheme p).hom] [Etale (A.torsionScheme p).hom] |
| 36 | (hc : Nat.card (A.torsionPoints p (Over.mk (𝟙 (Spec (.of K))))) = p ^ (2 * g)) : |
| 37 | Nonempty (A.FullLevel p) := by |
| 38 | obtain ⟨G, hG, hfin, ⟨e⟩⟩ := AbelianModuli.ReferenceFamily.Geometric.Splitting.GeometricSplitting.exists_constant_groupIso (A.torsionScheme p) |
| 39 | let _ : Group G := hG |
| 40 | let _ : Finite G := hfin |
| 41 | let e' : AbelianModuli.HilbertConstruction.Constant.GroupMaps.constantGroupFunctor (Spec (.of K)) G ≅ A.torsionFunctor p := |
| 42 | e ≪≫ A.torsionSchemeYonedaIso p |
| 43 | let ep : G ≃* A.torsionPoints p (Over.mk (𝟙 (Spec (.of K)))) := |
| 44 | (fieldConstantValuesEquiv (K := K) G).trans |
| 45 | ((e'.app (op (Over.mk (𝟙 (Spec (.of K)))))).groupIsoToMulEquiv) |
| 46 | obtain ⟨ec⟩ := PrimeTorsionLabels.prime_torsion_label_equiv p (2 * g) |
| 47 | (A.torsionPoints p (Over.mk (𝟙 (Spec (.of K))))) (fun x => by |
| 48 | apply Subtype.ext |
| 49 | exact x.property) hc |
| 50 | exact ⟨AbelianModuli.HilbertConstruction.Constant.GroupIsomorphisms.constantGroupIsoOfLabels (LocallyConstant.const (Spec (.of K)) (ec.trans ep.symm)) ≪≫ e'⟩ |
| 51 | |
| 52 | theorem geometric_exists_prime_fullLevel (A : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g (Spec (.of K))) |
| 53 | (p : ℕ) [Fact p.Prime] |
| 54 | (hp : ∀ x : Spec (.of K), IsUnit (p : (Spec (.of K)).presheaf.stalk x)) : |
| 55 | Nonempty (A.FullLevel p) := by |
| 56 | obtain ⟨hf, he⟩ := TorsionDivision.torsionScheme_finite_etale A p hp |
| 57 | let _ : IsFinite (A.torsionScheme p).hom := hf |
| 58 | let _ : Etale (A.torsionScheme p).hom := he |
| 59 | apply fullLevel_of_prime_torsion_card A p |
| 60 | exact (Nat.card_congr (A.torsionSchemePointsEquiv p (Over.mk (𝟙 (Spec (.of K)))))).symm.trans |
| 61 | ((IntegralModel.Finite.EtaleGeometricCardinality.finiteEtale_geometric_point_card (A.torsionScheme p) default).trans |
| 62 | (GeometricTorsionRank.geometric_torsion_finrank A p (Fact.out : p.Prime).pos default)) |
| 63 | |
| 64 | end |
| 65 | |
| 66 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.GeometricPrimeLevel |