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.PELModuli.IntegralModel.Polarized.AutomorphismRestriction |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.AddedLevelRelabeling |
| 3 | |
| 4 | /-! # Added Level Restriction -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.AddedLevelRestriction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The canonical relative-family comparison preserves both ordered |
| 11 | levels. Its auxiliary component is the same comparison used by the |
| 12 | integral PEL action classifier. -/ |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 17 | |
| 18 | def addedLevelRestrictionIso {S : Scheme.{0}} {g L N : ℕ} {δ : Fin g → ℕ} |
| 19 | (A : AbelianModuli.ReferenceFamily.Level.Data.AddedFullLevel g δ L N S) {T U : Over S} (f : T ⟶ U) : |
| 20 | AbelianModuli.ReferenceFamily.Level.Data.AddedFullLevel.Iso ((A.pullback U.hom).pullback f.left) (A.pullback T.hom) where |
| 21 | auxiliary := RosatiRestriction.polarizedRestrictionIso A.auxiliary f |
| 22 | prescribed := by |
| 23 | apply AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme.FullLevel.ext_basis |
| 24 | intro V c |
| 25 | have h := A.prescribed.restrict_pullback f |
| 26 | have hb := congrArg (fun β : (A.auxiliary.abelian.pullback T.hom).FullLevel N => |
| 27 | (β.hom.app (.op V) c).val) h |
| 28 | change (((A.prescribed.pullback U.hom).pullback f.left).hom.app (.op V) c).val ≫ |
| 29 | (RosatiRestriction.polarizedRestrictionIso A.auxiliary f).abelian.hom = _ |
| 30 | rw [RosatiRestriction.polarizedRestrictionIso_abelian] |
| 31 | exact (Category.assoc _ _ _).symm.trans hb |
| 32 | |
| 33 | end |
| 34 | |
| 35 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.AddedLevelRestriction |