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.IntrinsicPadic.CechPrism |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Constant.ComplexPrismDiagonal |
| 3 | import OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.FrameDiagonalIso |
| 4 | import OAI.NumberTheory.PadicHodge.IntegralComparison.CechPrism.LocalQuasiIso |
| 5 | import OAI.NumberTheory.PadicHodge.IntegralComparison.CechPrism.RegroupedLocalQuasiIso |
| 6 | |
| 7 | /-! # Prism Local -/ |
| 8 | |
| 9 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.IntrinsicPadic.PrismLocal.IntrinsicComparison |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! The actual truncated-model local diagonal augmentations are |
| 14 | quasi-isomorphisms on the chosen cover and all its intersections. |
| 15 | Their original outer Čech total is therefore a quasi-isomorphism. -/ |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite |
| 18 | |
| 19 | variable (p : ℕ) [Fact p.Prime] |
| 20 | (X : Over (Spec (CommRingCat.of ℤ_[p]))) [IsProper X.hom] [Smooth X.hom] [X.left.IsSeparated] |
| 21 | (Y : Over (Spec (CommRingCat.of (ZMod p)))) [IsSeparated Y.hom] (f : Y.left ⟶ X.left) |
| 22 | (hp : IsPullback f Y.hom X.hom |
| 23 | (Spec.map (CommRingCat.ofHom (PadicInt.toZMod : ℤ_[p] →+* ZMod p)))) (n : ℕ) |
| 24 | |
| 25 | local notation "R" => OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction.Coeff (B := WittVector p (ZMod p)) |
| 26 | local notation "U" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.CechSliceResolution.IntrinsicPadicCechSliceResolution.opens p X |
| 27 | local notation "Q" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.FrameDiagonalMap.IntrinsicPadicFrameDiagonalMap.source p X Y f hp n |
| 28 | local notation "P" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.PadicResolutionDiagram.IntrinsicPadicResolutionDiagram.diagram p X Y f hp n |
| 29 | local notation "S" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.SectionBifunctor.IntrinsicPadicSectionBifunctor.sections p X Y f n |
| 30 | local notation "B" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.SectionBifunctor.IntrinsicPadicSectionBifunctor.rows p X Y f hp n |
| 31 | local notation "γ" => OAI.NumberTheory.PadicHodge.IntegralComparison.IntrinsicPadic.CechPrism.Intrinsic.cone p X Y f hp n |
| 32 | local notation "h" => fun I V => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.SectionRowRestriction.IntrinsicPadicSectionRowRestriction.meet_isIso p X Y f hp n V I |
| 33 | |
| 34 | local instance constZero : |
| 35 | (Functor.const X.left.affineOpensᵒᵖ : ModuleCat.{2} R ⥤ |
| 36 | X.left.affineOpensᵒᵖ ⥤ ModuleCat.{2} R).PreservesZeroMorphisms where |
| 37 | map_zero _ _ := rfl |
| 38 | |
| 39 | def localMap := CechPrism.LocalAugmentation.map U Q B γ h |
| 40 | |
| 41 | variable (I : X.left.affineOpens) |
| 42 | (i : GeometricComparison.Integral.EtaleAffineCover.IntegralEtaleAffineCover.Index ℤ_[p] X) |
| 43 | (hi : I.val ≤ GeometricComparison.Integral.EtaleAffineCover.IntegralEtaleAffineCoverSections.opens ℤ_[p] X i) |
| 44 | |
| 45 | include hi in |
| 46 | omit [X.left.IsSeparated] in |
| 47 | theorem own_chart_isIso : IsIso (((γ).app (op I)).app (op I)) := by |
| 48 | have he := Constant.ComplexPrismDiagonal.Cone.diagonal Q |
| 49 | (P ⋙ (S).mapHomologicalComplex (.up ℕ)) |
| 50 | (GeometricComparison.IntrinsicPadic.FrameDiagonalMap.IntrinsicPadicFrameDiagonalMap.openTransformation p X Y f hp n) (op I) |
| 51 | exact he.symm ▸ GeometricComparison.IntrinsicPadic.FrameDiagonalIso.IntrinsicPadicFrameDiagonalIso.isIso p X Y f hp n I i hi |
| 52 | |
| 53 | include hi in |
| 54 | theorem local_quasiIso : QuasiIso ((localMap p X Y f hp n).app (op I)) := by |
| 55 | have : IsIso (((γ).app (op I)).app (op I)) := own_chart_isIso p X Y f hp n I i hi |
| 56 | exact CechPrism.LocalQuasiIso.quasiIso.{1,0,2} R U Q B γ h I i hi |
| 57 | |
| 58 | theorem intersection_quasiIso (j : ℕ) |
| 59 | (b : Fin (j+1) → GeometricComparison.Integral.EtaleAffineCover.IntegralEtaleAffineCover.Index ℤ_[p] X) : |
| 60 | QuasiIso (((γ).app (op (∏ᶜ (U ∘ b)))).app (op (∏ᶜ (U ∘ b)))) := by |
| 61 | have : IsIso (((γ).app (op (∏ᶜ (U ∘ b)))).app (op (∏ᶜ (U ∘ b)))) := |
| 62 | own_chart_isIso p X Y f hp n (∏ᶜ (U ∘ b)) (b 0) (leOfHom (Pi.π (U ∘ b) 0)) |
| 63 | infer_instance |
| 64 | |
| 65 | theorem quasiIso : QuasiIso (CechPrism.Regrouped.Comparison.diagonal R U Q B γ h) := CechPrism.RegroupedLocalQuasiIso.diagonal.{1,0,2} R U Q B γ h |
| 66 | (intersection_quasiIso p X Y f hp n) |
| 67 | |
| 68 | theorem global_quasiIso : QuasiIso (CechPrism.Regrouped.Comparison.global R U Q B γ) := CechPrism.RegroupedLocalQuasiIso.global.{1,0,2} R U Q B γ h |
| 69 | (intersection_quasiIso p X Y f hp n) |
| 70 | |
| 71 | end |
| 72 | |
| 73 | end OAI.NumberTheory.PadicHodge.IntegralComparison.IntrinsicPadic.PrismLocal.IntrinsicComparison |