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.Closed.ImmersionOverlapLifts |
| 2 | |
| 3 | /-! # Factorization Criterion -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Closed.FactorizationCriterion |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Factorization through an actual closed subscheme is detected by the |
| 10 | vanishing of its pulled-back ideal sheaf, on arbitrary test schemes. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | theorem closed_factorization_iff_comap_bot {X Y Z : Scheme.{u}} |
| 17 | (i : X ⟶ Z) [IsClosedImmersion i] (f : Y ⟶ Z) : |
| 18 | (∃! g : Y ⟶ X, g ≫ i = f) ↔ i.ker.comap f = ⊥ := by |
| 19 | constructor |
| 20 | · rintro ⟨g, rfl, _⟩ |
| 21 | rw [Scheme.IdealSheafData.comap_comp, ImmersionOverlapLifts.kernel_comap_self, Scheme.IdealSheafData.comap_bot] |
| 22 | · intro h |
| 23 | have hi : i.ker ≤ f.ker := by |
| 24 | rw [← Scheme.IdealSheafData.map_bot f, Scheme.IdealSheafData.le_map_iff_comap_le, h] |
| 25 | refine ⟨IsClosedImmersion.lift i f hi, IsClosedImmersion.lift_fac i f hi, ?_⟩ |
| 26 | intro g hg |
| 27 | apply (cancel_mono i).mp |
| 28 | exact hg.trans (IsClosedImmersion.lift_fac i f hi).symm |
| 29 | |
| 30 | theorem over_closed_factorization_iff_comap_bot {S : Scheme.{u}} {X Y Z : Over S} |
| 31 | (i : X ⟶ Z) [IsClosedImmersion i.left] (f : Y ⟶ Z) : |
| 32 | (∃! g : Y ⟶ X, g ≫ i = f) ↔ i.left.ker.comap f.left = ⊥ := by |
| 33 | constructor |
| 34 | · rintro ⟨g, rfl, _⟩ |
| 35 | change i.left.ker.comap (g.left ≫ i.left) = ⊥ |
| 36 | rw [Scheme.IdealSheafData.comap_comp, ImmersionOverlapLifts.kernel_comap_self, Scheme.IdealSheafData.comap_bot] |
| 37 | · intro h |
| 38 | obtain ⟨g, hg, _⟩ := (closed_factorization_iff_comap_bot i.left f.left).mpr h |
| 39 | have hw : g ≫ X.hom = Y.hom := by |
| 40 | rw [← i.w, ← Category.assoc, hg] |
| 41 | exact f.w |
| 42 | let g' : Y ⟶ X := Over.homMk g hw |
| 43 | have hg' : g' ≫ i = f := by |
| 44 | ext |
| 45 | exact hg |
| 46 | have : Mono i := Over.mono_of_mono_left i |
| 47 | exact ⟨g', hg', fun k hk => (cancel_mono i).mp (hk.trans hg'.symm)⟩ |
| 48 | |
| 49 | end |
| 50 | |
| 51 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Closed.FactorizationCriterion |