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.FrameRestrictionData |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.Smooth.WittFrameMap |
| 3 | import OAI.NumberTheory.PadicHodge.GeometricComparison.Crystalline.FramePostcomposition |
| 4 | |
| 5 | /-! # Padic Frame Restriction -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.PadicFrameRestriction.IntrinsicPadicFrameRestriction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Restriction between actual affine integral opens induces the original |
| 12 | global bounded crystalline frame map, with the actual quotient-ring formula. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | |
| 16 | open OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.FrameRestrictionData.IntrinsicPadicFrameRestrictionData |
| 17 | |
| 18 | variable (p : ℕ) [Fact p.Prime] |
| 19 | (X : Over (Spec (CommRingCat.of ℤ_[p]))) [Smooth X.hom] |
| 20 | (Y : Over (Spec (CommRingCat.of (ZMod p)))) (f : Y.left ⟶ X.left) |
| 21 | (hp : IsPullback f Y.hom X.hom (Spec.map (CommRingCat.ofHom (PadicInt.toZMod : ℤ_[p] →+* ZMod p)))) |
| 22 | (U V : X.left.Opens) (hU : IsAffineOpen U) (hV : IsAffineOpen V) (hUV : U ≤ V) |
| 23 | |
| 24 | local notation "W" => WittVector p (ZMod p) |
| 25 | local notation "AU" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.AffineFrame.IntrinsicPadicAffineFrame.sourceRing p X U |
| 26 | local notation "AV" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.AffineFrame.IntrinsicPadicAffineFrame.sourceRing p X V |
| 27 | local notation "CU" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.AffineFrame.IntrinsicPadicAffineFrame.targetRing p X Y f U |
| 28 | local notation "CV" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.AffineFrame.IntrinsicPadicAffineFrame.targetRing p X Y f V |
| 29 | local notation "g" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.FrameRestrictionData.IntrinsicPadicFrameRestrictionData.geometricMap p X Y f U V hUV |
| 30 | local notation "hg" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.FrameRestrictionData.IntrinsicPadicFrameRestrictionData.geometric_over_witt p X Y f hp U V hU hV hUV |
| 31 | |
| 32 | local instance padicU : Algebra ℤ_[p] AU := AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebra ℤ_[p] X U |
| 33 | local instance padicV : Algebra ℤ_[p] AV := AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebra ℤ_[p] X V |
| 34 | local instance wittU : Algebra W AU := WittAlgebra.PadicWittAlgebra.algebra p AU |
| 35 | local instance wittV : Algebra W AV := WittAlgebra.PadicWittAlgebra.algebra p AV |
| 36 | local instance specialU : Algebra (ZMod p) CU := AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebra (ZMod p) Y (f ⁻¹ᵁ U) |
| 37 | local instance specialV : Algebra (ZMod p) CV := AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebra (ZMod p) Y (f ⁻¹ᵁ V) |
| 38 | |
| 39 | def localMap (n : ℕ) : |
| 40 | (IntegralComparison.BoundedOpen.Equivalence.postcompose g hg n).obj (AffineFrame.IntrinsicPadicAffineFrame.frame p X Y f hp U hU n) ⟶ |
| 41 | AffineFrame.IntrinsicPadicAffineFrame.frame p X Y f hp V hV n := by |
| 42 | letI : Module.Flat W AU := AffineFrame.IntrinsicPadicAffineFrame.source_flat p X U hU |
| 43 | letI : Module.Flat W AV := AffineFrame.IntrinsicPadicAffineFrame.source_flat p X V hV |
| 44 | exact GeometricComparison.Smooth.WittFrameMap.SmoothWittFrameGeometricMap.boundedMorphism p (ZMod p) AV AU CV CU |
| 45 | (AffineFrame.IntrinsicPadicAffineFrame.reduction p X Y f V) |
| 46 | (AffineFrame.IntrinsicPadicAffineFrame.reduction_surjective p X Y f hp V hV) |
| 47 | (AffineFrame.IntrinsicPadicAffineFrame.reduction_kernel p X Y f hp V hV) |
| 48 | (AffineFrame.IntrinsicPadicAffineFrame.reduction_base p X Y f hp V) |
| 49 | (AffineFrame.IntrinsicPadicAffineFrame.reduction p X Y f U) |
| 50 | (AffineFrame.IntrinsicPadicAffineFrame.reduction_surjective p X Y f hp U hU) |
| 51 | (AffineFrame.IntrinsicPadicAffineFrame.reduction_kernel p X Y f hp U hU) |
| 52 | (AffineFrame.IntrinsicPadicAffineFrame.reduction_base p X Y f hp U) |
| 53 | (FrameRestrictionData.IntrinsicPadicFrameRestrictionData.integralMap p X U V hUV) (FrameRestrictionData.IntrinsicPadicFrameRestrictionData.specialMap p X Y f U V hUV).toRingHom |
| 54 | (FrameRestrictionData.IntrinsicPadicFrameRestrictionData.reduction_square p X Y f U V hUV) g hg rfl n |
| 55 | |
| 56 | def map (n : ℕ) : ChartImage.IntrinsicPadicOpenFrame.frame p X Y f hp U hU n ⟶ |
| 57 | ChartImage.IntrinsicPadicOpenFrame.frame p X Y f hp V hV n := |
| 58 | Crystalline.FramePostcomposition.CrystallineFramePostcomposition.map g (ChartImage.IntrinsicPadicOpenFrame.chart p X Y f hp V hV) |
| 59 | (ChartImage.IntrinsicPadicOpenFrame.chart p X Y f hp U hU) hg |
| 60 | (ChartImage.IntrinsicPadicOpenFrame.chart_over_witt p X Y f hp V hV) |
| 61 | (ChartImage.IntrinsicPadicOpenFrame.chart_over_witt p X Y f hp U hU) |
| 62 | (FrameRestrictionData.IntrinsicPadicFrameRestrictionData.chart_square p X Y f hp U V hU hV hUV) n (localMap p X Y f hp U V hU hV hUV n) |
| 63 | |
| 64 | theorem map_ringMap (n : ℕ) : (IntrinsicPadicFrameRestriction.map p X Y f hp U V hU hV hUV n).hom.ringMap = |
| 65 | (localMap p X Y f hp U V hU hV hUV n).hom.ringMap := |
| 66 | Crystalline.FramePostcomposition.CrystallineFramePostcomposition.ringMap g (ChartImage.IntrinsicPadicOpenFrame.chart p X Y f hp V hV) |
| 67 | (ChartImage.IntrinsicPadicOpenFrame.chart p X Y f hp U hU) hg |
| 68 | (ChartImage.IntrinsicPadicOpenFrame.chart_over_witt p X Y f hp V hV) |
| 69 | (ChartImage.IntrinsicPadicOpenFrame.chart_over_witt p X Y f hp U hU) |
| 70 | (FrameRestrictionData.IntrinsicPadicFrameRestrictionData.chart_square p X Y f hp U V hU hV hUV) n (localMap p X Y f hp U V hU hV hUV n) |
| 71 | |
| 72 | theorem map_mk (n : ℕ) (a : AV) : |
| 73 | (IntrinsicPadicFrameRestriction.map p X Y f hp U V hU hV hUV n).hom.ringMap |
| 74 | (Ideal.Quotient.mk ((Ideal.span {(p : AV)}) ^ (n + 1)) a) = |
| 75 | Ideal.Quotient.mk ((Ideal.span {(p : AU)}) ^ (n + 1)) (FrameRestrictionData.IntrinsicPadicFrameRestrictionData.integralMap p X U V hUV a) := by |
| 76 | rw [map_ringMap] |
| 77 | rfl |
| 78 | |
| 79 | end |
| 80 | |
| 81 | end OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.PadicFrameRestriction.IntrinsicPadicFrameRestriction |