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