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