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.Intrinsic.CrystallinePlusShift |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Intrinsic.IntegerPolynomialNormalization |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.PrimeToEvaluation |
| 4 | import OAI.NumberTheory.PadicHodge.IntegralComparison.EvenCharacteristicEvaluation |
| 5 | import OAI.NumberTheory.PadicHodge.GeometricComparison.ProjectiveBettiDimension |
| 6 | |
| 7 | /-! # Crystalline Polynomial Criterion -/ |
| 8 | |
| 9 | namespace OAI.NumberTheory.PadicHodge |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! Exact determinants of the genuine prime-to-characteristic |
| 14 | Frobenius shifts determine the full original crystalline characteristic |
| 15 | polynomial. The rank and the sign are supplied by the proved projective |
| 16 | comparison for the given model. -/ |
| 17 | |
| 18 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 19 | |
| 20 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.CrystallineFunctoriality.CM |
| 21 | |
| 22 | variable {K : Type} [Field K] [NumberField K] |
| 23 | {q : ℕ} [Fact q.Prime] {jq : K →+* ℚ_[q]} (A : GeometricComparison.Geometry.AbelianH1Model K q jq) |
| 24 | (j : K →+* ℂ) |
| 25 | (P : AlgebraicGeometry.Foundations.Scheme.SmoothProjective.ProjectivePresentation (A.complexFiber j).scheme.left (A.complexFiber j).scheme.hom) |
| 26 | |
| 27 | include j P |
| 28 | |
| 29 | theorem GeometricComparison.Geometry.AbelianH1Model.native_crystalline_finrank_even : Even (Module.finrank ℚ_[q] A.Crystalline) := by |
| 30 | rw [CrystallineDimension.FrobeniusSlope.crystalline_finrank_eq_betti A j P, |
| 31 | A.projective_complexBetti_finrank j P] |
| 32 | exact even_two_mul _ |
| 33 | |
| 34 | theorem GeometricComparison.Geometry.AbelianH1Model.native_crystalline_charpoly_of_plus_pullback_determinants (b : ℕ) |
| 35 | (hdet : ∀ n : ℕ, b ≤ n → ¬q ∣ n → |
| 36 | (GeometricComparison.Crystalline.CoefficientAdapter.rationalPullback q |
| 37 | (((n : AlgebraicGeometry.FormalGeometry.Completion.Endomorphisms.Construction.AlgebraicEnd A.specialFiber.scheme) + |
| 38 | AlgebraicGeometry.FormalGeometry.Completion.Endomorphisms.Construction.algebraicFrobenius (ZMod q) A.specialFiber.scheme).toMul.hom.hom)).det = |
| 39 | ((A.nativeIntegerFrobeniusPolynomial.eval (-(n : ℤ)) : ℤ) : ℚ_[q])) : |
| 40 | letI : FiniteDimensional ℚ_[q] A.Crystalline := |
| 41 | CrystallineDimension.FrobeniusSlope.crystalline_finite A j P |
| 42 | A.crystallineFrobenius.charpoly = |
| 43 | A.nativeIntegerFrobeniusPolynomial.map (Int.castRingHom ℚ_[q]) := by |
| 44 | let : FiniteDimensional ℚ_[q] A.Crystalline := |
| 45 | CrystallineDimension.FrobeniusSlope.crystalline_finite A j P |
| 46 | apply IntegralComparison.PrimeToEvaluation.Negative.eq_integer_polynomial _ _ q b (Fact.out : q.Prime).one_lt |
| 47 | intro n hn hqn |
| 48 | rw [IntegralComparison.EvenCharacteristicEvaluation.eval_neg _ _ (A.native_crystalline_finrank_even j P), |
| 49 | ← A.crystallinePullback_plus_nat j P n] |
| 50 | exact hdet n hn hqn |
| 51 | |
| 52 | end |
| 53 | |
| 54 | end OAI.NumberTheory.PadicHodge |