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.Field.ExternalFirstCohomology |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.Frames |
| 3 | import Mathlib.AlgebraicGeometry.Morphisms.Proper |
| 4 | |
| 5 | /-! # Field External First Cohomology -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Proper.FieldExternalFirstCohomology |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Properness supplies the finite affine frame covers in the external-product first-cohomology vanishing theorem. -/ |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace _root_.AlgebraicGeometry |
| 13 | universe u |
| 14 | |
| 15 | theorem properFieldExternalTensor_firstCohomology_vanish |
| 16 | {k : Type u} [Field k] {X Y P : Scheme.{u}} |
| 17 | {a : P ⟶ X} {b : P ⟶ Y} {f : X ⟶ Spec (.of k)} {g : Y ⟶ Spec (.of k)} |
| 18 | (H : IsPullback a b f g) [IsProper f] [IsProper g] |
| 19 | (L : Line.Bundles.LineBundle X) (N : Line.Bundles.LineBundle Y) (n : ℕ) |
| 20 | (hL : ∀ r, r < n + 1 → Subsingleton (Zariski.Cohomology.ZariskiCohomology.H L.sheaf r)) |
| 21 | (hN : Subsingleton Γ(N.sheaf, ⊤)) : |
| 22 | Subsingleton (Zariski.Cohomology.ZariskiCohomology.H (((L.pullback a).tensor (N.pullback b)).sheaf) (n + 1)) := by |
| 23 | have : X.IsSeparated := ⟨by rw [← terminal.comp_from f]; infer_instance⟩ |
| 24 | have : Y.IsSeparated := ⟨by rw [← terminal.comp_from g]; infer_instance⟩ |
| 25 | have : IsProper a := MorphismProperty.of_isPullback H.flip inferInstance |
| 26 | have : P.IsSeparated := ⟨by rw [← terminal.comp_from (a ≫ f)]; infer_instance⟩ |
| 27 | have : CompactSpace X := QuasiCompact.compactSpace_of_compactSpace f |
| 28 | have : CompactSpace Y := QuasiCompact.compactSpace_of_compactSpace g |
| 29 | obtain ⟨v, V, haV, heV, hcoverV⟩ := L.exists_finite_affine_frames |
| 30 | obtain ⟨w, U, haU, heU, hcoverU⟩ := N.exists_finite_affine_frames |
| 31 | let V' : ULift.{u} (Fin v) → X.Opens := fun i => V i.down |
| 32 | let U' : ULift.{u} (Fin w) → Y.Opens := fun i => U i.down |
| 33 | have hV' : iSup V' = ⊤ := by |
| 34 | apply top_unique |
| 35 | intro x _ |
| 36 | obtain ⟨i, hi⟩ := hcoverV x |
| 37 | exact Opens.mem_iSup.mpr ⟨⟨i⟩, hi⟩ |
| 38 | have hU' : iSup U' = ⊤ := by |
| 39 | apply top_unique |
| 40 | intro y _ |
| 41 | obtain ⟨i, hi⟩ := hcoverU y |
| 42 | exact Opens.mem_iSup.mpr ⟨⟨i⟩, hi⟩ |
| 43 | exact HilbertConstruction.Field.ExternalFirstCohomology.fieldExternalTensor_firstCohomology_vanish H L N |
| 44 | V' hV' (fun i => haV i.down) (fun i => heV i.down) |
| 45 | U' hU' (fun i => haU i.down) (fun i => heU i.down) n hL hN |
| 46 | |
| 47 | end |
| 48 | |
| 49 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Proper.FieldExternalFirstCohomology |