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.Smooth.ProjectivePointSourceRecovery |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.IntrinsicCoordinates |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.TransportedPrincipalFraction |
| 4 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.FormFraction |
| 5 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.ParameterOpenEtale |
| 6 | import OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.SerreGlobal |
| 7 | |
| 8 | /-! # Smooth Point Value Data -/ |
| 9 | |
| 10 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.SmoothPointValueData |
| 11 | |
| 12 | noncomputable section |
| 13 | |
| 14 | /-! The original smooth point class has the signed local residue value |
| 15 | on every affine neighborhood containing its section. -/ |
| 16 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry _root_.MvPolynomial _root_.HomologicalComplex |
| 17 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Projective.IntrinsicOverlap.Intrinsic |
| 18 | set_option backward.defeqAttrib.useBackward true |
| 19 | set_option backward.isDefEq.respectTransparency false |
| 20 | set_option backward.isDefEq.respectTransparency.types false |
| 21 | |
| 22 | private theorem join_equalities {A : Type*} {a b c d : A} |
| 23 | (hab : a = b) (hcd : c = d) (hbc : b = c) : a = d := |
| 24 | hab.trans (hbc.trans hcd) |
| 25 | |
| 26 | variable (p : ℕ) [Fact p.Prime] (k : Type) [Field k] [Fintype k] [CharP k p] |
| 27 | (n : ℕ) [IsNoetherianRing (Truncated.Witt.Ring p k n)] |
| 28 | [IsArtinianRing (Truncated.Witt.Ring p k n)] [IsLocalRing (Truncated.Witt.Ring p k n)] |
| 29 | [Module.Injective (Truncated.Witt.Ring p k n) (Truncated.Witt.Ring p k n)] {d g : ℕ} |
| 30 | attribute [local instance] MvPolynomial.gradedAlgebra |
| 31 | variable (X : Over (Spec (CommRingCat.of (Truncated.Witt.Ring p k n)))) [Nonempty X.left] |
| 32 | [Smooth X.hom] [IsProper X.hom] [GeometricallyConnected X.hom] [SmoothOfRelativeDimension g X.hom] |
| 33 | (i : X ⟶ Projective.IntrinsicOverlap.Intrinsic.model (Truncated.Witt.Ring p k n) (d+1)) [IsClosedImmersion i.left] |
| 34 | (s₀ : Spec (CommRingCat.of (Truncated.Witt.Ring p k n)) ⟶ X.left) [IsClosedImmersion s₀] |
| 35 | (hbase : s₀ ≫ X.hom = 𝟙 _) (B : ℕ) (hB : d+2 ≤ B) |
| 36 | (U : (Projective.IntrinsicOverlap.Intrinsic.space (Truncated.Witt.Ring p k n) (d+1)).Opens) (hU : IsAffineOpen U) |
| 37 | (D : ProjectivePoint.PointParameterData.Chart.Data X i s₀ g U hU) |
| 38 | (Y : Over (Spec (CommRingCat.of k))) [IsSeparated Y.hom] (f : Y.left ⟶ X.left) |
| 39 | (hp : IsPullback f Y.hom X.hom |
| 40 | (Spec.map (CommRingCat.ofHom (Truncated.Witt.reduction p k n)))) |
| 41 | (I : InjectiveResolution (BoundedCrystalline.CrystallineCohomology.structureSheaf (p := p) |
| 42 | (J := Ideal.span {(p : WittVector p k)}) (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) |
| 43 | (Witt.Crystalline.wittStructureMap p k Y) n)) |
| 44 | (V : X.left.affineOpens) (hVU : V.val ≤ i.left ⁻¹ᵁ U) |
| 45 | (hcontains : ⊤ ≤ s₀ ⁻¹ᵁ V.val) |
| 46 | |
| 47 | attribute [local instance] IntegralComparison.Smooth.ProjectivePointTransfer.sourceSeparated |
| 48 | IntegralComparison.Smooth.ProjectiveSectionClassData.composite_smooth |
| 49 | IntegralComparison.Smooth.ProjectiveFormTrace.composite_proper IntegralComparison.Smooth.ProjectiveFormTrace.composite_connected |
| 50 | |
| 51 | abbrev cover := Intrinsic.TopFormTrace.cover X i |
| 52 | abbrev coverFull := Intrinsic.TopFormTrace.cover_top X i |
| 53 | abbrev coverAffine := Intrinsic.TopFormTrace.cover_affine X i |
| 54 | abbrev form := GeometricComparison.Integral.FormsModules.IntegralFormsModules.sheaf (Truncated.Witt.Ring p k n) X g |
| 55 | abbrev outside := SectionIdealPuncturedCover.outside s₀.ker |
| 56 | abbrev conditions := PrincipalPoint.SupportConditions.ProjectiveParameter.conditions X i s₀ g U hU D.toParameterData |
| 57 | V.val V.property hVU hcontains |
| 58 | abbrev nativeClass := Projective.FormSourceCoordinates.nativeClass X i s₀ hbase B hB U hU D |
| 59 | V.val V.property hVU |
| 60 | abbrev parameters := TransportedPrincipalData.Fraction.parameters i.left U V hVU g D.parameters |
| 61 | |
| 62 | abbrev nativeMap := TransportedPrincipalData.Fraction.nativeComparison p k n X i.left U hU |
| 63 | V hVU g D.parameters (outside p k n X s₀) (cover p k n X i) (coverFull p k n X i) |
| 64 | (coverAffine p k n X i) (conditions p k n X i s₀ U hU D V hVU hcontains).selected.wide_affine |
| 65 | (conditions p k n X i s₀ U hU D V hVU hcontains).selected.wide_punctured |
| 66 | (conditions p k n X i s₀ U hU D V hVU hcontains).selected.wide_cover |
| 67 | (conditions p k n X i s₀ U hU D V hVU hcontains).selected.wide_global D.codimension |
| 68 | |
| 69 | abbrev native_recovery := by |
| 70 | have hr := IntegralComparison.Smooth.ProjectivePointSourceRecovery.native_recovery X i s₀ hbase B hB U hU D |
| 71 | V.val V.property hVU hcontains |
| 72 | have hm := IntrinsicCoordinates.IntrinsicComparison.same p k n X g U hU D.parameters D.codimension |
| 73 | (cover p k n X i) (coverFull p k n X i) (coverAffine p k n X i) i.left V hVU |
| 74 | (outside p k n X s₀) (conditions p k n X i s₀ U hU D V hVU hcontains) |
| 75 | exact join_equalities hr |
| 76 | (congrArg (fun a => a (nativeClass p k n X i s₀ hbase B hB U hU D V hVU)) hm) |
| 77 | (by as_aux_lemma => rfl) |
| 78 | |
| 79 | def tracePoint : IntegralComparison.Smooth.ProjectiveFormTrace.cohomology X i g := |
| 80 | IntegralComparison.Smooth.ProjectiveSectionClassData.sectionClass X i s₀ hbase B hB g |
| 81 | |
| 82 | omit [Fintype k] [CharP k p] [IsNoetherianRing (Truncated.Witt.Ring p k n)] [IsArtinianRing (Truncated.Witt.Ring p k n)] [IsLocalRing (Truncated.Witt.Ring p k n)] [Module.Injective (Truncated.Witt.Ring p k n) (Truncated.Witt.Ring p k n)] [Nonempty ↥X.left] [Smooth X.hom] [IsProper X.hom] [GeometricallyConnected X.hom] [SmoothOfRelativeDimension g X.hom] [IsClosedImmersion (Over.Hom.left i)] [IsClosedImmersion s₀] in |
| 83 | theorem output_map : |
| 84 | SerreGlobal.Smooth.output p k n X i g D.codimension = |
| 85 | IntegralComparison.Smooth.ProjectivePointSourceRecovery.sourceOutput X i s₀ U hU D := rfl |
| 86 | |
| 87 | def evaluate (x : (Affine.OrderedInjective.Comparison.source (form (g := g) p k n X) D.codimension |
| 88 | (cover p k n X i)).homology (g+D.codimension)) : |
| 89 | BoundedCrystalline.CrystallineCohomology.Cohomology (p := p) |
| 90 | (J := Ideal.span {(p : WittVector p k)}) (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) |
| 91 | (Witt.Crystalline.wittStructureMap p k Y) n (g+g) := |
| 92 | PrincipalSheafFraction.value p k n X Y f hp I g D.codimension |
| 93 | (cover p k n X i) (coverFull p k n X i) (ULift.up.{2,1} (ULift.up.{1,0} x)) |
| 94 | |
| 95 | def pointValue : BoundedCrystalline.CrystallineCohomology.Cohomology (p := p) |
| 96 | (J := Ideal.span {(p : WittVector p k)}) (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) |
| 97 | (Witt.Crystalline.wittStructureMap p k Y) n (g+g) := |
| 98 | evaluate p k n X i s₀ U hU D Y f hp I |
| 99 | (SerreGlobal.Smooth.output p k n X i g D.codimension |
| 100 | (tracePoint (g := g) p k n X i s₀ hbase B hB)) |
| 101 | |
| 102 | abbrev nativeBelow := PrincipalSource.IntrinsicSupport.Intrinsic.punctured i.left U hU V.val V.property hVU |
| 103 | D.parameters (outside p k n X s₀) |
| 104 | (conditions p k n X i s₀ U hU D V hVU hcontains).selected.wide_punctured |
| 105 | abbrev nativeCover := PrincipalSource.IntrinsicSupport.Intrinsic.cover i.left U hU V.val V.property hVU |
| 106 | D.parameters (outside p k n X s₀) |
| 107 | (conditions p k n X i s₀ U hU D V hVU hcontains).selected.wide_cover |
| 108 | abbrev nativeGlobal := PrincipalSource.IntrinsicSupport.Intrinsic.global i.left U hU V.val V.property hVU |
| 109 | (outside p k n X s₀) (conditions p k n X i s₀ U hU D V hVU hcontains).selected.wide_global |
| 110 | abbrev residue := PrincipalFractionGlobal.boundedResidue p k n X Y f hp V I g |
| 111 | (SmoothPointValueData.parameters p k n X i s₀ U hU D V hVU) (outside p k n X s₀) |
| 112 | (nativeBelow p k n X i s₀ U hU D V hVU hcontains) |
| 113 | (nativeCover p k n X i s₀ U hU D V hVU hcontains) |
| 114 | (nativeGlobal p k n X i s₀ U hU D V hVU hcontains) |
| 115 | |
| 116 | variable (r : WittVector p k) |
| 117 | (hr : Truncated.Witt.quotient p k n r = |
| 118 | Projective.FormFraction.rawValue p k n X i s₀ hbase B hB U hU D) |
| 119 | |
| 120 | include hr in |
| 121 | omit [IsArtinianRing (Truncated.Witt.Ring p k n)] [IsLocalRing (Truncated.Witt.Ring p k n)] [Nonempty ↥X.left] [GeometricallyConnected X.hom] in |
| 122 | theorem local_fraction : |
| 123 | evaluate p k n X i s₀ U hU D Y f hp I |
| 124 | (nativeMap p k n X i s₀ U hU D V hVU hcontains |
| 125 | (nativeClass p k n X i s₀ hbase B hB U hU D V hVU)) = |
| 126 | ComplexShape.σ (.up ℕ) (.up ℕ) (.up ℕ) D.codimension g • |
| 127 | (ComplexShape.σ (.up ℕ) (.up ℕ) (.up ℕ) g g • |
| 128 | ((⟨r⟩ : Crystalline.ExactRestriction.Coeff (B := WittVector p k)) • |
| 129 | residue p k n X i s₀ U hU D Y f hp I V hVU hcontains)) := by |
| 130 | let := D.finiteVariables |
| 131 | let : LinearOrder D.coordinateIndex := |
| 132 | LinearOrder.lift' (Fintype.equivFin D.coordinateIndex) (Fintype.equivFin D.coordinateIndex).injective |
| 133 | let := Projective.ParameterOpenEtale.openAlgebra X i s₀ g U hU D.toParameterData V.val hVU |
| 134 | let := Projective.ParameterOpenEtale.openTower X i s₀ g U hU D.toParameterData V.val hVU |
| 135 | let := Projective.ParameterOpenEtale.openEtale X i s₀ g U hU D.toParameterData V.val V.property hVU |
| 136 | have hi := Projective.FormFraction.native_input p k n X i s₀ hbase B hB U hU D |
| 137 | Y f hp V hVU r hr |
| 138 | have h := TransportedPrincipalFraction.fraction p k n X Y f hp I |
| 139 | i.left U hU V hVU g D.parameters (outside p k n X s₀) |
| 140 | (cover p k n X i) (coverFull p k n X i) (coverAffine p k n X i) |
| 141 | (conditions p k n X i s₀ U hU D V hVU hcontains).selected.wide_affine |
| 142 | (conditions p k n X i s₀ U hU D V hVU hcontains).selected.wide_punctured |
| 143 | (conditions p k n X i s₀ U hU D V hVU hcontains).selected.wide_cover |
| 144 | (conditions p k n X i s₀ U hU D V hVU hcontains).selected.wide_global |
| 145 | D.coordinateIndex D.codimension (nativeClass p k n X i s₀ hbase B hB U hU D V hVU) |
| 146 | (ComplexShape.σ (.up ℕ) (.up ℕ) (.up ℕ) D.codimension g) r hi |
| 147 | convert h using 1 |
| 148 | as_aux_lemma => rfl |
| 149 | |
| 150 | end |
| 151 | |
| 152 | end OAI.NumberTheory.PadicHodge.IntegralComparison.TruncatedModel.SmoothPointValueData |