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.RosatiRestriction |
| 2 | |
| 3 | /-! # Automorphism Restriction -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.Polarized.AutomorphismRestriction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Geometric restriction of a polarized automorphism agrees with the |
| 10 | actual endomorphism-family restriction, including its group law. -/ |
| 11 | |
| 12 | set_option backward.isDefEq.respectTransparency false |
| 13 | set_option backward.isDefEq.respectTransparency.types false |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | |
| 16 | variable {S : Scheme.{0}} {g N : ℕ} {δ : Fin g → ℕ} |
| 17 | (A : AbelianModuli.HilbertConstruction.PolarizationData.PolarizedAbelianWithFullLevel g δ N S) {T U : Over S} |
| 18 | |
| 19 | def restrictPolarizedAutomorphism (f : T ⟶ U) |
| 20 | (e : AbelianModuli.HilbertConstruction.Moduli.Isomorphisms.LevelPreservingIso (A.pullback U.hom) (A.pullback U.hom)) : |
| 21 | AbelianModuli.HilbertConstruction.Moduli.Isomorphisms.LevelPreservingIso (A.pullback T.hom) (A.pullback T.hom) := |
| 22 | (RosatiRestriction.polarizedRestrictionIso A f).symm.trans ((e.pullback f.left).trans (RosatiRestriction.polarizedRestrictionIso A f)) |
| 23 | |
| 24 | theorem restrictPolarizedAutomorphism_hom (f : T ⟶ U) |
| 25 | (e : AbelianModuli.HilbertConstruction.Moduli.Isomorphisms.LevelPreservingIso (A.pullback U.hom) (A.pullback U.hom)) : |
| 26 | (restrictPolarizedAutomorphism A f e).abelian.hom = |
| 27 | (EndomorphismFamiliesId.EndomorphismFamilies.restrict A.abelian f (Finite.Actions.GroupEndRing.ofHom (A.abelian.pullback U.hom) e.abelian.hom)).hom |
| 28 | (A.abelian.pullback T.hom) := by |
| 29 | change (RosatiRestriction.polarizedRestrictionIso A f).abelian.inv ≫ |
| 30 | (Over.pullback f.left).map e.abelian.hom ≫ (RosatiRestriction.polarizedRestrictionIso A f).abelian.hom = _ |
| 31 | rw [RosatiRestriction.polarizedRestrictionIso_abelian] |
| 32 | rfl |
| 33 | |
| 34 | def liftPolarizedAutomorphism (f : T ⟶ U) |
| 35 | (e : AbelianModuli.HilbertConstruction.Moduli.Isomorphisms.LevelPreservingIso (A.pullback T.hom) (A.pullback T.hom)) : |
| 36 | AbelianModuli.HilbertConstruction.Moduli.Isomorphisms.LevelPreservingIso ((A.pullback U.hom).pullback f.left) ((A.pullback U.hom).pullback f.left) := |
| 37 | (RosatiRestriction.polarizedRestrictionIso A f).trans (e.trans (RosatiRestriction.polarizedRestrictionIso A f).symm) |
| 38 | |
| 39 | theorem liftPolarizedAutomorphism_hom (f : T ⟶ U) |
| 40 | (e : AbelianModuli.HilbertConstruction.Moduli.Isomorphisms.LevelPreservingIso (A.pullback T.hom) (A.pullback T.hom)) |
| 41 | (r : Finite.Actions.GroupEndRing (A.abelian.pullback U.hom)) |
| 42 | (hr : EndomorphismFamiliesId.EndomorphismFamilies.restrict A.abelian f r = Finite.Actions.GroupEndRing.ofHom _ e.abelian.hom) : |
| 43 | (liftPolarizedAutomorphism A f e).abelian.hom = (Over.pullback f.left).map (r.hom _) := by |
| 44 | have h : (RosatiRestriction.polarizedRestrictionIso A f).abelian.inv ≫ (Over.pullback f.left).map (r.hom _) ≫ |
| 45 | (RosatiRestriction.polarizedRestrictionIso A f).abelian.hom = e.abelian.hom := by |
| 46 | rw [RosatiRestriction.polarizedRestrictionIso_abelian] |
| 47 | exact congrArg (Finite.Actions.GroupEndRing.hom (A.abelian.pullback T.hom)) hr |
| 48 | have h' := congrArg (fun m => (RosatiRestriction.polarizedRestrictionIso A f).abelian.hom ≫ m ≫ |
| 49 | (RosatiRestriction.polarizedRestrictionIso A f).abelian.inv) h |
| 50 | change (RosatiRestriction.polarizedRestrictionIso A f).abelian.hom ≫ e.abelian.hom ≫ |
| 51 | (RosatiRestriction.polarizedRestrictionIso A f).abelian.inv = (Over.pullback f.left).map (r.hom _) |
| 52 | simpa only [Category.assoc, Iso.hom_inv_id_assoc, Iso.hom_inv_id, Category.comp_id] using h'.symm |
| 53 | |
| 54 | def flattenPolarizedAutomorphism (f : T ⟶ U) |
| 55 | (e : AbelianModuli.HilbertConstruction.Moduli.Isomorphisms.LevelPreservingIso ((A.pullback U.hom).pullback f.left) ((A.pullback U.hom).pullback f.left)) : |
| 56 | AbelianModuli.HilbertConstruction.Moduli.Isomorphisms.LevelPreservingIso (A.pullback T.hom) (A.pullback T.hom) := |
| 57 | (RosatiRestriction.polarizedRestrictionIso A f).symm.trans (e.trans (RosatiRestriction.polarizedRestrictionIso A f)) |
| 58 | |
| 59 | theorem flattenPolarizedAutomorphism_hom (f : T ⟶ U) |
| 60 | (e : AbelianModuli.HilbertConstruction.Moduli.Isomorphisms.LevelPreservingIso ((A.pullback U.hom).pullback f.left) ((A.pullback U.hom).pullback f.left)) |
| 61 | (r : Finite.Actions.GroupEndRing (A.abelian.pullback U.hom)) |
| 62 | (hr : e.abelian.hom = (Over.pullback f.left).map (r.hom _)) : |
| 63 | (flattenPolarizedAutomorphism A f e).abelian.hom = |
| 64 | (EndomorphismFamiliesId.EndomorphismFamilies.restrict A.abelian f r).hom (A.abelian.pullback T.hom) := by |
| 65 | change (RosatiRestriction.polarizedRestrictionIso A f).abelian.inv ≫ e.abelian.hom ≫ |
| 66 | (RosatiRestriction.polarizedRestrictionIso A f).abelian.hom = _ |
| 67 | rw [hr, RosatiRestriction.polarizedRestrictionIso_abelian] |
| 68 | rfl |
| 69 | |
| 70 | end |
| 71 | |
| 72 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.Polarized.AutomorphismRestriction |