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.FrameData |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.Smooth.WittFrameMap |
| 3 | import OAI.NumberTheory.PadicHodge.GeometricComparison.Crystalline.Postcomposition |
| 4 | |
| 5 | /-! # Frame Map -/ |
| 6 | |
| 7 | namespace OAI |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | namespace NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.FrameMap.IntrinsicPadicFrameGeometricMap |
| 12 | |
| 13 | /-! Arbitrary compatible geometric maps of the actual integral models |
| 14 | induce the original bounded crystalline frame map with its quotient-ring formula. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 17 | |
| 18 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.Presentation OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.Crystalline |
| 19 | |
| 20 | variable (p : ℕ) [Fact p.Prime] |
| 21 | {X₁ X₂ : Over (Spec (CommRingCat.of ℤ_[p]))} [Smooth X₁.hom] [Smooth X₂.hom] |
| 22 | {Y₁ Y₂ : Over (Spec (CommRingCat.of (ZMod p)))} |
| 23 | (u : X₁ ⟶ X₂) (v : Y₁ ⟶ Y₂) (f₁ : Y₁.left ⟶ X₁.left) (f₂ : Y₂.left ⟶ X₂.left) |
| 24 | (hp₁ : IsPullback f₁ Y₁.hom X₁.hom (Spec.map (CommRingCat.ofHom (PadicInt.toZMod : ℤ_[p] →+* ZMod p)))) |
| 25 | (hp₂ : IsPullback f₂ Y₂.hom X₂.hom (Spec.map (CommRingCat.ofHom (PadicInt.toZMod : ℤ_[p] →+* ZMod p)))) |
| 26 | (hsquare : f₁ ≫ u.left = v.left ≫ f₂) |
| 27 | (U : X₂.left.Opens) (V : X₁.left.Opens) |
| 28 | (hU : IsAffineOpen U) (hV : IsAffineOpen V) (hu : V ≤ u.left ⁻¹ᵁ U) |
| 29 | |
| 30 | local notation "W" => WittVector p (ZMod p) |
| 31 | local notation "A" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.AffineFrame.IntrinsicPadicAffineFrame.sourceRing p X₂ U |
| 32 | local notation "B" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.AffineFrame.IntrinsicPadicAffineFrame.sourceRing p X₁ V |
| 33 | local notation "C" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.AffineFrame.IntrinsicPadicAffineFrame.targetRing p X₂ Y₂ f₂ U |
| 34 | local notation "D" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.AffineFrame.IntrinsicPadicAffineFrame.targetRing p X₁ Y₁ f₁ V |
| 35 | |
| 36 | local instance padicA : Algebra ℤ_[p] A := AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebra ℤ_[p] X₂ U |
| 37 | local instance padicB : Algebra ℤ_[p] B := AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebra ℤ_[p] X₁ V |
| 38 | local instance wittA : Algebra W A := WittAlgebra.PadicWittAlgebra.algebra p A |
| 39 | local instance wittB : Algebra W B := WittAlgebra.PadicWittAlgebra.algebra p B |
| 40 | local instance specialC : Algebra (ZMod p) C := AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebra (ZMod p) Y₂ (f₂ ⁻¹ᵁ U) |
| 41 | local instance specialD : Algebra (ZMod p) D := AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebra (ZMod p) Y₁ (f₁ ⁻¹ᵁ V) |
| 42 | |
| 43 | open OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.FrameData.IntrinsicPadicFrameGeometricData |
| 44 | |
| 45 | local notation "g" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.FrameData.IntrinsicPadicFrameGeometricData.geometricMap p u v f₁ f₂ hsquare U V hu |
| 46 | local notation "hg" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.FrameData.IntrinsicPadicFrameGeometricData.geometric_over_witt p u v f₁ f₂ hp₁ hp₂ hsquare U V hU hV hu |
| 47 | |
| 48 | def localMap (n : ℕ) : |
| 49 | (IntegralComparison.BoundedOpen.Equivalence.postcompose g hg n).obj (AffineFrame.IntrinsicPadicAffineFrame.frame p X₁ Y₁ f₁ hp₁ V hV n) ⟶ |
| 50 | AffineFrame.IntrinsicPadicAffineFrame.frame p X₂ Y₂ f₂ hp₂ U hU n := by |
| 51 | let : Module.Flat W A := AffineFrame.IntrinsicPadicAffineFrame.source_flat p X₂ U hU |
| 52 | let : Module.Flat W B := AffineFrame.IntrinsicPadicAffineFrame.source_flat p X₁ V hV |
| 53 | exact GeometricComparison.Smooth.WittFrameMap.SmoothWittFrameGeometricMap.boundedMorphism p (ZMod p) A B C D |
| 54 | (AffineFrame.IntrinsicPadicAffineFrame.reduction p X₂ Y₂ f₂ U) |
| 55 | (AffineFrame.IntrinsicPadicAffineFrame.reduction_surjective p X₂ Y₂ f₂ hp₂ U hU) |
| 56 | (AffineFrame.IntrinsicPadicAffineFrame.reduction_kernel p X₂ Y₂ f₂ hp₂ U hU) |
| 57 | (AffineFrame.IntrinsicPadicAffineFrame.reduction_base p X₂ Y₂ f₂ hp₂ U) |
| 58 | (AffineFrame.IntrinsicPadicAffineFrame.reduction p X₁ Y₁ f₁ V) |
| 59 | (AffineFrame.IntrinsicPadicAffineFrame.reduction_surjective p X₁ Y₁ f₁ hp₁ V hV) |
| 60 | (AffineFrame.IntrinsicPadicAffineFrame.reduction_kernel p X₁ Y₁ f₁ hp₁ V hV) |
| 61 | (AffineFrame.IntrinsicPadicAffineFrame.reduction_base p X₁ Y₁ f₁ hp₁ V) |
| 62 | (FrameData.IntrinsicPadicFrameGeometricData.integralMap p u U V hu) (FrameData.IntrinsicPadicFrameGeometricData.specialMap p u v f₁ f₂ hsquare U V hu).toRingHom |
| 63 | (FrameData.IntrinsicPadicFrameGeometricData.reduction_square p u v f₁ f₂ hsquare U V hu) g hg rfl n |
| 64 | |
| 65 | def map (n : ℕ) : |
| 66 | (IntegralComparison.BoundedOpen.Equivalence.postcompose v.left (FrameData.IntrinsicPadicFrameGeometricData.global_over_witt p v) n).obj |
| 67 | (ChartImage.IntrinsicPadicOpenFrame.frame p X₁ Y₁ f₁ hp₁ V hV n) ⟶ |
| 68 | ChartImage.IntrinsicPadicOpenFrame.frame p X₂ Y₂ f₂ hp₂ U hU n := |
| 69 | Crystalline.Postcomposition.CrystallineFrameGeometricPostcomposition.map g v.left |
| 70 | (ChartImage.IntrinsicPadicOpenFrame.chart p X₁ Y₁ f₁ hp₁ V hV) |
| 71 | (ChartImage.IntrinsicPadicOpenFrame.chart p X₂ Y₂ f₂ hp₂ U hU) |
| 72 | hg (FrameData.IntrinsicPadicFrameGeometricData.global_over_witt p v) |
| 73 | (ChartImage.IntrinsicPadicOpenFrame.chart_over_witt p X₁ Y₁ f₁ hp₁ V hV) |
| 74 | (ChartImage.IntrinsicPadicOpenFrame.chart_over_witt p X₂ Y₂ f₂ hp₂ U hU) |
| 75 | (FrameData.IntrinsicPadicFrameGeometricData.chart_square p u v f₁ f₂ hp₁ hp₂ hsquare U V hU hV hu) n |
| 76 | (localMap p u v f₁ f₂ hp₁ hp₂ hsquare U V hU hV hu n) |
| 77 | |
| 78 | theorem map_ringMap (n : ℕ) : |
| 79 | (IntrinsicPadicFrameGeometricMap.map p u v f₁ f₂ hp₁ hp₂ hsquare U V hU hV hu n).hom.ringMap = |
| 80 | (localMap p u v f₁ f₂ hp₁ hp₂ hsquare U V hU hV hu n).hom.ringMap := |
| 81 | Crystalline.Postcomposition.CrystallineFrameGeometricPostcomposition.ringMap g v.left |
| 82 | (ChartImage.IntrinsicPadicOpenFrame.chart p X₁ Y₁ f₁ hp₁ V hV) |
| 83 | (ChartImage.IntrinsicPadicOpenFrame.chart p X₂ Y₂ f₂ hp₂ U hU) |
| 84 | hg (FrameData.IntrinsicPadicFrameGeometricData.global_over_witt p v) |
| 85 | (ChartImage.IntrinsicPadicOpenFrame.chart_over_witt p X₁ Y₁ f₁ hp₁ V hV) |
| 86 | (ChartImage.IntrinsicPadicOpenFrame.chart_over_witt p X₂ Y₂ f₂ hp₂ U hU) |
| 87 | (FrameData.IntrinsicPadicFrameGeometricData.chart_square p u v f₁ f₂ hp₁ hp₂ hsquare U V hU hV hu) n |
| 88 | (localMap p u v f₁ f₂ hp₁ hp₂ hsquare U V hU hV hu n) |
| 89 | |
| 90 | theorem map_mk (n : ℕ) (a : A) : |
| 91 | (IntrinsicPadicFrameGeometricMap.map p u v f₁ f₂ hp₁ hp₂ hsquare U V hU hV hu n).hom.ringMap |
| 92 | (Ideal.Quotient.mk ((Ideal.span {(p : A)}) ^ (n + 1)) a) = |
| 93 | Ideal.Quotient.mk ((Ideal.span {(p : B)}) ^ (n + 1)) (FrameData.IntrinsicPadicFrameGeometricData.integralMap p u U V hu a) := by |
| 94 | rw [map_ringMap] |
| 95 | rfl |
| 96 | |
| 97 | end NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.FrameMap.IntrinsicPadicFrameGeometricMap |
| 98 | |
| 99 | namespace NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.FrameMap.IntrinsicPadicFrameGeometricRingCoordinates |
| 100 | |
| 101 | /-! Global and local geometric native frame maps have the same |
| 102 | unapplied ring homomorphism. -/ |
| 103 | |
| 104 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 105 | |
| 106 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.Presentation OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.Crystalline |
| 107 | |
| 108 | variable (p : ℕ) [Fact p.Prime] |
| 109 | {X₁ X₂ : Over (Spec (CommRingCat.of ℤ_[p]))} [Smooth X₁.hom] [Smooth X₂.hom] |
| 110 | {Y₁ Y₂ : Over (Spec (CommRingCat.of (ZMod p)))} |
| 111 | (u : X₁ ⟶ X₂) (v : Y₁ ⟶ Y₂) (f₁ : Y₁.left ⟶ X₁.left) (f₂ : Y₂.left ⟶ X₂.left) |
| 112 | (hp₁ : IsPullback f₁ Y₁.hom X₁.hom (Spec.map (CommRingCat.ofHom (PadicInt.toZMod : ℤ_[p] →+* ZMod p)))) |
| 113 | (hp₂ : IsPullback f₂ Y₂.hom X₂.hom (Spec.map (CommRingCat.ofHom (PadicInt.toZMod : ℤ_[p] →+* ZMod p)))) |
| 114 | (hsquare : f₁ ≫ u.left = v.left ≫ f₂) |
| 115 | (U : X₂.left.Opens) (V : X₁.left.Opens) |
| 116 | (hU : IsAffineOpen U) (hV : IsAffineOpen V) (hu : V ≤ u.left ⁻¹ᵁ U) |
| 117 | |
| 118 | local notation "W" => WittVector p (ZMod p) |
| 119 | local notation "A" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.AffineFrame.IntrinsicPadicAffineFrame.sourceRing p X₂ U |
| 120 | local notation "B" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.AffineFrame.IntrinsicPadicAffineFrame.sourceRing p X₁ V |
| 121 | local notation "C" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.AffineFrame.IntrinsicPadicAffineFrame.targetRing p X₂ Y₂ f₂ U |
| 122 | local notation "D" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.AffineFrame.IntrinsicPadicAffineFrame.targetRing p X₁ Y₁ f₁ V |
| 123 | |
| 124 | local instance padicA : Algebra ℤ_[p] A := AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebra ℤ_[p] X₂ U |
| 125 | local instance padicB : Algebra ℤ_[p] B := AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebra ℤ_[p] X₁ V |
| 126 | local instance wittA : Algebra W A := WittAlgebra.PadicWittAlgebra.algebra p A |
| 127 | local instance wittB : Algebra W B := WittAlgebra.PadicWittAlgebra.algebra p B |
| 128 | local instance specialC : Algebra (ZMod p) C := AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebra (ZMod p) Y₂ (f₂ ⁻¹ᵁ U) |
| 129 | local instance specialD : Algebra (ZMod p) D := AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebra (ZMod p) Y₁ (f₁ ⁻¹ᵁ V) |
| 130 | |
| 131 | theorem ringHom (n : ℕ) : |
| 132 | (IntrinsicPadicFrameGeometricMap.map p u v f₁ f₂ hp₁ hp₂ hsquare U V hU hV hu n).hom.ringMap.toRingHom = |
| 133 | (IntrinsicPadicFrameGeometricMap.localMap p u v f₁ f₂ hp₁ hp₂ hsquare U V hU hV hu n).hom.ringMap.toRingHom := |
| 134 | congrArg DividedPowers.DPMorphism.toRingHom |
| 135 | (IntrinsicPadicFrameGeometricMap.map_ringMap p u v f₁ f₂ hp₁ hp₂ hsquare U V hU hV hu n) |
| 136 | |
| 137 | end NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.FrameMap.IntrinsicPadicFrameGeometricRingCoordinates |
| 138 | |
| 139 | end |
| 140 | |
| 141 | end OAI |