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.Line.Bundles |
| 2 | import Mathlib.AlgebraicGeometry.Morphisms.Affine |
| 3 | |
| 4 | /-! # Line Trivialization Of -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Quotients.FiniteDescent.LineTrivializationOf.Construction.LineTrivialization |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Pullback trivializations and line bundles at field-valued points. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Line.Bundles |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | def pullbackIsoOfFactor {X Y : Scheme.{u}} (L : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle Y) (U : Y.Opens) |
| 17 | (e : (L.pullback U.ι).sheaf ≅ AbelianModuli.HilbertConstruction.Line.Bundles.structureModule U.toScheme) |
| 18 | (f : X ⟶ Y) (g : X ⟶ U.toScheme) (h : g ≫ U.ι = f) : |
| 19 | (L.pullback f).sheaf ≅ AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X := |
| 20 | (Scheme.Modules.pullbackCongr h.symm).app L.sheaf ≪≫ |
| 21 | (Scheme.Modules.pullbackComp g U.ι).symm.app L.sheaf ≪≫ |
| 22 | (Scheme.Modules.pullback g).mapIso e ≪≫ AbelianModuli.HilbertConstruction.Line.Bundles.structureModulePullbackIso g |
| 23 | |
| 24 | theorem pullback_trivial_over_field {K : Type u} [Field K] |
| 25 | {Y : Scheme.{u}} (f : Spec (.of K) ⟶ Y) (L : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle Y) : |
| 26 | Nonempty ((L.pullback f).sheaf ≅ AbelianModuli.HilbertConstruction.Line.Bundles.structureModule (Spec (.of K))) := by |
| 27 | obtain ⟨U, hx, ⟨e⟩⟩ := L.locallyTrivial (f (IsLocalRing.closedPoint K)) |
| 28 | have hr : Set.range f ⊆ Set.range U.ι := by |
| 29 | rw [Scheme.Opens.range_ι] |
| 30 | rintro _ ⟨x, rfl⟩ |
| 31 | exact (congrArg (fun z => f z ∈ U) (Subsingleton.elim x (IsLocalRing.closedPoint K))).mpr hx |
| 32 | let g := IsOpenImmersion.lift U.ι f hr |
| 33 | exact ⟨pullbackIsoOfFactor L U e f g (IsOpenImmersion.lift_fac U.ι f hr)⟩ |
| 34 | |
| 35 | theorem isAffineOpen_of_subsingleton {X : Scheme.{u}} [IsAffine X] [Subsingleton X] |
| 36 | (U : X.Opens) : IsAffineOpen U := by |
| 37 | by_cases h : (U : Set X).Nonempty |
| 38 | · obtain ⟨x, hx⟩ := h |
| 39 | have ht : U = ⊤ := top_unique (fun y _ => (Subsingleton.elim y x).symm ▸ hx) |
| 40 | rw [ht] |
| 41 | exact isAffineOpen_top X |
| 42 | · have hb : U = ⊥ := (TopologicalSpace.Opens.not_nonempty_iff_eq_bot U).mp h |
| 43 | rw [hb] |
| 44 | exact isAffineOpen_bot X |
| 45 | |
| 46 | theorem isAffineHom_from_field {K : Type u} [Field K] |
| 47 | {Y : Scheme.{u}} (f : Spec (.of K) ⟶ Y) : IsAffineHom f := |
| 48 | ⟨fun U _ => isAffineOpen_of_subsingleton (f ⁻¹ᵁ U)⟩ |
| 49 | |
| 50 | end |
| 51 | |
| 52 | end OAI.AlgebraicGeometry.Quotients.FiniteDescent.LineTrivializationOf.Construction.LineTrivialization |