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.Crystalline.BasePointFrame |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.LocalFramePoint |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.TerminalModuleProjective |
| 4 | import OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.CrystallineCohomology |
| 5 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Module.SheafLinearSections |
| 6 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Truncated.WittFinite |
| 7 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Bounded.CohomologyTorsion |
| 8 | |
| 9 | /-! # Base Point Cohomology -/ |
| 10 | |
| 11 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.BasePointCohomology |
| 12 | |
| 13 | noncomputable section |
| 14 | |
| 15 | /-! Cohomology of the base field on the actual bounded crystalline site. -/ |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite |
| 18 | |
| 19 | universe u |
| 20 | |
| 21 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.BasePointFrame |
| 22 | |
| 23 | variable (p : ℕ) [Fact p.Prime] (k : Type u) [Field k] [Fintype k] [CharP k p] (n : ℕ) |
| 24 | |
| 25 | local notation "R" => OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.ExactRestriction.Coeff (B := WittVector p k) |
| 26 | local notation "T" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.Site.topology (p := p) |
| 27 | (J := Ideal.span {(p : WittVector p k)}) |
| 28 | (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) (Crystalline.BasePointFrame.baseMap p k) n |
| 29 | local notation "H" => OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.CrystallineCohomology.Cohomology (p := p) |
| 30 | (J := Ideal.span {(p : WittVector p k)}) |
| 31 | (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) (Crystalline.BasePointFrame.baseMap p k) n |
| 32 | |
| 33 | instance ring_nontrivial : Nontrivial (Crystalline.BasePointFrame.object p k n).ring := |
| 34 | Function.Surjective.nontrivial (Truncated.Witt.reduction_surjective p k n) |
| 35 | |
| 36 | instance ring_local : IsLocalRing (Crystalline.BasePointFrame.object p k n).ring := |
| 37 | IsLocalRing.of_surjective' (Truncated.Witt.quotient p k n) Ideal.Quotient.mk_surjective |
| 38 | |
| 39 | theorem covering_eq_top (S : Sieve (Crystalline.BasePointFrame.bounded p k n)) (hS : S ∈ T (Crystalline.BasePointFrame.bounded p k n)) : S = ⊤ := |
| 40 | RepresentablePointTopology.covering_eq_top (Crystalline.BasePointFrame.bounded p k n) T |
| 41 | (RepresentablePointTopology.restricted_le (Crystalline.BasePointFrame.bounded p k n) |
| 42 | (Site.inclusion (Crystalline.BasePointFrame.baseMap p k) n) BigCrystallineSite.Object.topology |
| 43 | (Crystalline.LocalFramePoint.topology_le (Crystalline.BasePointFrame.object p k n))) S hS |
| 44 | |
| 45 | instance unit_projective : Projective (CrystallineCohomology.constantUnit |
| 46 | (p := p) (J := Ideal.span {(p : WittVector p k)}) |
| 47 | (δ := AlgebraicGeometry.Crystalline.Cohomology.Witt.DividedPowers.WittDividedPowers.wittDividedPowers p k) (Crystalline.BasePointFrame.baseMap p k) n) := |
| 48 | TerminalModuleProjective.projective T R (covering_eq_top p k n) (Crystalline.BasePointFrame.isTerminal p k n) |
| 49 | |
| 50 | theorem eq_zero (i : ℕ) (z : H (i + 1)) : z = 0 := |
| 51 | Abelian.Ext.eq_zero_of_projective z |
| 52 | |
| 53 | instance subsingleton (i : ℕ) : Subsingleton (H (i + 1)) := |
| 54 | subsingleton_of_forall_eq 0 (eq_zero p k n i) |
| 55 | |
| 56 | def degreeZero : H 0 ≃ₗ[R] |
| 57 | (BigCrystallineCohomology.largePresheaf (Crystalline.BasePointFrame.baseMap p k)).obj (op (Crystalline.BasePointFrame.object p k n)) := |
| 58 | (Module.SheafLinearSections.degreeZeroLinearEquiv T R (Crystalline.BasePointFrame.isTerminal p k n) |
| 59 | (CrystallineCohomology.structureSheaf (Crystalline.BasePointFrame.baseMap p k) n)).trans |
| 60 | (((Bounded.CohomologyTorsion.structurePresheafIso (Crystalline.BasePointFrame.baseMap p k) n).app |
| 61 | (op (Crystalline.BasePointFrame.bounded p k n))).symm.toLinearEquiv) |
| 62 | |
| 63 | instance finite (i : ℕ) : Finite (H i) := by |
| 64 | cases i with |
| 65 | | zero => |
| 66 | let : Finite (Truncated.Witt.Ring p k n) := Truncated.WittFinite.finite p k n |
| 67 | let : Finite ((BigCrystallineCohomology.largePresheaf (Crystalline.BasePointFrame.baseMap p k)).obj |
| 68 | (op (Crystalline.BasePointFrame.object p k n))) := |
| 69 | inferInstanceAs (Finite (ULift.{u + 1} (Truncated.Witt.Ring p k n))) |
| 70 | exact Finite.of_injective _ (degreeZero p k n).injective |
| 71 | | succ i => infer_instance |
| 72 | |
| 73 | end |
| 74 | |
| 75 | end OAI.NumberTheory.PadicHodge.IntegralComparison.BoundedCrystalline.BasePointCohomology |