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.Universal.PicardFaithfullyFlat |
| 2 | import Mathlib.CategoryTheory.Sites.LocallySurjective |
| 3 | import OAI.AlgebraicGeometry.Picard.Homomorphisms.UnbundledPoincareDetection |
| 4 | |
| 5 | /-! # Base Cover Injection -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.Picard.BaseCoverInjection.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! A faithfully flat quasi-compact change of the original base detects |
| 12 | equality of all Picard sheaf sections, including classes represented |
| 13 | only locally by actual line bundles. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | open _root_.CategoryTheory.MonoidalCategory |
| 17 | |
| 18 | variable {S Y : Scheme.{0}} (p : Y ⟶ S) |
| 19 | |
| 20 | def baseCoverRestrictionMap (F : (Over S)ᵒᵖ ⥤ Type 1) : |
| 21 | F ⟶ (Over.pullback p ⋙ Over.map p).op ⋙ F where |
| 22 | app T := F.map ((Over.mapPullbackAdj p).counit.app T.unop).op |
| 23 | naturality {T U} f := by |
| 24 | change F.map f ≫ F.map ((Over.mapPullbackAdj p).counit.app U.unop).op = |
| 25 | F.map ((Over.mapPullbackAdj p).counit.app T.unop).op ≫ |
| 26 | F.map ((Over.pullback p ⋙ Over.map p).map f.unop).op |
| 27 | rw [← Functor.map_comp, ← Functor.map_comp] |
| 28 | exact congrArg F.map (congrArg Quiver.Hom.op |
| 29 | ((Over.mapPullbackAdj p).counit.naturality f.unop)).symm |
| 30 | |
| 31 | theorem baseCoverRestrictionMap_app (F : (Over S)ᵒᵖ ⥤ Type 1) (T : Over S) : |
| 32 | (baseCoverRestrictionMap p F).app (.op T) = |
| 33 | F.map ((Over.mapPullbackAdj p).counit.app T).op := rfl |
| 34 | |
| 35 | set_option backward.isDefEq.respectTransparency false in |
| 36 | theorem picard_baseCoverRestriction_injective [Flat p] [Surjective p] [QuasiCompact p] |
| 37 | {g : ℕ} (A : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g S) (hA : GlobalFunctions.Construction.HasUniversalGlobalFunctions A.scheme) |
| 38 | (T : Over S) : Function.Injective ((baseCoverRestrictionMap p |
| 39 | (AbelianModuli.HilbertConstruction.Picard.PicardSheaf.relativePicardSheaf A.scheme).obj).app (.op T)) := by |
| 40 | let J := Scheme.fppfTopology.over S |
| 41 | let F := (AbelianModuli.HilbertConstruction.Picard.PicardSheaf.relativePicardSheaf A.scheme).obj |
| 42 | let r := baseCoverRestrictionMap p F |
| 43 | have : Presheaf.IsLocallyInjective J (AbelianModuli.HilbertConstruction.Picard.PicardSheaf.toRelativePicard A.scheme) := by |
| 44 | change Presheaf.IsLocallyInjective (Scheme.fppfTopology.over S) |
| 45 | (toSheafify (Scheme.fppfTopology.over S) (AbelianModuli.HilbertConstruction.Picard.PicardSheaf.relativePicardPresheaf A.scheme)) |
| 46 | infer_instance |
| 47 | have : Presheaf.IsLocallySurjective J (AbelianModuli.HilbertConstruction.Picard.PicardSheaf.toRelativePicard A.scheme) := by |
| 48 | change Presheaf.IsLocallySurjective (Scheme.fppfTopology.over S) |
| 49 | (toSheafify (Scheme.fppfTopology.over S) (AbelianModuli.HilbertConstruction.Picard.PicardSheaf.relativePicardPresheaf A.scheme)) |
| 50 | infer_instance |
| 51 | have hc : Presheaf.IsLocallyInjective J (AbelianModuli.HilbertConstruction.Picard.PicardSheaf.toRelativePicard A.scheme ≫ r) := by |
| 52 | constructor |
| 53 | intro V x y h |
| 54 | obtain ⟨L, rfl⟩ := Quotient.exists_rep x |
| 55 | obtain ⟨M, rfl⟩ := Quotient.exists_rep y |
| 56 | let u := (Over.mapPullbackAdj p).counit.app V.unop |
| 57 | have : Flat u.left := inferInstanceAs (Flat (CategoryTheory.Limits.pullback.fst V.unop.hom p)) |
| 58 | have : Surjective u.left := inferInstanceAs (Surjective (CategoryTheory.Limits.pullback.fst V.unop.hom p)) |
| 59 | have : QuasiCompact u.left := inferInstanceAs (QuasiCompact (CategoryTheory.Limits.pullback.fst V.unop.hom p)) |
| 60 | have hrel : (AbelianModuli.HilbertConstruction.Picard.PicardSheaf.toRelativePicard A.scheme).app V (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.classOf L) = |
| 61 | (AbelianModuli.HilbertConstruction.Picard.PicardSheaf.toRelativePicard A.scheme).app V (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.classOf M) := by |
| 62 | apply Universal.PicardFaithfullyFlat.Construction.universal_relativePicard_eq_of_faithfullyFlat A hA u L M |
| 63 | exact (AbelianModuli.HilbertConstruction.Picard.PicardSheaf.toRelativePicard_naturality A.scheme u (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.classOf L)).symm.trans |
| 64 | (h.trans (AbelianModuli.HilbertConstruction.Picard.PicardSheaf.toRelativePicard_naturality A.scheme u (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.classOf M))) |
| 65 | exact Presheaf.equalizerSieve_mem J (AbelianModuli.HilbertConstruction.Picard.PicardSheaf.toRelativePicard A.scheme) _ _ hrel |
| 66 | have : Presheaf.IsLocallyInjective J r := |
| 67 | (Presheaf.comp_isLocallyInjective_iff J (AbelianModuli.HilbertConstruction.Picard.PicardSheaf.toRelativePicard A.scheme) r).mp hc |
| 68 | apply (Presheaf.isLocallyInjective_iff_injective_of_separated J r ?_).mp this (.op T) |
| 69 | exact ((isSheaf_iff_isSheaf_of_type _ _).mp (AbelianModuli.HilbertConstruction.Picard.PicardSheaf.relativePicardSheaf A.scheme).property).isSeparated |
| 70 | |
| 71 | set_option backward.isDefEq.respectTransparency false in |
| 72 | theorem homogeneousPicard_baseCoverRestriction_injective [Flat p] [Surjective p] [QuasiCompact p] |
| 73 | {g : ℕ} (A : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g S) (hA : GlobalFunctions.Construction.HasUniversalGlobalFunctions A.scheme) |
| 74 | (T : Over S) : Function.Injective ((baseCoverRestrictionMap p |
| 75 | A.homogeneousPicardSheaf.obj).app (.op T)) := by |
| 76 | have : Mono A.homogeneousPicardSheafInclusion := |
| 77 | inferInstanceAs (Mono (Picard.Homomorphisms.UnbundledHomogeneous.Construction.UnbundledPicard.homogeneousPicardSheafInclusion A.scheme)) |
| 78 | have hi : Function.Injective (A.homogeneousPicardSheafInclusion.hom.app (.op T)) := |
| 79 | (CategoryTheory.mono_iff_injective _).mp inferInstance |
| 80 | intro x y h |
| 81 | apply hi |
| 82 | apply picard_baseCoverRestriction_injective p A hA T |
| 83 | let u := (Over.mapPullbackAdj p).counit.app T |
| 84 | exact (A.homogeneousPicardSheafInclusion.hom.naturality_apply u.op x).symm.trans |
| 85 | ((congrArg (A.homogeneousPicardSheafInclusion.hom.app |
| 86 | (.op ((Over.pullback p ⋙ Over.map p).obj T))) h).trans |
| 87 | (A.homogeneousPicardSheafInclusion.hom.naturality_apply u.op y)) |
| 88 | |
| 89 | end |
| 90 | |
| 91 | end OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.Picard.BaseCoverInjection.Construction |