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.HodgeConjecture.HeckeCycles.Intrinsic.Detection |
| 2 | import OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Finite.FieldFrobenius |
| 3 | import OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.ProductBaseChange |
| 4 | |
| 5 | /-! # Frobenius -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Intrinsic.Frobenius.CM |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The actual prime-field Albanese, its faithful geometric action, |
| 12 | and its q-power Frobenius on the very group used for ordinary detection. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | open scoped _root_.CategoryTheory.MonObj |
| 16 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.GroupBaseChange.CM OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.ProductBaseChange.CM |
| 17 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Intrinsic.Detection.CM OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Finite.FieldFrobenius.CM |
| 18 | |
| 19 | variable {E K : Type} [Field E] [NumberField E] [Algebra ℚ E] |
| 20 | [NumberField.IsCMField E] [Field K] [NumberField K] |
| 21 | {M : PELModuli.CMPoints.Models.RankThreePELModel E K} {q : ℕ} [Fact q.Prime] |
| 22 | {j : M.QadicChoice q} (R : M.GoodIntegralReduction q j) (a : M.Family) |
| 23 | |
| 24 | def residueExtension : ZMod q →+* Detection.CM.residueClosure (q := q) := |
| 25 | algebraMap (ZMod q) (Detection.CM.residueClosure (q := q)) |
| 26 | |
| 27 | abbrev residueExtensionBase : Spec (.of (Detection.CM.residueClosure (q := q))) ⟶ Spec (.of (ZMod q)) := |
| 28 | Spec.map (CommRingCat.ofHom (residueExtension (q := q))) |
| 29 | |
| 30 | theorem geometricBase_factor : |
| 31 | residueExtensionBase (q := q) ≫ R.specialBase = R.geometricBase := by |
| 32 | change Spec.map (CommRingCat.ofHom (residueExtension (q := q))) ≫ |
| 33 | Spec.map (CommRingCat.ofHom R.residue) = |
| 34 | Spec.map (CommRingCat.ofHom ((algebraMap (ZMod q) (Detection.CM.residueClosure (q := q))).comp R.residue)) |
| 35 | rw [← Spec.map_comp] |
| 36 | rfl |
| 37 | |
| 38 | def specialAlbanese : CommGrp (Over (Spec (.of (ZMod q)))) := |
| 39 | GroupBaseChange.CM.changedGroup (AbelianScheme.TateComparison.Products.componentProduct (M.components a).A) R.specialBase |
| 40 | |
| 41 | def geometricAssociativity : |
| 42 | (GroupBaseChange.CM.changedGroup (AbelianScheme.TateComparison.Products.componentProduct (M.components a).A) R.geometricBase).toGrp ≅ |
| 43 | (GroupBaseChange.CM.changedGroup (specialAlbanese R a) (residueExtensionBase (q := q))).toGrp := |
| 44 | GroupBaseChange.CM.factorGroupIso (AbelianScheme.TateComparison.Products.componentProduct (M.components a).A) |
| 45 | (residueExtensionBase (q := q)) R.specialBase R.geometricBase (geometricBase_factor R) |
| 46 | |
| 47 | def geometricProductIdentification : |
| 48 | (GroupBaseChange.CM.changedGroup (AbelianScheme.TateComparison.Products.componentProduct (M.components a).A) R.geometricBase).toGrp ≅ |
| 49 | (Detection.CM.geometricAlbanese R a).toGrp := |
| 50 | ProductBaseChange.CM.productBaseChangeGroupIso (M.components a).A R.geometricBase |
| 51 | |
| 52 | def geometricIdentificationGroup : |
| 53 | (GroupBaseChange.CM.changedGroup (specialAlbanese R a) (residueExtensionBase (q := q))).toGrp ≅ |
| 54 | (Detection.CM.geometricAlbanese R a).toGrp := |
| 55 | (geometricAssociativity R a).symm ≪≫ geometricProductIdentification R a |
| 56 | |
| 57 | def geometricIdentification : |
| 58 | (GroupBaseChange.CM.changedGroup (specialAlbanese R a) (residueExtensionBase (q := q))).X ≅ |
| 59 | (Detection.CM.geometricAlbanese R a).X := |
| 60 | (Grp.forget _).mapIso (geometricIdentificationGroup R a) |
| 61 | |
| 62 | theorem geometricIdentification_group : IsMonHom (geometricIdentification R a).hom := |
| 63 | (geometricIdentificationGroup R a).hom.hom.isMonHom_hom |
| 64 | |
| 65 | def specialEndEmbedding : |
| 66 | {ρ : AbelianScheme.TateComparison.End.IntegralEnd (specialAlbanese R a).X →+* AbelianScheme.TateComparison.End.IntegralEnd (Detection.CM.geometricAlbanese R a).X // |
| 67 | Function.Injective ρ} := |
| 68 | Finite.FieldFrobenius.CM.GroupEndAction.embedding (specialAlbanese R a) (residueExtension (q := q)) |
| 69 | (Detection.CM.geometricAlbanese R a) (geometricIdentificationGroup R a) |
| 70 | |
| 71 | def specialEndToGeometric : |
| 72 | AbelianScheme.TateComparison.End.IntegralEnd (specialAlbanese R a).X →+* AbelianScheme.TateComparison.End.IntegralEnd (Detection.CM.geometricAlbanese R a).X := |
| 73 | (specialEndEmbedding R a).val |
| 74 | |
| 75 | theorem specialEndToGeometric_injective : Function.Injective (specialEndToGeometric R a) := |
| 76 | (specialEndEmbedding R a).property |
| 77 | |
| 78 | def nativeFrobenius : AbelianScheme.TateComparison.End.IntegralEnd (Detection.CM.geometricAlbanese R a).X := |
| 79 | specialEndToGeometric R a (Finite.FieldFrobenius.CM.integralFrobenius (specialAlbanese R a)) |
| 80 | |
| 81 | end |
| 82 | |
| 83 | end OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.Intrinsic.Frobenius.CM |