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.PoincareCocycle |
| 2 | |
| 3 | /-! # Poincare Family Compatibility -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Isogenies.NeighborCounting.PoincareFamilyCompatibility.Family |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The normalized Poincare comparison agrees on every pair of test |
| 10 | families with the same map to the dual base. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 13 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 14 | open scoped _root_.CategoryTheory.MonObj |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.PoincareLocal OAI.AlgebraicGeometry.Isogenies.NeighborCounting.PoincareNormalization OAI.AlgebraicGeometry.Isogenies.NeighborCounting.PoincareCocycle |
| 19 | open OAI.AlgebraicGeometry.Isogenies.NeighborCounting.FramedPullback OAI.AlgebraicGeometry.Isogenies.NeighborCounting.NormalizedZeroComparison OAI.AlgebraicGeometry.Isogenies.NeighborCounting.ModulePullbackHom |
| 20 | |
| 21 | variable {k : Type u} [Field k] [IsAlgClosed k] {a b : ℕ} |
| 22 | variable {A : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme a (Spec (.of k))} {B : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme b (Spec (.of k))} |
| 23 | variable (DA : AbelianModuli.HilbertConstruction.Dual.Data.DualAbelianData A) (DB : AbelianModuli.HilbertConstruction.Dual.Data.DualAbelianData B) |
| 24 | variable (f : A.scheme ⟶ B.scheme) [IsMonHom f] |
| 25 | |
| 26 | omit [IsAlgClosed k] in |
| 27 | theorem product_comp {T V : Over (Spec (.of k))} (t : T ⟶ DB.abelian.scheme) |
| 28 | (v : V ⟶ T) (p : V ⟶ DB.abelian.scheme) (h : v ≫ t = p) : |
| 29 | (v ▷ A.scheme).left ≫ (t ▷ A.scheme).left = (p ▷ A.scheme).left := |
| 30 | ((AbelianModuli.HilbertConstruction.Picard.PicardSheaf.familySchemeFunctor A.scheme).map_comp v t).symm.trans |
| 31 | (congrArg (AbelianModuli.HilbertConstruction.Picard.PicardSheaf.familySchemeFunctor A.scheme).map h) |
| 32 | |
| 33 | def commonRestriction {T V : Over (Spec (.of k))} (t : T ⟶ DB.abelian.scheme) |
| 34 | (ht : (PoincareLocal.poincareComparisonCover DA DB f).1 t) |
| 35 | (v : V ⟶ T) (p : V ⟶ DB.abelian.scheme) (h : v ≫ t = p) : |
| 36 | (PoincareNormalization.abelianLocalBundle DB f p).sheaf ≅ (PoincareNormalization.dualLocalBundle DA DB f p).sheaf := |
| 37 | FramedPullback.pullbackIsoTo (v ▷ A.scheme).left (t ▷ A.scheme).left (p ▷ A.scheme).left |
| 38 | (product_comp DB t v p h) (PoincareNormalization.normalizedPoincareLocalIso DA DB f t ht) |
| 39 | |
| 40 | omit [IsAlgClosed k] in |
| 41 | theorem commonRestriction_normalized {T V : Over (Spec (.of k))} (t : T ⟶ DB.abelian.scheme) |
| 42 | (ht : (PoincareLocal.poincareComparisonCover DA DB f).1 t) |
| 43 | (v : V ⟶ T) (p : V ⟶ DB.abelian.scheme) (h : v ≫ t = p) : |
| 44 | NormalizationRestriction.IsNormalized (F := ModulePullbackHom.modulePullbackFunctor) |
| 45 | (PoincareNormalization.familyZero A DB.abelian.scheme).left p.left (p ▷ A.scheme).left (PoincareNormalization.familyZero A V).left |
| 46 | (congrArg Over.Hom.left (PoincareNormalization.familyZero_naturality A p)) |
| 47 | (commonRestriction DA DB f t ht v p h).hom (PoincareCocycle.globalZeroComparison DA DB f) := |
| 48 | NormalizedZeroComparison.intrinsic_normalization_restrict_iso |
| 49 | (M := (PoincareCocycle.abelianGlobalBundle DB f).sheaf) (N := (PoincareCocycle.dualGlobalBundle DA DB f).sheaf) |
| 50 | (t ▷ A.scheme).left (PoincareNormalization.familyZero A DB.abelian.scheme).left (PoincareNormalization.familyZero A T).left t.left |
| 51 | (congrArg Over.Hom.left (PoincareNormalization.familyZero_naturality A t)) |
| 52 | (PoincareNormalization.normalizedPoincareLocalIso DA DB f t ht) (PoincareCocycle.globalZeroComparison DA DB f) |
| 53 | (PoincareCocycle.poincareLocal_intrinsic DA DB f t ht) |
| 54 | (v ▷ A.scheme).left v.left p.left (p ▷ A.scheme).left (PoincareNormalization.familyZero A V).left |
| 55 | (congrArg Over.Hom.left h) (product_comp DB t v p h) |
| 56 | (congrArg Over.Hom.left (PoincareNormalization.familyZero_naturality A v)) |
| 57 | (congrArg Over.Hom.left (PoincareNormalization.familyZero_naturality A p)) |
| 58 | |
| 59 | theorem commonRestrictions_eq {T V : Over (Spec (.of k))} (t : T ⟶ DB.abelian.scheme) |
| 60 | (ht : (PoincareLocal.poincareComparisonCover DA DB f).1 t) |
| 61 | (x y : V ⟶ T) (p : V ⟶ DB.abelian.scheme) (hx : x ≫ t = p) (hy : y ≫ t = p) : |
| 62 | commonRestriction DA DB f t ht x p hx = commonRestriction DA DB f t ht y p hy := by |
| 63 | have : IsIntegral A.scheme.left := |
| 64 | AbelianScheme.HomExtensionLocalRings.LocalRings.integral_of_smooth_proper_connected A.scheme.hom |
| 65 | have hΓ : IsIso ((fst V A.scheme).left.appTop) := ArithmeticGeometry.OrdinaryLocus.Openness.UniversalGlobalSections.Construction.isIso_properBaseChange_app V A.scheme ⊤ |
| 66 | exact NormalizedZeroComparison.iso_eq_of_intrinsic_normalization (p ▷ A.scheme).left |
| 67 | (PoincareNormalization.familyZero A DB.abelian.scheme).left (PoincareNormalization.familyZero A V).left p.left |
| 68 | (congrArg Over.Hom.left (PoincareNormalization.familyZero_naturality A p)) |
| 69 | (fst V A.scheme).left (PoincareNormalization.familyZero_projection A V) |
| 70 | (ConcreteCategory.bijective_of_isIso ((fst V A.scheme).left.appTop)).surjective |
| 71 | (PoincareNormalization.abelianLocalBundle DB f p).locallyTrivial _ _ (PoincareCocycle.globalZeroComparison DA DB f) |
| 72 | (commonRestriction_normalized DA DB f t ht x p hx) |
| 73 | (commonRestriction_normalized DA DB f t ht y p hy) |
| 74 | |
| 75 | theorem poincareFamily_compatible {T V : Over (Spec (.of k))} (t : T ⟶ DB.abelian.scheme) |
| 76 | (ht : (PoincareLocal.poincareComparisonCover DA DB f).1 t) |
| 77 | (x y : V ⟶ T) (p : V ⟶ DB.abelian.scheme) (hx : x ≫ t = p) (hy : y ≫ t = p) : |
| 78 | FramedPullback.pullbackHomTo (x ▷ A.scheme).left (t ▷ A.scheme).left (p ▷ A.scheme).left |
| 79 | (product_comp DB t x p hx) (PoincareNormalization.normalizedPoincareLocalIso DA DB f t ht).hom = |
| 80 | FramedPullback.pullbackHomTo (y ▷ A.scheme).left (t ▷ A.scheme).left (p ▷ A.scheme).left |
| 81 | (product_comp DB t y p hy) (PoincareNormalization.normalizedPoincareLocalIso DA DB f t ht).hom := by |
| 82 | exact (FramedPullback.pullbackIsoTo_hom (x ▷ A.scheme).left (t ▷ A.scheme).left (p ▷ A.scheme).left |
| 83 | (product_comp DB t x p hx) (PoincareNormalization.normalizedPoincareLocalIso DA DB f t ht)).symm.trans |
| 84 | ((congrArg Iso.hom (commonRestrictions_eq DA DB f t ht x y p hx hy)).trans |
| 85 | (FramedPullback.pullbackIsoTo_hom (y ▷ A.scheme).left (t ▷ A.scheme).left (p ▷ A.scheme).left |
| 86 | (product_comp DB t y p hy) (PoincareNormalization.normalizedPoincareLocalIso DA DB f t ht))) |
| 87 | |
| 88 | end |
| 89 | |
| 90 | end OAI.AlgebraicGeometry.Isogenies.NeighborCounting.PoincareFamilyCompatibility.Family |