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.Geometric.FrobeniusCharacteristicPolynomial |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Intrinsic.EtaleTateCharacteristicPolynomial |
| 3 | |
| 4 | /-! # Etale Integer Characteristic Polynomial -/ |
| 5 | |
| 6 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Intrinsic.EtaleIntegerCharacteristicPolynomial.Geometric.AbelianModel |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The original rational étale Frobenius of a GeometricComparison abelian model has |
| 11 | a single monic integer characteristic polynomial, independent of ℓ. |
| 12 | The polynomial is constructed from the actual geometric degree law. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | open MonoidalCategory |
| 16 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj TensorProduct |
| 17 | |
| 18 | set_option backward.defeqAttrib.useBackward true |
| 19 | set_option backward.isDefEq.respectTransparency false |
| 20 | |
| 21 | variable {K : Type} [Field K] [NumberField K] |
| 22 | {q : ℕ} [Fact q.Prime] {jq : K →+* ℚ_[q]} (A : GeometricComparison.Geometry.AbelianH1Model K q jq) |
| 23 | |
| 24 | attribute [local instance] GeometricComparison.Geometry.AbelianH1Model.geometricSpecialFiber_group GeometricComparison.Geometry.AbelianH1Model.geometricSpecialFiber_commutative |
| 25 | |
| 26 | local instance : IsProper A.geometricSpecialFiber.hom := |
| 27 | inferInstanceAs (IsProper |
| 28 | (Limits.pullback.snd A.specialFiber.scheme.hom (OAI.AlgebraicGeometry.FormalGeometry.Completion.Geometric.Frobenius.Construction.algebraicClosureBase (ZMod q)))) |
| 29 | |
| 30 | local instance : Smooth A.geometricSpecialFiber.hom := |
| 31 | inferInstanceAs (Smooth |
| 32 | (Limits.pullback.snd A.specialFiber.scheme.hom (OAI.AlgebraicGeometry.FormalGeometry.Completion.Geometric.Frobenius.Construction.algebraicClosureBase (ZMod q)))) |
| 33 | |
| 34 | local instance : GeometricallyIntegral A.geometricSpecialFiber.hom := by |
| 35 | let : GeometricallyIntegral A.specialFiber.scheme.hom := A.specialFiber_geometricallyIntegral |
| 36 | exact inferInstanceAs (GeometricallyIntegral |
| 37 | (Limits.pullback.snd A.specialFiber.scheme.hom (OAI.AlgebraicGeometry.FormalGeometry.Completion.Geometric.Frobenius.Construction.algebraicClosureBase (ZMod q)))) |
| 38 | |
| 39 | local instance : IsIntegral A.geometricSpecialFiber.left := |
| 40 | GeometricallyIntegral.isIntegral_of_subsingleton A.geometricSpecialFiber.hom |
| 41 | |
| 42 | abbrev _root_.OAI.NumberTheory.PadicHodge.GeometricComparison.Geometry.AbelianH1Model.nativeGeometricFrobenius : OAI.AlgebraicGeometry.FormalGeometry.Completion.Endomorphisms.Construction.AlgebraicEnd A.geometricSpecialFiber := |
| 43 | OAI.AlgebraicGeometry.FormalGeometry.Completion.Endomorphism.GeometricEmbedding.Construction.algebraicEndGeometricBaseChange (ZMod q) A.specialFiber.scheme |
| 44 | (OAI.AlgebraicGeometry.FormalGeometry.Completion.Endomorphisms.Construction.algebraicFrobenius (ZMod q) A.specialFiber.scheme) |
| 45 | |
| 46 | def _root_.OAI.NumberTheory.PadicHodge.GeometricComparison.Geometry.AbelianH1Model.nativeIntegerFrobeniusPolynomial : Polynomial ℤ := |
| 47 | Geometric.DegreeResultant.integerPolynomial A.geometricSpecialFiber A.nativeGeometricFrobenius |
| 48 | |
| 49 | theorem _root_.OAI.NumberTheory.PadicHodge.GeometricComparison.Geometry.AbelianH1Model.nativeIntegerFrobeniusPolynomial_monic : A.nativeIntegerFrobeniusPolynomial.Monic := by |
| 50 | exact Geometric.DegreeResultant.integerPolynomial_monic _ _ |
| 51 | |
| 52 | theorem _root_.OAI.NumberTheory.PadicHodge.GeometricComparison.Geometry.AbelianH1Model.native_tate_charpoly_degree (ℓ : ℕ) [Fact ℓ.Prime] (hℓq : ℓ ≠ q) : |
| 53 | letI := A.native_tate_finite ℓ hℓq |
| 54 | letI := A.native_tate_free ℓ hℓq |
| 55 | (A.nativeTateFrobenius ℓ).charpoly.natDegree = A.nativeIntegerFrobeniusPolynomial.natDegree := by |
| 56 | let := A.native_tate_finite ℓ hℓq |
| 57 | let := A.native_tate_free ℓ hℓq |
| 58 | rw [LinearMap.charpoly_natDegree, GeometricComparison.Geometry.AbelianH1Model.nativeIntegerFrobeniusPolynomial, Geometric.DegreeResultant.integerPolynomial_natDegree] |
| 59 | exact Geometric.TateRank.finrank A.geometricSpecialFiber ℓ |
| 60 | (GeometricComparison.Geometry.AbelianH1Model.ell_ne_zero_in_geometricField ℓ hℓq) |
| 61 | |
| 62 | theorem _root_.OAI.NumberTheory.PadicHodge.GeometricComparison.Geometry.AbelianH1Model.native_polynomial_finite_etale (R : Polynomial ℕ) (hR : ¬ q ∣ R.coeff 0) : |
| 63 | IsFinite (IntegralComparison.Polynomial.DegreeGeometry.Law.naturalEnd A.geometricSpecialFiber A.nativeGeometricFrobenius R).toMul.hom.hom.left ∧ |
| 64 | Surjective (IntegralComparison.Polynomial.DegreeGeometry.Law.naturalEnd A.geometricSpecialFiber A.nativeGeometricFrobenius R).toMul.hom.hom.left ∧ |
| 65 | AlgebraicGeometry.Etale (IntegralComparison.Polynomial.DegreeGeometry.Law.naturalEnd A.geometricSpecialFiber A.nativeGeometricFrobenius R).toMul.hom.hom.left := by |
| 66 | let := A.specialFiber_geometricallyIntegral |
| 67 | have hRk : (R.coeff 0 : ZMod q) ≠ 0 := fun hz => hR ((ZMod.natCast_eq_zero_iff _ _).mp hz) |
| 68 | exact IntegralComparison.Polynomial.FrobeniusEtale.finite_etale (ZMod q) A.specialFiber.scheme R hRk |
| 69 | |
| 70 | theorem _root_.OAI.NumberTheory.PadicHodge.GeometricComparison.Geometry.AbelianH1Model.native_points_tate_finite (ℓ : ℕ) [Fact ℓ.Prime] (hℓq : ℓ ≠ q) : |
| 71 | Module.Finite ℤ_[ℓ] |
| 72 | (OAI.AlgebraicGeometry.AbelianScheme.TateComparison.Add.Tate.Module (H := Geometric.TateModule.Points A.geometricSpecialFiber) ℓ) := by |
| 73 | have h := A.native_tate_finite ℓ hℓq |
| 74 | dsimp only [GeometricComparison.Geometry.AbelianH1Model.NativeTate] at h |
| 75 | exact h |
| 76 | |
| 77 | theorem _root_.OAI.NumberTheory.PadicHodge.GeometricComparison.Geometry.AbelianH1Model.native_points_tate_free (ℓ : ℕ) [Fact ℓ.Prime] (hℓq : ℓ ≠ q) : |
| 78 | Module.Free ℤ_[ℓ] |
| 79 | (OAI.AlgebraicGeometry.AbelianScheme.TateComparison.Add.Tate.Module (H := Geometric.TateModule.Points A.geometricSpecialFiber) ℓ) := by |
| 80 | have h := A.native_tate_free ℓ hℓq |
| 81 | dsimp only [GeometricComparison.Geometry.AbelianH1Model.NativeTate] at h |
| 82 | exact h |
| 83 | |
| 84 | theorem _root_.OAI.NumberTheory.PadicHodge.GeometricComparison.Geometry.AbelianH1Model.native_tate_resultant_norm (ℓ : ℕ) [Fact ℓ.Prime] (hℓq : ℓ ≠ q) |
| 85 | (R : Polynomial ℕ) (hR : ¬ q ∣ R.coeff 0) : |
| 86 | letI := A.native_tate_finite ℓ hℓq |
| 87 | letI := A.native_tate_free ℓ hℓq |
| 88 | ‖((A.nativeTateFrobenius ℓ).charpoly.map (algebraMap ℤ_[ℓ] ℚ_[ℓ])).resultant |
| 89 | (R.map (Nat.castRingHom ℚ_[ℓ]))‖ = |
| 90 | ‖(A.nativeIntegerFrobeniusPolynomial.map (Int.castRingHom ℚ_[ℓ])).resultant |
| 91 | (R.map (Nat.castRingHom ℚ_[ℓ]))‖ := by |
| 92 | let := A.native_tate_finite ℓ hℓq |
| 93 | let := A.native_tate_free ℓ hℓq |
| 94 | let := A.native_points_tate_finite ℓ hℓq |
| 95 | let := A.native_points_tate_free ℓ hℓq |
| 96 | obtain ⟨hfin, hsurj, het⟩ := A.native_polynomial_finite_etale R hR |
| 97 | let : IsFinite (IntegralComparison.Polynomial.DegreeGeometry.Law.naturalEnd A.geometricSpecialFiber A.nativeGeometricFrobenius R).toMul.hom.hom.left := hfin |
| 98 | let : Surjective (IntegralComparison.Polynomial.DegreeGeometry.Law.naturalEnd A.geometricSpecialFiber A.nativeGeometricFrobenius R).toMul.hom.hom.left := hsurj |
| 99 | let : AlgebraicGeometry.Etale (IntegralComparison.Polynomial.DegreeGeometry.Law.naturalEnd A.geometricSpecialFiber A.nativeGeometricFrobenius R).toMul.hom.hom.left := het |
| 100 | have h := TateDegreeResultantNorm.resultant_norm A.geometricSpecialFiber ℓ |
| 101 | (GeometricComparison.Geometry.AbelianH1Model.ell_ne_zero_in_geometricField ℓ hℓq) A.nativeGeometricFrobenius R |
| 102 | rw [LinearMap.charpoly_baseChange] at h |
| 103 | dsimp only [GeometricComparison.Geometry.AbelianH1Model.nativeTateFrobenius, GeometricComparison.Geometry.AbelianH1Model.nativeIntegerFrobeniusPolynomial, GeometricComparison.Geometry.AbelianH1Model.nativeGeometricFrobenius] at h ⊢ |
| 104 | exact h |
| 105 | |
| 106 | theorem _root_.OAI.NumberTheory.PadicHodge.GeometricComparison.Geometry.AbelianH1Model.native_tate_charpoly_eq_integer (ℓ : ℕ) [Fact ℓ.Prime] (hℓq : ℓ ≠ q) : |
| 107 | letI := A.native_tate_finite ℓ hℓq |
| 108 | letI := A.native_tate_free ℓ hℓq |
| 109 | (A.nativeTateFrobenius ℓ).charpoly.map (algebraMap ℤ_[ℓ] ℚ_[ℓ]) = |
| 110 | A.nativeIntegerFrobeniusPolynomial.map (Int.castRingHom ℚ_[ℓ]) := by |
| 111 | let := A.native_tate_finite ℓ hℓq |
| 112 | let := A.native_tate_free ℓ hℓq |
| 113 | apply NaturalResultantRigidity.monic_eq_of_natural_resultant_norm ℓ q hℓq |
| 114 | _ _ ((LinearMap.charpoly_monic _).map _) (A.nativeIntegerFrobeniusPolynomial_monic.map _) |
| 115 | · rw [(LinearMap.charpoly_monic _).natDegree_map, |
| 116 | A.nativeIntegerFrobeniusPolynomial_monic.natDegree_map] |
| 117 | exact A.native_tate_charpoly_degree ℓ hℓq |
| 118 | · exact A.native_tate_resultant_norm ℓ hℓq |
| 119 | |
| 120 | theorem _root_.OAI.NumberTheory.PadicHodge.GeometricComparison.Geometry.AbelianH1Model.native_etale_charpoly_eq_integer (ℓ : ℕ) [Fact ℓ.Prime] (hℓq : ℓ ≠ q) : |
| 121 | letI := A.native_etale_finite ℓ hℓq |
| 122 | (A.etaleFrobenius ℓ).toLinearMap.charpoly = |
| 123 | A.nativeIntegerFrobeniusPolynomial.map (Int.castRingHom ℚ_[ℓ]) := by |
| 124 | let := A.native_etale_finite ℓ hℓq |
| 125 | let := A.native_tate_finite ℓ hℓq |
| 126 | let := A.native_tate_free ℓ hℓq |
| 127 | exact (A.native_etale_charpoly_eq_tate ℓ hℓq).trans |
| 128 | (A.native_tate_charpoly_eq_integer ℓ hℓq) |
| 129 | |
| 130 | theorem _root_.OAI.NumberTheory.PadicHodge.GeometricComparison.Geometry.AbelianH1Model.nativeIntegerFrobeniusPolynomial_natDegree (ℓ : ℕ) [Fact ℓ.Prime] (hℓq : ℓ ≠ q) : |
| 131 | letI := A.native_etale_finite ℓ hℓq |
| 132 | A.nativeIntegerFrobeniusPolynomial.natDegree = Module.finrank ℚ_[ℓ] (A.Etale ℓ) := by |
| 133 | let := A.native_etale_finite ℓ hℓq |
| 134 | rw [← A.nativeIntegerFrobeniusPolynomial_monic.natDegree_map (Int.castRingHom ℚ_[ℓ]), |
| 135 | ← A.native_etale_charpoly_eq_integer ℓ hℓq, LinearMap.charpoly_natDegree] |
| 136 | |
| 137 | end |
| 138 | |
| 139 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Intrinsic.EtaleIntegerCharacteristicPolynomial.Geometric.AbelianModel |