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.PairedParameterRestriction |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicTruncated.PointSupport |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.ProjectivePoint.ParameterSource |
| 4 | import OAI.NumberTheory.PadicHodge.IntegralComparison.AffineOpen.ParameterRestriction |
| 5 | import OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.SupportedResidueNaturality |
| 6 | import OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.SupportedResidue |
| 7 | |
| 8 | /-! # Paired Residue -/ |
| 9 | |
| 10 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicTruncated.PairedResidue.AbelianModel |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | /-! Restricting the original pointed frame identifies the two literal |
| 15 | supported residues for the paired parameters, with the same canonical |
| 16 | resolution and the actual identity-section supports. -/ |
| 17 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.MvPolynomial Opposite |
| 18 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.IntrinsicOverlap.Intrinsic |
| 19 | set_option backward.isDefEq.respectTransparency false |
| 20 | set_option backward.isDefEq.respectTransparency.types false |
| 21 | variable {K : Type} [Field K] [NumberField K] |
| 22 | {q : ℕ} [Fact q.Prime] {jq : K →+* ℚ_[q]} {A : Geometry.AbelianH1Model K q jq} |
| 23 | {n m : ℕ} {hm : ¬q ∣ m} |
| 24 | attribute [local instance] MvPolynomial.gradedAlgebra |
| 25 | variable |
| 26 | {U : (IntegralComparison.Projective.IntrinsicOverlap.Intrinsic.space (TruncatedModel.NativeTruncatedBase.Ring q n) (A.truncatedTraceDimension n+1)).Opens} |
| 27 | {hU : IsAffineOpen U} |
| 28 | {D : IntegralComparison.ProjectivePoint.PointParameterData.Chart.Data (A.truncatedModel n).scheme (A.truncatedTraceMorphism n) |
| 29 | (A.truncatedIdentitySection n) A.dimension U hU} |
| 30 | (P : A.TruncatedPairedPointParameters n m hm U hU D) |
| 31 | |
| 32 | namespace TruncatedPairedPointParameters |
| 33 | |
| 34 | private abbrev residueResolution := injectiveResolution |
| 35 | (IntegralComparison.BoundedCrystalline.CrystallineCohomology.structureSheaf (p := q) |
| 36 | (J := Ideal.span {(q : WittVector q (ZMod q))}) |
| 37 | (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers q (ZMod q)) |
| 38 | (IntegralComparison.Witt.Crystalline.wittStructureMap q (ZMod q) A.specialFiber.scheme) n) |
| 39 | |
| 40 | variable (V : (A.truncatedShiftModel n m hm).left.affineOpens) |
| 41 | (hV : V.val ≤ Geometry.AbelianH1Model.TruncatedPairedPointParameters.sourceNeighborhood P) |
| 42 | (hVW : V.val ≤ (A.truncatedShiftMap n m hm) ⁻¹ᵁ |
| 43 | ((A.truncatedTraceMorphism n).left ⁻¹ᵁ P.paired.ambient)) |
| 44 | |
| 45 | def _root_.OAI.NumberTheory.PadicHodge.GeometricComparison.Geometry.AbelianH1Model.TruncatedPairedPointParameters.sourceParameters : Fin A.dimension → Γ((A.truncatedShiftModel n m hm).left,V.val) := |
| 46 | fun j => (A.truncatedShiftMap n m hm).appLE |
| 47 | ((A.truncatedTraceMorphism n).left ⁻¹ᵁ P.paired.ambient) V.val hVW |
| 48 | ((A.truncatedTraceMorphism n).left.app P.paired.ambient (P.paired.original.parameters j)) |
| 49 | |
| 50 | def _root_.OAI.NumberTheory.PadicHodge.GeometricComparison.Geometry.AbelianH1Model.TruncatedPairedPointParameters.targetParameters : Fin A.dimension → |
| 51 | Γ((A.truncatedModel n).scheme.left,(Geometry.AbelianH1Model.TruncatedPairedPointParameters.restrictedTarget P V hV).val) := |
| 52 | fun j => (A.truncatedModel n).scheme.left.presheaf.map |
| 53 | (homOfLE (Geometry.AbelianH1Model.TruncatedPairedPointParameters.restrictedTarget_below P V hV)).op |
| 54 | ((A.truncatedTraceMorphism n).left.app P.paired.ambient (P.paired.transported.parameters j)) |
| 55 | |
| 56 | theorem _root_.OAI.NumberTheory.PadicHodge.GeometricComparison.Geometry.AbelianH1Model.TruncatedPairedPointParameters.frame_parameters : |
| 57 | IntegralComparison.TruncatedModel.SupportedReindexData.coefficients |
| 58 | q (ZMod q) n (A.truncatedShiftModel n m hm) (A.truncatedModel n).scheme |
| 59 | A.specialFiber.scheme (A.truncatedShiftReduction n m hm) (A.truncatedReduction n) |
| 60 | (A.truncatedShiftModel_square n m hm) (A.truncatedReductionSquare n) |
| 61 | V (Geometry.AbelianH1Model.TruncatedPairedPointParameters.restrictedTarget P V hV) (Geometry.AbelianH1Model.TruncatedPairedPointParameters.restrictedFrameIso P V hV) A.dimension |
| 62 | (Geometry.AbelianH1Model.TruncatedPairedPointParameters.sourceParameters P V hVW) = Geometry.AbelianH1Model.TruncatedPairedPointParameters.targetParameters P V hV := by |
| 63 | funext j |
| 64 | exact Geometry.AbelianH1Model.TruncatedPairedPointParameters.restrictedFrameIso_parameters P V hV hVW j |
| 65 | |
| 66 | theorem _root_.OAI.NumberTheory.PadicHodge.GeometricComparison.Geometry.AbelianH1Model.TruncatedPairedPointParameters.target_span : Ideal.span (Set.range (Geometry.AbelianH1Model.TruncatedPairedPointParameters.targetParameters P V hV)) = |
| 67 | (A.truncatedIdentitySection n).ker.ideal (Geometry.AbelianH1Model.TruncatedPairedPointParameters.restrictedTarget P V hV) := |
| 68 | IntegralComparison.AffineOpen.ParameterRestriction.span (TruncatedModel.NativeTruncatedBase.Ring q n) |
| 69 | (A.truncatedModel n).scheme |
| 70 | ((A.truncatedTraceMorphism n).left ⁻¹ᵁ P.paired.ambient) |
| 71 | (Geometry.AbelianH1Model.TruncatedPairedPointParameters.restrictedTarget P V hV).val (P.paired.affine.preimage (A.truncatedTraceMorphism n).left) |
| 72 | (Geometry.AbelianH1Model.TruncatedPairedPointParameters.restrictedTarget P V hV).property (Geometry.AbelianH1Model.TruncatedPairedPointParameters.restrictedTarget_below P V hV) |
| 73 | (IntegralComparison.ProjectivePoint.ParameterSource.parameters (A.truncatedModel n).scheme |
| 74 | (A.truncatedTraceMorphism n) (A.truncatedIdentitySection n) A.dimension |
| 75 | P.paired.ambient P.paired.affine P.paired.transported.toParameterData) |
| 76 | (A.truncatedIdentitySection n).ker |
| 77 | (IntegralComparison.ProjectivePoint.ParameterSource.span (A.truncatedModel n).scheme |
| 78 | (A.truncatedTraceMorphism n) (A.truncatedIdentitySection n) A.dimension |
| 79 | P.paired.ambient P.paired.affine P.paired.transported.toParameterData) |
| 80 | |
| 81 | variable (hsource : Ideal.span (Set.range (Geometry.AbelianH1Model.TruncatedPairedPointParameters.sourceParameters P V hVW)) = |
| 82 | (A.truncatedShiftIdentitySection n m hm).ker.ideal V) |
| 83 | (hcontains : ⊤ ≤ (A.truncatedShiftIdentitySection n m hm) ⁻¹ᵁ V.val) |
| 84 | |
| 85 | def _root_.OAI.NumberTheory.PadicHodge.GeometricComparison.Geometry.AbelianH1Model.TruncatedPairedPointParameters.sourceResidue := IntegralComparison.TruncatedModel.SupportedResidue.residue |
| 86 | q (ZMod q) n (A.truncatedShiftModel n m hm) A.specialFiber.scheme |
| 87 | (A.truncatedShiftReduction n m hm) (A.truncatedShiftModel_square n m hm) V |
| 88 | (residueResolution (A := A) (n := n)) A.dimension (Geometry.AbelianH1Model.TruncatedPairedPointParameters.sourceParameters P V hVW) |
| 89 | (IntegralComparison.TruncatedModel.SupportedSection.punctured q (ZMod q) n |
| 90 | (A.truncatedShiftModel n m hm) A.specialFiber.scheme (A.truncatedShiftReduction n m hm) |
| 91 | (A.truncatedShiftIdentitySection n m hm)) |
| 92 | (IntegralComparison.TruncatedModel.SupportedSection.below q (ZMod q) n (A.truncatedShiftModel n m hm) |
| 93 | A.specialFiber.scheme (A.truncatedShiftReduction n m hm) V |
| 94 | (A.truncatedShiftIdentitySection n m hm) A.dimension (Geometry.AbelianH1Model.TruncatedPairedPointParameters.sourceParameters P V hVW) hsource) |
| 95 | (IntegralComparison.TruncatedModel.SupportedSection.cover q (ZMod q) n (A.truncatedShiftModel n m hm) |
| 96 | A.specialFiber.scheme (A.truncatedShiftReduction n m hm) V |
| 97 | (A.truncatedShiftIdentitySection n m hm) A.dimension (Geometry.AbelianH1Model.TruncatedPairedPointParameters.sourceParameters P V hVW) hsource) |
| 98 | (IntegralComparison.TruncatedModel.SupportedRows.exactAt_succ q (ZMod q) n (A.truncatedShiftModel n m hm) |
| 99 | A.specialFiber.scheme (A.truncatedShiftReduction n m hm) V |
| 100 | (residueResolution (A := A) (n := n)) A.dimension (Geometry.AbelianH1Model.TruncatedPairedPointParameters.sourceParameters P V hVW)) |
| 101 | (IntegralComparison.TruncatedModel.SupportedSection.global q (ZMod q) n (A.truncatedShiftModel n m hm) |
| 102 | A.specialFiber.scheme (A.truncatedShiftReduction n m hm) V |
| 103 | (A.truncatedShiftIdentitySection n m hm) hcontains) |
| 104 | |
| 105 | def _root_.OAI.NumberTheory.PadicHodge.GeometricComparison.Geometry.AbelianH1Model.TruncatedPairedPointParameters.targetResidue := IntegralComparison.TruncatedModel.SupportedResidue.residue |
| 106 | q (ZMod q) n (A.truncatedModel n).scheme A.specialFiber.scheme |
| 107 | (A.truncatedReduction n) (A.truncatedReductionSquare n) (Geometry.AbelianH1Model.TruncatedPairedPointParameters.restrictedTarget P V hV) |
| 108 | (residueResolution (A := A) (n := n)) A.dimension (Geometry.AbelianH1Model.TruncatedPairedPointParameters.targetParameters P V hV) |
| 109 | (IntegralComparison.TruncatedModel.SupportedSection.punctured q (ZMod q) n |
| 110 | (A.truncatedModel n).scheme A.specialFiber.scheme (A.truncatedReduction n) |
| 111 | (A.truncatedIdentitySection n)) |
| 112 | (IntegralComparison.TruncatedModel.SupportedSection.below q (ZMod q) n (A.truncatedModel n).scheme |
| 113 | A.specialFiber.scheme (A.truncatedReduction n) (Geometry.AbelianH1Model.TruncatedPairedPointParameters.restrictedTarget P V hV) |
| 114 | (A.truncatedIdentitySection n) A.dimension (Geometry.AbelianH1Model.TruncatedPairedPointParameters.targetParameters P V hV) (Geometry.AbelianH1Model.TruncatedPairedPointParameters.target_span P V hV)) |
| 115 | (IntegralComparison.TruncatedModel.SupportedSection.cover q (ZMod q) n (A.truncatedModel n).scheme |
| 116 | A.specialFiber.scheme (A.truncatedReduction n) (Geometry.AbelianH1Model.TruncatedPairedPointParameters.restrictedTarget P V hV) |
| 117 | (A.truncatedIdentitySection n) A.dimension (Geometry.AbelianH1Model.TruncatedPairedPointParameters.targetParameters P V hV) (Geometry.AbelianH1Model.TruncatedPairedPointParameters.target_span P V hV)) |
| 118 | (IntegralComparison.TruncatedModel.SupportedRows.exactAt_succ q (ZMod q) n (A.truncatedModel n).scheme |
| 119 | A.specialFiber.scheme (A.truncatedReduction n) (Geometry.AbelianH1Model.TruncatedPairedPointParameters.restrictedTarget P V hV) |
| 120 | (residueResolution (A := A) (n := n)) A.dimension (Geometry.AbelianH1Model.TruncatedPairedPointParameters.targetParameters P V hV)) |
| 121 | (IntegralComparison.TruncatedModel.SupportedSection.global q (ZMod q) n (A.truncatedModel n).scheme |
| 122 | A.specialFiber.scheme (A.truncatedReduction n) (Geometry.AbelianH1Model.TruncatedPairedPointParameters.restrictedTarget P V hV) |
| 123 | (A.truncatedIdentitySection n) (Geometry.AbelianH1Model.TruncatedPairedPointParameters.restrictedTarget_contains P V hV hcontains)) |
| 124 | |
| 125 | variable (j : AlgebraicGeometry.Crystalline.Cohomology.Base.SmoothProperEtaleCover.BaseSmoothProperEtaleCover.Index (TruncatedModel.NativeTruncatedBase.Ring q n) |
| 126 | (A.truncatedShiftModel n m hm)) |
| 127 | (hj : V.val ≤ AlgebraicGeometry.Crystalline.Cohomology.Base.ProperOrdinaryFormCharts.BaseSmoothProperOrdinaryFormCharts.opens (TruncatedModel.NativeTruncatedBase.Ring q n) |
| 128 | (A.truncatedShiftModel n m hm) j) |
| 129 | |
| 130 | abbrev _root_.OAI.NumberTheory.PadicHodge.GeometricComparison.Geometry.AbelianH1Model.TruncatedPairedPointParameters.rawResidueComparison := |
| 131 | IntegralComparison.TruncatedModel.SupportedResidueNaturality.section_comparison |
| 132 | q (ZMod q) n (A.truncatedShiftModel n m hm) (A.truncatedModel n).scheme |
| 133 | A.specialFiber.scheme (A.truncatedShiftReduction n m hm) (A.truncatedReduction n) |
| 134 | (A.truncatedShiftModel_square n m hm) (A.truncatedReductionSquare n) |
| 135 | V (Geometry.AbelianH1Model.TruncatedPairedPointParameters.restrictedTarget P V hV) (Geometry.AbelianH1Model.TruncatedPairedPointParameters.restrictedFrameIso P V hV) |
| 136 | (residueResolution (A := A) (n := n)) j hj A.dimension (Geometry.AbelianH1Model.TruncatedPairedPointParameters.sourceParameters P V hVW) |
| 137 | (A.truncatedShiftIdentitySection n m hm) hsource hcontains |
| 138 | |
| 139 | include hj in |
| 140 | theorem _root_.OAI.NumberTheory.PadicHodge.GeometricComparison.Geometry.AbelianH1Model.TruncatedPairedPointParameters.residueComparison : Geometry.AbelianH1Model.TruncatedPairedPointParameters.sourceResidue P V hVW hsource hcontains = Geometry.AbelianH1Model.TruncatedPairedPointParameters.targetResidue P V hV hcontains := by |
| 141 | have h := Geometry.AbelianH1Model.TruncatedPairedPointParameters.rawResidueComparison P V hV hVW hsource hcontains j hj |
| 142 | refine h.trans ?_ |
| 143 | apply IntegralComparison.TruncatedModel.SupportedResidue.Congruence.congr |
| 144 | q (ZMod q) n (A.truncatedModel n).scheme A.specialFiber.scheme |
| 145 | (A.truncatedReduction n) (A.truncatedReductionSquare n) (Geometry.AbelianH1Model.TruncatedPairedPointParameters.restrictedTarget P V hV) |
| 146 | (residueResolution (A := A) (n := n)) A.dimension |
| 147 | · exact Geometry.AbelianH1Model.TruncatedPairedPointParameters.frame_parameters P V hV hVW |
| 148 | · exact A.truncatedIdentityPuncture_eq n m hm |
| 149 | |
| 150 | include hj in |
| 151 | theorem _root_.OAI.NumberTheory.PadicHodge.GeometricComparison.Geometry.AbelianH1Model.TruncatedPairedPointParameters.weightedResidueComparison (r : WittVector q (ZMod q)) : |
| 152 | ComplexShape.σ (.up ℕ) (.up ℕ) (.up ℕ) P.paired.original.codimension A.dimension • |
| 153 | (ComplexShape.σ (.up ℕ) (.up ℕ) (.up ℕ) A.dimension A.dimension • |
| 154 | ((⟨r⟩ : IntegralComparison.Crystalline.ExactRestriction.Coeff (B := WittVector q (ZMod q))) • |
| 155 | Geometry.AbelianH1Model.TruncatedPairedPointParameters.sourceResidue P V hVW hsource hcontains)) = |
| 156 | ComplexShape.σ (.up ℕ) (.up ℕ) (.up ℕ) P.paired.transported.codimension A.dimension • |
| 157 | (ComplexShape.σ (.up ℕ) (.up ℕ) (.up ℕ) A.dimension A.dimension • |
| 158 | ((⟨r⟩ : IntegralComparison.Crystalline.ExactRestriction.Coeff (B := WittVector q (ZMod q))) • |
| 159 | Geometry.AbelianH1Model.TruncatedPairedPointParameters.targetResidue P V hV hcontains)) := by |
| 160 | rw [P.paired.same_codimension, Geometry.AbelianH1Model.TruncatedPairedPointParameters.residueComparison P V hV hVW hsource hcontains j hj] |
| 161 | |
| 162 | end TruncatedPairedPointParameters |
| 163 | |
| 164 | end |
| 165 | |
| 166 | end OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicTruncated.PairedResidue.AbelianModel |