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.Intrinsic.HalfDimension |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.Intrinsic.PolynomialWeights |
| 3 | import OAI.NumberTheory.PadicHodge.GeometricComparison.WeilDeterminantNorm |
| 4 | import OAI.NumberTheory.PadicHodge.GeometricComparison.Intrinsic.HeckeFrobenius |
| 5 | |
| 6 | /-! # Newton Equality -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! A shared native Weil polynomial gives equality of the total geometric Hodge number and the original crystalline Frobenius valuation. The stable-subspace inequalities remain a separate obligation. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | |
| 16 | variable {K : Type} [Field K] [NumberField K] |
| 17 | {q : ℕ} [Fact q.Prime] {jq : K →+* ℚ_[q]} (A : Geometry.AbelianH1Model K q jq) |
| 18 | [FiniteDimensional ℚ_[q] A.DeRham] [FiniteDimensional ℚ_[q] A.Crystalline] |
| 19 | |
| 20 | theorem Geometry.AbelianH1Model.native_hodge_newton_equality |
| 21 | (hCohomology : Cohomology.Good.GoodReductionInput.{0}) (hCompletion : Completion.GeometricWeightInput.{0}) |
| 22 | (hBettiComparison : Betti.ComparisonInput) (j : K →+* ℂ) |
| 23 | (P : AlgebraicGeometry.Foundations.Scheme.SmoothProjective.ProjectivePresentation (A.complexFiber j).scheme.left (A.complexFiber j).scheme.hom) |
| 24 | (ℓ : ℕ) [Fact ℓ.Prime] (hℓq : ℓ ≠ q) |
| 25 | (W : Polynomial ℤ) (hW : A.IsWeilPolynomial ℓ W) |
| 26 | (hC : A.crystallineFrobenius.charpoly = W.map (Int.castRingHom ℚ_[q])) : |
| 27 | A.finiteFiltration.tH = (Padic.valuation (A.deRhamFrobeniusEquiv hCohomology).toLinearMap.det : ℚ) := by |
| 28 | have hH := A.native_hodge_number_twice hBettiComparison j P |
| 29 | have hN := WeilDeterminantNorm.WeilDeterminant.determinant_valuation_twice q A.crystallineFrobenius W hC |
| 30 | (A.native_polynomial_weights hCompletion ℓ hℓq W hW) |
| 31 | have hdim := (A.crystallineDeRhamEquiv hCohomology).finrank_eq |
| 32 | have hdet : (A.deRhamFrobeniusEquiv hCohomology).toLinearMap.det = A.crystallineFrobenius.det := by |
| 33 | rw [Geometry.AbelianH1Model.deRhamFrobeniusEquiv, WeakAdmissibilityTransport.FiltrationTransport.conjugateEquiv_toLinearMap] |
| 34 | exact (LinearMap.det_conj (A.crystallineFrobeniusEquiv hCohomology).toLinearMap |
| 35 | (A.crystallineDeRhamEquiv hCohomology)).trans |
| 36 | (congrArg LinearMap.det (A.crystallineFrobeniusEquiv_toLinearMap hCohomology)) |
| 37 | rw [hdet] |
| 38 | have hNq : (2 : ℚ) * (Padic.valuation A.crystallineFrobenius.det : ℚ) = |
| 39 | (Module.finrank ℚ_[q] A.Crystalline : ℚ) := by exact_mod_cast hN |
| 40 | rw [hdim] at hNq |
| 41 | linarith |
| 42 | |
| 43 | end |
| 44 | |
| 45 | end OAI.NumberTheory.PadicHodge.GeometricComparison |