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.AbelianModuli.HilbertConstruction.Family.LevelIsoFunctor |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Moduli.IsomorphismTransportEquivalence |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.LocallyNoetherian.UniversalLevelRigidity |
| 4 | |
| 5 | /-! # Family Level Iso Restriction -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.FamilyLevelIsoRestriction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Full-level rigidity makes the complete isomorphism functor compatible with restriction along every base map. The objectwise comparison is the actual composition isomorphism of polarized families. -/ |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | universe u |
| 14 | |
| 15 | def rigidFamilyLevelIsoRestriction |
| 16 | {S U : Scheme.{u}} [IsLocallyNoetherian S] {g N : ℕ} {δ : Fin g → ℕ} |
| 17 | (A B : PolarizationData.PolarizedAbelianWithFullLevel g δ N S) (hN : 3 ≤ N) (i : U ⟶ S) : |
| 18 | Family.LevelIsoFunctor.familyLevelIsoFunctor (A.pullback i) (B.pullback i) ≅ (Over.map i).op ⋙ Family.LevelIsoFunctor.familyLevelIsoFunctor A B := |
| 19 | NatIso.ofComponents |
| 20 | (fun T => (Moduli.Isomorphisms.LevelPreservingIso.transportEquiv (Moduli.Isomorphisms.LevelPreservingIso.pullbackComp A i T.unop.hom) |
| 21 | (Moduli.Isomorphisms.LevelPreservingIso.pullbackComp B i T.unop.hom)).toIso) |
| 22 | (by |
| 23 | intro T V c |
| 24 | apply ConcreteCategory.hom_ext |
| 25 | intro e |
| 26 | have hs : Subsingleton ((Family.LevelIsoFunctor.familyLevelIsoFunctor A B).obj (.op ((Over.map i).obj V.unop))) := |
| 27 | LocallyNoetherian.UniversalLevelRigidity.polarizedPullbackIsomorphisms_subsingleton_of_locallyNoetherian A B hN ((Over.map i).obj V.unop) |
| 28 | exact @Subsingleton.elim _ hs _ _) |
| 29 | |
| 30 | end |
| 31 | |
| 32 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.FamilyLevelIsoRestriction |