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.LineBundle.Quasicoherence |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Tensor.LineBundles |
| 3 | |
| 4 | /-! # Frames -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Affine local frames, finite frame covers, and quasi-coherence under restriction. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | variable {X Y : Scheme.{u}} (L : Line.Bundles.LineBundle X) |
| 17 | |
| 18 | /-- Quasi-coherence of a line bundle also applies to the concrete restriction |
| 19 | functor on open subschemes. -/ |
| 20 | theorem Line.Bundles.LineBundle.restrict_isQuasicoherent (f : Y ⟶ X) [IsOpenImmersion f] : |
| 21 | (L.sheaf.restrict f).IsQuasicoherent := |
| 22 | (SheafOfModules.isQuasicoherent Y.ringCatSheaf).prop_of_iso |
| 23 | ((Scheme.Modules.restrictFunctorIsoPullback f).app L.sheaf).symm |
| 24 | (L.pullback f).isQuasicoherent |
| 25 | |
| 26 | /-- Every point has an affine neighborhood on which the line bundle is trivial. -/ |
| 27 | theorem Line.Bundles.LineBundle.exists_affine_frame (x : X) : |
| 28 | ∃ U : X.Opens, x ∈ U ∧ IsAffineOpen U ∧ |
| 29 | Nonempty ((Scheme.Modules.pullback U.ι).obj L.sheaf ≅ Line.Bundles.structureModule U.toScheme) := by |
| 30 | obtain ⟨V, hxV, ⟨e⟩⟩ := L.locallyTrivial x |
| 31 | obtain ⟨_, ⟨U : X.Opens, hU, rfl⟩, hxU, hUV⟩ := |
| 32 | X.isBasis_affineOpens.exists_subset_of_mem_open hxV V.isOpen |
| 33 | exact ⟨U, hxU, hU, ⟨L.frameRestrict hUV e⟩⟩ |
| 34 | |
| 35 | /-- On a quasi-compact scheme, finitely many affine frames suffice. -/ |
| 36 | theorem Line.Bundles.LineBundle.exists_finite_affine_frames [CompactSpace X] : |
| 37 | ∃ (k : ℕ) (U : Fin k → X.Opens), |
| 38 | (∀ i, IsAffineOpen (U i)) ∧ |
| 39 | (∀ i, Nonempty ((Scheme.Modules.pullback (U i).ι).obj L.sheaf ≅ |
| 40 | Line.Bundles.structureModule (U i).toScheme)) ∧ |
| 41 | ∀ x : X, ∃ i, x ∈ U i := by |
| 42 | classical |
| 43 | choose U hx hU e using L.exists_affine_frame |
| 44 | obtain ⟨t, ht⟩ := isCompact_univ.elim_finite_subcover |
| 45 | (fun x => (U x : Set X)) (fun x => (U x).isOpen) |
| 46 | (fun x _ => Set.mem_iUnion.mpr ⟨x, hx x⟩) |
| 47 | let a := Fintype.equivFin t |
| 48 | refine ⟨Fintype.card t, fun i => U (a.symm i).val, fun i => hU _, fun i => e _, fun x => ?_⟩ |
| 49 | obtain ⟨y, hy, hxy⟩ := Set.mem_iUnion₂.mp (ht (Set.mem_univ x)) |
| 50 | refine ⟨a ⟨y, hy⟩, ?_⟩ |
| 51 | have he : (a.symm (a ⟨y, hy⟩)).val = y := congrArg Subtype.val (a.symm_apply_apply ⟨y, hy⟩) |
| 52 | exact (congrArg (fun z => x ∈ U z) he).mpr hxy |
| 53 | |
| 54 | end |
| 55 | |
| 56 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |