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.Quotients.FiniteDescent.AmpleFiberEq |
| 2 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.ReducedClosedIs |
| 3 | import Mathlib.AlgebraicGeometry.Noetherian |
| 4 | import Mathlib.AlgebraicGeometry.ZariskisMainTheorem |
| 5 | |
| 6 | /-! # Ample Closed Is -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.Quotients.FiniteDescent.AmpleClosedIs.Construction.AmpleClosed |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Proper subschemes contained in an open trivializing an ample bundle are finite. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | theorem finite_points {K : Type u} [Field K] |
| 19 | (Y A : Over (Spec (.of K))) [IsProper Y.hom] |
| 20 | [LocallyOfFiniteType A.hom] [IsSeparated A.hom] |
| 21 | (L : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle A.left) (hL : L.IsAmple) (W : A.left.Opens) |
| 22 | (e : (L.pullback W.ι).sheaf ≅ AbelianModuli.HilbertConstruction.Line.Bundles.structureModule W.toScheme) |
| 23 | (f : Y ⟶ A) (hf : Function.Injective f.left) (hW : Set.range f.left ⊆ W) : |
| 24 | Finite Y.left := by |
| 25 | have : IsLocallyNoetherian Y.left := LocallyOfFiniteType.isLocallyNoetherian Y.hom |
| 26 | have : CompactSpace Y.left := QuasiCompact.compactSpace_of_compactSpace Y.hom |
| 27 | have : IsNoetherian Y.left := ⟨⟩ |
| 28 | have hcomp (Z : Set Y.left) (hZ : Z ∈ irreducibleComponents Y.left) : Z.Finite := by |
| 29 | let C : TopologicalSpace.Closeds Y.left := ⟨Z, isClosed_of_mem_irreducibleComponents Z hZ⟩ |
| 30 | let I := Scheme.IdealSheafData.vanishingIdeal C |
| 31 | let T : Over (Spec (.of K)) := Over.mk (I.subschemeι ≫ Y.hom) |
| 32 | have : IsProper T.hom := by dsimp [T]; infer_instance |
| 33 | have : IsReduced T.left := ReducedClosedIs.Construction.ReducedClosed.isReduced C |
| 34 | have : IrreducibleSpace T.left := ReducedClosedIs.Construction.ReducedClosed.irreducibleSpace C hZ.1 |
| 35 | let a : T ⟶ A := Over.homMk (I.subschemeι ≫ f.left) (by simp [T]) |
| 36 | have ha : Set.range a.left ⊆ Set.range W.ι := by |
| 37 | rw [Scheme.Opens.range_ι] |
| 38 | rintro _ ⟨x, rfl⟩ |
| 39 | exact hW ⟨I.subschemeι x, rfl⟩ |
| 40 | let g := IsOpenImmersion.lift W.ι a.left ha |
| 41 | have hg : g ≫ W.ι = a.left := IsOpenImmersion.lift_fac W.ι a.left ha |
| 42 | apply Set.Subsingleton.finite |
| 43 | intro x hx y hy |
| 44 | have hr : Set.range I.subschemeι = Z := ReducedClosedIs.Construction.ReducedClosed.range_ι C |
| 45 | obtain ⟨x', hx'⟩ := hr.symm ▸ hx |
| 46 | obtain ⟨y', hy'⟩ := hr.symm ▸ hy |
| 47 | have he := AmpleFiberEq.Construction.AmpleFiber.apply_eq T A L hL W e a g hg x' y' |
| 48 | apply hf |
| 49 | rw [← hx', ← hy'] |
| 50 | exact he |
| 51 | have hfin : (⋃₀ irreducibleComponents Y.left).Finite := |
| 52 | TopologicalSpace.NoetherianSpace.finite_irreducibleComponents.sUnion hcomp |
| 53 | rw [sUnion_irreducibleComponents] at hfin |
| 54 | exact Set.finite_univ_iff.mp hfin |
| 55 | |
| 56 | theorem isFinite {K : Type u} [Field K] |
| 57 | (Y A : Over (Spec (.of K))) [IsProper Y.hom] |
| 58 | [LocallyOfFiniteType A.hom] [IsSeparated A.hom] |
| 59 | (L : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle A.left) (hL : L.IsAmple) (W : A.left.Opens) |
| 60 | (e : (L.pullback W.ι).sheaf ≅ AbelianModuli.HilbertConstruction.Line.Bundles.structureModule W.toScheme) |
| 61 | (f : Y ⟶ A) (hf : Function.Injective f.left) (hW : Set.range f.left ⊆ W) : |
| 62 | IsFinite Y.hom := by |
| 63 | have : Finite Y.left := finite_points Y A L hL W e f hf hW |
| 64 | have : LocallyQuasiFinite Y.hom := |
| 65 | LocallyQuasiFinite.of_finite_preimage_singleton _ (fun _ => Set.toFinite _) |
| 66 | exact IsFinite.of_isProper_of_locallyQuasiFinite Y.hom |
| 67 | |
| 68 | end |
| 69 | |
| 70 | end OAI.AlgebraicGeometry.Quotients.FiniteDescent.AmpleClosedIs.Construction.AmpleClosed |