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.AbelianScheme.IsogenyQuotient.Canonical.PicardImageSourceMap |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.Intrinsic.IsotropicPicardDual |
| 3 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.AbelianGeometric |
| 4 | import OAI.AlgebraicGeometry.Picard.PoincareBundle.Product.Noetherian |
| 5 | import OAI.AlgebraicGeometry.Picard.PoincareBundle.TypedKernelAnnihilator |
| 6 | |
| 7 | /-! # Picard Image Dual Data -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.Canonical.PicardImageDualData.Construction |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | section |
| 14 | |
| 15 | /-! The original polarization and its full canonical self-annihilating |
| 16 | quotient kernel make the constructed Picard image the entire quotient dual. -/ |
| 17 | |
| 18 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 19 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 20 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj BigOperators |
| 21 | |
| 22 | open OAI.AlgebraicGeometry.Picard.PoincareBundle.Line.Comparison.Bundle OAI.AlgebraicGeometry.Picard.PoincareBundle.Poincare.TransverseFrames |
| 23 | |
| 24 | variable {S : Scheme} {g : ℕ} {A : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g S} |
| 25 | (D : AbelianModuli.HilbertConstruction.Dual.Data.DualAbelianData A) {δ : Fin g → ℕ} (pol : AbelianModuli.HilbertConstruction.PolarizationData.Polarization D δ) |
| 26 | (k : Type) [Field k] [IsAlgClosed k] (s : Spec (.of k) ⟶ S) (n : ℕ) (hn : 0 < n) |
| 27 | {B : Over (Spec (.of k))} [GrpObj B] (f : (A.pullback s).scheme ⟶ B) [IsMonHom f] |
| 28 | (hker : ∀ (T : Over (Spec (.of k))) (x : T ⟶ (A.pullback s).scheme), x ≫ f = 1 → x ^ n = 1) |
| 29 | (hlag : |
| 30 | let F := SubgroupTransport.Construction.relativeSubgroupPullback (Torsion.Groups.Construction.nativeTorsionInclusion (A.pullback s).scheme n) (Intrinsic.MorphismKernel.Construction.nativeMorphismKernel f) |
| 31 | (IsogenyQuotient.Field.PolarizationAdapter.Construction.fieldNativePolarizationPairing (A.pullback s) (D.pullback s) (pol.pullback s) n hn).relativeAnnihilator F = F) |
| 32 | |
| 33 | variable [IsFinite f.left] [Flat f.left] [Surjective f.left] |
| 34 | [IsLocallyNoetherian (B ⊗ B).left] [IsLocallyNoetherian (B ⊗ (B ⊗ B)).left] |
| 35 | |
| 36 | variable {C : Over (Spec (.of k))} [GrpObj C] (q : B ⟶ C) [IsMonHom q] |
| 37 | (i : uliftYoneda.{1}.obj C ⟶ (Picard.Homomorphisms.UnbundledHomogeneous.Construction.UnbundledPicard.homogeneousPicardSheaf B).obj) |
| 38 | (hfac : uliftYoneda.map q ≫ i = PicardSheaf.Construction.geometricCanonicalQuotientPicardSheafMap D pol k s n hn f hker hlag) |
| 39 | |
| 40 | variable [IsLocallyNoetherian ((B ⊗ B) ⊗ B).left] |
| 41 | [LocallyOfFinitePresentation f.left] |
| 42 | [IsCommMonObj B] [IsProper B.hom] [Smooth B.hom] [GeometricallyConnected B.hom] |
| 43 | [IsCommMonObj C] [IsProper C.hom] [Smooth C.hom] [GeometricallyConnected C.hom] |
| 44 | [IsFinite q.left] [Flat q.left] [Surjective q.left] [LocallyOfFinitePresentation q.left] |
| 45 | [Mono i] |
| 46 | |
| 47 | attribute [local instance] Picard.PoincareBundle.Product.Covers.tensorAffine Picard.PoincareBundle.Product.Covers.tensorFlat Picard.PoincareBundle.Product.Covers.tensorSurjective |
| 48 | |
| 49 | include hfac in |
| 50 | set_option backward.isDefEq.respectTransparency false in |
| 51 | theorem geometricCanonicalPicardImage_isIso (hc : Nat.Coprime n ((∏ j, δ j) ^ 2)) : IsIso i := by |
| 52 | let DA := Picard.Homomorphisms.UnbundledDualData.Construction.UnbundledPicard.DualData.ofBundled (D.pullback s) |
| 53 | let ell : (A.pullback s).scheme ⟶ DA.abelian := Geometric.PoincareSymmetry.Construction.geometricPolarizationMap D pol k s |
| 54 | have : IsMonHom ell := (pol.isogeny.pullback s).preservesGroup |
| 55 | have : GeometricallyIntegral (A.pullback s).scheme.hom := |
| 56 | Quotients.FiniteDescent.AbelianGeometric.Construction.AbelianGeometricIntegral.geometricallyIntegral (A.pullback s).scheme |
| 57 | have : GeometricallyIntegral B.hom := Quotients.FiniteDescent.AbelianGeometric.Construction.AbelianGeometricIntegral.geometricallyIntegral B |
| 58 | have : IsLocallyNoetherian B.left := LocallyOfFiniteType.isLocallyNoetherian B.hom |
| 59 | have : IsLocallyNoetherian DA.abelian.left := LocallyOfFiniteType.isLocallyNoetherian DA.abelian.hom |
| 60 | have : IsLocallyNoetherian (C ⊗ B).left := Picard.PoincareBundle.Product.Noetherian.product_noetherian C B |
| 61 | let sourceMap := PicardImage.SourceMap.Construction.picardImageSourceMap DA f i |
| 62 | have : IsMonHom sourceMap := PicardImage.SourceMap.Construction.picardImageSourceMap_isMonHom DA f i |
| 63 | (PicardImageSourceMap.Construction.geometricCanonicalPicardImage_origin D pol k s n hn f hker hlag q i hfac) |
| 64 | have hs := PicardImageSourceMap.Construction.geometricCanonicalPicardImageSourceMap_geometry D pol k s n hn f hker hlag q i hfac |
| 65 | have : IsFinite sourceMap.left := hs.1 |
| 66 | have : Flat sourceMap.left := hs.2.1 |
| 67 | have : Surjective sourceMap.left := hs.2.2 |
| 68 | have : LocallyOfFinitePresentation sourceMap.left := inferInstance |
| 69 | exact Intrinsic.IsotropicPicardDual.Construction.nativeIsotropicPicardImage_isIso DA ell (Reference.PoincareLine.Construction.originalPoincarePoincareBundleLine (D.pullback s)) |
| 70 | (Reference.PoincareMultiplications.Construction.originalPoincareHorizontalMultiplication (D.pullback s)) |
| 71 | (Reference.PoincareMultiplications.Construction.originalPoincareVerticalMultiplication (D.pullback s)) n |
| 72 | (Geometric.PoincareSymmetry.Construction.geometricPoincareMultipleSymmetry D pol k s n) |
| 73 | (Geometric.PoincareLine.Construction.geometricPoincareMultiplications_symmetry_vertical D pol k s n) |
| 74 | (Reference.PoincareInterchange.Construction.originalPoincareMultiplications_interchange (D.pullback s)) |
| 75 | (Geometric.PoincareLine.Construction.geometricPoincareMultiplications_symmetry_horizontal D pol k s n) f hker |
| 76 | (QuotientDiagonal.Construction.canonicalKernel_poincare_selfAnnihilating D pol k s n hn f hlag) q i hfac |
| 77 | ((∏ j, δ j) ^ 2) hc |
| 78 | (PicardImageSourceMap.Construction.geometricCanonicalPicardImageSourceMap_factorization D pol k s n hn f hker hlag q i hfac) |
| 79 | (Picard.PoincareBundle.TypedKernelAnnihilator.killed_by_type_degree (pol.isogeny.pullback s) δ (pol.pullback s).kernelType) |
| 80 | (Geometric.CanonicalPoincarePairing.Construction.geometricPoincarePairing_isPerfect_of_coprime D pol k s n hn hc) |
| 81 | |
| 82 | end |
| 83 | |
| 84 | /-! The canonical isotropic quotient has full dual data, with the actual |
| 85 | Picard image as its abelian scheme and its descended line as the Poincare bundle. -/ |
| 86 | |
| 87 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 88 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 89 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj BigOperators |
| 90 | |
| 91 | open OAI.AlgebraicGeometry.Picard.PoincareBundle.Line.Comparison.Bundle OAI.AlgebraicGeometry.Picard.PoincareBundle.Poincare.TransverseFrames |
| 92 | |
| 93 | variable {S : Scheme} {g : ℕ} {A : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g S} |
| 94 | (D : AbelianModuli.HilbertConstruction.Dual.Data.DualAbelianData A) {δ : Fin g → ℕ} (pol : AbelianModuli.HilbertConstruction.PolarizationData.Polarization D δ) |
| 95 | (k : Type) [Field k] [IsAlgClosed k] (s : Spec (.of k) ⟶ S) (n : ℕ) (hn : 0 < n) |
| 96 | {B : Over (Spec (.of k))} [GrpObj B] (f : (A.pullback s).scheme ⟶ B) [IsMonHom f] |
| 97 | (hker : ∀ (T : Over (Spec (.of k))) (x : T ⟶ (A.pullback s).scheme), x ≫ f = 1 → x ^ n = 1) |
| 98 | (hlag : |
| 99 | let F := SubgroupTransport.Construction.relativeSubgroupPullback (Torsion.Groups.Construction.nativeTorsionInclusion (A.pullback s).scheme n) (Intrinsic.MorphismKernel.Construction.nativeMorphismKernel f) |
| 100 | (IsogenyQuotient.Field.PolarizationAdapter.Construction.fieldNativePolarizationPairing (A.pullback s) (D.pullback s) (pol.pullback s) n hn).relativeAnnihilator F = F) |
| 101 | |
| 102 | variable [IsFinite f.left] [Flat f.left] [Surjective f.left] |
| 103 | [IsLocallyNoetherian (B ⊗ B).left] [IsLocallyNoetherian (B ⊗ (B ⊗ B)).left] |
| 104 | |
| 105 | variable {C : Over (Spec (.of k))} [GrpObj C] (q : B ⟶ C) [IsMonHom q] |
| 106 | (i : uliftYoneda.{1}.obj C ⟶ (Picard.Homomorphisms.UnbundledHomogeneous.Construction.UnbundledPicard.homogeneousPicardSheaf B).obj) |
| 107 | (hfac : uliftYoneda.map q ≫ i = PicardSheaf.Construction.geometricCanonicalQuotientPicardSheafMap D pol k s n hn f hker hlag) |
| 108 | |
| 109 | variable [IsLocallyNoetherian ((B ⊗ B) ⊗ B).left] |
| 110 | [LocallyOfFinitePresentation f.left] |
| 111 | [IsCommMonObj B] [IsProper B.hom] [Smooth B.hom] [GeometricallyConnected B.hom] |
| 112 | [IsCommMonObj C] [IsProper C.hom] [Smooth C.hom] [GeometricallyConnected C.hom] |
| 113 | [IsFinite q.left] [Flat q.left] [Surjective q.left] [LocallyOfFinitePresentation q.left] |
| 114 | [Mono i] |
| 115 | |
| 116 | attribute [local instance] Picard.PoincareBundle.Product.Covers.tensorAffine Picard.PoincareBundle.Product.Covers.tensorFlat Picard.PoincareBundle.Product.Covers.tensorSurjective |
| 117 | |
| 118 | include hfac in |
| 119 | set_option backward.isDefEq.respectTransparency false in |
| 120 | def geometricCanonicalPicardImageDualData (hc : Nat.Coprime n ((∏ j, δ j) ^ 2)) : |
| 121 | Picard.Homomorphisms.UnbundledDualData.Construction.UnbundledPicard.DualData B := by |
| 122 | let DA := Picard.Homomorphisms.UnbundledDualData.Construction.UnbundledPicard.DualData.ofBundled (D.pullback s) |
| 123 | let ell : (A.pullback s).scheme ⟶ DA.abelian := Geometric.PoincareSymmetry.Construction.geometricPolarizationMap D pol k s |
| 124 | have : IsMonHom ell := (pol.isogeny.pullback s).preservesGroup |
| 125 | have : GeometricallyIntegral (A.pullback s).scheme.hom := |
| 126 | Quotients.FiniteDescent.AbelianGeometric.Construction.AbelianGeometricIntegral.geometricallyIntegral (A.pullback s).scheme |
| 127 | have : GeometricallyIntegral B.hom := Quotients.FiniteDescent.AbelianGeometric.Construction.AbelianGeometricIntegral.geometricallyIntegral B |
| 128 | have : IsLocallyNoetherian B.left := LocallyOfFiniteType.isLocallyNoetherian B.hom |
| 129 | have : IsLocallyNoetherian DA.abelian.left := LocallyOfFiniteType.isLocallyNoetherian DA.abelian.hom |
| 130 | have : IsLocallyNoetherian (C ⊗ B).left := Picard.PoincareBundle.Product.Noetherian.product_noetherian C B |
| 131 | let sourceMap := PicardImage.SourceMap.Construction.picardImageSourceMap DA f i |
| 132 | have : IsMonHom sourceMap := PicardImage.SourceMap.Construction.picardImageSourceMap_isMonHom DA f i |
| 133 | (PicardImageSourceMap.Construction.geometricCanonicalPicardImage_origin D pol k s n hn f hker hlag q i hfac) |
| 134 | have hs := PicardImageSourceMap.Construction.geometricCanonicalPicardImageSourceMap_geometry D pol k s n hn f hker hlag q i hfac |
| 135 | have : IsFinite sourceMap.left := hs.1 |
| 136 | have : Flat sourceMap.left := hs.2.1 |
| 137 | have : Surjective sourceMap.left := hs.2.2 |
| 138 | have : LocallyOfFinitePresentation sourceMap.left := inferInstance |
| 139 | exact Intrinsic.IsotropicPicardDual.Construction.nativeIsotropicPicardImageDualData DA ell (Reference.PoincareLine.Construction.originalPoincarePoincareBundleLine (D.pullback s)) |
| 140 | (Reference.PoincareMultiplications.Construction.originalPoincareHorizontalMultiplication (D.pullback s)) |
| 141 | (Reference.PoincareMultiplications.Construction.originalPoincareVerticalMultiplication (D.pullback s)) n |
| 142 | (Geometric.PoincareSymmetry.Construction.geometricPoincareMultipleSymmetry D pol k s n) |
| 143 | (Geometric.PoincareLine.Construction.geometricPoincareMultiplications_symmetry_vertical D pol k s n) |
| 144 | (Reference.PoincareInterchange.Construction.originalPoincareMultiplications_interchange (D.pullback s)) |
| 145 | (Geometric.PoincareLine.Construction.geometricPoincareMultiplications_symmetry_horizontal D pol k s n) f hker |
| 146 | (QuotientDiagonal.Construction.canonicalKernel_poincare_selfAnnihilating D pol k s n hn f hlag) q i hfac |
| 147 | ((∏ j, δ j) ^ 2) hc |
| 148 | (PicardImageSourceMap.Construction.geometricCanonicalPicardImageSourceMap_factorization D pol k s n hn f hker hlag q i hfac) |
| 149 | (Picard.PoincareBundle.TypedKernelAnnihilator.killed_by_type_degree (pol.isogeny.pullback s) δ (pol.pullback s).kernelType) |
| 150 | (Geometric.CanonicalPoincarePairing.Construction.geometricPoincarePairing_isPerfect_of_coprime D pol k s n hn hc) |
| 151 | |
| 152 | theorem geometricCanonicalPicardImageDualData_abelian |
| 153 | (hc : Nat.Coprime n ((∏ j, δ j) ^ 2)) : |
| 154 | (geometricCanonicalPicardImageDualData D pol k s n hn f hker hlag q i hfac hc).abelian = C := rfl |
| 155 | |
| 156 | theorem geometricCanonicalPicardImageDualData_value |
| 157 | (hc : Nat.Coprime n ((∏ j, δ j) ^ 2)) (T : Over (Spec (.of k))) (x : T ⟶ C) : |
| 158 | (geometricCanonicalPicardImageDualData D pol k s n hn f hker hlag q i hfac hc).representable.homEquiv x = |
| 159 | i.app (.op T) (ULift.up x) := rfl |
| 160 | |
| 161 | end |
| 162 | |
| 163 | end OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.Canonical.PicardImageDualData.Construction |