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.ConstantGroupBaseChange |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.TorsionQuotient.Group |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Pullback.Comparisons |
| 4 | |
| 5 | /-! # Torsion Base -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.TorsionBase.TorsionBaseChange |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The actual torsion group scheme commutes with arbitrary base change. |
| 12 | The comparison is constructed from its represented group-valued point |
| 13 | functor and preserves its actual inclusion into the ambient group scheme. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 16 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 17 | |
| 18 | open OAI.AlgebraicGeometry.AbelianScheme.TorsionQuotient.SubgroupFunctor |
| 19 | |
| 20 | variable {S S' : Scheme} (A : Over S) [GrpObj A] [IsCommMonObj A] (n : ℕ) (f : S' ⟶ S) |
| 21 | |
| 22 | def pointsMulEquiv (T : Over S') : |
| 23 | AbelianScheme.TorsionQuotient.Group.TorsionGroup.points ((Over.pullback f).obj A) n T ≃* |
| 24 | AbelianScheme.TorsionQuotient.Group.TorsionGroup.points A n ((Over.map f).obj T) where |
| 25 | toFun x := ⟨Group.PointsBaseChange.GroupPoints.baseChangePointsMulEquiv A f T x.val, by |
| 26 | change (Group.PointsBaseChange.GroupPoints.baseChangePointsMulEquiv A f T x.val) ^ n = 1 |
| 27 | rw [← map_pow, show x.val ^ n = 1 from x.property, map_one]⟩ |
| 28 | invFun x := ⟨(Group.PointsBaseChange.GroupPoints.baseChangePointsMulEquiv A f T).symm x.val, by |
| 29 | change ((Group.PointsBaseChange.GroupPoints.baseChangePointsMulEquiv A f T).symm x.val) ^ n = 1 |
| 30 | rw [← map_pow, show x.val ^ n = 1 from x.property, map_one]⟩ |
| 31 | left_inv x := Subtype.ext ((Group.PointsBaseChange.GroupPoints.baseChangePointsMulEquiv A f T).symm_apply_apply x.val) |
| 32 | right_inv x := Subtype.ext ((Group.PointsBaseChange.GroupPoints.baseChangePointsMulEquiv A f T).apply_symm_apply x.val) |
| 33 | map_mul' x y := Subtype.ext ((Group.PointsBaseChange.GroupPoints.baseChangePointsMulEquiv A f T).map_mul x.val y.val) |
| 34 | |
| 35 | def pointFunctorIso : AbelianScheme.TorsionQuotient.Group.TorsionGroup.pointFunctor ((Over.pullback f).obj A) n ≅ |
| 36 | (Over.map f).op ⋙ AbelianScheme.TorsionQuotient.Group.TorsionGroup.pointFunctor A n := |
| 37 | NatIso.ofComponents (fun T => MulEquiv.toGrpIso (pointsMulEquiv A n f T.unop)) (by |
| 38 | intro T U h |
| 39 | apply GrpCat.hom_ext |
| 40 | apply MonoidHom.ext |
| 41 | intro x |
| 42 | apply Subtype.ext |
| 43 | apply Over.OverMorphism.ext |
| 44 | exact Category.assoc _ _ _) |
| 45 | |
| 46 | def comparisonIso : yonedaGrpObj (AbelianScheme.TorsionQuotient.SubgroupFunctor.torsionScheme ((Over.pullback f).obj A) n) ≅ |
| 47 | yonedaGrpObj ((Over.pullback f).obj (AbelianScheme.TorsionQuotient.SubgroupFunctor.torsionScheme A n)) := |
| 48 | AbelianScheme.TorsionQuotient.Group.TorsionGroup.pointIso ((Over.pullback f).obj A) n ≪≫ pointFunctorIso A n f ≪≫ |
| 49 | (Functor.isoWhiskerLeft (Over.map f).op (AbelianScheme.TorsionQuotient.Group.TorsionGroup.pointIso A n)).symm ≪≫ |
| 50 | (ConstantGroupBaseChange.GroupPoints.baseChangeGroupIso (AbelianScheme.TorsionQuotient.SubgroupFunctor.torsionScheme A n) f).symm |
| 51 | |
| 52 | def groupIso : Grp.mk (AbelianScheme.TorsionQuotient.SubgroupFunctor.torsionScheme ((Over.pullback f).obj A) n) ≅ |
| 53 | Grp.mk ((Over.pullback f).obj (AbelianScheme.TorsionQuotient.SubgroupFunctor.torsionScheme A n)) := |
| 54 | yonedaGrpFullyFaithful.preimageIso (comparisonIso A n f) |
| 55 | |
| 56 | def schemeIso : AbelianScheme.TorsionQuotient.SubgroupFunctor.torsionScheme ((Over.pullback f).obj A) n ≅ |
| 57 | (Over.pullback f).obj (AbelianScheme.TorsionQuotient.SubgroupFunctor.torsionScheme A n) := |
| 58 | (Grp.forget (Over S')).mapIso (groupIso A n f) |
| 59 | |
| 60 | instance schemeIso_isMonHom : IsMonHom (schemeIso A n f).hom := |
| 61 | inferInstanceAs (IsMonHom (groupIso A n f).hom.hom.hom) |
| 62 | |
| 63 | theorem schemeIso_hom_eval : |
| 64 | (schemeIso A n f).hom = (comparisonIso A n f).hom.app |
| 65 | (.op (AbelianScheme.TorsionQuotient.SubgroupFunctor.torsionScheme ((Over.pullback f).obj A) n)) (𝟙 _) := by |
| 66 | have h : yonedaGrp.map (groupIso A n f).hom = (comparisonIso A n f).hom := |
| 67 | yonedaGrpFullyFaithful.map_preimage _ |
| 68 | have he := congrArg (fun t => t.app (.op (AbelianScheme.TorsionQuotient.SubgroupFunctor.torsionScheme ((Over.pullback f).obj A) n)) (𝟙 _)) h |
| 69 | exact (Category.id_comp _).symm.trans he |
| 70 | |
| 71 | theorem pointIso_inv_inclusion (T : Over S) (x : AbelianScheme.TorsionQuotient.Group.TorsionGroup.points A n T) : |
| 72 | (AbelianScheme.TorsionQuotient.Group.TorsionGroup.pointIso A n).inv.app (.op T) x ≫ AbelianScheme.TorsionQuotient.SubgroupFunctor.torsionι A n = x.val := |
| 73 | AbelianScheme.TorsionQuotient.SubgroupFunctor.torsionLift_ι n x.val x.property |
| 74 | |
| 75 | theorem baseChangeGroupIso_inv_fst (T : Over S') (x : (Over.map f).obj T ⟶ AbelianScheme.TorsionQuotient.SubgroupFunctor.torsionScheme A n) : |
| 76 | ((ConstantGroupBaseChange.GroupPoints.baseChangeGroupIso (AbelianScheme.TorsionQuotient.SubgroupFunctor.torsionScheme A n) f).inv.app (.op T) x).left ≫ |
| 77 | pullback.fst (AbelianScheme.TorsionQuotient.SubgroupFunctor.torsionScheme A n).hom f = x.left := |
| 78 | congrArg Over.Hom.left ((Group.PointsBaseChange.GroupPoints.baseChangePointsMulEquiv (AbelianScheme.TorsionQuotient.SubgroupFunctor.torsionScheme A n) f T).apply_symm_apply x) |
| 79 | |
| 80 | theorem schemeIso_fst_inclusion : |
| 81 | (schemeIso A n f).hom.left ≫ pullback.fst (AbelianScheme.TorsionQuotient.SubgroupFunctor.torsionScheme A n).hom f ≫ (AbelianScheme.TorsionQuotient.SubgroupFunctor.torsionι A n).left = |
| 82 | (AbelianScheme.TorsionQuotient.SubgroupFunctor.torsionι ((Over.pullback f).obj A) n).left ≫ pullback.fst A.hom f := by |
| 83 | let T := AbelianScheme.TorsionQuotient.SubgroupFunctor.torsionScheme ((Over.pullback f).obj A) n |
| 84 | let x₀ := (AbelianScheme.TorsionQuotient.Group.TorsionGroup.pointIso ((Over.pullback f).obj A) n).hom.app (.op T) (𝟙 T) |
| 85 | let x₁ := (pointFunctorIso A n f).hom.app (.op T) x₀ |
| 86 | let x₂ := (AbelianScheme.TorsionQuotient.Group.TorsionGroup.pointIso A n).inv.app (.op ((Over.map f).obj T)) x₁ |
| 87 | apply Eq.trans (congrArg (fun p => p.left ≫ pullback.fst (AbelianScheme.TorsionQuotient.SubgroupFunctor.torsionScheme A n).hom f ≫ |
| 88 | (AbelianScheme.TorsionQuotient.SubgroupFunctor.torsionι A n).left) (schemeIso_hom_eval A n f)) |
| 89 | change ((ConstantGroupBaseChange.GroupPoints.baseChangeGroupIso (AbelianScheme.TorsionQuotient.SubgroupFunctor.torsionScheme A n) f).inv.app (.op T) x₂).left ≫ |
| 90 | pullback.fst (AbelianScheme.TorsionQuotient.SubgroupFunctor.torsionScheme A n).hom f ≫ (AbelianScheme.TorsionQuotient.SubgroupFunctor.torsionι A n).left = _ |
| 91 | apply Eq.trans (Category.assoc _ _ _).symm |
| 92 | apply Eq.trans (congrArg (fun p => p ≫ (AbelianScheme.TorsionQuotient.SubgroupFunctor.torsionι A n).left) |
| 93 | (baseChangeGroupIso_inv_fst A n f T x₂)) |
| 94 | have h := congrArg Over.Hom.left (pointIso_inv_inclusion A n ((Over.map f).obj T) x₁) |
| 95 | apply Eq.trans h |
| 96 | change ((𝟙 T.left) ≫ (AbelianScheme.TorsionQuotient.SubgroupFunctor.torsionι ((Over.pullback f).obj A) n).left) ≫ _ = _ |
| 97 | rw [Category.id_comp] |
| 98 | rfl |
| 99 | |
| 100 | end |
| 101 | |
| 102 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.TorsionBase.TorsionBaseChange |