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