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.Picard.Homomorphisms.UnbundledDualData |
| 2 | import OAI.AlgebraicGeometry.Picard.Homomorphisms.SheafMaps |
| 3 | |
| 4 | /-! # Unbundled Poincare Detection -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Picard.Homomorphisms.UnbundledPoincareDetection |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Dimension-independent poincare detection, |
| 11 | using the actual line bundles and represented homogeneous Picard sheaf. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 15 | open scoped _root_.CategoryTheory.MonObj |
| 16 | |
| 17 | set_option backward.isDefEq.respectTransparency.types false |
| 18 | |
| 19 | namespace Construction.UnbundledPicard |
| 20 | |
| 21 | universe u |
| 22 | variable {S : Scheme.{u}} (A : Over S) [GrpObj A] |
| 23 | |
| 24 | instance homogeneousPicardInclusion_mono : Mono (UnbundledHomogeneous.Construction.UnbundledPicard.homogeneousPicardInclusion A) := by |
| 25 | have (T : (Over S)ᵒᵖ) : Mono ((UnbundledHomogeneous.Construction.UnbundledPicard.homogeneousPicardInclusion A).app T) := |
| 26 | (CategoryTheory.mono_iff_injective _).mpr Subtype.val_injective |
| 27 | exact NatTrans.mono_of_mono_app _ |
| 28 | |
| 29 | instance homogeneousPicardSheafInclusion_mono : Mono (UnbundledHomogeneous.Construction.UnbundledPicard.homogeneousPicardSheafInclusion A) := |
| 30 | inferInstanceAs (Mono ((presheafToSheaf (Scheme.fppfTopology.over S) (Type (u + 1))).map |
| 31 | (UnbundledHomogeneous.Construction.UnbundledPicard.homogeneousPicardInclusion A))) |
| 32 | |
| 33 | theorem homogeneousPicardSheafInclusion_toSheafify : |
| 34 | toSheafify (Scheme.fppfTopology.over S) (UnbundledHomogeneous.Construction.UnbundledPicard.homogeneousPicardPresheaf A) ≫ |
| 35 | (UnbundledHomogeneous.Construction.UnbundledPicard.homogeneousPicardSheafInclusion A).hom = |
| 36 | (UnbundledHomogeneous.Construction.UnbundledPicard.homogeneousPicardInclusion A) ≫ AbelianModuli.HilbertConstruction.Picard.PicardSheaf.toRelativePicard A := |
| 37 | (toSheafify_naturality _ _).symm |
| 38 | |
| 39 | variable {A} |
| 40 | |
| 41 | def poincareClass (D : UnbundledDualData.Construction.UnbundledPicard.DualData A) {T : Over S} (f : T ⟶ D.abelian) : |
| 42 | AbelianModuli.HilbertConstruction.Picard.PicardSheaf.PicardSections A T := |
| 43 | (AbelianModuli.HilbertConstruction.Picard.PicardSheaf.toRelativePicard A).app (.op T) |
| 44 | (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass (f ▷ A).left (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.classOf D.poincare)) |
| 45 | |
| 46 | theorem poincareClass_id (D : UnbundledDualData.Construction.UnbundledPicard.DualData A) : |
| 47 | poincareClass D (𝟙 D.abelian) = |
| 48 | (AbelianModuli.HilbertConstruction.Picard.PicardSheaf.toRelativePicard A).app (.op D.abelian) (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.classOf D.poincare) := by |
| 49 | dsimp only [poincareClass] |
| 50 | erw [id_whiskerRight, Over.id_left, AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass_id] |
| 51 | rfl |
| 52 | |
| 53 | theorem poincareClass_eq_representation (D : UnbundledDualData.Construction.UnbundledPicard.DualData A) {T : Over S} |
| 54 | (f : T ⟶ D.abelian) : |
| 55 | poincareClass D f = (UnbundledHomogeneous.Construction.UnbundledPicard.homogeneousPicardSheafInclusion A).hom.app (.op T) |
| 56 | (D.representable.homEquiv f) := by |
| 57 | have h := D.representable.homEquiv_comp f (𝟙 D.abelian) |
| 58 | rw [Category.comp_id, D.universalClass] at h |
| 59 | rw [h] |
| 60 | have hn := (toSheafify (Scheme.fppfTopology.over S) (UnbundledHomogeneous.Construction.UnbundledPicard.homogeneousPicardPresheaf A)).naturality_apply |
| 61 | f.op ⟨AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.classOf D.poincare, D.poincareHomogeneous⟩ |
| 62 | erw [← hn] |
| 63 | exact (ConcreteCategory.congr_hom (NatTrans.congr_app |
| 64 | (homogeneousPicardSheafInclusion_toSheafify A) (.op T)) |
| 65 | ((UnbundledHomogeneous.Construction.UnbundledPicard.homogeneousPicardPresheaf A).map f.op |
| 66 | ⟨AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.classOf D.poincare, D.poincareHomogeneous⟩)).symm |
| 67 | |
| 68 | theorem poincareClass_injective (D : UnbundledDualData.Construction.UnbundledPicard.DualData A) (T : Over S) : |
| 69 | Function.Injective (poincareClass D (T := T)) := by |
| 70 | intro f h e |
| 71 | rw [poincareClass_eq_representation, poincareClass_eq_representation] at e |
| 72 | have hi : Mono ((UnbundledHomogeneous.Construction.UnbundledPicard.homogeneousPicardSheafInclusion A).hom.app (.op T)) := inferInstance |
| 73 | apply D.representable.homEquiv.injective |
| 74 | exact (CategoryTheory.mono_iff_injective _).mp hi e |
| 75 | |
| 76 | end Construction.UnbundledPicard |
| 77 | |
| 78 | end |
| 79 | |
| 80 | end OAI.AlgebraicGeometry.Picard.Homomorphisms.UnbundledPoincareDetection |