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.FormalGeometry.Completion.SchemeImageDominance |
| 2 | import Mathlib.AlgebraicGeometry.Pullbacks |
| 3 | |
| 4 | /-! # Over Scheme Image -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.FormalGeometry.Completion.OverSchemeImage |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The actual scheme-theoretic image of a morphism over a base, with |
| 11 | its closed inclusion and scheme-theoretically dominant factor map. -/ |
| 12 | |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | |
| 15 | open _root_.AlgebraicGeometry _root_.CategoryTheory |
| 16 | |
| 17 | namespace Construction |
| 18 | |
| 19 | universe u |
| 20 | variable {S : Scheme.{u}} {X Y : Over S} (f : X ⟶ Y) |
| 21 | |
| 22 | def overSchemeImage : Over S := Over.mk (f.left.imageι ≫ Y.hom) |
| 23 | |
| 24 | def overSchemeImageInclusion : overSchemeImage f ⟶ Y := |
| 25 | Over.homMk f.left.imageι rfl |
| 26 | |
| 27 | def overSchemeImageFactor : X ⟶ overSchemeImage f := |
| 28 | Over.homMk f.left.toImage (by |
| 29 | change f.left.toImage ≫ (f.left.imageι ≫ Y.hom) = X.hom |
| 30 | rw [← Category.assoc, Scheme.Hom.toImage_imageι, f.w]) |
| 31 | |
| 32 | theorem overSchemeImageFactor_inclusion : |
| 33 | overSchemeImageFactor f ≫ overSchemeImageInclusion f = f := |
| 34 | Over.OverMorphism.ext f.left.toImage_imageι |
| 35 | |
| 36 | instance overSchemeImageInclusion_closed : IsClosedImmersion (overSchemeImageInclusion f).left := |
| 37 | inferInstanceAs (IsClosedImmersion f.left.imageι) |
| 38 | |
| 39 | instance overSchemeImageInclusion_mono : Mono (overSchemeImageInclusion f) := by |
| 40 | have : Mono (overSchemeImageInclusion f).left := inferInstance |
| 41 | exact Over.mono_of_mono_left _ |
| 42 | |
| 43 | instance overSchemeImageFactor_quasiCompact [QuasiCompact f.left] : |
| 44 | QuasiCompact (overSchemeImageFactor f).left := |
| 45 | inferInstanceAs (QuasiCompact f.left.toImage) |
| 46 | |
| 47 | instance overSchemeImageFactor_schemeDominant [QuasiCompact f.left] : |
| 48 | IsSchemeTheoreticallyDominant (overSchemeImageFactor f).left := |
| 49 | SchemeImageDominance.Construction.toImage_schemeTheoreticallyDominant f.left |
| 50 | |
| 51 | end Construction |
| 52 | |
| 53 | end |
| 54 | |
| 55 | end OAI.AlgebraicGeometry.FormalGeometry.Completion.OverSchemeImage |