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.Level.Transport |
| 2 | |
| 3 | /-! # Level Families -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Geometric restriction maps for families of full levels over a fixed abelian scheme. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 12 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | variable {g N : ℕ} {S : Scheme.{u}} {A : Abelian.Schemes.AbelianScheme g S} |
| 17 | |
| 18 | /-- Restrict a level to a test scheme by geometric pullback and its canonical comparisons. -/ |
| 19 | def Abelian.Schemes.AbelianScheme.FullLevel.restrict {T U : Over S} (level : (A.pullback U.hom).FullLevel N) (f : T ⟶ U) : |
| 20 | (A.pullback T.hom).FullLevel N := |
| 21 | (((level.pullback f.left).transport (A.pullbackCompIso U.hom f.left).symm).transport |
| 22 | (A.pullbackCongrIso (f.left ≫ U.hom) T.hom f.w)) |
| 23 | |
| 24 | /-- Restriction of a level pulled back from the base is its pullback to the new test scheme. -/ |
| 25 | theorem Abelian.Schemes.AbelianScheme.FullLevel.restrict_pullback (base : A.FullLevel N) {T U : Over S} (f : T ⟶ U) : |
| 26 | (base.pullback U.hom).restrict f = base.pullback T.hom := by |
| 27 | change (((base.pullback U.hom).pullback f.left).transport |
| 28 | (A.pullbackCompIso U.hom f.left).symm).transport |
| 29 | (A.pullbackCongrIso (f.left ≫ U.hom) T.hom f.w) = _ |
| 30 | exact (congrArg (fun level => level.transport |
| 31 | (A.pullbackCongrIso (f.left ≫ U.hom) T.hom f.w)) |
| 32 | (base.transport_pullbackComp U.hom f.left)).trans |
| 33 | (base.transport_pullbackCongr (f.left ≫ U.hom) T.hom f.w) |
| 34 | |
| 35 | /-- The labels of a geometrically restricted level are the restrictions of its labels. -/ |
| 36 | theorem Abelian.Schemes.AbelianScheme.FullLevel.labelsEquiv_restrict [NeZero N] (base : A.FullLevel N) {T U : Over S} |
| 37 | (level : (A.pullback U.hom).FullLevel N) (f : T ⟶ U) : |
| 38 | (base.pullback T.hom).labelsEquiv (level.restrict f) = |
| 39 | ((base.pullback U.hom).labelsEquiv level).comap ⟨f.left, f.left.continuous⟩ := by |
| 40 | have hbase := base.restrict_pullback f |
| 41 | have hlabels := Abelian.Schemes.AbelianScheme.FullLevel.labelsEquiv_transport |
| 42 | (((base.pullback U.hom).pullback f.left).transport (A.pullbackCompIso U.hom f.left).symm) |
| 43 | ((level.pullback f.left).transport (A.pullbackCompIso U.hom f.left).symm) |
| 44 | (A.pullbackCongrIso (f.left ≫ U.hom) T.hom f.w) |
| 45 | change ((base.pullback U.hom).restrict f).labelsEquiv (level.restrict f) = _ at hlabels |
| 46 | rw [hbase] at hlabels |
| 47 | exact hlabels.trans |
| 48 | ((Abelian.Schemes.AbelianScheme.FullLevel.labelsEquiv_transport ((base.pullback U.hom).pullback f.left) (level.pullback f.left) |
| 49 | (A.pullbackCompIso U.hom f.left).symm).trans |
| 50 | (Abelian.Schemes.AbelianScheme.FullLevel.labelsEquiv_pullback (base.pullback U.hom) level f.left)) |
| 51 | |
| 52 | end |
| 53 | |
| 54 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |