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 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.TensorPower.Maps |
| 4 | |
| 5 | /-! # Source Power Hilbert Polynomial -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.SourcePowerHilbertPolynomial |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Choose the graph polynomial from the source polarization alone. |
| 12 | Scaling the twist exponent scales the polynomial variable; no source CM |
| 13 | action or initial Segre presentation is needed for this choice. -/ |
| 14 | |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 18 | |
| 19 | namespace PolarizationEmbedding |
| 20 | |
| 21 | open OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.TensorPower.Maps |
| 22 | universe u |
| 23 | attribute [local instance] MvPolynomial.gradedAlgebra |
| 24 | |
| 25 | theorem exists_sourcePower_sections_polynomial |
| 26 | {k : Type u} [Field k] {X : Scheme.{u}} {n : ℕ} |
| 27 | (f : X ⟶ Proj (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.grading k n)) [IsClosedImmersion f] |
| 28 | (π : X ⟶ Spec (.of k)) (hf : f ≫ SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := k) = π) |
| 29 | (j : Fin (n + 1)) (L : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle X) |
| 30 | (hL : ∀ m, Nonempty ((Scheme.Modules.pullback f).obj |
| 31 | (SheafCohomology.Projective.TwistPowers.MvPolynomial.coordinateHyperplanePoleSheafPower (R := k) j m) ≅ (L.tensorPower m).sheaf)) |
| 32 | (r : ℕ) (hr : 0 < r) : |
| 33 | ∃ P : Polynomial ℚ, ∃ b : ℕ, ∀ m : ℕ, b ≤ m → |
| 34 | (Module.finrank Γ(Spec (.of k), ⊤) |
| 35 | ((SheafCohomology.Projective.AdditiveCoproductSections.baseGlobalSectionsFunctor π).obj (L.tensorPower (r * m)).sheaf) : ℚ) = P.eval (m : ℚ) := by |
| 36 | classical |
| 37 | have hfield : IsField Γ(Spec (.of k), ⊤) := |
| 38 | (Scheme.ΓSpecIso (.of k)).commRingCatIsoToRingEquiv.toMulEquiv.isField (Field.toIsField k) |
| 39 | obtain ⟨Q, _, b, hb⟩ := Projective.HilbertSections.PolarizationEmbedding.nativeTwistSections_eventuallyPolynomial f j hfield |
| 40 | refine ⟨Q.comp (Polynomial.C (r : ℚ) * Polynomial.X), b, fun m hm => ?_⟩ |
| 41 | have hbound : b ≤ r * m := hm.trans (Nat.le_mul_of_pos_left m hr) |
| 42 | have hdim := (Fixed.ProjectiveHilbertPolynomial.PolarizationEmbedding.nativeTwistSectionsFixedEquiv f π hf j (r * m) (L.tensorPower (r * m)).sheaf |
| 43 | (Classical.choice (hL (r * m)))).finrank_eq |
| 44 | rw [← hdim, hb (r * m) hbound] |
| 45 | simp only [Polynomial.eval_comp, Polynomial.eval_mul, Polynomial.eval_C, Polynomial.eval_X, Nat.cast_mul] |
| 46 | |
| 47 | theorem e34HilbertPolynomial_of_eventual_sections |
| 48 | {k : Type u} [Field k] {X : Scheme.{u}} {n : ℕ} |
| 49 | (f : X ⟶ Proj (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.grading k n)) [IsClosedImmersion f] |
| 50 | (π : X ⟶ Spec (.of k)) (hf : f ≫ SheafCohomology.Projective.MvPolynomialClosure.MvPolynomial.homogeneousProjπ (R := k) = π) |
| 51 | (j : Fin (n + 1)) (L : ℕ → X.Modules) |
| 52 | (hL : ∀ m, Nonempty ((Scheme.Modules.pullback f).obj |
| 53 | (SheafCohomology.Projective.TwistPowers.MvPolynomial.coordinateHyperplanePoleSheafPower (R := k) j m) ≅ L m)) |
| 54 | (P : Polynomial ℚ) (hP : ∃ b : ℕ, ∀ m : ℕ, b ≤ m → |
| 55 | (Module.finrank Γ(Spec (.of k), ⊤) ((SheafCohomology.Projective.AdditiveCoproductSections.baseGlobalSectionsFunctor π).obj (L m)) : ℚ) = P.eval (m : ℚ)) : |
| 56 | HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.HasHilbertPolynomial (HilbertScheme.Presentations.ChartHomogeneousIdeal.GradedHilbert.homogeneousIdealOfSheaf f.ker).toIdeal P := by |
| 57 | classical |
| 58 | apply (Presentations.IntrinsicCoordinateIdeal.PolarizationEmbedding.native_hasHilbertPolynomial_iff_e34 f P).mp |
| 59 | obtain ⟨b, hb⟩ := Projective.HilbertSections.PolarizationEmbedding.eventually_nativeHilbertFunction_eq_sections f j |
| 60 | obtain ⟨c, hc⟩ := hP |
| 61 | refine ⟨max b c, fun m hm => ?_⟩ |
| 62 | rw [hb m ((le_max_left b c).trans hm), |
| 63 | (Fixed.ProjectiveHilbertPolynomial.PolarizationEmbedding.nativeTwistSectionsFixedEquiv f π hf j m (L m) (Classical.choice (hL m))).finrank_eq] |
| 64 | exact hc m ((le_max_right b c).trans hm) |
| 65 | |
| 66 | end PolarizationEmbedding |
| 67 | |
| 68 | end |
| 69 | |
| 70 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.SourcePowerHilbertPolynomial |