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 Mathlib.CategoryTheory.Comma.Over.Basic |
| 2 | import Mathlib.AlgebraicGeometry.Scheme |
| 3 | |
| 4 | /-! # Test Scheme Lift -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Picard.PoincareBundle.TestSchemeLift |
| 7 | |
| 8 | /-! Every test over a base-changed parameter scheme is canonically a test over the changed base. -/ |
| 9 | |
| 10 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 11 | |
| 12 | universe u |
| 13 | |
| 14 | variable {S S' : Scheme.{u}} (s : S' ⟶ S) (T : Over S') (U : Over S) |
| 15 | (a : U ⟶ (Over.map s).obj T) |
| 16 | |
| 17 | /-- The map to the parameter supplies the changed-base structure on the test. -/ |
| 18 | def object : Over S' := Over.mk (a.left ≫ T.hom) |
| 19 | |
| 20 | /-- Forgetting the newly supplied base structure recovers the original test scheme. -/ |
| 21 | def iso : (Over.map s).obj (object s T U a) ≅ U := |
| 22 | Over.isoMk (Iso.refl U.left) ((Category.id_comp U.hom).trans |
| 23 | (a.w.symm.trans (Category.assoc a.left T.hom s).symm)) |
| 24 | |
| 25 | /-- The original map to the parameter is now a morphism over the changed base. -/ |
| 26 | def map : object s T U a ⟶ T := Over.homMk a.left rfl |
| 27 | |
| 28 | /-- The original and changed-base parameter maps agree as actual scheme maps. -/ |
| 29 | theorem map_eq : (Over.map s).map (TestSchemeLift.map s T U a) = (iso s T U a).hom ≫ a := |
| 30 | Over.OverMorphism.ext (Category.id_comp a.left).symm |
| 31 | |
| 32 | /-- This comparison changes no underlying scheme coordinates. -/ |
| 33 | theorem iso_left : (iso s T U a).hom.left = 𝟙 U.left := rfl |
| 34 | |
| 35 | end OAI.AlgebraicGeometry.Picard.PoincareBundle.TestSchemeLift |