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.SubchartSliceResolution |
| 4 | import OAI.NumberTheory.PadicHodge.GeometricComparison.Semilattice.LocalCechTotal |
| 5 | import OAI.NumberTheory.PadicHodge.GeometricComparison.CechCone.TotalAugmentationNaturality |
| 6 | |
| 7 | /-! # Refined Cech Slice Resolution -/ |
| 8 | |
| 9 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.RefinedCechSliceResolution.IntrinsicPadicRefinedCechSliceResolution |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! A finite family of affine coordinate subcharts gives the original |
| 14 | Cech resolution on each of its frame slices. -/ |
| 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 : ℕ) {ι : Type} [Finite ι] (U : ι → X.left.affineOpens) |
| 24 | (index : ι → Integral.EtaleAffineCover.IntegralEtaleAffineCover.Index ℤ_[p] X) |
| 25 | (hU : ∀ i, (U i).val ≤ Integral.EtaleAffineCover.IntegralEtaleAffineCoverSections.opens ℤ_[p] X (index i)) |
| 26 | |
| 27 | local notation "W" => WittVector p (ZMod p) |
| 28 | local notation "P" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.CechPresheafResolution.IntrinsicPadicCechPresheafResolution.diagram p X Y f hp n |
| 29 | local notation "M" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.CechPresheafResolution.IntrinsicPadicCechPresheafResolution.source p Y n |
| 30 | local notation "η" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.CechPresheafResolution.IntrinsicPadicCechPresheafResolution.cone p X Y f hp n |
| 31 | |
| 32 | variable (i : ι) |
| 33 | |
| 34 | def restriction := IntegralComparison.Relative.ComplexRestriction.restriction (B := W) |
| 35 | (Over.forget (ChartImage.IntrinsicPadicOpenFrame.frame p X Y f hp (U i).val (U i).property n)) |
| 36 | |
| 37 | local instance restriction_additive : (restriction p X Y f hp n U i).Additive := by |
| 38 | dsimp only [restriction] |
| 39 | infer_instance |
| 40 | |
| 41 | def localDiagram := CechCone.TotalCoefficient.CechConeTotalCoefficient.mapped (restriction p X Y f hp n U i) P |
| 42 | def localCone := CechCone.TotalCoefficientAugmentation.CechConeTotalCoefficientAugmentation.mappedCone (restriction p X Y f hp n U i) P M η |
| 43 | |
| 44 | omit [X.left.IsSeparated] [IsProper X.hom] [Finite ι] in |
| 45 | theorem localDiagram_eq : localDiagram p X Y f hp n U i = |
| 46 | PresheafSliceDiagram.IntrinsicPadicPresheafSliceDiagram.diagram p X Y f hp n (U i) := rfl |
| 47 | |
| 48 | omit [IsProper X.hom] [Finite ι] in |
| 49 | theorem meet_isIso (V : X.left.affineOpens) : |
| 50 | IsIso ((localDiagram p X Y f hp n U i).map (homOfLE (inf_le_left : V ⊓ U i ≤ V)).op) := by |
| 51 | rw [localDiagram_eq] |
| 52 | exact PresheafSliceDiagram.IntrinsicPadicPresheafSliceDiagram.meet_isIso p X Y f hp n (U i) V |
| 53 | |
| 54 | include hU in |
| 55 | omit [X.left.IsSeparated] [Finite ι] in |
| 56 | theorem chart_quasiIso : QuasiIso ((localCone p X Y f hp n U i).app (op (U i))) := by |
| 57 | change QuasiIso ((CechCone.TotalCoefficientAugmentation.CechConeTotalCoefficientAugmentation.mappedCone (restriction p X Y f hp n U i) P M η).app (op (U i))) |
| 58 | rw [CechCone.TotalCoefficientAugmentation.CechConeTotalCoefficientAugmentation.mappedCone_app] |
| 59 | exact SubchartSliceResolution.IntrinsicPadicSubchartSliceResolution.onSlice p X Y f hp n (U i) (index i) (hU i) |
| 60 | |
| 61 | include hU in |
| 62 | omit [Finite ι] in |
| 63 | theorem local_total_quasiIso : QuasiIso |
| 64 | (CechCone.Total.CechConeTotal.augmentation U (localDiagram p X Y f hp n U i) |
| 65 | (((restriction p X Y f hp n U i).mapHomologicalComplex (.up ℕ)).obj M) |
| 66 | (localCone p X Y f hp n U i)) := by |
| 67 | exact @Semilattice.LocalCechTotal.SemilatticeLocalCechTotal.quasiIso W inferInstance X.left.affineOpens inferInstance _ _ _ U i |
| 68 | (localDiagram p X Y f hp n U i) (fun V => meet_isIso p X Y f hp n U i V) |
| 69 | (((restriction p X Y f hp n U i).mapHomologicalComplex (.up ℕ)).obj M) (localCone p X Y f hp n U i) |
| 70 | (chart_quasiIso p X Y f hp n U index hU i) |
| 71 | |
| 72 | include hU in |
| 73 | theorem restricted_quasiIso : QuasiIso |
| 74 | (((restriction p X Y f hp n U i).mapHomologicalComplex (.up ℕ)).map |
| 75 | (CechPresheafResolution.IntrinsicPadicCechPresheafResolution.augmentation p X Y f hp n U)) := by |
| 76 | apply (quasiIso_iff_comp_right _ (CechCone.TotalCoefficient.CechConeTotalCoefficient.totalIso (restriction p X Y f hp n U i) U P).hom).mp |
| 77 | change QuasiIso (((restriction p X Y f hp n U i).mapHomologicalComplex (.up ℕ)).map |
| 78 | (CechCone.Total.CechConeTotal.augmentation U P M η) ≫ |
| 79 | (CechCone.TotalCoefficient.CechConeTotalCoefficient.totalIso (restriction p X Y f hp n U i) U P).hom) |
| 80 | erw [CechCone.TotalAugmentationNaturality.CechConeTotalAugmentationNaturality.augmentation] |
| 81 | exact local_total_quasiIso p X Y f hp n U index hU i |
| 82 | |
| 83 | end |
| 84 | |
| 85 | end OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.RefinedCechSliceResolution.IntrinsicPadicRefinedCechSliceResolution |