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.NumberTheory.PadicHodge.GeometricComparison.IntrinsicTruncated.TruncatedModel |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.AbelianField |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.NilpotentLineLifting |
| 4 | import OAI.NumberTheory.PadicHodge.IntegralComparison.NilpotentFiberProjectivity |
| 5 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Truncated.WittFinite |
| 6 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Projective.SpaceBaseChange |
| 7 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Projectivity |
| 8 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.Padding |
| 9 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.PresentationGeometry |
| 10 | |
| 11 | /-! # Projectivity -/ |
| 12 | |
| 13 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison |
| 14 | |
| 15 | noncomputable section |
| 16 | |
| 17 | /-! Projectivity of the original good-reduction model at every finite |
| 18 | Witt level, obtained by lifting a positive power of an actual ample |
| 19 | special-fiber line bundle. -/ |
| 20 | |
| 21 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 22 | |
| 23 | open OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Projective.SpaceBaseChange |
| 24 | |
| 25 | namespace IntrinsicTruncated.Projectivity.NativeTruncatedBase |
| 26 | variable (q : ℕ) [Fact q.Prime] (n : ℕ) |
| 27 | instance finite : Finite (TruncatedModel.NativeTruncatedBase.Ring q n) := IntegralComparison.Truncated.WittFinite.finite q (ZMod q) n |
| 28 | instance nontrivial : Nontrivial (TruncatedModel.NativeTruncatedBase.Ring q n) := |
| 29 | Function.Surjective.nontrivial (IntegralComparison.Truncated.Witt.reduction_surjective q (ZMod q) n) |
| 30 | instance localRing : IsLocalRing (TruncatedModel.NativeTruncatedBase.Ring q n) := |
| 31 | IsLocalRing.of_surjective' (IntegralComparison.Truncated.Witt.quotient q (ZMod q) n) Ideal.Quotient.mk_surjective |
| 32 | instance noetherianSections : IsNoetherianRing Γ(Spec (.of (TruncatedModel.NativeTruncatedBase.Ring q n)), ⊤) := |
| 33 | isNoetherianRing_of_ringEquiv (TruncatedModel.NativeTruncatedBase.Ring q n) (Scheme.ΓSpecIso (.of (TruncatedModel.NativeTruncatedBase.Ring q n))).commRingCatIsoToRingEquiv.symm |
| 34 | end IntrinsicTruncated.Projectivity.NativeTruncatedBase |
| 35 | |
| 36 | variable {K : Type} [Field K] [NumberField K] |
| 37 | {q : ℕ} [Fact q.Prime] {jq : K →+* ℚ_[q]} (A : Geometry.AbelianH1Model K q jq) |
| 38 | |
| 39 | instance Geometry.AbelianH1Model.truncatedModel_separated (n : ℕ) : (A.truncatedModel n).scheme.left.IsSeparated := |
| 40 | ⟨(terminal.comp_from (A.truncatedModel n).scheme.hom) ▸ |
| 41 | (inferInstance : IsSeparated ((A.truncatedModel n).scheme.hom ≫ terminal.from _))⟩ |
| 42 | |
| 43 | def Geometry.AbelianH1Model.specialFiberAmpleLine : AlgebraicGeometry.AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle A.specialFiber.scheme.left := |
| 44 | Classical.choose (AbelianField.AbelianFieldAmple.exists_ample A.specialFiber) |
| 45 | |
| 46 | theorem Geometry.AbelianH1Model.specialFiberAmpleLine_isAmple : A.specialFiberAmpleLine.IsAmple := |
| 47 | Classical.choose_spec (AbelianField.AbelianFieldAmple.exists_ample A.specialFiber) |
| 48 | |
| 49 | def Geometry.AbelianH1Model.truncatedAmpleLine (n : ℕ) : AlgebraicGeometry.AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle (A.truncatedModel n).scheme.left := |
| 50 | IntegralComparison.NilpotentLineLifting.lift q n (A.truncatedReduction n) |
| 51 | (A.truncated_prime_power_zero n) (A.truncatedReduction_kernel n) A.specialFiberAmpleLine |
| 52 | |
| 53 | def Geometry.AbelianH1Model.truncatedAmpleLineReductionIso (n : ℕ) : |
| 54 | ((A.truncatedAmpleLine n).pullback (A.truncatedReduction n)).sheaf ≅ |
| 55 | (A.specialFiberAmpleLine.tensorPower (q ^ n)).sheaf := |
| 56 | IntegralComparison.NilpotentLineLifting.reductionIso q n (A.truncatedReduction n) |
| 57 | (A.truncated_prime_power_zero n) (A.truncatedReduction_kernel n) A.specialFiberAmpleLine |
| 58 | |
| 59 | theorem Geometry.AbelianH1Model.truncatedAmpleLine_reduction_isAmple (n : ℕ) : |
| 60 | ((A.truncatedAmpleLine n).pullback (A.truncatedReduction n)).IsAmple := |
| 61 | ((A.specialFiberAmpleLine_isAmple).tensorPower (q ^ n) |
| 62 | (Nat.pow_pos (Fact.out : q.Prime).pos)).of_iso (A.truncatedAmpleLineReductionIso n).symm |
| 63 | |
| 64 | def Geometry.AbelianH1Model.truncatedProjectivePresentation (n : ℕ) : |
| 65 | AlgebraicGeometry.AbelianModuli.HilbertConstruction.Projective.ProjectivePresentations.ProjectivePresentation (A.truncatedModel n).scheme := |
| 66 | IntegralComparison.NilpotentFiberProjectivity.Ampleness.projectivePresentation (IntrinsicTruncated.TruncatedModel.NativeTruncatedBase.reduction q n) |
| 67 | (IntegralComparison.Truncated.Witt.reduction_surjective q (ZMod q) n) |
| 68 | (IntrinsicTruncated.TruncatedModel.NativeTruncatedBase.kernel_nilpotent q n) (A.truncatedModel n).scheme.hom |
| 69 | A.specialFiber.scheme.hom (A.truncatedReduction n) (A.truncatedReductionSquare n) |
| 70 | (A.truncatedAmpleLine n) (A.truncatedAmpleLine_reduction_isAmple n) |
| 71 | |
| 72 | theorem Geometry.AbelianH1Model.truncatedModel_projective (n : ℕ) : |
| 73 | IntegralComparison.Projectivity.Construction.ProjectiveOver (IntrinsicTruncated.TruncatedModel.NativeTruncatedBase.Ring q n) (A.truncatedModel n).scheme.hom := |
| 74 | IntegralComparison.Projective.PresentationGeometry.projectiveOver _ _ (A.truncatedProjectivePresentation n) |
| 75 | |
| 76 | /-- The ambient projective dimension is positive, as required by the |
| 77 | native projective residue trace. -/ |
| 78 | theorem Geometry.AbelianH1Model.truncatedModel_projective_positive (n : ℕ) : |
| 79 | ∃ (N : ℕ) (i : (A.truncatedModel n).scheme.left ⟶ |
| 80 | IntegralComparison.Projectivity.Construction.projectiveSpace (IntrinsicTruncated.TruncatedModel.NativeTruncatedBase.Ring q n) (N + 1)), |
| 81 | IsClosedImmersion i ∧ |
| 82 | i ≫ IntegralComparison.Projectivity.Construction.projectiveSpaceToSpec (IntrinsicTruncated.TruncatedModel.NativeTruncatedBase.Ring q n) (N + 1) = |
| 83 | (A.truncatedModel n).scheme.hom := |
| 84 | IntegralComparison.Projective.Padding.exists_positive _ _ (A.truncatedModel_projective n) |
| 85 | |
| 86 | end |
| 87 | |
| 88 | end OAI.NumberTheory.PadicHodge.GeometricComparison |