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.AbelianModuli.ReferenceFamily.HomogeneousLinePowers |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Homogeneous.FamilyMaps |
| 3 | |
| 4 | /-! # Field Homogeneity Family Maps -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Picard.ThetaConstruction.FieldHomogeneityFamilyMaps.Geometric |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Actual group maps pull back homogeneous line classes. An actual |
| 11 | group-scheme isomorphism reflects this original all-test property. -/ |
| 12 | |
| 13 | open _root_.AlgebraicGeometry _root_.CategoryTheory |
| 14 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 15 | |
| 16 | open OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Homogeneous.FamilyMaps OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.HomogeneousLinePowers |
| 17 | |
| 18 | variable {k : Type} [Field k] {g h : ℕ} |
| 19 | (A : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g (Spec (.of k))) (B : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme h (Spec (.of k))) |
| 20 | |
| 21 | theorem homogeneousLine_familyMap (f : A.scheme ⟶ B.scheme) [IsMonHom f] |
| 22 | (q : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.IsoClass B.scheme.left) (hq : AbelianModuli.ReferenceFamily.HomogeneousLinePowers.IsHomogeneousLineClass B q) : |
| 23 | AbelianModuli.ReferenceFamily.HomogeneousLinePowers.IsHomogeneousLineClass A (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass f.left q) := by |
| 24 | let U := Over.mk (𝟙 (Spec (.of k))) |
| 25 | have ht := hq.familyMap f |
| 26 | have hc : (AbelianModuli.HilbertConstruction.Picard.FamilyMaps.relativePicardPresheafMap f).app (.op U) (AbelianModuli.ReferenceFamily.HomogeneousLinePowers.constantLineFamily B U q) = |
| 27 | AbelianModuli.ReferenceFamily.HomogeneousLinePowers.constantLineFamily A U (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass f.left q) := by |
| 28 | change AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass (𝟙 U ⊗ₘ f).left |
| 29 | (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass (snd U B.scheme).left q) = |
| 30 | AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass (snd U A.scheme).left (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass f.left q) |
| 31 | rw [← AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass_comp, ← AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass_comp] |
| 32 | exact congrArg (fun t => AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass t q) |
| 33 | (congrArg Over.Hom.left (tensorHom_snd (𝟙 U) f)) |
| 34 | change A.IsHomogeneousPicardClass U (AbelianModuli.ReferenceFamily.HomogeneousLinePowers.constantLineFamily A U (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass f.left q)) |
| 35 | exact (congrArg (A.IsHomogeneousPicardClass U) hc).mp ht |
| 36 | |
| 37 | theorem homogeneousLine_iso_iff (e : A.scheme ≅ B.scheme) [IsMonHom e.hom] |
| 38 | (q : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.IsoClass B.scheme.left) : |
| 39 | AbelianModuli.ReferenceFamily.HomogeneousLinePowers.IsHomogeneousLineClass A (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass e.hom.left q) ↔ AbelianModuli.ReferenceFamily.HomogeneousLinePowers.IsHomogeneousLineClass B q := by |
| 40 | constructor |
| 41 | · intro hq |
| 42 | have ht := homogeneousLine_familyMap B A e.inv _ hq |
| 43 | have hc : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass e.inv.left (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass e.hom.left q) = q := by |
| 44 | rw [← AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass_comp] |
| 45 | exact (congrArg (fun t => AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass t q) |
| 46 | (congrArg Over.Hom.left e.inv_hom_id)).trans (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullbackClass_id q) |
| 47 | exact hc ▸ ht |
| 48 | · exact homogeneousLine_familyMap A B e.hom q |
| 49 | |
| 50 | end |
| 51 | |
| 52 | end OAI.AlgebraicGeometry.Picard.ThetaConstruction.FieldHomogeneityFamilyMaps.Geometric |