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.FrameDiagonalCoordinates |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.BoundedFrame.OpenSectionsIso |
| 3 | import OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.SubchartResolution |
| 4 | import OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.ChartImage |
| 5 | |
| 6 | /-! # Frame Diagonal Iso -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.FrameDiagonalIso.IntrinsicPadicFrameDiagonalIso |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The actual frame-to-diagonal section map is invertible on each affine |
| 13 | subchart of the integral etale cover. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 16 | |
| 17 | variable (p : ℕ) [Fact p.Prime] |
| 18 | (X : Over (Spec (CommRingCat.of ℤ_[p]))) [IsProper X.hom] [Smooth X.hom] |
| 19 | (Y : Over (Spec (CommRingCat.of (ZMod p)))) [IsSeparated Y.hom] |
| 20 | (f : Y.left ⟶ X.left) |
| 21 | (hp : IsPullback f Y.hom X.hom (Spec.map (CommRingCat.ofHom (PadicInt.toZMod : ℤ_[p] →+* ZMod p)))) |
| 22 | (n : ℕ) (I : X.left.affineOpens) |
| 23 | |
| 24 | local notation "W" => WittVector p (ZMod p) |
| 25 | local notation "C" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.AffineFrame.IntrinsicPadicAffineFrame.targetRing p X Y f I.val |
| 26 | local instance specialAlgebra : Algebra (ZMod p) C := AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebra (ZMod p) Y (f ⁻¹ᵁ I.val) |
| 27 | local notation "w" => OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.Crystalline.wittStructureMap p (ZMod p) Y |
| 28 | local notation "wI" => OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.Crystalline.wittStructureMap p (ZMod p) (OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.Presentation.affineScheme (ZMod p) C) |
| 29 | local notation "γ" => OAI.AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p (ZMod p) |
| 30 | local notation "Flocal" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.AffineFrame.IntrinsicPadicAffineFrame.frame p X Y f hp I.val I.property n |
| 31 | local notation "Fglobal" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.ChartImage.IntrinsicPadicOpenFrame.frame p X Y f hp I.val I.property n |
| 32 | local notation "g" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.ChartImage.IntrinsicPadicOpenFrame.chart p X Y f hp I.val I.property |
| 33 | local notation "hg" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.ChartImage.IntrinsicPadicOpenFrame.chart_over_witt p X Y f hp I.val I.property |
| 34 | |
| 35 | local instance separated : IsSeparated w := by |
| 36 | dsimp only [IntegralComparison.Witt.Crystalline.wittStructureMap] |
| 37 | infer_instance |
| 38 | local instance separatedLocal : IsSeparated wI := IntegralComparison.BoundedSmooth.WittFrameProduct.structureMap_separated p (ZMod p) C |
| 39 | local instance chartOpen : IsOpenImmersion g := ChartImage.IntrinsicPadicOpenFrame.chart_open p X Y f hp I.val I.property |
| 40 | |
| 41 | omit [IsProper X.hom] in |
| 42 | theorem component_eq : |
| 43 | (FrameDiagonalMap.IntrinsicPadicFrameDiagonalMap.transformation p X Y f hp n).app (op I) = |
| 44 | BoundedFrame.OpenSectionsIso.BoundedFrameOpenSectionsIso.map n (FY := Fglobal) (f ⁻¹ᵁ I.val) := by |
| 45 | apply HomologicalComplex.Hom.ext |
| 46 | funext k |
| 47 | exact FrameDiagonalCoordinates.IntrinsicPadicFrameDiagonalCoordinates.app_f p X Y f hp n I k |
| 48 | |
| 49 | variable (i : Integral.EtaleAffineCover.IntegralEtaleAffineCover.Index ℤ_[p] X) |
| 50 | (hi : I.val ≤ Integral.EtaleAffineCover.IntegralEtaleAffineCoverSections.opens ℤ_[p] X i) |
| 51 | |
| 52 | include hi in |
| 53 | theorem isIso : IsIso ((FrameDiagonalMap.IntrinsicPadicFrameDiagonalMap.transformation p X Y f hp n).app (op I)) := by |
| 54 | let e : Fglobal ≅ Fglobal := Iso.refl Fglobal |
| 55 | rw [component_eq p X Y f hp n I] |
| 56 | exact BoundedFrame.OpenSectionsIso.BoundedFrameOpenSectionsIso.isIso g hg n (FX := Flocal) (FY := Fglobal) e |
| 57 | (SubchartResolution.IntrinsicPadicSubchartResolution.sectionsMap_isIso p X Y f hp n I i hi) |
| 58 | (f ⁻¹ᵁ I.val) (ChartImage.IntrinsicPadicChartImage.opensRange p X Y f hp I.val I.property).symm |
| 59 | |
| 60 | end |
| 61 | |
| 62 | end OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.FrameDiagonalIso.IntrinsicPadicFrameDiagonalIso |