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.IntegralComparison.Truncated.PairedSelectedParameters |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.PrincipalSectionResidue |
| 3 | |
| 4 | /-! # Paired Bounded Residues -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The two original principal fraction outputs are exactly the paired |
| 11 | supported residues, using the same resolution and identity-section supports. -/ |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.MvPolynomial |
| 13 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.IntrinsicOverlap.Intrinsic |
| 14 | set_option backward.defeqAttrib.useBackward true |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | variable {K : Type} [Field K] [NumberField K] |
| 18 | {q : ℕ} [Fact q.Prime] {jq : K →+* ℚ_[q]} {A : GeometricComparison.Geometry.AbelianH1Model K q jq} |
| 19 | {n m : ℕ} {hm : ¬q ∣ m} |
| 20 | attribute [local instance] MvPolynomial.gradedAlgebra GeometricComparison.Geometry.AbelianH1Model.finiteSection_closed |
| 21 | variable |
| 22 | {U : (IntegralComparison.Projective.IntrinsicOverlap.Intrinsic.space (GeometricComparison.IntrinsicTruncated.TruncatedModel.NativeTruncatedBase.Ring q n) (A.truncatedTraceDimension n+1)).Opens} |
| 23 | {hU : IsAffineOpen U} |
| 24 | {D : IntegralComparison.ProjectivePoint.PointParameterData.Chart.Data (A.truncatedModel n).scheme (A.truncatedTraceMorphism n) |
| 25 | (A.truncatedIdentitySection n) A.dimension U hU} |
| 26 | (P : A.TruncatedPairedPointParameters n m hm U hU D) |
| 27 | |
| 28 | abbrev GeometricComparison.Geometry.AbelianH1Model.TruncatedPairedPointParameters.resolution := injectiveResolution |
| 29 | (IntegralComparison.BoundedCrystalline.CrystallineCohomology.structureSheaf (p := q) |
| 30 | (J := Ideal.span {(q : WittVector q (ZMod q))}) |
| 31 | (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers q (ZMod q)) |
| 32 | (IntegralComparison.Witt.Crystalline.wittStructureMap q (ZMod q) A.specialFiber.scheme) n) |
| 33 | |
| 34 | section Source |
| 35 | |
| 36 | variable (z : Γ((A.truncatedShiftModel n m hm).left,GeometricComparison.Geometry.AbelianH1Model.TruncatedPairedPointParameters.fullOpen P)) |
| 37 | |
| 38 | abbrev GeometricComparison.Geometry.AbelianH1Model.TruncatedPairedPointParameters.sourceTuple := IntegralComparison.PrincipalResidue.ResidueRestriction.parameters |
| 39 | ((A.truncatedShiftOver n m hm) ≫ A.truncatedTraceMorphism n).left |
| 40 | P.paired.ambient (GeometricComparison.Geometry.AbelianH1Model.TruncatedPairedPointParameters.affineOpen P z).val (GeometricComparison.Geometry.AbelianH1Model.TruncatedPairedPointParameters.below P z) |
| 41 | (GeometricComparison.Geometry.AbelianH1Model.TruncatedPairedPointParameters.finiteOriginal P).parameters |
| 42 | |
| 43 | variable (hgood : IntegralComparison.FiniteEtale.TraceBasis.Good (GeometricComparison.IntrinsicTruncated.TruncatedModel.NativeTruncatedBase.Ring q n) |
| 44 | (A.truncatedShiftModel n m hm) (A.truncatedModel n).scheme (A.truncatedShiftOver n m hm) |
| 45 | (GeometricComparison.Geometry.AbelianH1Model.TruncatedPairedPointParameters.baseOpen P)) |
| 46 | (hz : GeometricComparison.Geometry.AbelianH1Model.TruncatedPairedPointParameters.IsComponent P z) |
| 47 | (hO : IntegralComparison.TruncatedModel.PrincipalSectionResidue.Below q (ZMod q) n |
| 48 | (A.truncatedShiftModel n m hm) (GeometricComparison.Geometry.AbelianH1Model.TruncatedPairedPointParameters.affineOpen P z) A.dimension |
| 49 | (GeometricComparison.Geometry.AbelianH1Model.TruncatedPairedPointParameters.sourceTuple P z) (IntegralComparison.SectionIdealPuncturedCover.outside (A.truncatedShiftIdentitySection n m hm).ker)) |
| 50 | (hcover : IntegralComparison.TruncatedModel.PrincipalSectionResidue.Cover q (ZMod q) n |
| 51 | (A.truncatedShiftModel n m hm) (GeometricComparison.Geometry.AbelianH1Model.TruncatedPairedPointParameters.affineOpen P z) A.dimension |
| 52 | (GeometricComparison.Geometry.AbelianH1Model.TruncatedPairedPointParameters.sourceTuple P z) (IntegralComparison.SectionIdealPuncturedCover.outside (A.truncatedShiftIdentitySection n m hm).ker)) |
| 53 | (hglobal : IntegralComparison.TruncatedModel.PrincipalSectionResidue.Global q (ZMod q) n |
| 54 | (A.truncatedShiftModel n m hm) (GeometricComparison.Geometry.AbelianH1Model.TruncatedPairedPointParameters.affineOpen P z) |
| 55 | (IntegralComparison.SectionIdealPuncturedCover.outside (A.truncatedShiftIdentitySection n m hm).ker)) |
| 56 | |
| 57 | theorem IntegralComparison.Truncated.PairedBoundedResidues.Geometric.AbelianModel.TruncatedPairedPointParameters.BoundedResidues.source : |
| 58 | IntegralComparison.TruncatedModel.PrincipalFractionGlobal.boundedResidue q (ZMod q) n |
| 59 | (A.truncatedShiftModel n m hm) A.specialFiber.scheme (A.truncatedShiftReduction n m hm) |
| 60 | (A.truncatedShiftModel_square n m hm) (GeometricComparison.Geometry.AbelianH1Model.TruncatedPairedPointParameters.affineOpen P z) |
| 61 | (GeometricComparison.Geometry.AbelianH1Model.TruncatedPairedPointParameters.resolution (A := A) (n := n)) A.dimension (GeometricComparison.Geometry.AbelianH1Model.TruncatedPairedPointParameters.sourceTuple P z) |
| 62 | (IntegralComparison.SectionIdealPuncturedCover.outside (A.truncatedShiftIdentitySection n m hm).ker) |
| 63 | hO hcover hglobal = |
| 64 | GeometricComparison.Geometry.AbelianH1Model.TruncatedPairedPointParameters.sourceResidue P (GeometricComparison.Geometry.AbelianH1Model.TruncatedPairedPointParameters.affineOpen P z) (GeometricComparison.Geometry.AbelianH1Model.TruncatedPairedPointParameters.below P z) |
| 65 | (GeometricComparison.Geometry.AbelianH1Model.TruncatedPairedPointParameters.source_span P z hgood hz) (GeometricComparison.Geometry.AbelianH1Model.TruncatedPairedPointParameters.contains P z hgood hz) := by |
| 66 | have h := IntegralComparison.TruncatedModel.PrincipalSectionResidue.comparison q (ZMod q) n |
| 67 | (A.truncatedShiftModel n m hm) A.specialFiber.scheme (A.truncatedShiftReduction n m hm) |
| 68 | (A.truncatedShiftModel_square n m hm) (GeometricComparison.Geometry.AbelianH1Model.TruncatedPairedPointParameters.affineOpen P z) |
| 69 | (GeometricComparison.Geometry.AbelianH1Model.TruncatedPairedPointParameters.resolution (A := A) (n := n)) A.dimension (A.truncatedShiftIdentitySection n m hm) |
| 70 | (GeometricComparison.Geometry.AbelianH1Model.TruncatedPairedPointParameters.sourceParameters P (GeometricComparison.Geometry.AbelianH1Model.TruncatedPairedPointParameters.affineOpen P z) (GeometricComparison.Geometry.AbelianH1Model.TruncatedPairedPointParameters.below P z)) |
| 71 | (GeometricComparison.Geometry.AbelianH1Model.TruncatedPairedPointParameters.source_span P z hgood hz) (GeometricComparison.Geometry.AbelianH1Model.TruncatedPairedPointParameters.contains P z hgood hz) |
| 72 | (GeometricComparison.Geometry.AbelianH1Model.TruncatedPairedPointParameters.sourceTuple P z) (GeometricComparison.Geometry.AbelianH1Model.TruncatedPairedPointParameters.principal_parameters P z) hO hcover hglobal |
| 73 | exact h.trans (by as_aux_lemma => rfl) |
| 74 | alias GeometricComparison.Geometry.AbelianH1Model.TruncatedPairedPointParameters.BoundedResidues.source := IntegralComparison.Truncated.PairedBoundedResidues.Geometric.AbelianModel.TruncatedPairedPointParameters.BoundedResidues.source |
| 75 | |
| 76 | end Source |
| 77 | |
| 78 | variable (V : (A.truncatedShiftModel n m hm).left.affineOpens) |
| 79 | (hV : V.val ≤ GeometricComparison.Geometry.AbelianH1Model.TruncatedPairedPointParameters.sourceNeighborhood P) |
| 80 | |
| 81 | abbrev GeometricComparison.Geometry.AbelianH1Model.TruncatedPairedPointParameters.targetTuple := IntegralComparison.PrincipalResidue.ResidueRestriction.parameters (A.truncatedTraceMorphism n).left |
| 82 | P.paired.ambient (GeometricComparison.Geometry.AbelianH1Model.TruncatedPairedPointParameters.restrictedTarget P V hV).val (GeometricComparison.Geometry.AbelianH1Model.TruncatedPairedPointParameters.restrictedTarget_below P V hV) |
| 83 | P.paired.transported.parameters |
| 84 | |
| 85 | theorem GeometricComparison.Geometry.AbelianH1Model.TruncatedPairedPointParameters.target_parameters : GeometricComparison.Geometry.AbelianH1Model.TruncatedPairedPointParameters.targetTuple P V hV = GeometricComparison.Geometry.AbelianH1Model.TruncatedPairedPointParameters.targetParameters P V hV := rfl |
| 86 | |
| 87 | variable (hcontains : ⊤ ≤ (A.truncatedShiftIdentitySection n m hm) ⁻¹ᵁ V.val) |
| 88 | (hO : IntegralComparison.TruncatedModel.PrincipalSectionResidue.Below q (ZMod q) n |
| 89 | (A.truncatedModel n).scheme (GeometricComparison.Geometry.AbelianH1Model.TruncatedPairedPointParameters.restrictedTarget P V hV) A.dimension |
| 90 | (GeometricComparison.Geometry.AbelianH1Model.TruncatedPairedPointParameters.targetTuple P V hV) (IntegralComparison.SectionIdealPuncturedCover.outside (A.truncatedIdentitySection n).ker)) |
| 91 | (hcover : IntegralComparison.TruncatedModel.PrincipalSectionResidue.Cover q (ZMod q) n |
| 92 | (A.truncatedModel n).scheme (GeometricComparison.Geometry.AbelianH1Model.TruncatedPairedPointParameters.restrictedTarget P V hV) A.dimension |
| 93 | (GeometricComparison.Geometry.AbelianH1Model.TruncatedPairedPointParameters.targetTuple P V hV) (IntegralComparison.SectionIdealPuncturedCover.outside (A.truncatedIdentitySection n).ker)) |
| 94 | (hglobal : IntegralComparison.TruncatedModel.PrincipalSectionResidue.Global q (ZMod q) n |
| 95 | (A.truncatedModel n).scheme (GeometricComparison.Geometry.AbelianH1Model.TruncatedPairedPointParameters.restrictedTarget P V hV) |
| 96 | (IntegralComparison.SectionIdealPuncturedCover.outside (A.truncatedIdentitySection n).ker)) |
| 97 | |
| 98 | theorem IntegralComparison.Truncated.PairedBoundedResidues.Geometric.AbelianModel.TruncatedPairedPointParameters.BoundedResidues.target : |
| 99 | IntegralComparison.TruncatedModel.PrincipalFractionGlobal.boundedResidue q (ZMod q) n |
| 100 | (A.truncatedModel n).scheme A.specialFiber.scheme (A.truncatedReduction n) |
| 101 | (A.truncatedReductionSquare n) (GeometricComparison.Geometry.AbelianH1Model.TruncatedPairedPointParameters.restrictedTarget P V hV) |
| 102 | (GeometricComparison.Geometry.AbelianH1Model.TruncatedPairedPointParameters.resolution (A := A) (n := n)) A.dimension (GeometricComparison.Geometry.AbelianH1Model.TruncatedPairedPointParameters.targetTuple P V hV) |
| 103 | (IntegralComparison.SectionIdealPuncturedCover.outside (A.truncatedIdentitySection n).ker) |
| 104 | hO hcover hglobal = GeometricComparison.Geometry.AbelianH1Model.TruncatedPairedPointParameters.targetResidue P V hV hcontains := by |
| 105 | have h := IntegralComparison.TruncatedModel.PrincipalSectionResidue.comparison q (ZMod q) n |
| 106 | (A.truncatedModel n).scheme A.specialFiber.scheme (A.truncatedReduction n) |
| 107 | (A.truncatedReductionSquare n) (GeometricComparison.Geometry.AbelianH1Model.TruncatedPairedPointParameters.restrictedTarget P V hV) |
| 108 | (GeometricComparison.Geometry.AbelianH1Model.TruncatedPairedPointParameters.resolution (A := A) (n := n)) A.dimension (A.truncatedIdentitySection n) |
| 109 | (GeometricComparison.Geometry.AbelianH1Model.TruncatedPairedPointParameters.targetParameters P V hV) (GeometricComparison.Geometry.AbelianH1Model.TruncatedPairedPointParameters.target_span P V hV) (GeometricComparison.Geometry.AbelianH1Model.TruncatedPairedPointParameters.restrictedTarget_contains P V hV hcontains) |
| 110 | (GeometricComparison.Geometry.AbelianH1Model.TruncatedPairedPointParameters.targetTuple P V hV) (GeometricComparison.Geometry.AbelianH1Model.TruncatedPairedPointParameters.target_parameters P V hV) hO hcover hglobal |
| 111 | exact h.trans (by as_aux_lemma => rfl) |
| 112 | alias GeometricComparison.Geometry.AbelianH1Model.TruncatedPairedPointParameters.BoundedResidues.target := IntegralComparison.Truncated.PairedBoundedResidues.Geometric.AbelianModel.TruncatedPairedPointParameters.BoundedResidues.target |
| 113 | |
| 114 | end |
| 115 | |
| 116 | end OAI.NumberTheory.PadicHodge |