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.GlobalFunction.CrystallineEquivalence |
| 2 | |
| 3 | /-! # Crystalline Basis -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.GlobalFunction.CrystallineBasis |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! An actual finite basis and rank formula for original crystalline degree-zero cohomology. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | attribute [local instance] PeriodInvariants.WittAlgebraFunctor.wittAlgebra |
| 16 | |
| 17 | variable (p : ℕ) [Fact p.Prime] (k : Type u) [Field k] [Fintype k] [CharP k p] |
| 18 | (X : Over (Spec (CommRingCat.of k))) [IsProper X.hom] [Smooth X.hom] [Nonempty X.left] |
| 19 | (hprojective : Projectivity.Construction.ProjectiveOver k X.hom) |
| 20 | |
| 21 | local notation "W" => WittVector p k |
| 22 | local notation "A" => OAI.NumberTheory.PadicHodge.IntegralComparison.SmoothProper.GlobalFunctionAlgebra.algebra k X |
| 23 | local notation "M" => OAI.NumberTheory.PadicHodge.IntegralComparison.Witt.Crystalline.integralCohomology p k X 0 |
| 24 | |
| 25 | def integralBasis : Module.Basis (Module.Free.ChooseBasisIndex k A) W M := by |
| 26 | let := SmoothProper.GlobalFunctionAlgebra.nontrivial k X |
| 27 | let := SmoothProper.GlobalFunctionAlgebra.module_finite k X hprojective |
| 28 | let := SmoothProper.GlobalFunctionAlgebra.etale k X p hprojective |
| 29 | exact (PeriodInvariants.FiniteEtaleWittModule.basis p k A).map |
| 30 | (CrystallineEquivalence.integralEquiv p k X hprojective) |
| 31 | |
| 32 | include hprojective in |
| 33 | theorem free : Module.Free W M := Module.Free.of_basis (integralBasis p k X hprojective) |
| 34 | |
| 35 | include hprojective in |
| 36 | theorem finrank : Module.finrank (FractionRing W) (Witt.Crystalline.rationalCohomology p k X 0) = |
| 37 | Module.finrank k A := by |
| 38 | let := SmoothProper.GlobalFunctionAlgebra.module_finite k X hprojective |
| 39 | let : Fintype (Module.Free.ChooseBasisIndex k A) := Fintype.ofFinite _ |
| 40 | have h₁ := Module.finrank_eq_card_basis ((integralBasis p k X hprojective).baseChange (FractionRing W)) |
| 41 | have h₂ := Module.finrank_eq_card_basis (Module.Free.chooseBasis k A) |
| 42 | exact h₁.trans h₂.symm |
| 43 | |
| 44 | end |
| 45 | |
| 46 | end OAI.NumberTheory.PadicHodge.IntegralComparison.GlobalFunction.CrystallineBasis |