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.CategoryTheory.Isomorphisms.IsoConjugateMap |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Embedded.GraphHilbertBaseChange |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Embedded.FamilyKernelRecovery |
| 4 | |
| 5 | /-! # Graph Isomorphism Transport -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Embedded |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Isomorphic source and target families with compatible projective |
| 12 | embeddings have exactly the same ideal-defined graph families after |
| 13 | transporting the morphism. All relative Hilbert conditions are preserved. -/ |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 16 | universe u |
| 17 | variable {S : Scheme.{u}} {X X' Y Y' : Over S} |
| 18 | variable (e : X ≅ X') (d : Y ≅ Y') (p : X ⟶ Y) |
| 19 | |
| 20 | theorem GraphIsomorphismTransport.familyGraph_transport : |
| 21 | MorphismGraphFamilies.familyGraph p ≫ (e.hom ⊗ₘ d.hom) = |
| 22 | e.hom ≫ MorphismGraphFamilies.familyGraph (e.inv ≫ p ≫ d.hom) := by |
| 23 | apply CartesianMonoidalCategory.hom_ext |
| 24 | · have hf : MorphismGraphFamilies.familyGraph p ≫ fst X Y = 𝟙 X := lift_fst _ _ |
| 25 | have hf' : MorphismGraphFamilies.familyGraph (e.inv ≫ p ≫ d.hom) ≫ fst X' Y' = 𝟙 X' := lift_fst _ _ |
| 26 | calc |
| 27 | _ = MorphismGraphFamilies.familyGraph p ≫ fst X Y ≫ e.hom := by rw [Category.assoc, tensorHom_fst] |
| 28 | _ = e.hom := by rw [← Category.assoc, hf, Category.id_comp] |
| 29 | _ = _ := by rw [Category.assoc, hf', Category.comp_id] |
| 30 | · have hs : MorphismGraphFamilies.familyGraph p ≫ snd X Y = p := lift_snd _ _ |
| 31 | have hs' : MorphismGraphFamilies.familyGraph (e.inv ≫ p ≫ d.hom) ≫ snd X' Y' = e.inv ≫ p ≫ d.hom := lift_snd _ _ |
| 32 | calc |
| 33 | _ = MorphismGraphFamilies.familyGraph p ≫ snd X Y ≫ d.hom := by rw [Category.assoc, tensorHom_snd] |
| 34 | _ = p ≫ d.hom := by rw [← Category.assoc, hs] |
| 35 | _ = _ := by rw [Category.assoc, hs', Iso.hom_inv_id_assoc] |
| 36 | |
| 37 | variable [Flat X.hom] [LocallyOfFinitePresentation X.hom] |
| 38 | variable [Flat X'.hom] [LocallyOfFinitePresentation X'.hom] |
| 39 | variable [IsSeparated Y.hom] [IsSeparated Y'.hom] |
| 40 | variable {n : ℕ} (j : X ⊗ Y ⟶ Projective.ProjectivePresentations.projectiveSpaceOver S n) (j' : X' ⊗ Y' ⟶ Projective.ProjectivePresentations.projectiveSpaceOver S n) |
| 41 | variable [IsClosedImmersion j.left] [IsClosedImmersion j'.left] |
| 42 | variable (h : (e.hom ⊗ₘ d.hom) ≫ j' = j) |
| 43 | |
| 44 | include h |
| 45 | |
| 46 | theorem GraphIsomorphismTransport.embeddedGraphFamily_transport : |
| 47 | (MorphismGraphFamilies.morphismGraphFamily p).reembed j = |
| 48 | (MorphismGraphFamilies.morphismGraphFamily (e.inv ≫ p ≫ d.hom)).reembed j' := by |
| 49 | let a := MorphismGraphFamilies.familyGraph p ≫ j |
| 50 | let b := MorphismGraphFamilies.familyGraph (e.inv ≫ p ≫ d.hom) ≫ j' |
| 51 | let : IsClosedImmersion a.left := by |
| 52 | change IsClosedImmersion ((MorphismGraphFamilies.familyGraph p).left ≫ j.left) |
| 53 | infer_instance |
| 54 | let : IsClosedImmersion b.left := by |
| 55 | change IsClosedImmersion ((MorphismGraphFamilies.familyGraph (e.inv ≫ p ≫ d.hom)).left ≫ j'.left) |
| 56 | infer_instance |
| 57 | let : IsIso e.hom.left := (Over.forget S).map_isIso e.hom |
| 58 | have hab : e.hom ≫ b = a := by |
| 59 | change e.hom ≫ (MorphismGraphFamilies.familyGraph (e.inv ≫ p ≫ d.hom) ≫ j') = MorphismGraphFamilies.familyGraph p ≫ j |
| 60 | rw [← Category.assoc, ← GraphIsomorphismTransport.familyGraph_transport, Category.assoc, h] |
| 61 | have hk : a.left.ker = b.left.ker := |
| 62 | (congrArg Scheme.Hom.ker (congrArg Over.Hom.left hab)).symm.trans |
| 63 | (Scheme.Hom.ker_comp_of_isIso e.hom.left b.left) |
| 64 | have hf : Closed.Families.FlatClosedFamily.ofEmbedding a = Closed.Families.FlatClosedFamily.ofEmbedding b := by |
| 65 | apply Closed.Families.FlatClosedFamily.ext |
| 66 | exact hk |
| 67 | exact (Closed.Families.FlatClosedFamily.ofEmbedding_reembed (MorphismGraphFamilies.familyGraph p) j).trans |
| 68 | (hf.trans (Closed.Families.FlatClosedFamily.ofEmbedding_reembed (MorphismGraphFamilies.familyGraph (e.inv ≫ p ≫ d.hom)) j').symm) |
| 69 | |
| 70 | theorem GraphHilbertBaseChange.HasEmbeddedGraphHilbertPolynomial.transport_iff (P : Polynomial ℚ) : |
| 71 | GraphHilbertBaseChange.HasEmbeddedGraphHilbertPolynomial j P p ↔ |
| 72 | GraphHilbertBaseChange.HasEmbeddedGraphHilbertPolynomial j' P (CategoryTheory.Isomorphisms.IsoConjugateMap.isoConjugateMap e d p) := by |
| 73 | have hf := GraphIsomorphismTransport.embeddedGraphFamily_transport e d p j j' h |
| 74 | exact (congrArg (fun F : Closed.Families.FlatClosedFamily (Projective.ProjectivePresentations.projectiveSpaceOver S n) => |
| 75 | ∀ (K : Type u) [Field K] (x : Spec (.of K) ⟶ S), |
| 76 | HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.HasHilbertPolynomial (F.affineProjectivePullback x).homogeneousIdeal.toIdeal P) hf).to_iff |
| 77 | |
| 78 | end |
| 79 | |
| 80 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Embedded |