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.PELModuli.IntegralModel.Presentations.Hilbert |
| 2 | |
| 3 | /-! # Graph Fiber Coordinates -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.PELModuli.CMPoints.GraphFiberCoordinates |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Owned adaptation of the Presentations graph-coordinate helper with the projective |
| 10 | presentation qualified to avoid the category-theoretic namesake. |
| 11 | |
| 12 | Construct Presentations's field-fiber coordinates from coordinates on the actual |
| 13 | source of a graph. The image subscheme and its defining ideal are compared |
| 14 | through the closed graph's canonical image isomorphism. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 17 | |
| 18 | universe u |
| 19 | variable {S : Scheme.{u}} (X Y : Over S) |
| 20 | [Flat X.hom] [IsProper X.hom] [LocallyOfFinitePresentation X.hom] [IsSeparated Y.hom] |
| 21 | |
| 22 | theorem graphFamily_hasFiberHilbertPolynomial_of_coordinates |
| 23 | (B : HilbertScheme.Presentations.Has.Core.ProjectivePresentation (X ⨯ Y)) {T : Over S} |
| 24 | (f : T ⨯ X ⟶ Y) (P : Polynomial ℚ) |
| 25 | (h : ∀ (K : Type u) [Field K] (a : Spec (.of K) ⟶ T.left), |
| 26 | let t : Over S := Over.mk (a ≫ T.hom) |
| 27 | let b : t ⟶ T := Over.homMk a rfl |
| 28 | let v := prod.map b (𝟙 X) ≫ f |
| 29 | ∃ (q : Proj (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.grading K B.dimension) ⟶ HilbertScheme.Presentations.Has.Core.projectiveSpace S B.dimension) |
| 30 | (e : (t ⨯ X).left ⟶ Proj (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.grading K B.dimension)), |
| 31 | IsPullback q (HilbertScheme.Presentations.Has.Core.projectiveSpaceMap K B.dimension) |
| 32 | (HilbertScheme.Presentations.Has.Core.projectiveSpaceProjection S B.dimension) (a ≫ T.hom) ∧ |
| 33 | IsClosedImmersion e ∧ |
| 34 | e ≫ q = (HilbertScheme.Presentations.HomFunctor.Hom.graph X Y v).left ≫ (prod.snd : t ⨯ (X ⨯ Y) ⟶ X ⨯ Y).left ≫ B.embedding ∧ |
| 35 | e ≫ HilbertScheme.Presentations.Has.Core.projectiveSpaceMap K B.dimension = (prod.fst : t ⨯ X ⟶ t).left ∧ |
| 36 | HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.HasHilbertPolynomial (HilbertScheme.Presentations.ChartHomogeneousIdeal.GradedHilbert.homogeneousIdealOfSheaf e.ker).toIdeal P) : |
| 37 | HilbertScheme.Presentations.Has.Core.HasFiberHilbertPolynomial B (HilbertScheme.Presentations.HomFunctor.Hom.graphFamily X Y f) P := by |
| 38 | intro K _ a |
| 39 | let t : Over S := Over.mk (a ≫ T.hom) |
| 40 | let b : t ⟶ T := Over.homMk a rfl |
| 41 | let v := prod.map b (𝟙 X) ≫ f |
| 42 | obtain ⟨q, e, hq, he, heq, hep, hP⟩ := h K a |
| 43 | have hg : IsClosedImmersion (HilbertScheme.Presentations.HomFunctor.Hom.graph X Y v).left := HilbertScheme.Presentations.HomFunctor.Hom.graph_isClosedImmersion X Y v |
| 44 | let := hg |
| 45 | let c := (HilbertScheme.Presentations.HomFunctor.Hom.graph X Y v).left.toImage |
| 46 | have hi : IsIso c := inferInstance |
| 47 | let := hi |
| 48 | let ci := asIso c |
| 49 | change ∃ q e, _ |
| 50 | change ∃ (q : Proj (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.grading K B.dimension) ⟶ HilbertScheme.Presentations.Has.Core.projectiveSpace S B.dimension) |
| 51 | (e : (HilbertScheme.Presentations.Hilbert.Functor.pullbackFamily (X ⨯ Y) b (HilbertScheme.Presentations.HomFunctor.Hom.graphFamily X Y f)).val.subscheme ⟶ |
| 52 | Proj (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.grading K B.dimension)), _ |
| 53 | rw [← HilbertScheme.Presentations.HomFunctor.Hom.graphFamily_baseChange X Y b f] |
| 54 | dsimp only [HilbertScheme.Presentations.HomFunctor.Hom.graphFamily, HilbertScheme.Presentations.HomFunctor.Hom.graphIdeal, HilbertScheme.Presentations.Hilbert.Functor.familyProjection] |
| 55 | refine ⟨q, ci.inv ≫ e, hq, ?_, ?_, ?_, ?_⟩ |
| 56 | · let := he |
| 57 | infer_instance |
| 58 | · rw [Category.assoc, heq] |
| 59 | have hci : ci.hom ≫ (HilbertScheme.Presentations.HomFunctor.Hom.graph X Y v).left.imageι = (HilbertScheme.Presentations.HomFunctor.Hom.graph X Y v).left := |
| 60 | (HilbertScheme.Presentations.HomFunctor.Hom.graph X Y v).left.toImage_imageι |
| 61 | have hi : ci.inv ≫ (HilbertScheme.Presentations.HomFunctor.Hom.graph X Y v).left = (HilbertScheme.Presentations.HomFunctor.Hom.graph X Y v).left.imageι := by |
| 62 | apply (cancel_epi ci.hom).mp |
| 63 | exact (ci.hom_inv_id_assoc _).trans hci.symm |
| 64 | exact (Category.assoc _ _ _).symm.trans |
| 65 | (congrArg (fun d => d ≫ (prod.snd : t ⨯ (X ⨯ Y) ⟶ X ⨯ Y).left ≫ B.embedding) hi) |
| 66 | · apply (cancel_epi ci.hom).mp |
| 67 | rw [Category.assoc, ci.hom_inv_id_assoc, hep] |
| 68 | exact (HilbertScheme.Presentations.HomFunctor.Hom.graph_image_projection X Y v).symm |
| 69 | · rw [Scheme.Hom.ker_comp_of_isIso] |
| 70 | exact hP |
| 71 | |
| 72 | end |
| 73 | |
| 74 | end OAI.AlgebraicGeometry.PELModuli.CMPoints.GraphFiberCoordinates |