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.IntrinsicPadic.FrameGenerators |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.SmoothWitt.LevelMap |
| 3 | |
| 4 | /-! # Frame Level Map -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.FrameLevelMap.IntrinsicPadicFrameLevelMap |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Canonical prime-power reduction gives morphisms between the actual |
| 11 | native integral-section frames at different bounded crystalline levels. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | variable (p : ℕ) [Fact p.Prime] |
| 16 | (X : Over (Spec (CommRingCat.of ℤ_[p]))) [Smooth X.hom] |
| 17 | (Y : Over (Spec (CommRingCat.of (ZMod p)))) (f : Y.left ⟶ X.left) |
| 18 | (hp : IsPullback f Y.hom X.hom (Spec.map (CommRingCat.ofHom (PadicInt.toZMod : ℤ_[p] →+* ZMod p)))) |
| 19 | (U : X.left.Opens) (hU : IsAffineOpen U) |
| 20 | (n m : ℕ) (hnm : n ≤ m) |
| 21 | |
| 22 | local notation "W" => WittVector p (ZMod p) |
| 23 | local notation "A" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.AffineFrame.IntrinsicPadicAffineFrame.sourceRing p X U |
| 24 | local notation "C" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.AffineFrame.IntrinsicPadicAffineFrame.targetRing p X Y f U |
| 25 | local notation "wittMap" => OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.Crystalline.wittStructureMap p (ZMod p) Y |
| 26 | |
| 27 | local instance padic : Algebra ℤ_[p] A := AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebra ℤ_[p] X U |
| 28 | local instance witt : Algebra W A := WittAlgebra.PadicWittAlgebra.algebra p A |
| 29 | local instance special : Algebra (ZMod p) C := AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebra (ZMod p) Y (f ⁻¹ᵁ U) |
| 30 | |
| 31 | def localMap := by |
| 32 | letI := AffineFrame.IntrinsicPadicAffineFrame.source_flat p X U hU |
| 33 | exact IntegralComparison.SmoothWitt.LevelMap.morphism p (ZMod p) A C |
| 34 | (AffineFrame.IntrinsicPadicAffineFrame.reduction p X Y f U) |
| 35 | (AffineFrame.IntrinsicPadicAffineFrame.reduction_surjective p X Y f hp U hU) |
| 36 | (AffineFrame.IntrinsicPadicAffineFrame.reduction_kernel p X Y f hp U hU) |
| 37 | (AffineFrame.IntrinsicPadicAffineFrame.reduction_base p X Y f hp U) n m hnm |
| 38 | |
| 39 | def map : |
| 40 | (IntegralComparison.BoundedCrystalline.LevelMaps.inclusion (p := p) |
| 41 | (J := Ideal.span {(p : W)}) (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p (ZMod p)) |
| 42 | wittMap n m hnm).obj (ChartImage.IntrinsicPadicOpenFrame.frame p X Y f hp U hU n) ⟶ |
| 43 | ChartImage.IntrinsicPadicOpenFrame.frame p X Y f hp U hU m := |
| 44 | (IntegralComparison.BoundedOpen.Equivalence.postcompose (ChartImage.IntrinsicPadicOpenFrame.chart p X Y f hp U hU) |
| 45 | (ChartImage.IntrinsicPadicOpenFrame.chart_over_witt p X Y f hp U hU) m).map |
| 46 | (localMap p X Y f hp U hU n m hnm) |
| 47 | |
| 48 | theorem map_generator (a : A) : |
| 49 | (IntrinsicPadicFrameLevelMap.map p X Y f hp U hU n m hnm).hom.ringMap |
| 50 | (FrameGenerators.IntrinsicPadicFrameGenerators.generators p X Y f hp m U hU a) = |
| 51 | FrameGenerators.IntrinsicPadicFrameGenerators.generators p X Y f hp n U hU a := rfl |
| 52 | |
| 53 | end |
| 54 | |
| 55 | end OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.FrameLevelMap.IntrinsicPadicFrameLevelMap |