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.NaturalHomOpen |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Polynomial.TupleSubfunctors |
| 3 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Loci |
| 4 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Projective.PresentationProper |
| 5 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.RepresentedSubfunctorRange |
| 6 | |
| 7 | /-! # Hom Package Assembly -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Hilbert.HomPackageAssembly.Core |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! Assemble the exact Hilbert/Hom package from a projective |
| 14 | representation of the polynomial Hilbert tuple subfunctor. The Hom scheme |
| 15 | is the proved graph open, with all natural compatibility equalities. -/ |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 18 | |
| 19 | universe u |
| 20 | variable {S : Scheme.{u}} [IsLocallyNoetherian S] (X Y : Over S) |
| 21 | variable [Flat X.hom] [IsProper X.hom] [LocallyOfFinitePresentation X.hom] |
| 22 | variable [IsSeparated Y.hom] |
| 23 | variable (B : Has.Core.ProjectivePresentation (X ⨯ Y)) (n : ℕ) (P : Fin n → Polynomial ℚ) |
| 24 | |
| 25 | theorem hilbertHomLoci_of_projective_hilbert |
| 26 | (H : Over S) (BH : Has.Core.ProjectivePresentation H) |
| 27 | (eH : yoneda.obj H ≅ (Presentations.Polynomial.TupleSubfunctors.Core.hilbertPolynomialTupleSubfunctor X Y n B P).toFunctor) : |
| 28 | Nonempty (Loci.Core.HilbertHomLoci X Y B n P) := by |
| 29 | let : LocallyOfFiniteType H.hom := BH.locallyOfFiniteType |
| 30 | let : IsLocallyNoetherian H.left := BH.locallyNoetherian |
| 31 | let t : yoneda.obj H ⟶ Has.Core.hilbertTuples X Y n := |
| 32 | eH.hom ≫ (Presentations.Polynomial.TupleSubfunctors.Core.hilbertPolynomialTupleSubfunctor X Y n B P).ι |
| 33 | obtain ⟨M, j, hj, hM, htest, e, he⟩ := NaturalHomOpen.Core.naturalHilbert_homOpen X Y n t |
| 34 | have hrange : Subfunctor.range t = Presentations.Polynomial.TupleSubfunctors.Core.hilbertPolynomialTupleSubfunctor X Y n B P := |
| 35 | RepresentedSubfunctorRange.representedSubfunctor_range _ eH |
| 36 | have h : (Subfunctor.range t).preimage (Has.Core.graphs X Y n) = |
| 37 | Presentations.Polynomial.TupleSubfunctors.Core.morphismPolynomialTupleSubfunctor X Y n B P := by |
| 38 | rw [hrange] |
| 39 | rfl |
| 40 | obtain ⟨eM, heM⟩ := RepresentedSubfunctorRange.representedSubfunctor_transport h |
| 41 | (e.hom ≫ ((Subfunctor.range t).preimage (Has.Core.graphs X Y n)).ι) e rfl |
| 42 | have hcomp : eM.hom ≫ (Presentations.Polynomial.TupleSubfunctors.Core.morphismPolynomialTupleSubfunctor X Y n B P).ι ≫ Has.Core.graphs X Y n = |
| 43 | yoneda.map j ≫ eH.hom ≫ (Presentations.Polynomial.TupleSubfunctors.Core.hilbertPolynomialTupleSubfunctor X Y n B P).ι := by |
| 44 | have hc : eM.hom ≫ (Presentations.Polynomial.TupleSubfunctors.Core.morphismPolynomialTupleSubfunctor X Y n B P).ι ≫ Has.Core.graphs X Y n = |
| 45 | e.hom ≫ ((Subfunctor.range t).preimage (Has.Core.graphs X Y n)).ι ≫ Has.Core.graphs X Y n := by |
| 46 | simpa only [Category.assoc] using congrArg (fun k => k ≫ Has.Core.graphs X Y n) heM |
| 47 | exact hc.trans he |
| 48 | exact ⟨{ |
| 49 | hilbert := H |
| 50 | homScheme := M |
| 51 | hilbertLocus := Presentations.Polynomial.TupleSubfunctors.Core.hilbertPolynomialTupleSubfunctor X Y n B P |
| 52 | morphismLocus := Presentations.Polynomial.TupleSubfunctors.Core.morphismPolynomialTupleSubfunctor X Y n B P |
| 53 | hilbert_mem := fun _ _ => Iff.rfl |
| 54 | morphism_mem := fun _ _ => Iff.rfl |
| 55 | hilbertEquivalence := eH |
| 56 | morphismEquivalence := eM |
| 57 | projective := ⟨BH⟩ |
| 58 | hom_finiteType := hM |
| 59 | graphInclusion := j |
| 60 | graph_open := hj |
| 61 | graph_compatibility := hcomp |
| 62 | graph_image := htest }⟩ |
| 63 | |
| 64 | end |
| 65 | |
| 66 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Hilbert.HomPackageAssembly.Core |