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.Coefficient |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.IntegralFirst.ThreeCechCompletion |
| 3 | |
| 4 | /-! # First Three Crystalline -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.FirstThreeCrystalline.IntrinsicPadicFirstThreeCrystalline |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The finite crystalline comparison has the actual coefficient-power |
| 11 | quotient cohomology of the integral three-term Cech complex as its source. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 14 | |
| 15 | variable (p : ℕ) [Fact p.Prime] |
| 16 | (X : Over (Spec (CommRingCat.of ℤ_[p]))) [IsProper X.hom] [Smooth X.hom] [X.left.IsSeparated] |
| 17 | |
| 18 | local notation "U" => OAI.NumberTheory.PadicHodge.GeometricComparison.Integral.EtaleAffineCover.IntegralEtaleAffineCoverSections.opens ℤ_[p] X |
| 19 | local notation "C" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntegralFirst.ThreeCechCompletion.IntegralFirstThreeCechCompletion.complex ℤ_[p] X U |
| 20 | local notation "coefficients" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.Coefficient.IntrinsicPadicSmallQuotientTotal.coefficients p |
| 21 | |
| 22 | def sourceHomologyIso (n : ℕ) : |
| 23 | (Coefficient.IntrinsicPadicSmallQuotientTotal.total p X n).homology 1 ≅ |
| 24 | (PrincipalCochainExact.PrincipalCochainQuotient.quotient ℤ_[p] C (p : ℤ_[p]) (n + 1)).homology 1 := |
| 25 | Coefficient.IntrinsicPadicSmallQuotientTotal.firstThreeHomologyIso p X n ≪≫ |
| 26 | (IntegralCech.QuotientTotal.IntegralCechQuotientTotal.homologyIso ℤ_[p] X U |
| 27 | ((Ideal.span {(p : ℤ_[p])}) ^ (n + 1)) 1).symm |
| 28 | |
| 29 | variable |
| 30 | (Y : Over (Spec (CommRingCat.of (ZMod p)))) [IsSeparated Y.hom] |
| 31 | (f : Y.left ⟶ X.left) |
| 32 | (hp : IsPullback f Y.hom X.hom (Spec.map (CommRingCat.ofHom (PadicInt.toZMod : ℤ_[p] →+* ZMod p)))) |
| 33 | (n : ℕ) |
| 34 | (J : InjectiveResolution (IntegralComparison.BoundedCrystalline.CrystallineCohomology.structureSheaf (p := p) |
| 35 | (J := Ideal.span {(p : WittVector p (ZMod p))}) |
| 36 | (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p (ZMod p)) |
| 37 | (IntegralComparison.Witt.Crystalline.wittStructureMap p (ZMod p) Y) n)) |
| 38 | |
| 39 | def homologyIso := |
| 40 | (coefficients).mapIso (sourceHomologyIso p X n).symm ≪≫ |
| 41 | (Coefficient.IntrinsicPadicCoefficientHomology.iso p (Coefficient.IntrinsicPadicSmallQuotientTotal.total p X n) 1).symm ≪≫ |
| 42 | Coefficient.IntrinsicPadicSmallQuotientTotal.homologyIso p X Y f hp n J |
| 43 | |
| 44 | end |
| 45 | |
| 46 | end OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.FirstThreeCrystalline.IntrinsicPadicFirstThreeCrystalline |