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.ProjectiveTriviality |
| 2 | import Mathlib.AlgebraicGeometry.Morphisms.OpenImmersion |
| 3 | |
| 4 | /-! # Open Frame -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Quotients.FiniteDescent.OpenFrame.Construction.OpenFrameFibers |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A frame on the inverse image of an open set trivializes every fiber |
| 11 | over that open set. Neighborhood frames therefore make the fiber locus open. -/ |
| 12 | |
| 13 | open _root_.AlgebraicGeometry _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | variable {X Y : Scheme.{u}} (M : X.Modules) (U : X.Opens) |
| 18 | |
| 19 | def pullbackIso (f : Y ⟶ X) (hf : Set.range f ⊆ Set.range U.ι) |
| 20 | (e : (Scheme.Modules.pullback U.ι).obj M ≅ AbelianModuli.HilbertConstruction.Line.Bundles.structureModule U.toScheme) : |
| 21 | (Scheme.Modules.pullback f).obj M ≅ AbelianModuli.HilbertConstruction.Line.Bundles.structureModule Y := |
| 22 | let j := IsOpenImmersion.lift U.ι f hf |
| 23 | (Scheme.Modules.pullbackCongr (IsOpenImmersion.lift_fac U.ι f hf).symm).app M ≪≫ |
| 24 | ((Scheme.Modules.pullbackComp j U.ι).app M).symm ≪≫ |
| 25 | (Scheme.Modules.pullback j).mapIso e ≪≫ AbelianModuli.HilbertConstruction.Line.Bundles.structureModulePullbackIso j |
| 26 | |
| 27 | variable {S : Scheme.{u}} (π : X ⟶ S) (L : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle X) |
| 28 | |
| 29 | theorem fiber_range (V : S.Opens) (x : S) (hx : x ∈ V) : |
| 30 | Set.range (π.fiberι x) ⊆ Set.range (π ⁻¹ᵁ V).ι := by |
| 31 | rw [Scheme.Opens.range_ι] |
| 32 | rintro _ ⟨z, rfl⟩ |
| 33 | change π (π.fiberι x z) ∈ V |
| 34 | rw [← Scheme.Hom.comp_apply, π.fiber_fac x, Scheme.Hom.comp_apply, |
| 35 | Scheme.fromSpecResidueField_apply] |
| 36 | exact hx |
| 37 | |
| 38 | def fiberIso (V : S.Opens) (x : S) (hx : x ∈ V) |
| 39 | (e : (L.pullback (π ⁻¹ᵁ V).ι).sheaf ≅ AbelianModuli.HilbertConstruction.Line.Bundles.structureModule (π ⁻¹ᵁ V).toScheme) : |
| 40 | (L.pullback (π.fiberι x)).sheaf ≅ AbelianModuli.HilbertConstruction.Line.Bundles.structureModule (π.fiber x) := |
| 41 | pullbackIso L.sheaf (π ⁻¹ᵁ V) (π.fiberι x) (fiber_range π V x hx) e |
| 42 | |
| 43 | theorem isOpen_of_neighborhoods |
| 44 | (hn : ∀ x ∈ ProjectiveTriviality.Construction.ProjectiveTrivialityClosed.locus π L, |
| 45 | ∃ V : S.Opens, x ∈ V ∧ Nonempty |
| 46 | ((L.pullback (π ⁻¹ᵁ V).ι).sheaf ≅ AbelianModuli.HilbertConstruction.Line.Bundles.structureModule (π ⁻¹ᵁ V).toScheme)) : |
| 47 | IsOpen (ProjectiveTriviality.Construction.ProjectiveTrivialityClosed.locus π L) := by |
| 48 | apply isOpen_iff_forall_mem_open.mpr |
| 49 | intro x hx |
| 50 | obtain ⟨V, hxV, ⟨e⟩⟩ := hn x hx |
| 51 | exact ⟨V, (fun y hy => ⟨fiberIso π L V y hy e⟩), V.isOpen, hxV⟩ |
| 52 | |
| 53 | end |
| 54 | |
| 55 | end OAI.AlgebraicGeometry.Quotients.FiniteDescent.OpenFrame.Construction.OpenFrameFibers |