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.HilbertScheme.Presentations.Has |
| 2 | |
| 3 | /-! # Fiber Polynomial Base Change -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.FiberPolynomialBaseChange.Core |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The exact native field-fiber Hilbert-polynomial predicate is preserved |
| 10 | by arbitrary changes of test scheme. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | variable {S : Scheme.{u}} {X : Over S} (B : Has.Core.ProjectivePresentation X) |
| 16 | variable {T U : Over S} (f : U ⟶ T) (I : Hilbert.Functor.Family X T) (P : Polynomial ℚ) |
| 17 | |
| 18 | theorem hasFiberHilbertPolynomial_at (hI : Has.Core.HasFiberHilbertPolynomial B I P) |
| 19 | (K : Type u) [Field K] (a : Spec (CommRingCat.of K) ⟶ T.left) |
| 20 | (b : Spec (CommRingCat.of K) ⟶ S) (ha : a ≫ T.hom = b) : |
| 21 | let t : Over S := Over.mk b |
| 22 | let j : t ⟶ T := Over.homMk a ha |
| 23 | let J := Hilbert.Functor.pullbackFamily X j I |
| 24 | ∃ (q : Proj (Hilbert.Polynomial.GradedHilbert.grading K B.dimension) ⟶ Has.Core.projectiveSpace S B.dimension) |
| 25 | (e : J.val.subscheme ⟶ Proj (Hilbert.Polynomial.GradedHilbert.grading K B.dimension)), |
| 26 | IsPullback q (Has.Core.projectiveSpaceMap K B.dimension) (Has.Core.projectiveSpaceProjection S B.dimension) b ∧ |
| 27 | IsClosedImmersion e ∧ |
| 28 | e ≫ q = J.val.subschemeι ≫ (prod.snd : t ⨯ X ⟶ X).left ≫ B.embedding ∧ |
| 29 | e ≫ Has.Core.projectiveSpaceMap K B.dimension = Hilbert.Functor.familyProjection X J.val ∧ |
| 30 | Hilbert.Polynomial.GradedHilbert.HasHilbertPolynomial (ChartHomogeneousIdeal.GradedHilbert.homogeneousIdealOfSheaf e.ker).toIdeal P := by |
| 31 | subst b |
| 32 | exact hI K a |
| 33 | |
| 34 | theorem hasFiberHilbertPolynomial_pullback (hI : Has.Core.HasFiberHilbertPolynomial B I P) : |
| 35 | Has.Core.HasFiberHilbertPolynomial B (Hilbert.Functor.pullbackFamily X f I) P := by |
| 36 | intro K _ a |
| 37 | have hbase : (a ≫ f.left) ≫ T.hom = a ≫ U.hom := |
| 38 | (Category.assoc _ _ _).trans (congrArg (fun g => a ≫ g) f.w) |
| 39 | have h := hasFiberHilbertPolynomial_at B I P hI K (a ≫ f.left) (a ≫ U.hom) hbase |
| 40 | dsimp only at h ⊢ |
| 41 | rw [← Hilbert.Functor.pullbackFamily_comp] |
| 42 | have he : (Over.homMk a rfl : Over.mk (a ≫ U.hom) ⟶ U) ≫ f = |
| 43 | Over.homMk (a ≫ f.left) ((Category.assoc _ _ _).trans (congrArg (fun g => a ≫ g) f.w)) := |
| 44 | Over.OverMorphism.ext rfl |
| 45 | rw [he] |
| 46 | exact h |
| 47 | |
| 48 | end |
| 49 | |
| 50 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.FiberPolynomialBaseChange.Core |