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.CMPoints.GraphFiberCoordinates |
| 2 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.Projective.FieldBaseChange |
| 3 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Projective.Point |
| 4 | |
| 5 | /-! # Graph Field Hilbert Polynomial -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.PELModuli.CMPoints.GraphFieldHilbertPolynomial |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! A graph over a field has the same Hilbert polynomial after every |
| 12 | field-valued base change. The coordinates are those of its actual closed |
| 13 | immersion, and the comparison squares are proved cartesian. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 16 | |
| 17 | open OAI.AlgebraicGeometry.HilbertScheme.Presentations.Projective.Point OAI.AlgebraicGeometry.PELModuli.IntegralModel.Projective.FieldBaseChange.PolarizationEmbedding |
| 18 | universe u |
| 19 | |
| 20 | theorem categorical_product_baseChange {S : Scheme.{u}} (X : Over S) |
| 21 | {T U : Over S} (b : T ⟶ U) : |
| 22 | IsPullback (prod.map b (𝟙 X)).left (prod.fst : T ⨯ X ⟶ T).left |
| 23 | (prod.fst : U ⨯ X ⟶ U).left b.left := by |
| 24 | have hU : IsPullback (prod.snd : U ⨯ X ⟶ X).left |
| 25 | (prod.fst : U ⨯ X ⟶ U).left X.hom U.hom := |
| 26 | (Over.isPullback_of_binaryFan_isLimit _ (prodIsProd U X)).flip |
| 27 | have hT : IsPullback ((prod.map b (𝟙 X)).left ≫ (prod.snd : U ⨯ X ⟶ X).left) |
| 28 | (prod.fst : T ⨯ X ⟶ T).left X.hom (b.left ≫ U.hom) := by |
| 29 | have hs : (prod.map b (𝟙 X)).left ≫ (prod.snd : U ⨯ X ⟶ X).left = |
| 30 | (prod.snd : T ⨯ X ⟶ X).left := by |
| 31 | simpa only [Over.comp_left, Category.comp_id] using |
| 32 | congrArg Over.Hom.left (prod.map_snd b (𝟙 X)) |
| 33 | rw [hs, b.w] |
| 34 | exact (Over.isPullback_of_binaryFan_isLimit _ (prodIsProd T X)).flip |
| 35 | exact hT.of_right (congrArg Over.Hom.left (prod.map_fst b (𝟙 X))) hU |
| 36 | |
| 37 | theorem graphFamily_hasFiberHilbertPolynomial_of_field_coordinates |
| 38 | {S : Scheme.{u}} (X Y : Over S) |
| 39 | [Flat X.hom] [IsProper X.hom] [LocallyOfFinitePresentation X.hom] |
| 40 | [IsSeparated Y.hom] {k : Type u} [Field k] |
| 41 | (t : Spec (.of k) ⟶ S) (B : HilbertScheme.Presentations.Has.Core.ProjectivePresentation (X ⨯ Y)) |
| 42 | (f : Over.mk t ⨯ X ⟶ Y) (P : Polynomial ℚ) |
| 43 | (q : Proj (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.grading k B.dimension) ⟶ HilbertScheme.Presentations.Has.Core.projectiveSpace S B.dimension) |
| 44 | (j : (Over.mk t ⨯ X).left ⟶ Proj (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.grading k B.dimension)) |
| 45 | (hq : IsPullback q (HilbertScheme.Presentations.Has.Core.projectiveSpaceMap k B.dimension) |
| 46 | (HilbertScheme.Presentations.Has.Core.projectiveSpaceProjection S B.dimension) t) |
| 47 | [IsClosedImmersion j] |
| 48 | (hjq : j ≫ q = (HilbertScheme.Presentations.HomFunctor.Hom.graph X Y f).left ≫ |
| 49 | (prod.snd : Over.mk t ⨯ (X ⨯ Y) ⟶ X ⨯ Y).left ≫ B.embedding) |
| 50 | (hjp : j ≫ HilbertScheme.Presentations.Has.Core.projectiveSpaceMap k B.dimension = |
| 51 | (prod.fst : Over.mk t ⨯ X ⟶ Over.mk t).left) |
| 52 | (hP : HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.HasHilbertPolynomial (HilbertScheme.Presentations.ChartHomogeneousIdeal.GradedHilbert.homogeneousIdealOfSheaf j.ker).toIdeal P) : |
| 53 | HilbertScheme.Presentations.Has.Core.HasFiberHilbertPolynomial B (HilbertScheme.Presentations.HomFunctor.Hom.graphFamily X Y f) P := by |
| 54 | apply GraphFiberCoordinates.graphFamily_hasFiberHilbertPolynomial_of_coordinates X Y B f P |
| 55 | intro K _ a |
| 56 | let T : Over S := Over.mk t |
| 57 | let U : Over S := Over.mk (a ≫ t) |
| 58 | let b : U ⟶ T := Over.homMk a rfl |
| 59 | let c := (prod.map b (𝟙 X)).left |
| 60 | let φ : k →+* K := (Spec.preimage a).hom |
| 61 | have hφ : Spec.map (CommRingCat.ofHom φ) = a := Spec.map_preimage a |
| 62 | let := φ.toAlgebra |
| 63 | let pK := HilbertScheme.Presentations.Has.Core.projectiveSpaceMap K B.dimension |
| 64 | let p := HilbertScheme.Presentations.Has.Core.projectiveSpaceMap k B.dimension |
| 65 | let v := AbelianModuli.HilbertConstruction.Projective.CoefficientFunctoriality.polynomialProjectiveMap (CommRingCat.ofHom φ) B.dimension |
| 66 | have hp : IsPullback v pK p a := by |
| 67 | rw [← hφ] |
| 68 | exact AbelianModuli.HilbertConstruction.Projective.CoefficientPullback.polynomialProjectiveCoefficient_isPullback |
| 69 | have hc : (c ≫ j) ≫ p = (prod.fst : U ⨯ X ⟶ U).left ≫ a := by |
| 70 | rw [Category.assoc, hjp] |
| 71 | exact congrArg Over.Hom.left (prod.map_fst b (𝟙 X)) |
| 72 | let e := hp.lift (c ≫ j) (prod.fst : U ⨯ X ⟶ U).left hc |
| 73 | have hev : e ≫ v = c ≫ j := hp.lift_fst _ _ hc |
| 74 | have hep : e ≫ pK = (prod.fst : U ⨯ X ⟶ U).left := hp.lift_snd _ _ hc |
| 75 | have hepb : IsPullback c e j v := by |
| 76 | have ho : IsPullback c (e ≫ pK) (j ≫ p) a := by |
| 77 | rw [hep, hjp] |
| 78 | exact categorical_product_baseChange X b |
| 79 | exact ho.of_bot hev.symm hp |
| 80 | have he : IsClosedImmersion e := |
| 81 | MorphismProperty.of_isPullback (P := @IsClosedImmersion) hepb inferInstance |
| 82 | refine ⟨v ≫ q, e, hp.paste_horiz hq, he, ?_, hep, ?_⟩ |
| 83 | · have heq : e ≫ (v ≫ q) = c ≫ (j ≫ q) := |
| 84 | (Category.assoc _ _ _).symm.trans |
| 85 | ((congrArg (fun d => d ≫ q) hev).trans (Category.assoc _ _ _)) |
| 86 | have hg : prod.map b (𝟙 X) ≫ HilbertScheme.Presentations.HomFunctor.Hom.graph X Y f ≫ prod.snd = |
| 87 | HilbertScheme.Presentations.HomFunctor.Hom.graph X Y (prod.map b (𝟙 X) ≫ f) ≫ prod.snd := by |
| 88 | apply prod.hom_ext <;> |
| 89 | simp only [HilbertScheme.Presentations.HomFunctor.Hom.graph, Category.assoc, prod.lift_snd, prod.lift_fst, |
| 90 | prod.map_snd, Category.comp_id] |
| 91 | exact heq.trans ((congrArg (fun d => c ≫ d) hjq).trans |
| 92 | ((Category.assoc _ _ _).symm.trans |
| 93 | ((Category.assoc _ _ _).symm.trans |
| 94 | (congrArg (fun d => d.left ≫ B.embedding) hg)))) |
| 95 | · have hj : IsClosedImmersion j := inferInstance |
| 96 | exact (@IntegralModel.Projective.FieldBaseChange.PolarizationEmbedding.closedProjective_fieldBaseChange_hilbertPolynomial_iff |
| 97 | k K _ _ B.dimension _ _ j hj e c φ hepb P).mpr hP |
| 98 | |
| 99 | end |
| 100 | |
| 101 | end OAI.AlgebraicGeometry.PELModuli.CMPoints.GraphFieldHilbertPolynomial |