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.ChartImage |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.Section.GeometricRestriction |
| 3 | |
| 4 | /-! # Frame Data -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.FrameData.IntrinsicPadicFrameGeometricData |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Compatible geometric maps of integral models and special fibers |
| 11 | give the actual section-ring maps on any compatible pair of affine opens. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 14 | |
| 15 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.Presentation OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.Crystalline |
| 16 | |
| 17 | variable (p : ℕ) [Fact p.Prime] |
| 18 | {X₁ X₂ : Over (Spec (CommRingCat.of ℤ_[p]))} |
| 19 | {Y₁ Y₂ : Over (Spec (CommRingCat.of (ZMod p)))} |
| 20 | (u : X₁ ⟶ X₂) (v : Y₁ ⟶ Y₂) (f₁ : Y₁.left ⟶ X₁.left) (f₂ : Y₂.left ⟶ X₂.left) |
| 21 | (hp₁ : IsPullback f₁ Y₁.hom X₁.hom (Spec.map (CommRingCat.ofHom (PadicInt.toZMod : ℤ_[p] →+* ZMod p)))) |
| 22 | (hp₂ : IsPullback f₂ Y₂.hom X₂.hom (Spec.map (CommRingCat.ofHom (PadicInt.toZMod : ℤ_[p] →+* ZMod p)))) |
| 23 | (hsquare : f₁ ≫ u.left = v.left ≫ f₂) |
| 24 | (U : X₂.left.Opens) (V : X₁.left.Opens) |
| 25 | (hU : IsAffineOpen U) (hV : IsAffineOpen V) (hu : V ≤ u.left ⁻¹ᵁ U) |
| 26 | |
| 27 | local notation "W" => WittVector p (ZMod p) |
| 28 | local notation "A" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.AffineFrame.IntrinsicPadicAffineFrame.sourceRing p X₂ U |
| 29 | local notation "B" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.AffineFrame.IntrinsicPadicAffineFrame.sourceRing p X₁ V |
| 30 | local notation "C" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.AffineFrame.IntrinsicPadicAffineFrame.targetRing p X₂ Y₂ f₂ U |
| 31 | local notation "D" => OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.AffineFrame.IntrinsicPadicAffineFrame.targetRing p X₁ Y₁ f₁ V |
| 32 | |
| 33 | local instance padicA : Algebra ℤ_[p] A := AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebra ℤ_[p] X₂ U |
| 34 | local instance padicB : Algebra ℤ_[p] B := AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebra ℤ_[p] X₁ V |
| 35 | local instance wittA : Algebra W A := WittAlgebra.PadicWittAlgebra.algebra p A |
| 36 | local instance wittB : Algebra W B := WittAlgebra.PadicWittAlgebra.algebra p B |
| 37 | local instance specialC : Algebra (ZMod p) C := AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebra (ZMod p) Y₂ (f₂ ⁻¹ᵁ U) |
| 38 | local instance specialD : Algebra (ZMod p) D := AlgebraicGeometry.Crystalline.Cohomology.AlgebraicForms.AlgebraicDeRham.sectionAlgebra (ZMod p) Y₁ (f₁ ⁻¹ᵁ V) |
| 39 | |
| 40 | def integralMap : A →ₐ[W] B := |
| 41 | { (OpenSectionPullback.DeRham.sectionPullbackLE u U V hu).toRingHom with |
| 42 | commutes' := fun w => (OpenSectionPullback.DeRham.sectionPullbackLE u U V hu).commutes ((WittVector.equiv p) w) } |
| 43 | |
| 44 | def specialMap : C →ₐ[ZMod p] D := |
| 45 | OpenSectionPullback.DeRham.sectionPullbackLE v (f₂ ⁻¹ᵁ U) (f₁ ⁻¹ᵁ V) |
| 46 | (Section.GeometricRestriction.SectionGeometricSquare.preimage_le u.left v.left f₁ f₂ hsquare U V hu) |
| 47 | |
| 48 | theorem reduction_square (a : A) : |
| 49 | AffineFrame.IntrinsicPadicAffineFrame.reduction p X₁ Y₁ f₁ V (integralMap p u U V hu a) = |
| 50 | specialMap p u v f₁ f₂ hsquare U V hu (AffineFrame.IntrinsicPadicAffineFrame.reduction p X₂ Y₂ f₂ U a) := by |
| 51 | change (f₁.app V) ((u.left.appLE U V hu) a) = |
| 52 | (v.left.appLE (f₂ ⁻¹ᵁ U) (f₁ ⁻¹ᵁ V) |
| 53 | (Section.GeometricRestriction.SectionGeometricSquare.preimage_le u.left v.left f₁ f₂ hsquare U V hu)) ((f₂.app U) a) |
| 54 | have h := Section.GeometricRestriction.SectionGeometricSquare.square u.left v.left f₁ f₂ hsquare U V |
| 55 | (f₂ ⁻¹ᵁ U) (f₁ ⁻¹ᵁ V) hu |
| 56 | (Section.GeometricRestriction.SectionGeometricSquare.preimage_le u.left v.left f₁ f₂ hsquare U V hu) le_rfl le_rfl |
| 57 | simpa only [Scheme.Hom.appLE_eq_app, CommRingCat.comp_apply] using ConcreteCategory.congr_hom h a |
| 58 | |
| 59 | def geometricMap : (IntegralComparison.Crystalline.Presentation.affineScheme (ZMod p) D).left ⟶ (IntegralComparison.Crystalline.Presentation.affineScheme (ZMod p) C).left := |
| 60 | Spec.map (CommRingCat.ofHom (specialMap p u v f₁ f₂ hsquare U V hu).toRingHom) |
| 61 | |
| 62 | include hp₁ hp₂ hU hV in |
| 63 | theorem chart_square : geometricMap p u v f₁ f₂ hsquare U V hu ≫ |
| 64 | ChartImage.IntrinsicPadicOpenFrame.chart p X₂ Y₂ f₂ hp₂ U hU = |
| 65 | ChartImage.IntrinsicPadicOpenFrame.chart p X₁ Y₁ f₁ hp₁ V hV ≫ v.left := |
| 66 | IsAffineOpen.SpecMap_appLE_fromSpec v.left |
| 67 | (ChartImage.IntrinsicPadicOpenFrame.special_affine p X₂ Y₂ f₂ hp₂ U hU) |
| 68 | (ChartImage.IntrinsicPadicOpenFrame.special_affine p X₁ Y₁ f₁ hp₁ V hV) |
| 69 | (Section.GeometricRestriction.SectionGeometricSquare.preimage_le u.left v.left f₁ f₂ hsquare U V hu) |
| 70 | |
| 71 | theorem global_over_witt : v.left ≫ IntegralComparison.Witt.Crystalline.wittStructureMap p (ZMod p) Y₂ = IntegralComparison.Witt.Crystalline.wittStructureMap p (ZMod p) Y₁ := by |
| 72 | simp only [IntegralComparison.Witt.Crystalline.wittStructureMap, ← Category.assoc, Over.w] |
| 73 | |
| 74 | include hp₁ hp₂ hU hV in |
| 75 | theorem geometric_over_witt : geometricMap p u v f₁ f₂ hsquare U V hu ≫ |
| 76 | IntegralComparison.Witt.Crystalline.wittStructureMap p (ZMod p) (IntegralComparison.Crystalline.Presentation.affineScheme (ZMod p) C) = |
| 77 | IntegralComparison.Witt.Crystalline.wittStructureMap p (ZMod p) (IntegralComparison.Crystalline.Presentation.affineScheme (ZMod p) D) := by |
| 78 | rw [← ChartImage.IntrinsicPadicOpenFrame.chart_over_witt p X₂ Y₂ f₂ hp₂ U hU, ← Category.assoc, |
| 79 | chart_square p u v f₁ f₂ hp₁ hp₂ hsquare U V hU hV hu, Category.assoc, |
| 80 | global_over_witt p v, ChartImage.IntrinsicPadicOpenFrame.chart_over_witt] |
| 81 | |
| 82 | end |
| 83 | |
| 84 | end OAI.NumberTheory.PadicHodge.GeometricComparison.IntrinsicPadic.FrameData.IntrinsicPadicFrameGeometricData |