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.Fixed.ProjectiveHilbertPolynomial |
| 2 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.Presentations.IntrinsicCoordinateIdeal |
| 3 | |
| 4 | /-! # Polynomial Twist Comparison -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Hilbert.PolynomialTwistComparison |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Closed projective embeddings with isomorphic pullbacks of every |
| 11 | native twist have exactly the same homogeneous Hilbert-polynomial predicate. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.MvPolynomial |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | theorem hilbertPolynomial_iff_of_twist_pullback_isos {K : Type u} [Field K] |
| 18 | {X : Scheme.{u}} {n : ℕ} (f g : X ⟶ Proj (Hilbert.Polynomial.GradedHilbert.grading K n)) |
| 19 | [IsClosedImmersion f] [IsClosedImmersion g] |
| 20 | (π : X ⟶ Spec (.of K)) (hf : f ≫ SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ = π) (hg : g ≫ SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ = π) |
| 21 | (i : Fin (n + 1)) |
| 22 | (h : ∀ m : ℕ, Nonempty ((Scheme.Modules.pullback f).obj (SheafCohomology.Projective.TwistPowers.MvPolynomial.coordinateHyperplanePoleSheafPower (R := K) i m) ≅ |
| 23 | (Scheme.Modules.pullback g).obj (SheafCohomology.Projective.TwistPowers.MvPolynomial.coordinateHyperplanePoleSheafPower (R := K) i m))) (P : Polynomial ℚ) : |
| 24 | Hilbert.Polynomial.GradedHilbert.HasHilbertPolynomial (ChartHomogeneousIdeal.GradedHilbert.homogeneousIdealOfSheaf f.ker).toIdeal P ↔ |
| 25 | Hilbert.Polynomial.GradedHilbert.HasHilbertPolynomial (ChartHomogeneousIdeal.GradedHilbert.homogeneousIdealOfSheaf g.ker).toIdeal P := by |
| 26 | let j : Bool → (X ⟶ Proj (Hilbert.Polynomial.GradedHilbert.grading K n)) := fun b => cond b f g |
| 27 | have hj : ∀ b, IsClosedImmersion (j b) := by |
| 28 | intro b |
| 29 | cases b |
| 30 | · exact inferInstanceAs (IsClosedImmersion g) |
| 31 | · exact inferInstanceAs (IsClosedImmersion f) |
| 32 | have hπ : ∀ b, j b ≫ SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ = π := by |
| 33 | intro b |
| 34 | cases b |
| 35 | · exact hg |
| 36 | · exact hf |
| 37 | have hL : ∀ b m, Nonempty ((Scheme.Modules.pullback (j b)).obj (SheafCohomology.Projective.TwistPowers.MvPolynomial.coordinateHyperplanePoleSheafPower (R := K) i m) ≅ |
| 38 | (Scheme.Modules.pullback g).obj (SheafCohomology.Projective.TwistPowers.MvPolynomial.coordinateHyperplanePoleSheafPower (R := K) i m)) := by |
| 39 | intro b m |
| 40 | cases b |
| 41 | · exact ⟨Iso.refl _⟩ |
| 42 | · exact h m |
| 43 | have hfield : IsField Γ(Spec (.of K), ⊤) := |
| 44 | (Scheme.ΓSpecIso (.of K)).commRingCatIsoToRingEquiv.toMulEquiv.isField (Field.toIsField K) |
| 45 | obtain ⟨Q, hQ⟩ := PELModuli.IntegralModel.Fixed.ProjectiveHilbertPolynomial.PolarizationEmbedding.exists_fixed_nativeHilbertPolynomial hfield j π hπ i |
| 46 | (fun m => (Scheme.Modules.pullback g).obj (SheafCohomology.Projective.TwistPowers.MvPolynomial.coordinateHyperplanePoleSheafPower (R := K) i m)) hL |
| 47 | have hQf := (PELModuli.IntegralModel.Presentations.IntrinsicCoordinateIdeal.PolarizationEmbedding.native_hasHilbertPolynomial_iff_e34 f Q).mp (hQ true) |
| 48 | have hQg := (PELModuli.IntegralModel.Presentations.IntrinsicCoordinateIdeal.PolarizationEmbedding.native_hasHilbertPolynomial_iff_e34 g Q).mp (hQ false) |
| 49 | constructor |
| 50 | · intro hP |
| 51 | exact (Hilbert.Polynomial.GradedHilbert.hilbertPolynomial_unique hP hQf).symm ▸ hQg |
| 52 | · intro hP |
| 53 | exact (Hilbert.Polynomial.GradedHilbert.hilbertPolynomial_unique hP hQg).symm ▸ hQf |
| 54 | |
| 55 | end |
| 56 | |
| 57 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Hilbert.PolynomialTwistComparison |