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 OAI.AlgebraicGeometry.HilbertScheme.Presentations.OverFactorization |
| 3 | |
| 4 | /-! # Affine Cover Lifts -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Over.AffineCoverLifts |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Unique factorizations through a relative monomorphism are |
| 11 | detected on the actual affine open cover of the test scheme. -/ |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | universe u |
| 14 | variable {S : Scheme.{u}} {X M : Over S} (j : X ⟶ M) [Mono j.left] |
| 15 | variable (T : Over S) (x : T ⟶ M) |
| 16 | |
| 17 | def affineCoverOverMap (a : T.left.affineOpenCover.I₀) : |
| 18 | Over.mk (T.left.affineOpenCover.f a ≫ T.hom) ⟶ T := Over.homMk (T.left.affineOpenCover.f a) rfl |
| 19 | |
| 20 | theorem overUniqueLift_iff_affineOpenCover : |
| 21 | (∃! y : T ⟶ X, y ≫ j = x) ↔ |
| 22 | ∀ a : T.left.affineOpenCover.I₀, |
| 23 | ∃! y : Over.mk (T.left.affineOpenCover.f a ≫ T.hom) ⟶ X, |
| 24 | y ≫ j = affineCoverOverMap T a ≫ x := by |
| 25 | have : Mono j := Over.mono_of_mono_left _ |
| 26 | constructor |
| 27 | · rintro ⟨y, hy, _⟩ a |
| 28 | have he : (affineCoverOverMap T a ≫ y) ≫ j = affineCoverOverMap T a ≫ x := by |
| 29 | rw [Category.assoc, hy] |
| 30 | exact ⟨affineCoverOverMap T a ≫ y, he, fun z hz => (cancel_mono j).mp (hz.trans he.symm)⟩ |
| 31 | · intro H |
| 32 | obtain ⟨g, hg, _⟩ := HilbertScheme.Presentations.Local.MorphismFactorization.lift_of_openCover T.left.affineOpenCover.openCover x.left j.left (by |
| 33 | intro a |
| 34 | obtain ⟨y, hy, _⟩ := H a |
| 35 | exact ⟨y.left, congrArg Over.Hom.left hy⟩) |
| 36 | let y := HilbertScheme.Presentations.OverFactorization.overHomOfFactorization g j x hg |
| 37 | have hy : y ≫ j = x := HilbertScheme.Presentations.OverFactorization.overHomOfFactorization_comp _ _ _ hg |
| 38 | exact ⟨y, hy, fun z hz => (cancel_mono j).mp (hz.trans hy.symm)⟩ |
| 39 | |
| 40 | end |
| 41 | |
| 42 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Over.AffineCoverLifts |