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.SheafCohomology.AffineH |
| 2 | import OAI.AlgebraicGeometry.SheafCohomology.Exact |
| 3 | import OAI.AlgebraicGeometry.SheafCohomology.Projective.BaseCechBridge |
| 4 | |
| 5 | /-! # Cohomology Connecting Scalars -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.CohomologyConnectingScalars |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Connecting homomorphisms in actual sheaf cohomology are linear for |
| 12 | the canonical action of the global functions of the base. -/ |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 17 | |
| 18 | open OAI.AlgebraicGeometry.SheafCohomology.AffineH.Projective OAI.AlgebraicGeometry.SheafCohomology.Projective.BaseCechBridge |
| 19 | universe u |
| 20 | |
| 21 | variable {X B : Scheme.{u}} (f : X ⟶ B) |
| 22 | {S : ShortComplex X.Modules} (hS : S.ShortExact) |
| 23 | |
| 24 | /-- Multiplication on the three terms is a morphism of short complexes. -/ |
| 25 | def shortComplexGlobalSmul (r : Γ(X, ⊤)) : S ⟶ S where |
| 26 | τ₁ := SheafCohomology.AffineH.Projective.globalSmulHom S.X₁ r |
| 27 | τ₂ := SheafCohomology.AffineH.Projective.globalSmulHom S.X₂ r |
| 28 | τ₃ := SheafCohomology.AffineH.Projective.globalSmulHom S.X₃ r |
| 29 | comm₁₂ := SheafCohomology.AffineH.Projective.globalSmulHom_naturality S.f r |
| 30 | comm₂₃ := SheafCohomology.AffineH.Projective.globalSmulHom_naturality S.g r |
| 31 | |
| 32 | /-- The usual Ext connecting homomorphism, with its original coefficients. -/ |
| 33 | def cohomologyConnecting (n : ℕ) : SheafCohomology.AffineH.Projective.H S.X₃ n →+ SheafCohomology.AffineH.Projective.H S.X₁ (n + 1) := |
| 34 | CategoryTheory.Sheaf.H.δ (hS.map_of_exact (SheafCohomology.Module.ProjectiveAffine.ModuleSheaf.toSheaf X)) n (n + 1) rfl |
| 35 | |
| 36 | private theorem zariskiMap_apply {M N : X.Modules} (a : M ⟶ N) (n : ℕ) (x : SheafCohomology.AffineH.Projective.H M n) : |
| 37 | (SheafCohomology.AffineH.Projective.zariskiFunctor X n).map a x = |
| 38 | CategoryTheory.Sheaf.H.map ((SheafCohomology.Module.ProjectiveAffine.ModuleSheaf.toSheaf X).map a) n x := rfl |
| 39 | |
| 40 | theorem cohomologyConnecting_smul (n : ℕ) (r : Γ(X, ⊤)) (x : SheafCohomology.AffineH.Projective.H S.X₃ n) : |
| 41 | letI := SheafCohomology.AffineH.Projective.globalSectionsCohomologyModule S.X₃ n |
| 42 | letI := SheafCohomology.AffineH.Projective.globalSectionsCohomologyModule S.X₁ (n + 1) |
| 43 | cohomologyConnecting hS n (r • x) = r • cohomologyConnecting hS n x := by |
| 44 | let := SheafCohomology.AffineH.Projective.globalSectionsCohomologyModule S.X₃ n |
| 45 | let := SheafCohomology.AffineH.Projective.globalSectionsCohomologyModule S.X₁ (n + 1) |
| 46 | rw [SheafCohomology.AffineH.Projective.globalSectionsCohomologyModule_smul, SheafCohomology.AffineH.Projective.globalSectionsCohomologyModule_smul, |
| 47 | zariskiMap_apply, zariskiMap_apply] |
| 48 | have h := CategoryTheory.Sheaf.H.δ_naturality |
| 49 | n (n + 1) rfl |
| 50 | (hS.map_of_exact (SheafCohomology.Module.ProjectiveAffine.ModuleSheaf.toSheaf X)) |
| 51 | (hS.map_of_exact (SheafCohomology.Module.ProjectiveAffine.ModuleSheaf.toSheaf X)) |
| 52 | ((SheafCohomology.Module.ProjectiveAffine.ModuleSheaf.toSheaf X).mapShortComplex.map |
| 53 | (shortComplexGlobalSmul (S := S) r)) x |
| 54 | exact h |
| 55 | |
| 56 | /-- The connecting map retains the canonical action of the base ring. -/ |
| 57 | def baseCohomologyConnectingLinearMap (n : ℕ) : |
| 58 | letI := SheafCohomology.Projective.BaseCechBridge.baseCohomologyModule f S.X₃ n |
| 59 | letI := SheafCohomology.Projective.BaseCechBridge.baseCohomologyModule f S.X₁ (n + 1) |
| 60 | SheafCohomology.AffineH.Projective.H S.X₃ n →ₗ[Γ(B, ⊤)] SheafCohomology.AffineH.Projective.H S.X₁ (n + 1) := by |
| 61 | letI := SheafCohomology.Projective.BaseCechBridge.baseCohomologyModule f S.X₃ n |
| 62 | letI := SheafCohomology.Projective.BaseCechBridge.baseCohomologyModule f S.X₁ (n + 1) |
| 63 | exact { cohomologyConnecting hS n with |
| 64 | map_smul' := fun r x => cohomologyConnecting_smul hS n (f.appTop r) x } |
| 65 | |
| 66 | /-- A coefficient morphism induces a linear map over the original base. -/ |
| 67 | def baseCohomologyLinearMap {M N : X.Modules} (n : ℕ) (a : M ⟶ N) : |
| 68 | letI := SheafCohomology.Projective.BaseCechBridge.baseCohomologyModule f M n |
| 69 | letI := SheafCohomology.Projective.BaseCechBridge.baseCohomologyModule f N n |
| 70 | SheafCohomology.AffineH.Projective.H M n →ₗ[Γ(B, ⊤)] SheafCohomology.AffineH.Projective.H N n := by |
| 71 | letI := SheafCohomology.AffineH.Projective.globalSectionsCohomologyModule M n |
| 72 | letI := SheafCohomology.AffineH.Projective.globalSectionsCohomologyModule N n |
| 73 | letI := SheafCohomology.Projective.BaseCechBridge.baseCohomologyModule f M n |
| 74 | letI := SheafCohomology.Projective.BaseCechBridge.baseCohomologyModule f N n |
| 75 | exact { (SheafCohomology.AffineH.Projective.cohomologyLinearMap n a).toAddHom with |
| 76 | map_smul' := fun r x => (SheafCohomology.AffineH.Projective.cohomologyLinearMap n a).map_smul (f.appTop r) x } |
| 77 | |
| 78 | end |
| 79 | |
| 80 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.CohomologyConnectingScalars |