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.AbelianModuli.HilbertConstruction.Intrinsic.ExternalFactorAllCohomology |
| 2 | import Mathlib.LinearAlgebra.Basis.VectorSpace |
| 3 | |
| 4 | /-! # External Cech Factor Vanishing -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Field.ExternalCechFactorVanishing |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Over a field, lower-degree vanishing transfers to every actual tuple factor of the product Cech resolution, including degree zero. Both covers and all frames are actual geometric data. -/ |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace _root_.AlgebraicGeometry Opposite |
| 12 | universe u |
| 13 | |
| 14 | variable {k : Type u} [Field k] {X Y P : Scheme.{u}} |
| 15 | variable [X.IsSeparated] [Y.IsSeparated] [P.IsSeparated] |
| 16 | variable {a : P ⟶ X} {b : P ⟶ Y} {f : X ⟶ Spec (.of k)} {g : Y ⟶ Spec (.of k)} |
| 17 | variable (H : IsPullback a b f g) (L : Line.Bundles.LineBundle X) (N : Line.Bundles.LineBundle Y) |
| 18 | variable {ι : Type u} [Finite ι] (V : ι → X.Opens) |
| 19 | variable (hV : iSup V = ⊤) (haV : ∀ i, IsAffineOpen (V i)) |
| 20 | variable (heV : ∀ i, Nonempty ((Scheme.Modules.pullback (V i).ι).obj L.sheaf ≅ Line.Bundles.structureModule (V i).toScheme)) |
| 21 | variable {κ : Type u} (U : κ → Y.Opens) (haU : ∀ i, IsAffineOpen (U i)) |
| 22 | variable (heU : ∀ i, Nonempty ((Scheme.Modules.pullback (U i).ι).obj N.sheaf ≅ Line.Bundles.structureModule (U i).toScheme)) |
| 23 | |
| 24 | include H hV haV heV haU heU in |
| 25 | theorem fieldExternal_cechTermFactor_cohomology_vanish |
| 26 | (p : ℕ) (i : Fin (p + 1) → κ) (r : ℕ) |
| 27 | (hL : Subsingleton (Zariski.Cohomology.ZariskiCohomology.H L.sheaf r)) : |
| 28 | Subsingleton (CategoryTheory.Sheaf.H |
| 29 | (IntrinsicCech.SheafTerms.cechTermFactor (UnderlyingAdditiveSheafExactness.ModuleSheaf.sheaf (((L.pullback a).tensor (N.pullback b)).sheaf)) |
| 30 | (fun i => b ⁻¹ᵁ U i) p i) r) := by |
| 31 | let : Field Γ(Spec (.of k), ⊤) := |
| 32 | ((Scheme.ΓSpecIso (.of k)).commRingCatIsoToRingEquiv.toMulEquiv.isField |
| 33 | (Field.toIsField k)).toField |
| 34 | let W : Y.Opens := ∏ᶜ fun j : Fin (p + 1) => U (i j) |
| 35 | have hW : IsAffineOpen W := Affine.CechIntersections.affine_cechIntersection U haU p i |
| 36 | have hle : W ≤ U (i 0) := leOfHom (Pi.π (fun j : Fin (p + 1) => U (i j)) 0) |
| 37 | let eW := N.frameRestrict hle (heU (i 0)).some |
| 38 | change Subsingleton (CategoryTheory.Sheaf.H |
| 39 | ((IntrinsicCech.SheafComplex.cechFactorPresheaf (UnderlyingAdditiveSheafExactness.ModuleSheaf.sheaf (((L.pullback a).tensor (N.pullback b)).sheaf))).obj |
| 40 | (op (∏ᶜ fun j : Fin (p + 1) => b ⁻¹ᵁ U (i j)))) r) |
| 41 | rw [← CoefficientCech.PushforwardFactors.preimageCechIntersection b U p i] |
| 42 | exact Intrinsic.ExternalFactorAllCohomology.nativeExternalFactor_cohomology_vanish H L N W hW eW V hV haV heV r hL |
| 43 | |
| 44 | end |
| 45 | |
| 46 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Field.ExternalCechFactorVanishing |