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.NaturalClosedAmbient |
| 2 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.Closed.AmbientPolynomialFunctor |
| 3 | import OAI.AlgebraicGeometry.HilbertScheme.Presentations.RepresentedSubfunctorRange |
| 4 | |
| 5 | /-! # Ambient Representation -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Closed.AmbientRepresentation.Core |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! An exact polynomial Hilbert representation in a projective ambient |
| 12 | restricts to a projective representation for every closed ambient subscheme. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | |
| 16 | universe u |
| 17 | variable {S : Scheme.{u}} {X Y H : Over S} [IsLocallyNoetherian H.left] |
| 18 | |
| 19 | theorem closedAmbient_hilbert_representation |
| 20 | (BY : Has.Core.ProjectivePresentation Y) (BH : Has.Core.ProjectivePresentation H) |
| 21 | (i : X ⟶ Y) [IsClosedImmersion i.left] (P : Polynomial ℚ) |
| 22 | (eH : yoneda.obj H ≅ (Hilbert.PolynomialSubfunctor.Core.hilbertPolynomialSubfunctor BY P).toFunctor) : |
| 23 | ∃ (Z : Over S) (j : Z ⟶ H), IsClosedImmersion j.left ∧ Has.Core.IsProjectiveOver Z ∧ |
| 24 | ∃ eZ : yoneda.obj Z ≅ (Hilbert.PolynomialSubfunctor.Core.hilbertPolynomialSubfunctor (BY.precompose i) P).toFunctor, |
| 25 | eZ.hom ≫ (Hilbert.PolynomialSubfunctor.Core.hilbertPolynomialSubfunctor (BY.precompose i) P).ι ≫ |
| 26 | Hilbert.ClosedAmbientNaturality.closedAmbientTransformation i = |
| 27 | yoneda.map j ≫ eH.hom ≫ (Hilbert.PolynomialSubfunctor.Core.hilbertPolynomialSubfunctor BY P).ι := by |
| 28 | let t : yoneda.obj H ⟶ Hilbert.Functor.familyFunctor Y := |
| 29 | eH.hom ≫ (Hilbert.PolynomialSubfunctor.Core.hilbertPolynomialSubfunctor BY P).ι |
| 30 | obtain ⟨Z, j, hj, e, he⟩ := NaturalClosedAmbient.Hilbert.naturalFamily_closedAmbient BY i t |
| 31 | let : IsClosedImmersion j.left := hj |
| 32 | have hrange : Subfunctor.range t = Hilbert.PolynomialSubfunctor.Core.hilbertPolynomialSubfunctor BY P := |
| 33 | RepresentedSubfunctorRange.representedSubfunctor_range _ eH |
| 34 | have h : (Subfunctor.range t).preimage (Hilbert.ClosedAmbientNaturality.closedAmbientTransformation i) = |
| 35 | Hilbert.PolynomialSubfunctor.Core.hilbertPolynomialSubfunctor (BY.precompose i) P := by |
| 36 | rw [hrange] |
| 37 | ext T F |
| 38 | exact AmbientFiberPolynomial.Core.hasFiberHilbertPolynomial_pushforward_iff i BY F P |
| 39 | obtain ⟨eZ, heZ⟩ := RepresentedSubfunctorRange.representedSubfunctor_transport h |
| 40 | (e.hom ≫ ((Subfunctor.range t).preimage (Hilbert.ClosedAmbientNaturality.closedAmbientTransformation i)).ι) e rfl |
| 41 | refine ⟨Z, j, hj, ⟨BH.precompose j⟩, eZ, ?_⟩ |
| 42 | have hc : eZ.hom ≫ (Hilbert.PolynomialSubfunctor.Core.hilbertPolynomialSubfunctor (BY.precompose i) P).ι ≫ |
| 43 | Hilbert.ClosedAmbientNaturality.closedAmbientTransformation i = |
| 44 | e.hom ≫ ((Subfunctor.range t).preimage (Hilbert.ClosedAmbientNaturality.closedAmbientTransformation i)).ι ≫ |
| 45 | Hilbert.ClosedAmbientNaturality.closedAmbientTransformation i := by |
| 46 | simpa only [Category.assoc] using |
| 47 | congrArg (fun k => k ≫ Hilbert.ClosedAmbientNaturality.closedAmbientTransformation i) heZ |
| 48 | exact hc.trans he |
| 49 | |
| 50 | end |
| 51 | |
| 52 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Closed.AmbientRepresentation.Core |