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.PELModuli.IntegralModel.CohomologyConnectingScalars |
| 2 | import OAI.AlgebraicGeometry.SheafCohomology.Projective.FiniteHomologySequence |
| 3 | |
| 4 | /-! # Cohomology Exact Finiteness -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.CohomologyExactFiniteness |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Finiteness of actual base-linear sheaf cohomology is stable under |
| 11 | short exact sequences. No affine cover or projective presentation is used. -/ |
| 12 | |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | set_option backward.isDefEq.respectTransparency.types false |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 16 | |
| 17 | open OAI.AlgebraicGeometry.SheafCohomology.Projective.FiniteHomologySequence |
| 18 | universe u |
| 19 | |
| 20 | /-- Finiteness in all degrees for the canonical base-ring action. -/ |
| 21 | def BaseCohomologyFinite {X B : Scheme.{u}} (f : X ⟶ B) (M : X.Modules) : Prop := |
| 22 | ∀ n : ℕ, letI := SheafCohomology.Projective.BaseCechBridge.baseCohomologyModule f M n |
| 23 | Module.Finite Γ(B, ⊤) (SheafCohomology.AffineH.Projective.H M n) |
| 24 | |
| 25 | namespace BaseCohomologyFinite |
| 26 | variable {X B : Scheme.{u}} (f : X ⟶ B) [IsNoetherianRing Γ(B, ⊤)] |
| 27 | {S : ShortComplex X.Modules} (hS : S.ShortExact) |
| 28 | |
| 29 | include hS |
| 30 | |
| 31 | theorem middle (h₁ : BaseCohomologyFinite f S.X₁) |
| 32 | (h₃ : BaseCohomologyFinite f S.X₃) : BaseCohomologyFinite f S.X₂ := by |
| 33 | intro n |
| 34 | let := SheafCohomology.Projective.BaseCechBridge.baseCohomologyModule f S.X₁ n |
| 35 | let := SheafCohomology.Projective.BaseCechBridge.baseCohomologyModule f S.X₂ n |
| 36 | let := SheafCohomology.Projective.BaseCechBridge.baseCohomologyModule f S.X₃ n |
| 37 | have : Module.Finite Γ(B, ⊤) (SheafCohomology.AffineH.Projective.H S.X₁ n) := h₁ n |
| 38 | have : Module.Finite Γ(B, ⊤) (SheafCohomology.AffineH.Projective.H S.X₃ n) := h₃ n |
| 39 | apply SheafCohomology.Projective.FiniteHomologySequence.finite_of_exact (CohomologyConnectingScalars.baseCohomologyLinearMap f n S.f) |
| 40 | (CohomologyConnectingScalars.baseCohomologyLinearMap f n S.g) |
| 41 | intro x |
| 42 | constructor |
| 43 | · exact SheafCohomology.Exact.CategoryTheory.Sheaf.H.longSequence_exact₂_explicit |
| 44 | (hS.map_of_exact (SheafCohomology.Module.ProjectiveAffine.ModuleSheaf.toSheaf X)) n x |
| 45 | · rintro ⟨y, rfl⟩ |
| 46 | exact SheafCohomology.Exact.CategoryTheory.Sheaf.H.longSequence_comp_zero₂ |
| 47 | (S := S.map (SheafCohomology.Module.ProjectiveAffine.ModuleSheaf.toSheaf X)) n y |
| 48 | |
| 49 | theorem right (h₁ : BaseCohomologyFinite f S.X₁) |
| 50 | (h₂ : BaseCohomologyFinite f S.X₂) : BaseCohomologyFinite f S.X₃ := by |
| 51 | intro n |
| 52 | let := SheafCohomology.Projective.BaseCechBridge.baseCohomologyModule f S.X₂ n |
| 53 | let := SheafCohomology.Projective.BaseCechBridge.baseCohomologyModule f S.X₃ n |
| 54 | let := SheafCohomology.Projective.BaseCechBridge.baseCohomologyModule f S.X₁ (n + 1) |
| 55 | have : Module.Finite Γ(B, ⊤) (SheafCohomology.AffineH.Projective.H S.X₂ n) := h₂ n |
| 56 | have : Module.Finite Γ(B, ⊤) (SheafCohomology.AffineH.Projective.H S.X₁ (n + 1)) := h₁ (n + 1) |
| 57 | apply SheafCohomology.Projective.FiniteHomologySequence.finite_of_exact (CohomologyConnectingScalars.baseCohomologyLinearMap f n S.g) |
| 58 | (CohomologyConnectingScalars.baseCohomologyConnectingLinearMap f hS n) |
| 59 | intro x |
| 60 | constructor |
| 61 | · exact SheafCohomology.Exact.CategoryTheory.Sheaf.H.longSequence_exact₃_explicit |
| 62 | (hS.map_of_exact (SheafCohomology.Module.ProjectiveAffine.ModuleSheaf.toSheaf X)) n (n + 1) rfl x |
| 63 | · rintro ⟨y, rfl⟩ |
| 64 | exact SheafCohomology.Exact.CategoryTheory.Sheaf.H.longSequence_comp_zero₃ |
| 65 | (hS.map_of_exact (SheafCohomology.Module.ProjectiveAffine.ModuleSheaf.toSheaf X)) n (n + 1) rfl y |
| 66 | |
| 67 | theorem left (h₂ : BaseCohomologyFinite f S.X₂) |
| 68 | (h₃ : BaseCohomologyFinite f S.X₃) : BaseCohomologyFinite f S.X₁ := by |
| 69 | intro n |
| 70 | cases n with |
| 71 | | zero => |
| 72 | let := hS.mono_f |
| 73 | let := SheafCohomology.Projective.BaseCechBridge.baseCohomologyModule f S.X₁ 0 |
| 74 | let := SheafCohomology.Projective.BaseCechBridge.baseCohomologyModule f S.X₂ 0 |
| 75 | have : Module.Finite Γ(B, ⊤) (SheafCohomology.AffineH.Projective.H S.X₂ 0) := h₂ 0 |
| 76 | have hmono : Mono ((SheafOfModules.evaluation X.ringCatSheaf (.op ⊤)).map S.f) := |
| 77 | inferInstance |
| 78 | apply Module.Finite.of_injective (CohomologyConnectingScalars.baseCohomologyLinearMap f 0 S.f) |
| 79 | intro x y hxy |
| 80 | apply (SheafCohomology.AffineH.Projective.hZeroEquivGlobalSections S.X₁).injective |
| 81 | apply (ModuleCat.mono_iff_injective (S.f.val.app (.op ⊤))).mp |
| 82 | hmono |
| 83 | change S.f.app ⊤ (SheafCohomology.AffineH.Projective.hZeroEquivGlobalSections S.X₁ x) = |
| 84 | S.f.app ⊤ (SheafCohomology.AffineH.Projective.hZeroEquivGlobalSections S.X₁ y) |
| 85 | rw [SheafCohomology.AffineH.Projective.hZeroEquivGlobalSections_naturality, SheafCohomology.AffineH.Projective.hZeroEquivGlobalSections_naturality] |
| 86 | exact congrArg (SheafCohomology.AffineH.Projective.hZeroEquivGlobalSections S.X₂) hxy |
| 87 | | succ n => |
| 88 | let := SheafCohomology.Projective.BaseCechBridge.baseCohomologyModule f S.X₃ n |
| 89 | let := SheafCohomology.Projective.BaseCechBridge.baseCohomologyModule f S.X₁ (n + 1) |
| 90 | let := SheafCohomology.Projective.BaseCechBridge.baseCohomologyModule f S.X₂ (n + 1) |
| 91 | have : Module.Finite Γ(B, ⊤) (SheafCohomology.AffineH.Projective.H S.X₃ n) := h₃ n |
| 92 | have : Module.Finite Γ(B, ⊤) (SheafCohomology.AffineH.Projective.H S.X₂ (n + 1)) := h₂ (n + 1) |
| 93 | apply SheafCohomology.Projective.FiniteHomologySequence.finite_of_exact (CohomologyConnectingScalars.baseCohomologyConnectingLinearMap f hS n) |
| 94 | (CohomologyConnectingScalars.baseCohomologyLinearMap f (n + 1) S.f) |
| 95 | intro x |
| 96 | constructor |
| 97 | · exact SheafCohomology.Exact.CategoryTheory.Sheaf.H.longSequence_exact₁_explicit |
| 98 | (hS.map_of_exact (SheafCohomology.Module.ProjectiveAffine.ModuleSheaf.toSheaf X)) n (n + 1) rfl x |
| 99 | · rintro ⟨y, rfl⟩ |
| 100 | exact SheafCohomology.Exact.CategoryTheory.Sheaf.H.longSequence_comp_zero₁ |
| 101 | (hS.map_of_exact (SheafCohomology.Module.ProjectiveAffine.ModuleSheaf.toSheaf X)) n (n + 1) rfl y |
| 102 | |
| 103 | end BaseCohomologyFinite |
| 104 | |
| 105 | end |
| 106 | |
| 107 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.CohomologyExactFiniteness |