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.CechPresheafResolution |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.PresheafSliceDiagram |
| 3 | import OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.EtaleSliceResolution |
| 4 | import OAI.NumberTheory.PadicHodge.GeometricComparison.Semilattice.LocalCechTotal |
| 5 | import OAI.NumberTheory.PadicHodge.GeometricComparison.CechCone.TotalAugmentationNaturality |
| 6 | |
| 7 | /-! # Cech Slice Resolution -/ |
| 8 | |
| 9 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.CechSliceResolution.IntrinsicPadicCechSliceResolution |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! The canonical global native Čech augmentation is a quasi-isomorphism |
| 14 | on every frame slice of the actual finite integral coordinate cover. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite |
| 17 | |
| 18 | variable (p : ℕ) [Fact p.Prime] |
| 19 | (X : Over (Spec (CommRingCat.of ℤ_[p]))) [IsProper X.hom] [Smooth X.hom] [X.left.IsSeparated] |
| 20 | (Y : Over (Spec (CommRingCat.of (ZMod p)))) [IsSeparated Y.hom] |
| 21 | (f : Y.left ⟶ X.left) |
| 22 | (hp : IsPullback f Y.hom X.hom (Spec.map (CommRingCat.ofHom (PadicInt.toZMod : ℤ_[p] →+* ZMod p)))) |
| 23 | (n : ℕ) |
| 24 | |
| 25 | def opens (i : Integral.EtaleAffineCover.IntegralEtaleAffineCover.Index ℤ_[p] X) : X.left.affineOpens := |
| 26 | ⟨Integral.EtaleAffineCover.IntegralEtaleAffineCoverSections.opens ℤ_[p] X i, Integral.EtaleAffineCover.IntegralEtaleAffineCoverSections.affine ℤ_[p] X i⟩ |
| 27 | |
| 28 | local notation "W" => WittVector p (ZMod p) |
| 29 | local notation "U" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.CechSliceResolution.IntrinsicPadicCechSliceResolution.opens p X |
| 30 | local notation "P" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.CechPresheafResolution.IntrinsicPadicCechPresheafResolution.diagram p X Y f hp n |
| 31 | local notation "M" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.CechPresheafResolution.IntrinsicPadicCechPresheafResolution.source p Y n |
| 32 | local notation "η" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.CechPresheafResolution.IntrinsicPadicCechPresheafResolution.cone p X Y f hp n |
| 33 | |
| 34 | variable (i : Integral.EtaleAffineCover.IntegralEtaleAffineCover.Index ℤ_[p] X) |
| 35 | |
| 36 | def restriction := IntegralComparison.Relative.ComplexRestriction.restriction (B := W) |
| 37 | (Over.forget (ChartImage.IntrinsicPadicOpenFrame.frame p X Y f hp (U i).val (U i).property n)) |
| 38 | |
| 39 | local instance restriction_additive : (restriction p X Y f hp n i).Additive := by |
| 40 | dsimp only [restriction] |
| 41 | infer_instance |
| 42 | |
| 43 | def localDiagram := CechCone.TotalCoefficient.CechConeTotalCoefficient.mapped (restriction p X Y f hp n i) P |
| 44 | |
| 45 | def localCone := CechCone.TotalCoefficientAugmentation.CechConeTotalCoefficientAugmentation.mappedCone (restriction p X Y f hp n i) P M η |
| 46 | |
| 47 | omit [X.left.IsSeparated] in |
| 48 | theorem localDiagram_eq : localDiagram p X Y f hp n i = |
| 49 | PresheafSliceDiagram.IntrinsicPadicPresheafSliceDiagram.diagram p X Y f hp n (U i) := rfl |
| 50 | |
| 51 | theorem meet_isIso (V : X.left.affineOpens) : |
| 52 | IsIso ((localDiagram p X Y f hp n i).map (homOfLE (inf_le_left : V ⊓ U i ≤ V)).op) := by |
| 53 | rw [localDiagram_eq] |
| 54 | exact PresheafSliceDiagram.IntrinsicPadicPresheafSliceDiagram.meet_isIso p X Y f hp n (U i) V |
| 55 | |
| 56 | omit [X.left.IsSeparated] in |
| 57 | theorem chart_quasiIso : QuasiIso ((localCone p X Y f hp n i).app (op (U i))) := by |
| 58 | change QuasiIso ((CechCone.TotalCoefficientAugmentation.CechConeTotalCoefficientAugmentation.mappedCone (restriction p X Y f hp n i) P M η).app (op (U i))) |
| 59 | rw [CechCone.TotalCoefficientAugmentation.CechConeTotalCoefficientAugmentation.mappedCone_app] |
| 60 | exact EtaleSliceResolution.IntrinsicPadicEtaleSliceResolution.onSlice p X Y f hp n i |
| 61 | |
| 62 | theorem local_total_quasiIso : QuasiIso |
| 63 | (CechCone.Total.CechConeTotal.augmentation U (localDiagram p X Y f hp n i) |
| 64 | (((restriction p X Y f hp n i).mapHomologicalComplex (.up ℕ)).obj M) |
| 65 | (localCone p X Y f hp n i)) := by |
| 66 | exact @Semilattice.LocalCechTotal.SemilatticeLocalCechTotal.quasiIso W inferInstance X.left.affineOpens inferInstance _ _ _ U i |
| 67 | (localDiagram p X Y f hp n i) (fun V => meet_isIso p X Y f hp n i V) |
| 68 | (((restriction p X Y f hp n i).mapHomologicalComplex (.up ℕ)).obj M) (localCone p X Y f hp n i) |
| 69 | (chart_quasiIso p X Y f hp n i) |
| 70 | |
| 71 | theorem restricted_quasiIso : QuasiIso |
| 72 | (((restriction p X Y f hp n i).mapHomologicalComplex (.up ℕ)).map |
| 73 | (CechPresheafResolution.IntrinsicPadicCechPresheafResolution.augmentation p X Y f hp n U)) := by |
| 74 | apply (quasiIso_iff_comp_right _ (CechCone.TotalCoefficient.CechConeTotalCoefficient.totalIso (restriction p X Y f hp n i) U P).hom).mp |
| 75 | change QuasiIso (((restriction p X Y f hp n i).mapHomologicalComplex (.up ℕ)).map |
| 76 | (CechCone.Total.CechConeTotal.augmentation U P M η) ≫ |
| 77 | (CechCone.TotalCoefficient.CechConeTotalCoefficient.totalIso (restriction p X Y f hp n i) U P).hom) |
| 78 | erw [CechCone.TotalAugmentationNaturality.CechConeTotalAugmentationNaturality.augmentation] |
| 79 | exact local_total_quasiIso p X Y f hp n i |
| 80 | |
| 81 | end |
| 82 | |
| 83 | end OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.CechSliceResolution.IntrinsicPadicCechSliceResolution |