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.AlgebraicGeometry.Crystalline.Cohomology.ProperOrdinaryFormCharts |
| 2 | import OAI.AlgebraicGeometry.Crystalline.Cohomology.OrdinaryFormSheaf |
| 3 | import OAI.AlgebraicGeometry.Crystalline.Cohomology.ProperCoherentCoefficient |
| 4 | import OAI.NumberTheory.PadicHodge.IntegralComparison.AffineOpen.ModuleGenerators |
| 5 | |
| 6 | /-! # Proper Ordinary Form Finiteness -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.Crystalline.Cohomology.ProperOrdinaryFormFiniteness.SmoothProperOrdinaryFormFiniteness |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! # Proper coherent cohomology of the original ordinary differential-form modules -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | variable (k : Type u) [Field k] (X : Over (Spec (CommRingCat.of k))) |
| 19 | [IsProper X.hom] [Smooth X.hom] |
| 20 | |
| 21 | abbrev term (n : ℕ) : X.left.Modules := OrdinaryFormBase.OrdinaryFormModulePresheaf.sheaf k X n |
| 22 | |
| 23 | theorem cover : (Opens.grothendieckTopology X.left).CoversTop (ProperOrdinaryFormCharts.SmoothProperOrdinaryFormCharts.opens k X) := by |
| 24 | rw [Opens.coversTop_iff] |
| 25 | exact ProperOrdinaryFormCharts.SmoothProperOrdinaryFormCharts.cover k X |
| 26 | |
| 27 | theorem open_quasicoherent (i : NumberTheory.PadicHodge.IntegralComparison.SmoothProper.EtaleCover.Index k X) (n : ℕ) : |
| 28 | ((term k X n).over (ProperOrdinaryFormCharts.SmoothProperOrdinaryFormCharts.opens k X i)).IsQuasicoherent := by |
| 29 | let U := ProperOrdinaryFormCharts.SmoothProperOrdinaryFormCharts.opens k X i |
| 30 | let hU : IsAffineOpen U := ProperOrdinaryFormCharts.SmoothProperOrdinaryFormCharts.affine k X i |
| 31 | let : IsAffine U.toScheme := hU |
| 32 | let : ((term k X n).restrict hU.fromSpec).IsQuasicoherent := |
| 33 | ProperOrdinaryFormCharts.SmoothProperOrdinaryFormCharts.quasicoherent k X i n |
| 34 | let : ((term k X n).restrict U.ι).IsQuasicoherent := NumberTheory.PadicHodge.IntegralComparison.AffineOpen.ModuleGenerators.quasicoherent (term k X n) U hU |
| 35 | exact SheafCohomology.Projective.Quasicoherent.Scheme.Modules.isQuasicoherent_over_of_restrict_of_isAffineOpen (term k X n) U |
| 36 | |
| 37 | theorem quasicoherent (n : ℕ) : (term k X n).IsQuasicoherent := |
| 38 | @SheafOfModules.IsQuasicoherent.of_coversTop _ _ _ _ _ _ _ _ (term k X n) _ |
| 39 | (ProperOrdinaryFormCharts.SmoothProperOrdinaryFormCharts.opens k X) (cover k X) (fun i => open_quasicoherent k X i n) |
| 40 | |
| 41 | theorem chart_generators (i : NumberTheory.PadicHodge.IntegralComparison.SmoothProper.EtaleCover.Index k X) (n : ℕ) : |
| 42 | ∃ G : ((term k X n).restrict (ProperOrdinaryFormCharts.SmoothProperOrdinaryFormCharts.affine k X i).fromSpec).GeneratingSections, |
| 43 | G.IsFiniteType := by |
| 44 | let : (ProperOrdinaryFormCharts.SmoothProperOrdinaryFormCharts.restricted k X i n).IsQuasicoherent := |
| 45 | ProperOrdinaryFormCharts.SmoothProperOrdinaryFormCharts.quasicoherent k X i n |
| 46 | let : (ProperOrdinaryFormCharts.SmoothProperOrdinaryFormCharts.restricted k X i n).IsFiniteType := |
| 47 | ProperOrdinaryFormCharts.SmoothProperOrdinaryFormCharts.finiteType k X i n |
| 48 | exact SheafCohomology.Projective.Quasicoherent.Scheme.Modules.exists_generatingSections_of_isFiniteType_of_isAffine |
| 49 | (ProperOrdinaryFormCharts.SmoothProperOrdinaryFormCharts.restricted k X i n) |
| 50 | |
| 51 | theorem open_generators (i : NumberTheory.PadicHodge.IntegralComparison.SmoothProper.EtaleCover.Index k X) (n : ℕ) : |
| 52 | ∃ G : ((term k X n).restrict (ProperOrdinaryFormCharts.SmoothProperOrdinaryFormCharts.opens k X i).ι).GeneratingSections, |
| 53 | G.IsFiniteType := by |
| 54 | obtain ⟨G, hG⟩ := chart_generators k X i n |
| 55 | let : G.IsFiniteType := hG |
| 56 | exact ⟨NumberTheory.PadicHodge.IntegralComparison.AffineOpen.ModuleGenerators.generatingSections (term k X n) |
| 57 | (ProperOrdinaryFormCharts.SmoothProperOrdinaryFormCharts.opens k X i) (ProperOrdinaryFormCharts.SmoothProperOrdinaryFormCharts.affine k X i) G, |
| 58 | NumberTheory.PadicHodge.IntegralComparison.AffineOpen.ModuleGenerators.generatingSections_finite (term k X n) |
| 59 | (ProperOrdinaryFormCharts.SmoothProperOrdinaryFormCharts.opens k X i) (ProperOrdinaryFormCharts.SmoothProperOrdinaryFormCharts.affine k X i) G⟩ |
| 60 | |
| 61 | theorem finiteType (n : ℕ) : (term k X n).IsFiniteType := by |
| 62 | choose G hG using fun i => open_generators k X i n |
| 63 | let q : (term k X n).LocalGeneratorsData := { |
| 64 | I := NumberTheory.PadicHodge.IntegralComparison.SmoothProper.EtaleCover.Index k X |
| 65 | X := ProperOrdinaryFormCharts.SmoothProperOrdinaryFormCharts.opens k X |
| 66 | coversTop := cover k X |
| 67 | generators := fun i => SheafCohomology.Projective.Quasicoherent.Scheme.Modules.generatingSectionsOverOfRestrict (term k X n) |
| 68 | (ProperOrdinaryFormCharts.SmoothProperOrdinaryFormCharts.opens k X i) (G i) } |
| 69 | have hq : q.IsFiniteType := by |
| 70 | constructor |
| 71 | intro i |
| 72 | let : (G i).IsFiniteType := hG i |
| 73 | exact SheafCohomology.Projective.Quasicoherent.Scheme.Modules.generatingSectionsOverOfRestrict_isFiniteType (term k X n) |
| 74 | (ProperOrdinaryFormCharts.SmoothProperOrdinaryFormCharts.opens k X i) (G i) |
| 75 | refine { exists_localGeneratorsData := ?_ } |
| 76 | exact ⟨q, hq⟩ |
| 77 | |
| 78 | theorem cohomology_finite (n q : ℕ) : |
| 79 | letI := NumberTheory.PadicHodge.IntegralComparison.Projective.CoherentFiniteness.coefficientModule k X.hom (term k X n) q |
| 80 | Module.Finite k (SheafCohomology.AffineH.Projective.H (term k X n) q) := by |
| 81 | let : (term k X n).IsQuasicoherent := quasicoherent k X n |
| 82 | let : (term k X n).IsFiniteType := finiteType k X n |
| 83 | exact ProperCoherentCoefficient.ProperCoherentFiniteness.coefficient k X.hom (term k X n) q |
| 84 | |
| 85 | end |
| 86 | |
| 87 | end OAI.AlgebraicGeometry.Crystalline.Cohomology.ProperOrdinaryFormFiniteness.SmoothProperOrdinaryFormFiniteness |