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.ParameterBaseChange |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Moduli.Coherence |
| 3 | |
| 4 | /-! # Transport -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Transport of full levels through group-scheme isomorphisms. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | variable {g N : ℕ} {S S' S'' : Scheme.{u}} |
| 18 | variable {A B : Abelian.Schemes.AbelianScheme g S} |
| 19 | |
| 20 | instance Abelian.Schemes.AbelianScheme.pullbackCompIso_symm_preservesGroup (A : Abelian.Schemes.AbelianScheme g S) |
| 21 | (f : S' ⟶ S) (h : S'' ⟶ S') : IsMonHom (A.pullbackCompIso f h).symm.hom := |
| 22 | inferInstanceAs (IsMonHom (A.pullbackCompIso f h).inv) |
| 23 | |
| 24 | /-- Equal base morphisms give canonically isomorphic pulled-back group schemes. -/ |
| 25 | def Abelian.Schemes.AbelianScheme.pullbackCongrIso (A : Abelian.Schemes.AbelianScheme g S) (f h : S' ⟶ S) (w : f = h) : |
| 26 | (A.pullback f).scheme ≅ (A.pullback h).scheme := |
| 27 | eqToIso (congrArg (fun a => (A.pullback a).scheme) w) |
| 28 | |
| 29 | instance Abelian.Schemes.AbelianScheme.pullbackCongrIso_preservesGroup (A : Abelian.Schemes.AbelianScheme g S) |
| 30 | (f h : S' ⟶ S) (w : f = h) : IsMonHom (A.pullbackCongrIso f h w).hom := by |
| 31 | cases w |
| 32 | exact inferInstanceAs (IsMonHom (𝟙 (A.pullback f).scheme)) |
| 33 | |
| 34 | /-- An isomorphism of abelian schemes identifies their torsion points. -/ |
| 35 | def Abelian.Schemes.AbelianScheme.torsionPointsIso (e : A.scheme ≅ B.scheme) [IsMonHom e.hom] (N : ℕ) (T : Over S) : |
| 36 | A.torsionPoints N T ≃* B.torsionPoints N T where |
| 37 | toFun x := ⟨x.val ≫ e.hom, by |
| 38 | change (x.val ≫ e.hom) ^ N = 1 |
| 39 | rw [← MonObj.pow_comp, (A.mem_torsionPoints N T x.val).mp x.property, MonObj.one_comp]⟩ |
| 40 | invFun x := ⟨x.val ≫ e.inv, by |
| 41 | change (x.val ≫ e.inv) ^ N = 1 |
| 42 | rw [← MonObj.pow_comp, (B.mem_torsionPoints N T x.val).mp x.property, MonObj.one_comp]⟩ |
| 43 | left_inv x := Subtype.ext ((Category.assoc _ _ _).trans |
| 44 | ((congrArg (fun a => x.val ≫ a) e.hom_inv_id).trans (Category.comp_id _))) |
| 45 | right_inv x := Subtype.ext ((Category.assoc _ _ _).trans |
| 46 | ((congrArg (fun a => x.val ≫ a) e.inv_hom_id).trans (Category.comp_id _))) |
| 47 | map_mul' x y := Subtype.ext (MonObj.mul_comp x.val y.val e.hom) |
| 48 | |
| 49 | /-- The identification of torsion points is natural in the test scheme. -/ |
| 50 | def Abelian.Schemes.AbelianScheme.torsionFunctorIso (e : A.scheme ≅ B.scheme) [IsMonHom e.hom] (N : ℕ) : |
| 51 | A.torsionFunctor N ≅ B.torsionFunctor N := |
| 52 | NatIso.ofComponents (fun T => MulEquiv.toGrpIso (Abelian.Schemes.AbelianScheme.torsionPointsIso e N T.unop)) (by |
| 53 | intro T U h |
| 54 | apply GrpCat.hom_ext |
| 55 | apply MonoidHom.ext |
| 56 | intro x |
| 57 | apply Subtype.ext |
| 58 | exact Category.assoc h.unop x.val e.hom) |
| 59 | |
| 60 | /-- Transport an ordered full level across an isomorphism of abelian schemes. -/ |
| 61 | def Abelian.Schemes.AbelianScheme.FullLevel.transport (level : A.FullLevel N) (e : A.scheme ≅ B.scheme) [IsMonHom e.hom] : B.FullLevel N := |
| 62 | level ≪≫ Abelian.Schemes.AbelianScheme.torsionFunctorIso e N |
| 63 | |
| 64 | theorem Abelian.Schemes.AbelianScheme.FullLevel.transport_basis (level : A.FullLevel N) (e : A.scheme ≅ B.scheme) [IsMonHom e.hom] |
| 65 | (T : Over S) (c : LocallyConstant T.left (Multiplicative (Fin (2 * g) → ZMod N))) : |
| 66 | ((level.transport e).hom.app (.op T) c).val = (level.hom.app (.op T) c).val ≫ e.hom := rfl |
| 67 | |
| 68 | /-- Equality of full levels is detected on every ordered torsion basis. -/ |
| 69 | theorem Abelian.Schemes.AbelianScheme.FullLevel.ext_basis {level₁ level₂ : A.FullLevel N} |
| 70 | (h : ∀ (T : Over S) (c : LocallyConstant T.left (Multiplicative (Fin (2 * g) → ZMod N))), |
| 71 | (level₁.hom.app (.op T) c).val = (level₂.hom.app (.op T) c).val) : level₁ = level₂ := by |
| 72 | apply Iso.ext |
| 73 | apply NatTrans.ext |
| 74 | funext T |
| 75 | apply GrpCat.hom_ext |
| 76 | apply MonoidHom.ext |
| 77 | intro c |
| 78 | exact Subtype.ext (h T.unop c) |
| 79 | |
| 80 | /-- Simultaneous transport preserves the change of ordered labels between two levels. -/ |
| 81 | theorem Abelian.Schemes.AbelianScheme.FullLevel.changeEquiv_transport (base level : A.FullLevel N) |
| 82 | (e : A.scheme ≅ B.scheme) [IsMonHom e.hom] : |
| 83 | (base.transport e).changeEquiv (level.transport e) = base.changeEquiv level := by |
| 84 | apply Iso.ext |
| 85 | let t := Abelian.Schemes.AbelianScheme.torsionFunctorIso e N |
| 86 | change (level.hom ≫ t.hom) ≫ (t.inv ≫ base.inv) = level.hom ≫ base.inv |
| 87 | exact (Category.assoc _ _ _).trans |
| 88 | (congrArg (fun a => level.hom ≫ a) (t.hom_inv_id_assoc base.inv)) |
| 89 | |
| 90 | /-- Simultaneous transport preserves the locally constant level parameters. -/ |
| 91 | theorem Abelian.Schemes.AbelianScheme.FullLevel.labelsEquiv_transport [NeZero N] (base level : A.FullLevel N) |
| 92 | (e : A.scheme ≅ B.scheme) [IsMonHom e.hom] : |
| 93 | (base.transport e).labelsEquiv (level.transport e) = base.labelsEquiv level := |
| 94 | congrArg Constant.GroupIsomorphisms.constantGroupIsoLabels (Abelian.Schemes.AbelianScheme.FullLevel.changeEquiv_transport base level e) |
| 95 | |
| 96 | /-- Pullback respects equality of the base morphisms, including the level structure. -/ |
| 97 | theorem Abelian.Schemes.AbelianScheme.FullLevel.transport_pullbackCongr (level : A.FullLevel N) (f h : S' ⟶ S) (w : f = h) : |
| 98 | (level.pullback f).transport (A.pullbackCongrIso f h w) = level.pullback h := by |
| 99 | cases w |
| 100 | apply Abelian.Schemes.AbelianScheme.FullLevel.ext_basis |
| 101 | intro T c |
| 102 | exact Category.comp_id _ |
| 103 | |
| 104 | /-- Composition pullback becomes literal equality after transporting across its comparison. -/ |
| 105 | theorem Abelian.Schemes.AbelianScheme.FullLevel.transport_pullbackComp (level : A.FullLevel N) (f : S' ⟶ S) (h : S'' ⟶ S') : |
| 106 | (((level.pullback f).pullback h).transport (A.pullbackCompIso f h).symm) = |
| 107 | level.pullback (h ≫ f) := by |
| 108 | apply Abelian.Schemes.AbelianScheme.FullLevel.ext_basis |
| 109 | intro T c |
| 110 | exact level.pullback_comp_basis f h T c |
| 111 | |
| 112 | end |
| 113 | |
| 114 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |