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.HilbertConstruction.ClosedFamily.ReembeddingComposition |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Projective.PresentationBaseChange |
| 3 | |
| 4 | /-! # Family Conjugation -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Graph.FamilyConjugation |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Conjugating a family morphism by source and target isomorphisms transports its actual ideal-defined graph through the corresponding product isomorphism. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | variable {S : Scheme.{u}} {A A' B B' : Over S} (eA : A' ≅ A) (eB : B' ≅ B) |
| 18 | |
| 19 | def conjugateFamilyMorphism (p : A ⟶ B) : A' ⟶ B' := eA.hom ≫ p ≫ eB.inv |
| 20 | |
| 21 | theorem conjugateFamilyMorphism_graph (p : A ⟶ B) : |
| 22 | MorphismGraphFamilies.familyGraph (conjugateFamilyMorphism eA eB p) ≫ (eA.hom ⊗ₘ eB.hom) = eA.hom ≫ MorphismGraphFamilies.familyGraph p := by |
| 23 | apply CartesianMonoidalCategory.hom_ext |
| 24 | · simp [MorphismGraphFamilies.familyGraph] |
| 25 | · simp [MorphismGraphFamilies.familyGraph, conjugateFamilyMorphism, Category.assoc] |
| 26 | |
| 27 | local instance graphConjugationTensorClosed : IsClosedImmersion (eA.hom ⊗ₘ eB.hom).left := |
| 28 | Grassmann.ProjectivePresentation.overIso_closedImmersion (tensorIso eA eB) |
| 29 | |
| 30 | local instance graphConjugationCompositeClosed {P : Over S} (j : A ⊗ B ⟶ P) [IsClosedImmersion j.left] : |
| 31 | IsClosedImmersion ((eA.hom ⊗ₘ eB.hom) ≫ j).left := |
| 32 | inferInstanceAs (IsClosedImmersion ((eA.hom ⊗ₘ eB.hom).left ≫ j.left)) |
| 33 | |
| 34 | theorem morphismGraphFamily_conjugation_reembed |
| 35 | [Flat A.hom] [LocallyOfFinitePresentation A.hom] [IsSeparated B.hom] |
| 36 | [Flat A'.hom] [LocallyOfFinitePresentation A'.hom] [IsSeparated B'.hom] (p : A ⟶ B) : |
| 37 | (MorphismGraphFamilies.morphismGraphFamily (conjugateFamilyMorphism eA eB p)).reembed (eA.hom ⊗ₘ eB.hom) = |
| 38 | MorphismGraphFamilies.morphismGraphFamily p := by |
| 39 | change (Closed.Families.FlatClosedFamily.ofEmbedding (MorphismGraphFamilies.familyGraph (conjugateFamilyMorphism eA eB p))).reembed |
| 40 | (eA.hom ⊗ₘ eB.hom) = _ |
| 41 | rw [Closed.Families.FlatClosedFamily.ofEmbedding_reembed] |
| 42 | have : IsClosedImmersion (MorphismGraphFamilies.familyGraph (conjugateFamilyMorphism eA eB p) ≫ (eA.hom ⊗ₘ eB.hom)).left := |
| 43 | inferInstanceAs (IsClosedImmersion |
| 44 | ((MorphismGraphFamilies.familyGraph (conjugateFamilyMorphism eA eB p)).left ≫ (eA.hom ⊗ₘ eB.hom).left)) |
| 45 | apply Closed.Families.FlatClosedFamily.ofEmbedding_eq_of_iso _ (MorphismGraphFamilies.morphismGraphFamily p) (eA ≪≫ MorphismGraphFamilies.morphismGraphFamilyIso p) |
| 46 | change eA.hom ≫ (Closed.Families.FlatClosedFamily.ofEmbeddingIso (MorphismGraphFamilies.familyGraph p)).hom ≫ |
| 47 | (Closed.Families.FlatClosedFamily.ofEmbedding (MorphismGraphFamilies.familyGraph p)).inclusion = _ |
| 48 | rw [Closed.Families.FlatClosedFamily.ofEmbeddingIso_inclusion] |
| 49 | exact (conjugateFamilyMorphism_graph eA eB p).symm |
| 50 | |
| 51 | theorem morphismGraphFamily_conjugation_reembedding |
| 52 | [Flat A.hom] [LocallyOfFinitePresentation A.hom] [IsSeparated B.hom] |
| 53 | [Flat A'.hom] [LocallyOfFinitePresentation A'.hom] [IsSeparated B'.hom] |
| 54 | (p : A ⟶ B) {P : Over S} (j : A ⊗ B ⟶ P) [IsClosedImmersion j.left] : |
| 55 | (MorphismGraphFamilies.morphismGraphFamily (conjugateFamilyMorphism eA eB p)).reembed ((eA.hom ⊗ₘ eB.hom) ≫ j) = |
| 56 | (MorphismGraphFamilies.morphismGraphFamily p).reembed j := |
| 57 | ((MorphismGraphFamilies.morphismGraphFamily (conjugateFamilyMorphism eA eB p)).reembed_comp (eA.hom ⊗ₘ eB.hom) j).symm.trans |
| 58 | (congrArg (fun F : Closed.Families.FlatClosedFamily (A ⊗ B) => F.reembed j) |
| 59 | (morphismGraphFamily_conjugation_reembed eA eB p)) |
| 60 | |
| 61 | end |
| 62 | |
| 63 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Graph.FamilyConjugation |