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.TateCharacteristicPolynomial |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.AbelianRationalFiniteness |
| 3 | import OAI.NumberTheory.PadicHodge.GeometricComparison.Rational |
| 4 | import OAI.AlgebraicGeometry.FormalGeometry.Completion.Endomorphism.GeometricEmbedding |
| 5 | |
| 6 | /-! # Etale Tate Characteristic Polynomial -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.PadicHodge |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The original rational pro-étale Frobenius used by GeometricComparison has exactly |
| 13 | the characteristic polynomial of the actual geometric Tate Frobenius. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | open MonoidalCategory |
| 17 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj TensorProduct |
| 18 | |
| 19 | set_option backward.defeqAttrib.useBackward true |
| 20 | set_option backward.isDefEq.respectTransparency false |
| 21 | |
| 22 | open OAI.AlgebraicGeometry.FormalGeometry.Completion.Endomorphism.GeometricEmbedding.Construction OAI.NumberTheory.PadicHodge.IntegralComparison.Geometric.TateModule OAI.NumberTheory.PadicHodge.IntegralComparison.Integral.TateNaturality |
| 23 | |
| 24 | variable {K : Type} [Field K] [NumberField K] |
| 25 | {q : ℕ} [Fact q.Prime] {jq : K →+* ℚ_[q]} (A : GeometricComparison.Geometry.AbelianH1Model K q jq) |
| 26 | |
| 27 | abbrev GeometricComparison.Geometry.AbelianH1Model.geometricSpecialFiber := AlgebraicGeometry.FormalGeometry.Completion.Geometric.Frobenius.Construction.geometricFiberOver (ZMod q) A.specialFiber.scheme |
| 28 | |
| 29 | local instance GeometricComparison.Geometry.AbelianH1Model.geometricSpecialFiber_group : GrpObj A.geometricSpecialFiber := |
| 30 | inferInstanceAs (GrpObj (AlgebraicGeometry.FormalGeometry.Completion.Geometric.Frobenius.Construction.geometricFiberOver (ZMod q) A.specialFiber.scheme)) |
| 31 | |
| 32 | local instance GeometricComparison.Geometry.AbelianH1Model.geometricSpecialFiber_commutative : IsCommMonObj A.geometricSpecialFiber := |
| 33 | inferInstanceAs (IsCommMonObj (AlgebraicGeometry.FormalGeometry.Completion.Geometric.Frobenius.Construction.geometricFiberOver (ZMod q) A.specialFiber.scheme)) |
| 34 | |
| 35 | local instance GeometricComparison.Geometry.AbelianH1Model.geometricSpecialFiber_proper : IsProper A.geometricSpecialFiber.hom := |
| 36 | inferInstanceAs (IsProper |
| 37 | (Limits.pullback.snd A.specialFiber.scheme.hom (AlgebraicGeometry.FormalGeometry.Completion.Geometric.Frobenius.Construction.algebraicClosureBase (ZMod q)))) |
| 38 | |
| 39 | local instance GeometricComparison.Geometry.AbelianH1Model.geometricSpecialFiber_smooth : Smooth A.geometricSpecialFiber.hom := |
| 40 | inferInstanceAs (Smooth |
| 41 | (Limits.pullback.snd A.specialFiber.scheme.hom (AlgebraicGeometry.FormalGeometry.Completion.Geometric.Frobenius.Construction.algebraicClosureBase (ZMod q)))) |
| 42 | |
| 43 | local instance GeometricComparison.Geometry.AbelianH1Model.geometricSpecialFiber_integral : GeometricallyIntegral A.geometricSpecialFiber.hom := by |
| 44 | let : GeometricallyIntegral A.specialFiber.scheme.hom := A.specialFiber_geometricallyIntegral |
| 45 | exact inferInstanceAs (GeometricallyIntegral |
| 46 | (Limits.pullback.snd A.specialFiber.scheme.hom (AlgebraicGeometry.FormalGeometry.Completion.Geometric.Frobenius.Construction.algebraicClosureBase (ZMod q)))) |
| 47 | |
| 48 | theorem GeometricComparison.Geometry.AbelianH1Model.ell_ne_zero_in_geometricField (ℓ : ℕ) [Fact ℓ.Prime] (hℓq : ℓ ≠ q) : |
| 49 | (ℓ : AlgebraicClosure (ZMod q)) ≠ 0 := by |
| 50 | have hℓ : (ℓ : ZMod q) ≠ 0 := by |
| 51 | intro hzero |
| 52 | exact hℓq ((Nat.prime_dvd_prime_iff_eq (Fact.out : q.Prime) (Fact.out : ℓ.Prime)).mp |
| 53 | ((ZMod.natCast_eq_zero_iff ℓ q).mp hzero)).symm |
| 54 | intro hz |
| 55 | apply hℓ |
| 56 | apply (algebraMap (ZMod q) (AlgebraicClosure (ZMod q))).injective |
| 57 | simpa only [map_natCast, map_zero] using hz |
| 58 | |
| 59 | abbrev GeometricComparison.Geometry.AbelianH1Model.NativeTate (ℓ : ℕ) [Fact ℓ.Prime] := AlgebraicGeometry.AbelianScheme.TateComparison.Add.Tate.Module (H := IntegralComparison.Geometric.TateModule.Points A.geometricSpecialFiber) ℓ |
| 60 | |
| 61 | def GeometricComparison.Geometry.AbelianH1Model.nativeTateFrobenius (ℓ : ℕ) [Fact ℓ.Prime] : Module.End ℤ_[ℓ] (A.NativeTate ℓ) := |
| 62 | IntegralComparison.Integral.TateNaturality.tateAction ℓ A.geometricSpecialFiber |
| 63 | (AlgebraicGeometry.FormalGeometry.Completion.Endomorphism.GeometricEmbedding.Construction.algebraicEndGeometricBaseChange (ZMod q) A.specialFiber.scheme |
| 64 | (AlgebraicGeometry.FormalGeometry.Completion.Endomorphisms.Construction.algebraicFrobenius (ZMod q) A.specialFiber.scheme)) |
| 65 | |
| 66 | theorem GeometricComparison.Geometry.AbelianH1Model.native_tate_finite (ℓ : ℕ) [Fact ℓ.Prime] (hℓq : ℓ ≠ q) : |
| 67 | Module.Finite ℤ_[ℓ] (A.NativeTate ℓ) := |
| 68 | IntegralComparison.Geometric.TateModule.finite A.geometricSpecialFiber ℓ (GeometricComparison.Geometry.AbelianH1Model.ell_ne_zero_in_geometricField ℓ hℓq) |
| 69 | |
| 70 | theorem GeometricComparison.Geometry.AbelianH1Model.native_tate_free (ℓ : ℕ) [Fact ℓ.Prime] (hℓq : ℓ ≠ q) : |
| 71 | Module.Free ℤ_[ℓ] (A.NativeTate ℓ) := |
| 72 | IntegralComparison.Geometric.TateModule.free A.geometricSpecialFiber ℓ (GeometricComparison.Geometry.AbelianH1Model.ell_ne_zero_in_geometricField ℓ hℓq) |
| 73 | |
| 74 | theorem GeometricComparison.Geometry.AbelianH1Model.native_geometric_finite (ℓ : ℕ) [Fact ℓ.Prime] (hℓq : ℓ ≠ q) : |
| 75 | FiniteDimensional (AlgebraicClosure ℚ_[ℓ]) (AlgebraicGeometry.FormalGeometry.Completion.Cohomology.Construction.GeometricH1 ℓ A.specialFiber.scheme) := by |
| 76 | let B := A.geometricSpecialFiber |
| 77 | let : Module.Finite ℤ_[ℓ] (B.left.EllAdicCohomology ℓ 1) := |
| 78 | IntegralComparison.TateCharacteristicPolynomial.integral_finite ℓ B |
| 79 | (GeometricComparison.Geometry.AbelianH1Model.ell_ne_zero_in_geometricField ℓ hℓq) |
| 80 | exact inferInstanceAs (Module.Finite (AlgebraicClosure ℚ_[ℓ]) |
| 81 | ((AlgebraicClosure ℚ_[ℓ]) ⊗[ℤ_[ℓ]] B.left.EllAdicCohomology ℓ 1)) |
| 82 | |
| 83 | theorem GeometricComparison.Geometry.AbelianH1Model.native_geometric_charpoly_eq_tate (ℓ : ℕ) [Fact ℓ.Prime] (hℓq : ℓ ≠ q) : |
| 84 | letI := A.native_geometric_finite ℓ hℓq |
| 85 | letI := A.native_tate_finite ℓ hℓq |
| 86 | letI := A.native_tate_free ℓ hℓq |
| 87 | (AlgebraicGeometry.FormalGeometry.Completion.CohomologyPullback.Construction.geometricH1Frobenius ℓ (ZMod q) A.specialFiber.scheme).charpoly = |
| 88 | (A.nativeTateFrobenius ℓ).charpoly.map |
| 89 | (algebraMap ℤ_[ℓ] (AlgebraicClosure ℚ_[ℓ])) := by |
| 90 | let B := A.geometricSpecialFiber |
| 91 | let hℓ := GeometricComparison.Geometry.AbelianH1Model.ell_ne_zero_in_geometricField ℓ hℓq |
| 92 | let e := AlgebraicGeometry.FormalGeometry.Completion.Endomorphism.GeometricEmbedding.Construction.algebraicEndGeometricBaseChange (ZMod q) A.specialFiber.scheme |
| 93 | (AlgebraicGeometry.FormalGeometry.Completion.Endomorphisms.Construction.algebraicFrobenius (ZMod q) A.specialFiber.scheme) |
| 94 | let : Module.Finite ℤ_[ℓ] (A.NativeTate ℓ) := A.native_tate_finite ℓ hℓq |
| 95 | let : Module.Free ℤ_[ℓ] (A.NativeTate ℓ) := A.native_tate_free ℓ hℓq |
| 96 | let : Module.Finite ℤ_[ℓ] (AlgebraicGeometry.AbelianScheme.TateComparison.Add.Tate.Module (H := IntegralComparison.Geometric.TateModule.Points B) ℓ) := IntegralComparison.Geometric.TateModule.finite B ℓ hℓ |
| 97 | let : Module.Free ℤ_[ℓ] (AlgebraicGeometry.AbelianScheme.TateComparison.Add.Tate.Module (H := IntegralComparison.Geometric.TateModule.Points B) ℓ) := IntegralComparison.Geometric.TateModule.free B ℓ hℓ |
| 98 | let : Module.Finite ℤ_[ℓ] (B.left.EllAdicCohomology ℓ 1) := |
| 99 | IntegralComparison.TateCharacteristicPolynomial.integral_finite ℓ B hℓ |
| 100 | let : Module.Free ℤ_[ℓ] (B.left.EllAdicCohomology ℓ 1) := |
| 101 | IntegralComparison.TateCharacteristicPolynomial.integral_free ℓ B hℓ |
| 102 | let : FiniteDimensional (AlgebraicClosure ℚ_[ℓ]) (AlgebraicGeometry.FormalGeometry.Completion.Cohomology.Construction.GeometricH1 ℓ A.specialFiber.scheme) := |
| 103 | A.native_geometric_finite ℓ hℓq |
| 104 | have he := IntegralComparison.TateCharacteristicPolynomial.integral_charpoly ℓ B hℓ e |
| 105 | dsimp only at he |
| 106 | change ((AlgebraicGeometry.FormalGeometry.Completion.CohomologyPullback.Construction.integralEllAdicPullbackLinear ℓ e.toMul.hom.hom.left 1).baseChange |
| 107 | (AlgebraicClosure ℚ_[ℓ])).charpoly = _ |
| 108 | rw [LinearMap.charpoly_baseChange, he] |
| 109 | rfl |
| 110 | |
| 111 | theorem GeometricComparison.Geometry.AbelianH1Model.native_etale_charpoly_eq_tate (ℓ : ℕ) [Fact ℓ.Prime] (hℓq : ℓ ≠ q) : |
| 112 | letI := A.native_etale_finite ℓ hℓq |
| 113 | letI := A.native_tate_finite ℓ hℓq |
| 114 | letI := A.native_tate_free ℓ hℓq |
| 115 | (A.etaleFrobenius ℓ).toLinearMap.charpoly = |
| 116 | (A.nativeTateFrobenius ℓ).charpoly.map (algebraMap ℤ_[ℓ] ℚ_[ℓ]) := by |
| 117 | let : Module.Finite ℤ_[ℓ] (A.NativeTate ℓ) := A.native_tate_finite ℓ hℓq |
| 118 | let : Module.Free ℤ_[ℓ] (A.NativeTate ℓ) := A.native_tate_free ℓ hℓq |
| 119 | let : FiniteDimensional ℚ_[ℓ] (A.Etale ℓ) := A.native_etale_finite ℓ hℓq |
| 120 | let : FiniteDimensional (AlgebraicClosure ℚ_[ℓ]) (AlgebraicGeometry.FormalGeometry.Completion.Cohomology.Construction.GeometricH1 ℓ A.specialFiber.scheme) := |
| 121 | A.native_geometric_finite ℓ hℓq |
| 122 | let : FiniteDimensional (AlgebraicClosure ℚ_[ℓ]) |
| 123 | (GeometricComparison.AlgebraicRational.RationalProEtaleCoefficients.AlgebraicRationalH1 ℓ (AlgebraicGeometry.FormalGeometry.Completion.Cohomology.Construction.geometricFiber A.specialFiber.scheme)) := |
| 124 | inferInstanceAs (FiniteDimensional (AlgebraicClosure ℚ_[ℓ]) |
| 125 | ((AlgebraicClosure ℚ_[ℓ]) ⊗[ℚ_[ℓ]] A.Etale ℓ)) |
| 126 | have hcompare := IntegralComparison.DualCharacteristicPolynomial.of_intertwines |
| 127 | (GeometricComparison.AlgebraicRational.RationalProEtaleCoefficients.algebraicH1Equiv ℓ (AlgebraicGeometry.FormalGeometry.Completion.Cohomology.Construction.geometricFiber A.specialFiber.scheme)) |
| 128 | (AlgebraicGeometry.FormalGeometry.Completion.CohomologyPullback.Construction.geometricH1Frobenius ℓ (ZMod q) A.specialFiber.scheme) |
| 129 | ((A.etaleFrobenius ℓ).toLinearMap.baseChange (AlgebraicClosure ℚ_[ℓ])) |
| 130 | (GeometricComparison.Rational.GeometricRationalComparison.geometricFrobenius_compare q A.specialFiber.scheme ℓ) |
| 131 | apply Polynomial.map_injective _ (algebraMap ℚ_[ℓ] (AlgebraicClosure ℚ_[ℓ])).injective |
| 132 | rw [← LinearMap.charpoly_baseChange, ← hcompare, A.native_geometric_charpoly_eq_tate ℓ hℓq, Polynomial.map_map, |
| 133 | ← IsScalarTower.algebraMap_eq ℤ_[ℓ] ℚ_[ℓ] (AlgebraicClosure ℚ_[ℓ])] |
| 134 | |
| 135 | end |
| 136 | |
| 137 | end OAI.NumberTheory.PadicHodge |