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.AbelianModuli.HilbertConstruction.Projective.LineBundleEulerPolynomial |
| 2 | |
| 3 | /-! # Twisted Line -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Euler polynomiality holds after any fixed line-bundle twist, using the |
| 10 | same global finite-difference identity on line-bundle classes. -/ |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 12 | universe u |
| 13 | |
| 14 | theorem TwistedLine.lineBundleEulerShift_power_eval_class {K : Type u} [Field K] {X : Scheme.{u}} |
| 15 | (p : X ⟶ Spec (.of K)) (L : Line.Bundles.LineBundle X) (q : Line.Bundles.LineBundle.IsoClass X) (n : ℕ) : |
| 16 | ((LineBundle.EulerShifts.lineBundleEulerShift X (Line.Bundles.LineBundle.classOf L)) ^ n) (LineBundle.EulerShifts.lineBundleClassEuler p) q = |
| 17 | LineBundle.EulerShifts.lineBundleClassEuler p (q * Line.Bundles.LineBundle.classOf L ^ n) := by |
| 18 | rw [← (LineBundle.EulerShifts.lineBundleEulerShift X).map_pow] |
| 19 | rfl |
| 20 | |
| 21 | theorem TwistedLine.lineBundleClassEuler_polynomial_of_two_generated |
| 22 | {K : Type u} [Field K] {X : Scheme.{u}} (p : X ⟶ Spec (.of K)) [IsProper p] |
| 23 | (L H : Line.Bundles.LineBundle X) (hH : Finite.GlobalModuleGenerators.HasFiniteGlobalGenerators H.sheaf) |
| 24 | (hLH : Finite.GlobalModuleGenerators.HasFiniteGlobalGenerators (L.tensor H).sheaf) (q : Line.Bundles.LineBundle.IsoClass X) : |
| 25 | ∃ P : Polynomial ℚ, ∀ n : ℕ, |
| 26 | P.eval (n : ℚ) = (LineBundle.EulerShifts.lineBundleClassEuler p (q * Line.Bundles.LineBundle.classOf L ^ n) : ℚ) := by |
| 27 | obtain ⟨r, hr⟩ := KoszulEulerDifference.lineBundleEulerShift_difference_annihilates_of_generators p H hH |
| 28 | obtain ⟨s, hs⟩ := KoszulEulerDifference.lineBundleEulerShift_difference_annihilates_of_generators p (L.tensor H) hLH |
| 29 | let T := LineBundle.EulerShifts.lineBundleEulerShift X (Line.Bundles.LineBundle.classOf L) |
| 30 | let U := LineBundle.EulerShifts.lineBundleEulerShift X (Line.Bundles.LineBundle.classOf H) |
| 31 | let v := LineBundle.EulerShifts.lineBundleClassEuler p |
| 32 | have hTUv : ((T * U - 1) ^ s) v = 0 := by |
| 33 | change ((LineBundle.EulerShifts.lineBundleEulerShift X (Line.Bundles.LineBundle.classOf L * Line.Bundles.LineBundle.classOf H) - 1) ^ s) |
| 34 | (LineBundle.EulerShifts.lineBundleClassEuler p) = 0 at hs |
| 35 | rwa [(LineBundle.EulerShifts.lineBundleEulerShift X).map_mul] at hs |
| 36 | have hv := CommutingDifferenceAnnihilation.commuting_tensor_differences_annihilate T U |
| 37 | (LineBundle.EulerShifts.lineBundleEulerShift_commute X (Line.Bundles.LineBundle.classOf L) (Line.Bundles.LineBundle.classOf H)) v s r hTUv hr |
| 38 | let φ : (Line.Bundles.LineBundle.IsoClass X → ℤ) →+ ℤ := |
| 39 | { toFun := fun f => f q, map_zero' := rfl, map_add' := fun _ _ => rfl } |
| 40 | obtain ⟨P, hP⟩ := EndomorphismOrbitPolynomial.exists_polynomial_of_endomorphism_difference_annihilates T φ v (s + r) hv |
| 41 | refine ⟨P, fun n => ?_⟩ |
| 42 | exact (hP n).trans (congrArg (fun z : ℤ => (z : ℚ)) (TwistedLine.lineBundleEulerShift_power_eval_class p L q n)) |
| 43 | |
| 44 | theorem TwistedLine.lineBundleClassEuler_polynomial_of_projectiveIso |
| 45 | {K : Type u} [Field K] {n : ℕ} {X : Scheme.{u}} |
| 46 | (p : X ⟶ Spec (.of K)) [IsProper p] |
| 47 | (I : HomogeneousIdeal (HilbertScheme.Presentations.Hilbert.Polynomial.GradedHilbert.grading K n)) (e : X ≅ Proj (HilbertScheme.Presentations.Graded.Quotient.GradedHilbert.quotientGrading I)) |
| 48 | (L : Line.Bundles.LineBundle X) (q : Line.Bundles.LineBundle.IsoClass X) : |
| 49 | ∃ P : Polynomial ℚ, ∀ m : ℕ, |
| 50 | P.eval (m : ℚ) = (LineBundle.EulerShifts.lineBundleClassEuler p (q * Line.Bundles.LineBundle.classOf L ^ m) : ℚ) := by |
| 51 | obtain ⟨H, hH, hLH⟩ := Projective.IsoGeneratedFactors.lineBundle_two_generated_factors_of_projectiveIso I e L |
| 52 | exact TwistedLine.lineBundleClassEuler_polynomial_of_two_generated p L H hH hLH q |
| 53 | |
| 54 | theorem Power.ProjectiveEmbeddings.PowerProjectiveEmbedding.lineBundleClass_eulerPolynomial |
| 55 | {K : Type u} [Field K] {X : Scheme.{u}} |
| 56 | (p : X ⟶ Spec (.of K)) [IsProper p] [Flat p] [LocallyOfFinitePresentation p] |
| 57 | {L : Line.Bundles.LineBundle X} (E : Power.ProjectiveEmbeddings.PowerProjectiveEmbedding L p) (M : Line.Bundles.LineBundle X) |
| 58 | (q : Line.Bundles.LineBundle.IsoClass X) : |
| 59 | ∃ P : Polynomial ℚ, ∀ n : ℕ, |
| 60 | P.eval (n : ℚ) = (LineBundle.EulerShifts.lineBundleClassEuler p (q * Line.Bundles.LineBundle.classOf M ^ n) : ℚ) := by |
| 61 | have : IsClosedImmersion (SectionsProjectiveMorphism.sectionProjectiveMorphism p E.sections E.covers).left := E.closedImmersion |
| 62 | have : Flat (Over.mk p).hom := inferInstanceAs (Flat p) |
| 63 | have : LocallyOfFinitePresentation (Over.mk p).hom := inferInstanceAs (LocallyOfFinitePresentation p) |
| 64 | obtain ⟨I, ⟨e⟩⟩ := Relative.EmbeddingProjectiveQuotient.relativeEmbedding_has_projectiveQuotient_iso |
| 65 | (SectionsProjectiveMorphism.sectionProjectiveMorphism p E.sections E.covers) |
| 66 | exact TwistedLine.lineBundleClassEuler_polynomial_of_projectiveIso p I e M q |
| 67 | |
| 68 | end |
| 69 | |
| 70 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |