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.Exact |
| 2 | import OAI.AlgebraicGeometry.SheafCohomology.Module |
| 3 | import OAI.AlgebraicGeometry.SheafCohomology.AffineCoverMono |
| 4 | |
| 5 | /-! # Dimension Shift -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.SheafCohomology.DimensionShift.ProjectiveAffine |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | # The injective step in affine dimension shifting |
| 13 | |
| 14 | This file isolates the exact-sequence steps used in Kempf's affine-vanishing |
| 15 | argument. Given a short exact sequence of modules on a scheme, either |
| 16 | vanishing of degree `n` cohomology for the cokernel or surjectivity onto that |
| 17 | cohomology group makes the induced map on degree `n + 1` cohomology |
| 18 | injective. The proofs apply the actual connecting map in the long exact |
| 19 | sequence of the underlying abelian sheaves. |
| 20 | |
| 21 | The second theorem is a checked downstream consumer for the genuine |
| 22 | affine-cover inclusion and cokernel constructed in |
| 23 | `SchemeModuleCohomologyAffineCoverMono`. It deliberately retains the |
| 24 | cokernel-cohomology hypothesis: proving that hypothesis from local killing is |
| 25 | the remaining mathematical part of affine vanishing. |
| 26 | |
| 27 | The long exact sequence and exact forgetful functor are retained from |
| 28 | AINTLIB through the |
| 29 | attributed MazurTheorem port identified in this file's header. |
| 30 | -/ |
| 31 | |
| 32 | universe u |
| 33 | |
| 34 | open _root_.CategoryTheory Limits _root_.TopologicalSpace |
| 35 | open _root_.AlgebraicGeometry |
| 36 | |
| 37 | /-- In a short exact sequence, surjectivity of the second map on degree-`n` |
| 38 | cohomology makes the first map injective on degree `n + 1` cohomology. -/ |
| 39 | theorem cohomology_succ_map_injective_of_previous_surjective |
| 40 | {X : Scheme.{u}} {S : ShortComplex X.Modules} |
| 41 | (hS : S.ShortExact) (n : ℕ) |
| 42 | (hsurjective : Function.Surjective |
| 43 | ((AffineH.Projective.zariskiFunctor X n).map S.g)) : |
| 44 | Function.Injective ((AffineH.Projective.zariskiFunctor X (n + 1)).map S.f) := by |
| 45 | let Ssheaf := S.map (Module.ProjectiveAffine.ModuleSheaf.toSheaf X) |
| 46 | have hSsheaf : Ssheaf.ShortExact := |
| 47 | ShortComplex.ShortExact.map_of_exact hS |
| 48 | (Module.ProjectiveAffine.ModuleSheaf.toSheaf X) |
| 49 | rw [injective_iff_map_eq_zero] |
| 50 | intro c hc |
| 51 | obtain ⟨x, hx⟩ := Exact.CategoryTheory.Sheaf.H.longSequence_exact₁_explicit |
| 52 | hSsheaf n (n + 1) rfl c hc |
| 53 | obtain ⟨y, hy⟩ := hsurjective x |
| 54 | rw [← hx, ← hy] |
| 55 | exact Exact.CategoryTheory.Sheaf.H.longSequence_comp_zero₃ |
| 56 | hSsheaf n (n + 1) rfl y |
| 57 | |
| 58 | /-- In a short exact sequence, if degree-`n` cohomology of the cokernel is |
| 59 | subsingleton, then the first map is injective on degree `n + 1` cohomology. -/ |
| 60 | theorem cohomology_succ_map_injective_of_cokernel_subsingleton |
| 61 | {X : Scheme.{u}} {S : ShortComplex X.Modules} |
| 62 | (hS : S.ShortExact) (n : ℕ) [Subsingleton (AffineH.Projective.H S.X₃ n)] : |
| 63 | Function.Injective ((AffineH.Projective.zariskiFunctor X (n + 1)).map S.f) := by |
| 64 | let Ssheaf := S.map (Module.ProjectiveAffine.ModuleSheaf.toSheaf X) |
| 65 | have hSsheaf : Ssheaf.ShortExact := |
| 66 | ShortComplex.ShortExact.map_of_exact hS |
| 67 | (Module.ProjectiveAffine.ModuleSheaf.toSheaf X) |
| 68 | let : Subsingleton (CategoryTheory.Sheaf.H Ssheaf.X₃ n) := by |
| 69 | change Subsingleton (AffineH.Projective.H S.X₃ n) |
| 70 | infer_instance |
| 71 | rw [injective_iff_map_eq_zero] |
| 72 | intro c hc |
| 73 | obtain ⟨x, hx⟩ := Exact.CategoryTheory.Sheaf.H.longSequence_exact₁_explicit |
| 74 | hSsheaf n (n + 1) rfl c hc |
| 75 | rw [← hx, Subsingleton.elim x 0, map_zero] |
| 76 | rfl |
| 77 | |
| 78 | /-- The affine-cover inclusion is injective on degree `n + 1` cohomology as |
| 79 | soon as degree-`n` cohomology of its actual cokernel vanishes. -/ |
| 80 | theorem toAffineCoverModule_H_succ_injective_of_cokernel_subsingleton |
| 81 | {R : CommRingCat.{u}} {I : Type u} (M : (Spec R).Modules) |
| 82 | (U : I → (Spec R).Opens) (hU : IsOpenCover U) (n : ℕ) |
| 83 | [Subsingleton (AffineH.Projective.H (cokernel (AffineCover.Projective.toAffineCoverModule M U)) n)] : |
| 84 | Function.Injective |
| 85 | ((AffineH.Projective.zariskiFunctor (Spec R) (n + 1)).map |
| 86 | (AffineCover.Projective.toAffineCoverModule M U)) := by |
| 87 | exact cohomology_succ_map_injective_of_cokernel_subsingleton |
| 88 | (AffineCoverMono.Projective.affineCoverCokernel_shortExact M U hU) n |
| 89 | |
| 90 | end |
| 91 | |
| 92 | end OAI.AlgebraicGeometry.SheafCohomology.DimensionShift.ProjectiveAffine |