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.HilbertScheme.Presentations.Local.MorphismFactorization |
| 2 | import Mathlib.AlgebraicGeometry.SpreadingOut |
| 3 | |
| 4 | /-! # Stalk Factorization -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Noetherian.StalkFactorization |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Factorization of a map from a locally noetherian scheme through a |
| 11 | locally finite type monomorphism is detected on every local spectrum. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | theorem lift_of_fromSpecStalk {T X Y : Scheme.{u}} [IsLocallyNoetherian T] |
| 18 | (f : T ⟶ Y) (j : X ⟶ Y) [Mono j] [LocallyOfFiniteType j] |
| 19 | (h : ∀ t : T, ∃ g : Spec (T.presheaf.stalk t) ⟶ X, g ≫ j = T.fromSpecStalk t ≫ f) : |
| 20 | ∃! g : T ⟶ X, g ≫ j = f := by |
| 21 | choose g hg using h |
| 22 | choose U hU k _ hk using fun t => spread_out_of_isGermInjective' f j (g t) (hg t) |
| 23 | let C : T.OpenCover.{u} := { |
| 24 | I₀ := T |
| 25 | X := fun t => (U t).toScheme |
| 26 | f := fun t => (U t).ι |
| 27 | mem₀ := by |
| 28 | rw [Scheme.presieve₀_mem_precoverage_iff] |
| 29 | exact ⟨fun t => ⟨t, ⟨t, hU t⟩, rfl⟩, inferInstance⟩ } |
| 30 | exact Local.MorphismFactorization.lift_of_openCover C f j (fun t => ⟨k t, hk t⟩) |
| 31 | |
| 32 | theorem over_lift_of_fromSpecStalk {S : Scheme.{u}} {T X Y : Over S} |
| 33 | [IsLocallyNoetherian T.left] (f : T ⟶ Y) (j : X ⟶ Y) |
| 34 | [Mono j.left] [LocallyOfFiniteType j.left] |
| 35 | (h : ∀ t : T.left, ∃ g : Spec (T.left.presheaf.stalk t) ⟶ X.left, |
| 36 | g ≫ j.left = T.left.fromSpecStalk t ≫ f.left) : |
| 37 | ∃! g : T ⟶ X, g ≫ j = f := by |
| 38 | obtain ⟨g, hg, _⟩ := lift_of_fromSpecStalk f.left j.left h |
| 39 | have hw : g ≫ X.hom = T.hom := by |
| 40 | rw [← j.w, ← Category.assoc, hg] |
| 41 | exact f.w |
| 42 | let g' : T ⟶ X := Over.homMk g hw |
| 43 | have hg' : g' ≫ j = f := Over.OverMorphism.ext hg |
| 44 | let : Mono j := Over.mono_of_mono_left j |
| 45 | exact ⟨g', hg', fun k hk => (cancel_mono j).mp (hk.trans hg'.symm)⟩ |
| 46 | |
| 47 | end |
| 48 | |
| 49 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Noetherian.StalkFactorization |