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.FrobeniusKernel.FamilyPicardCharacters |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.CoverDenseSurjectivity |
| 3 | |
| 4 | /-! # Picard -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.Picard |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The actual kernel-character map is locally bijective onto the raw |
| 11 | homogeneous Picard pullback kernel on the full fppf site. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 15 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 16 | |
| 17 | attribute [local instance] Over.cartesianMonoidalCategory |
| 18 | |
| 19 | namespace Construction |
| 20 | |
| 21 | universe u |
| 22 | |
| 23 | variable {S : Scheme.{u}} {A B : Over S} [GrpObj A] [GrpObj B] |
| 24 | variable (f : A ⟶ B) [IsMonHom f] |
| 25 | |
| 26 | def rawPicardKernel : (Over S)ᵒᵖ ⥤ Type (u + 1) where |
| 27 | obj T := {c : (Picard.Homomorphisms.UnbundledHomogeneous.Construction.UnbundledPicard.homogeneousPicardPresheaf B).obj T // |
| 28 | (Picard.Homomorphisms.UnbundledHomogeneousPullback.Construction.UnbundledPicard.homogeneousPicardPullbackPresheaf A B f).app T c = 1} |
| 29 | map t := TypeCat.ofHom fun c => ⟨(Picard.Homomorphisms.UnbundledHomogeneous.Construction.UnbundledPicard.homogeneousPicardPresheaf B).map t c.val, by |
| 30 | have hn := (Picard.Homomorphisms.UnbundledHomogeneousPullback.Construction.UnbundledPicard.homogeneousPicardPullbackPresheaf A B f).naturality_apply t c.val |
| 31 | exact hn.trans ((congrArg ((Picard.Homomorphisms.UnbundledHomogeneous.Construction.UnbundledPicard.homogeneousPicardPresheaf A).map t) c.property).trans |
| 32 | ((Picard.Homomorphisms.UnbundledGroup.Construction.UnbundledPicard.homogeneousPicardGroupPresheaf A).map t).hom.map_one)⟩ |
| 33 | map_id T := by |
| 34 | apply ConcreteCategory.hom_ext |
| 35 | intro c |
| 36 | apply Subtype.ext |
| 37 | exact (Picard.Homomorphisms.UnbundledHomogeneous.Construction.UnbundledPicard.homogeneousPicardPresheaf B).map_id_apply T c.val |
| 38 | map_comp t v := by |
| 39 | apply ConcreteCategory.hom_ext |
| 40 | intro c |
| 41 | apply Subtype.ext |
| 42 | exact (Picard.Homomorphisms.UnbundledHomogeneous.Construction.UnbundledPicard.homogeneousPicardPresheaf B).map_comp_apply t v c.val |
| 43 | |
| 44 | def rawPicardKernelInclusion : rawPicardKernel f ⟶ Picard.Homomorphisms.UnbundledHomogeneous.Construction.UnbundledPicard.homogeneousPicardPresheaf B where |
| 45 | app _T := TypeCat.ofHom Subtype.val |
| 46 | naturality {_T _U} _t := rfl |
| 47 | |
| 48 | variable [IsAffineHom f.left] [Flat f.left] [Surjective f.left] |
| 49 | [LocallyOfFinitePresentation f.left] |
| 50 | |
| 51 | def characterToRawPicardKernel : (CartierDuality.CharacterSheaf.Construction.Schemes.characterSheaf S (Grp.mk (Picard.Homomorphisms.Kernel.Construction.kernelScheme f))).obj ⟶ rawPicardKernel f where |
| 52 | app T := TypeCat.ofHom fun χ => ⟨CartierDuality.ParameterizedCharacterLines.Construction.KernelCharacters.parameterCharacterHomogeneousClass f T.unop χ, |
| 53 | CharacterPicard.Construction.parameterCharacterHomogeneousClass_pullback f T.unop χ⟩ |
| 54 | naturality {T U} t := by |
| 55 | apply ConcreteCategory.hom_ext |
| 56 | intro χ |
| 57 | apply Subtype.ext |
| 58 | exact (CartierDuality.ParameterLineNaturality.Construction.KernelCharacters.parameterCharacterHomogeneousClass_natural f t.unop χ).symm |
| 59 | |
| 60 | theorem characterToRawPicardKernel_inclusion : |
| 61 | characterToRawPicardKernel f ≫ rawPicardKernelInclusion f = CartierDuality.PicardMonomorphism.Construction.KernelCharacters.parameterCharacterRawMap f := rfl |
| 62 | |
| 63 | variable {k : Type u} [Field k] |
| 64 | variable {A B : Over (Spec (.of k))} [GrpObj A] [GrpObj B] |
| 65 | variable [Smooth A.hom] [IsProper A.hom] [GeometricallyConnected A.hom] |
| 66 | variable (f : A ⟶ B) [IsMonHom f] |
| 67 | variable [IsFinite f.left] [Flat f.left] [Surjective f.left] |
| 68 | [LocallyOfFinitePresentation f.left] |
| 69 | |
| 70 | theorem characterToRawPicardKernel_injective (Q : Over (Spec (.of k))) : |
| 71 | Function.Injective ((characterToRawPicardKernel f).app (.op Q)) := by |
| 72 | intro χ ψ h |
| 73 | exact CartierDuality.PicardMonomorphism.Construction.KernelCharacters.parameterCharacterHomogeneousClass_injective f Q (congrArg Subtype.val h) |
| 74 | |
| 75 | theorem characterToRawPicardKernel_surjective_affine (Q : Over (Spec (.of k))) [IsAffine Q.left] : |
| 76 | Function.Surjective ((characterToRawPicardKernel f).app (.op Q)) := by |
| 77 | intro c |
| 78 | have hc : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass (Q ◁ f).left c.val.val = AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.trivialClass (Q ⊗ A).left := |
| 79 | congrArg Subtype.val c.property |
| 80 | obtain ⟨χ, hχ⟩ := FamilyPicardCharacters.Construction.familyLine_kernel_character_exists f Q c.val.val hc |
| 81 | refine ⟨χ, Subtype.ext (Subtype.ext ?_)⟩ |
| 82 | exact (CartierDuality.ParameterizedCharacterLines.Construction.KernelCharacters.parameterCharacterHomogeneousClass_val f Q χ).trans hχ.symm |
| 83 | |
| 84 | theorem characterToRawPicardKernel_locallySurjective : |
| 85 | Presheaf.IsLocallySurjective (Scheme.fppfTopology.over (Spec (.of k))) |
| 86 | (characterToRawPicardKernel f) := by |
| 87 | have : (algSpec (.of k)).IsCoverDense (Scheme.fppfTopology.over (Spec (.of k))) := |
| 88 | CartierDuality.SheafDescent.Construction.e56AlgSpecCoverDense (.of k) |
| 89 | apply CoverDenseSurjectivity.Construction.locallySurjective_of_surjective_coverDense |
| 90 | (Scheme.fppfTopology.over (Spec (.of k))) (algSpec (.of k)) (characterToRawPicardKernel f) |
| 91 | intro R |
| 92 | have : IsAffine ((algSpec (.of k)).obj R).left := by |
| 93 | change IsAffine (Spec _) |
| 94 | infer_instance |
| 95 | exact characterToRawPicardKernel_surjective_affine f ((algSpec (.of k)).obj R) |
| 96 | |
| 97 | theorem characterToRawPicardKernel_locallyInjective : |
| 98 | Presheaf.IsLocallyInjective (Scheme.fppfTopology.over (Spec (.of k))) |
| 99 | (characterToRawPicardKernel f) := |
| 100 | Presheaf.isLocallyInjective_of_injective (Scheme.fppfTopology.over (Spec (.of k))) |
| 101 | (characterToRawPicardKernel f) (fun T => characterToRawPicardKernel_injective f T.unop) |
| 102 | |
| 103 | end Construction |
| 104 | |
| 105 | end |
| 106 | |
| 107 | end OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.Picard |