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.Geometry |
| 2 | import OAI.NumberTheory.PadicHodge.GeometricComparison.SemilinearCharpolyTo |
| 3 | import OAI.NumberTheory.PadicHodge.GeometricComparison.Integral.FrobeniusAdapter |
| 4 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Interfaces |
| 5 | |
| 6 | /-! # Shared -/ |
| 7 | |
| 8 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! The complete repaired IntegralComparison proposition, with native polynomial transport at the split prime. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry OAI.NumberTheory.PadicHodge.IntegralComparison.Interfaces |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | /-- The full native characteristic-polynomial comparison proposition as an explicit input. -/ |
| 19 | def Integral.Shared.CharpolyInput : Prop := |
| 20 | ∀ |
| 21 | (p ℓ a : ℕ) |
| 22 | [Fact p.Prime] [Fact ℓ.Prime] |
| 23 | (_hℓp : ℓ ≠ p) |
| 24 | (_ha : 0 < a) |
| 25 | (k : Type u) [Field k] [Fintype k] [CharP k p] |
| 26 | (hcard : Fintype.card k = p ^ a) |
| 27 | (X : Scheme.{u}) |
| 28 | (f : X ⟶ Spec (CommRingCat.of k)) |
| 29 | [Smooth f] [IsProper f] |
| 30 | (_hprojective : IntegralComparison.Interfaces.ProjectiveOver f) |
| 31 | (i : ℕ), |
| 32 | ∃ (hcrys : FiniteDimensional (FractionRing (WittVector p k)) (IntegralComparison.Interfaces.CrystallineCohomology p k f i)) |
| 33 | (het : FiniteDimensional ℚ_[ℓ] (IntegralComparison.Interfaces.EtaleCohomology ℓ k f i)), |
| 34 | letI := hcrys |
| 35 | letI := het |
| 36 | ∃ P : Polynomial ℤ, |
| 37 | LinearMap.charpoly (IntegralComparison.Interfaces.crystallineQFrobenius p a k hcard f i) = |
| 38 | P.map (Int.castRingHom (FractionRing (WittVector p k))) ∧ |
| 39 | LinearMap.charpoly (IntegralComparison.Interfaces.etaleGeometricFrobenius ℓ p a k hcard f i) = |
| 40 | P.map (Int.castRingHom ℚ_[ℓ]) |
| 41 | |
| 42 | variable {K : Type} [Field K] [NumberField K] |
| 43 | {q : ℕ} [Fact q.Prime] {jq : K →+* ℚ_[q]} (A : Geometry.AbelianH1Model K q jq) |
| 44 | |
| 45 | /-- IntegralComparison supplies the shared integral polynomial once projectivity of the actual special fiber is proved. -/ |
| 46 | theorem Geometry.AbelianH1Model.sharedPolynomial_of_IntegralComparison (hIntegralComparison : Integral.Shared.CharpolyInput.{0}) |
| 47 | (hprojective : IntegralComparison.Interfaces.ProjectiveOver A.specialFiber.scheme.hom) |
| 48 | (ℓ : ℕ) [Fact ℓ.Prime] (hℓq : ℓ ≠ q) : |
| 49 | ∃ hC : FiniteDimensional ℚ_[q] A.Crystalline, |
| 50 | letI := hC |
| 51 | ∃ P : Polynomial ℤ, A.IsWeilPolynomial ℓ P ∧ |
| 52 | A.crystallineFrobenius.charpoly = P.map (Int.castRingHom ℚ_[q]) := by |
| 53 | obtain ⟨hsmall, het, P, hP, hEt⟩ := hIntegralComparison q ℓ 1 hℓq (by decide) (ZMod q) |
| 54 | (by simp) A.specialFiber.scheme.left A.specialFiber.scheme.hom hprojective 1 |
| 55 | let : FiniteDimensional (FractionRing (GeometricComparison.Crystalline.CoefficientAdapter.Witt q)) |
| 56 | (IntegralComparison.Interfaces.CrystallineCohomology q (ZMod q) A.specialFiber.scheme.hom 1) := hsmall |
| 57 | let e : IntegralComparison.Interfaces.CrystallineCohomology q (ZMod q) A.specialFiber.scheme.hom 1 |
| 58 | ≃ₛₗ[(GeometricComparison.Crystalline.CoefficientAdapter.coefficientFieldEquiv q).toRingHom] A.Crystalline := |
| 59 | Integral.FrobeniusAdapter.CrystallineAdapter.nativeSmallToBigEquiv q A.specialFiber.scheme |
| 60 | let T := IntegralComparison.Interfaces.crystallineQFrobenius q 1 (ZMod q) (by simp) A.specialFiber.scheme.hom 1 |
| 61 | have he : ∀ x, e (T x) = A.crystallineFrobenius (e x) := |
| 62 | Integral.FrobeniusAdapter.CrystallineAdapter.nativeSmallToBigEquiv_frobenius q A.specialFiber.scheme |
| 63 | let hC : FiniteDimensional ℚ_[q] A.Crystalline := |
| 64 | SemilinearCharpolyTo.SemilinearCharpoly.finite (GeometricComparison.Crystalline.CoefficientAdapter.coefficientFieldEquiv q) e |
| 65 | refine ⟨hC, P, ⟨het, hEt⟩, ?_⟩ |
| 66 | rw [SemilinearCharpolyTo.SemilinearCharpoly.charpoly_map (GeometricComparison.Crystalline.CoefficientAdapter.coefficientFieldEquiv q) e T |
| 67 | A.crystallineFrobenius he, hP, Polynomial.map_map] |
| 68 | congr 1 |
| 69 | exact Subsingleton.elim _ _ |
| 70 | |
| 71 | end |
| 72 | |
| 73 | end OAI.NumberTheory.PadicHodge.GeometricComparison |