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.SchemeIso |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Affine.GlobalFunctionScheme |
| 3 | import OAI.NumberTheory.PadicHodge.IntegralComparison.Geometric.FiberSchemeIso |
| 4 | import OAI.NumberTheory.PadicHodge.IntegralComparison.FiniteEtale.HigherCrystalline |
| 5 | import OAI.NumberTheory.PadicHodge.IntegralComparison.FiniteEtale.Higher |
| 6 | import OAI.NumberTheory.PadicHodge.IntegralComparison.EmptyCrystallineCohomology |
| 7 | import OAI.NumberTheory.PadicHodge.IntegralComparison.EmptyEtaleCohomology |
| 8 | |
| 9 | /-! # Smooth Proper Vanishing -/ |
| 10 | |
| 11 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.Affine.SmoothProperVanishing |
| 12 | |
| 13 | noncomputable section |
| 14 | |
| 15 | /-! Original positive cohomology vanishes for every affine smooth proper projective scheme over a finite field. -/ |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 18 | |
| 19 | universe u |
| 20 | |
| 21 | variable (p : ℕ) [Fact p.Prime] (k : Type u) [Field k] [Fintype k] [CharP k p] |
| 22 | (X : Over (Spec (CommRingCat.of k))) [IsProper X.hom] [Smooth X.hom] [IsAffine X.left] |
| 23 | (hprojective : Projectivity.Construction.ProjectiveOver k X.hom) |
| 24 | |
| 25 | local notation "A" => OAI.NumberTheory.PadicHodge.IntegralComparison.SmoothProper.GlobalFunctionAlgebra.algebra k X |
| 26 | local notation "Y" => OAI.NumberTheory.PadicHodge.IntegralComparison.Crystalline.Presentation.affineScheme k A |
| 27 | |
| 28 | local instance : IsSeparated (Crystalline.Presentation.affineScheme k A).hom := |
| 29 | inferInstanceAs (IsSeparated (Spec.map (CommRingCat.ofHom (algebraMap k A)))) |
| 30 | |
| 31 | include hprojective in |
| 32 | theorem crystalline (i : ℕ) : Subsingleton (Witt.Crystalline.rationalCohomology p k X (i + 1)) := by |
| 33 | rcases isEmpty_or_nonempty X.left with h | h |
| 34 | · let : IsEmpty X.left := h |
| 35 | exact EmptyCrystallineCohomology.rational p k X (i + 1) |
| 36 | · let : Nonempty X.left := h |
| 37 | let : Nontrivial A := SmoothProper.GlobalFunctionAlgebra.nontrivial k X |
| 38 | let : Module.Finite k A := SmoothProper.GlobalFunctionAlgebra.module_finite k X hprojective |
| 39 | let : Algebra.Etale k A := SmoothProper.GlobalFunctionAlgebra.etale k X p hprojective |
| 40 | let : Subsingleton (Witt.Crystalline.rationalCohomology p k Y (i + 1)) := |
| 41 | FiniteEtale.HigherCrystalline.rational p k A i |
| 42 | exact (Crystalline.SchemeIso.rational p k |
| 43 | (GlobalFunctionScheme.iso k X) (i + 1)).symm.injective.subsingleton |
| 44 | |
| 45 | include p hprojective in |
| 46 | theorem etale (ℓ : ℕ) [Fact ℓ.Prime] (i : ℕ) : |
| 47 | Subsingleton (Interfaces.EtaleCohomology ℓ k X.hom (i + 1)) := by |
| 48 | rcases isEmpty_or_nonempty X.left with h | h |
| 49 | · let : IsEmpty X.left := h |
| 50 | let : IsEmpty (Frobenius.Geometry.geometricFiber (L := AlgebraicClosure k) X.hom) := |
| 51 | ⟨fun x => @IsEmpty.false X.left inferInstance |
| 52 | (pullback.fst X.hom (Spec.map (CommRingCat.ofHom (algebraMap k (AlgebraicClosure k)))) x)⟩ |
| 53 | exact EmptyEtaleCohomology.cohomology ℓ _ (i + 1) |
| 54 | · let : Nonempty X.left := h |
| 55 | let : Module.Finite k A := SmoothProper.GlobalFunctionAlgebra.module_finite k X hprojective |
| 56 | let : Algebra.Etale k A := SmoothProper.GlobalFunctionAlgebra.etale k X p hprojective |
| 57 | let : Subsingleton (Interfaces.EtaleCohomology ℓ k (Y).hom (i + 1)) := |
| 58 | FiniteEtale.Higher.Etale.vanishing k A ℓ i |
| 59 | exact (Geometric.FiberSchemeIso.cohomology k |
| 60 | (GlobalFunctionScheme.iso k X) ℓ (i + 1)).injective.subsingleton |
| 61 | |
| 62 | end |
| 63 | |
| 64 | end OAI.NumberTheory.PadicHodge.IntegralComparison.Affine.SmoothProperVanishing |