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.Picard.SourceKernelCartierEmbedding |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.CoprimeKernelCartierIso |
| 3 | import OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.Finite.GroupEmbeddingIso |
| 4 | import OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.Intrinsic.KernelCartierComparison |
| 5 | |
| 6 | /-! # Source Kernel Cartier Iso -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.Picard.SourceKernelCartierIso.Construction |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Full torsion self-annihilation makes the actual character embedding |
| 13 | an isomorphism, retaining its exact Picard recovery on every test scheme. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 16 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 17 | open scoped _root_.CategoryTheory.MonObj |
| 18 | |
| 19 | open OAI.AlgebraicGeometry.Picard.PoincareBundle.Line.Fibers OAI.AlgebraicGeometry.Picard.PoincareBundle.Line.Comparison.Bundle |
| 20 | |
| 21 | universe u |
| 22 | variable {k : Type u} [Field k] [IsAlgClosed k] |
| 23 | {B : Over (Spec (.of k))} [GrpObj B] [IsCommMonObj B] |
| 24 | [IsProper B.hom] [Smooth B.hom] [GeometricallyIntegral B.hom] |
| 25 | [IsLocallyNoetherian B.left] |
| 26 | (D : FormalGeometry.Completion.Rigidified.ProductLine.Construction.RigidifiedProductLine B B) |
| 27 | (βv : AbelianModuli.HilbertConstruction.Bilinear.Sheaves.SheafBilinearMap |
| 28 | (Picard.PoincareBundle.Line.Fibers.fiber (Picard.PoincareBundle.Line.Comparison.Bundle.fromShared D.bundle) (Picard.PoincareBundle.Vertical.ProductParameters.inputLeft B B)) |
| 29 | (Picard.PoincareBundle.Line.Fibers.fiber (Picard.PoincareBundle.Line.Comparison.Bundle.fromShared D.bundle) (Picard.PoincareBundle.Vertical.ProductParameters.inputRight B B)) |
| 30 | (Picard.PoincareBundle.Line.Fibers.fiber (Picard.PoincareBundle.Line.Comparison.Bundle.fromShared D.bundle) (Picard.PoincareBundle.Vertical.ProductParameters.outputPoint B B))) |
| 31 | (hβv : IsIso (Picard.PoincareBundle.Bilinear.BilinearPullback.toHom βv)) |
| 32 | (βh : AbelianModuli.HilbertConstruction.Bilinear.Sheaves.SheafBilinearMap |
| 33 | (Picard.PoincareBundle.Line.Fibers.fiber (Picard.PoincareBundle.Line.Comparison.Bundle.fromShared D.bundle) (Picard.PoincareBundle.Product.ParameterSchemes.inputLeft B B)) |
| 34 | (Picard.PoincareBundle.Line.Fibers.fiber (Picard.PoincareBundle.Line.Comparison.Bundle.fromShared D.bundle) (Picard.PoincareBundle.Product.ParameterSchemes.inputRight B B)) |
| 35 | (Picard.PoincareBundle.Line.Fibers.fiber (Picard.PoincareBundle.Line.Comparison.Bundle.fromShared D.bundle) (Picard.PoincareBundle.Product.ParameterSchemes.outputPoint B B))) |
| 36 | (hβh : IsIso (Picard.PoincareBundle.Bilinear.BilinearPullback.toHom βh)) |
| 37 | |
| 38 | variable {C : Over (Spec (.of k))} (q : B ⟶ C) |
| 39 | (i : uliftYoneda.{u + 1}.obj C ⟶ (Picard.Homomorphisms.UnbundledHomogeneous.Construction.UnbundledPicard.homogeneousPicardSheaf B).obj) |
| 40 | (hfac : uliftYoneda.map q ≫ i = ProductPicard.SheafMap.Construction.productNativePicardSheafMap (Picard.PoincareBundle.Line.Comparison.Bundle.fromShared D.bundle) βv hβv) |
| 41 | |
| 42 | variable [IsAffineHom (q ⊗ₘ 𝟙 B).left] [Flat (q ⊗ₘ 𝟙 B).left] |
| 43 | [Surjective (q ⊗ₘ 𝟙 B).left] [IsLocallyNoetherian (C ⊗ B).left] |
| 44 | [Flat q.left] [Surjective q.left] [LocallyOfFinitePresentation q.left] |
| 45 | |
| 46 | variable |
| 47 | {A : Over (Spec (.of k))} [GrpObj A] [IsCommMonObj A] |
| 48 | [Smooth A.hom] [IsProper A.hom] [GeometricallyIntegral A.hom] |
| 49 | (DA : Picard.Homomorphisms.UnbundledDualData.Construction.UnbundledPicard.DualData A) (f : A ⟶ B) [IsMonHom f] |
| 50 | [IsFinite f.left] [Flat f.left] [Surjective f.left] [LocallyOfFinitePresentation f.left] |
| 51 | local notation "Q" => OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.ProductPicard.ImageLine.Construction.rigidifiedProductPicardImageLine D βv hβv βh hβh q i hfac |
| 52 | |
| 53 | variable [GrpObj C] [IsMonHom q] [Mono i] |
| 54 | [IsMonHom (PicardImage.SourceMap.Construction.picardImageSourceMap DA f i)] |
| 55 | [IsFinite (PicardImage.SourceMap.Construction.picardImageSourceMap DA f i).left] |
| 56 | [Flat (PicardImage.SourceMap.Construction.picardImageSourceMap DA f i).left] |
| 57 | [LocallyOfFinitePresentation (PicardImage.SourceMap.Construction.picardImageSourceMap DA f i).left] |
| 58 | (Y : CartierDuality.GroupRepresentatives.Construction.Schemes.CharacterGroupRepresentation _ (Grp.mk (Picard.Homomorphisms.Kernel.Construction.kernelScheme f))) |
| 59 | |
| 60 | open OAI.AlgebraicGeometry.Picard.PoincareBundle.Kernel.Scheme |
| 61 | attribute [local instance] Picard.PoincareBundle.Kernel.Scheme.kernelGroup Picard.PoincareBundle.Kernel.Scheme.kernelGroup_commutative |
| 62 | |
| 63 | variable [IsCommMonObj C] [IsFinite q.left] |
| 64 | (φ : A ⟶ DA.abelian) [IsMonHom φ] |
| 65 | (n d : ℕ) (hnd : n.Coprime d) |
| 66 | (hsource : f ≫ q ≫ PicardImage.SourceMap.Construction.picardImageSourceMap DA f i = φ ^ n) |
| 67 | (hφ : ∀ (T : Over (Spec (.of k))) (x : T ⟶ A), x ≫ φ = 1 → x ^ d = 1) |
| 68 | (hf : ∀ (T : Over (Spec (.of k))) (x : T ⟶ A), x ≫ f = 1 → x ^ n = 1) |
| 69 | (eK : Picard.PoincareBundle.Kernel.Scheme.kernelObject φ ≅ Picard.PoincareBundle.Kernel.Scheme.kernelObject q) [IsMonHom eK.hom] |
| 70 | (heK : eK.hom ≫ Picard.PoincareBundle.Kernel.Scheme.kernelInclusion q = Picard.PoincareBundle.Kernel.Scheme.kernelInclusion φ ≫ f) |
| 71 | (b : Annihilator.Construction.SchemeBicharacter (A := Torsion.Groups.Construction.nativeTorsionScheme A n) (B := Torsion.Groups.Construction.nativeTorsionScheme A n) |
| 72 | (W := (CartierDuality.CharacterSheaf.Construction.Schemes.multiplicativeGroupOver (Spec (.of k))).X)) |
| 73 | (hb : b.toSheafPairing.IsPerfect) |
| 74 | (hlag : |
| 75 | let F := SubgroupTransport.Construction.relativeSubgroupPullback (Torsion.Groups.Construction.nativeTorsionInclusion A n) (Intrinsic.MorphismKernel.Construction.nativeMorphismKernel f) |
| 76 | b.relativeAnnihilator F = F) |
| 77 | |
| 78 | include D βv hβv βh hβh q hfac hnd hsource hφ hf eK heK b hb hlag in |
| 79 | set_option backward.isDefEq.respectTransparency false in |
| 80 | theorem picardImageSourceKernel_exists_cartier_iso : |
| 81 | ∃ c : Picard.Homomorphisms.Kernel.Construction.kernelScheme (PicardImage.SourceMap.Construction.picardImageSourceMap DA f i) ⟶ Y.dual.X, |
| 82 | IsIso c ∧ IsMonHom c ∧ |
| 83 | ∀ (T : Over (Spec (.of k))) (x : T ⟶ Picard.Homomorphisms.Kernel.Construction.kernelScheme (PicardImage.SourceMap.Construction.picardImageSourceMap DA f i)), |
| 84 | CartierDuality.ParameterizedCharacterProducts.Construction.KernelCharacters.parameterCharacterPicardHom f T (Y.sectionEquiv T (x ≫ c)) = |
| 85 | i.app (op T) (ULift.up (x ≫ Picard.Homomorphisms.Kernel.Construction.kernelInclusion (PicardImage.SourceMap.Construction.picardImageSourceMap DA f i))) := by |
| 86 | obtain ⟨c, hcmono, hcgroup, hcvalue⟩ := |
| 87 | SourceKernelCartierEmbedding.Construction.picardImageSourceKernel_exists_cartier_embedding D βv hβv βh hβh q i hfac DA f Y |
| 88 | have : Mono c := hcmono |
| 89 | have : IsMonHom c := hcgroup |
| 90 | have : IsCommMonObj Y.dual.X := Y.commutative |
| 91 | have : IsFinite Y.dual.X.hom := Y.finite |
| 92 | have : Flat Y.dual.X.hom := Y.flat |
| 93 | let sourceMap := PicardImage.SourceMap.Construction.picardImageSourceMap DA f i |
| 94 | have hK := Picard.Homomorphisms.Kernel.Construction.kernelScheme_finiteLocallyFree sourceMap |
| 95 | ⟨inferInstance, inferInstance, inferInstance⟩ |
| 96 | have : IsFinite (Picard.Homomorphisms.Kernel.Construction.kernelScheme sourceMap).hom := hK.1 |
| 97 | have : Flat (Picard.Homomorphisms.Kernel.Construction.kernelScheme sourceMap).hom := hK.2.1 |
| 98 | have hN := Intrinsic.KernelCartierComparison.Construction.categoricalKernel_finiteLocallyFree sourceMap |
| 99 | have : IsFinite (Picard.PoincareBundle.Kernel.Scheme.kernelObject sourceMap).hom := hN.1 |
| 100 | have : Flat (Picard.PoincareBundle.Kernel.Scheme.kernelObject sourceMap).hom := hN.2.1 |
| 101 | have : LocallyOfFinitePresentation (Picard.PoincareBundle.Kernel.Scheme.kernelObject sourceMap).hom := hN.2.2 |
| 102 | obtain ⟨es⟩ := CoprimeKernelCartierIso.Construction.coprimeKernel_cartierSheafIso f q sourceMap φ n d hnd hsource hφ hf eK heK b hb hlag |
| 103 | let en := Intrinsic.KernelCartierComparison.Construction.nativeKernelCartierIso f sourceMap Y es |
| 104 | let s : Spec (.of k) := ⟨⊥, Ideal.isPrime_bot⟩ |
| 105 | let cG : Grp.mk (Picard.Homomorphisms.Kernel.Construction.kernelScheme sourceMap) ⟶ Y.dual := Grp.homMk c |
| 106 | have : Mono cG.hom.hom := hcmono |
| 107 | have : IsIso cG := Finite.GroupEmbeddingIso.Construction.finiteGroup_mono_isIso_of_nonempty_iso _ _ cG ⟨en⟩ s |
| 108 | have : IsIso c := (Grp.forget _).map_isIso cG |
| 109 | exact ⟨c, inferInstance, hcgroup, hcvalue⟩ |
| 110 | |
| 111 | end |
| 112 | |
| 113 | end OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.Picard.SourceKernelCartierIso.Construction |