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.ReferenceFamily.ParameterPointTransport |
| 2 | |
| 3 | /-! # Subgroup From Parameter -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Relative.SubgroupFromParameter |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Recover a relative subgroup of the original group from a subgroup |
| 10 | over the parameter scheme. This is inverse to the ordinary passage |
| 11 | to that parameter, with exact all-test membership and kernel type. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 15 | |
| 16 | set_option backward.isDefEq.respectTransparency false |
| 17 | set_option backward.isDefEq.respectTransparency.types false |
| 18 | |
| 19 | open OAI.AlgebraicGeometry.AbelianScheme.TorsionQuotient.SubgroupFunctor |
| 20 | |
| 21 | universe u |
| 22 | |
| 23 | def terminalParameterPoint {S : Scheme.{u}} (X : Over S) : |
| 24 | X ⟶ Over.mk (𝟙 S) := Over.homMk X.hom (Category.comp_id _) |
| 25 | |
| 26 | theorem terminalParameterPoint_unique {S : Scheme.{u}} (X : Over S) |
| 27 | (t : X ⟶ Over.mk (𝟙 S)) : terminalParameterPoint X = t := by |
| 28 | apply Over.OverMorphism.ext |
| 29 | exact ((Category.comp_id t.left).symm.trans t.w).symm |
| 30 | |
| 31 | variable {S : Scheme.{u}} (G : Grp (Over S)) (P : Over S) |
| 32 | |
| 33 | def relativeSubgroupFromParameter |
| 34 | (F : AbelianScheme.TorsionQuotient.SubgroupFunctor.RelativeSubgroup ((Over.pullback P.hom).obj G.X) (Over.mk (𝟙 P.left))) : |
| 35 | AbelianScheme.TorsionQuotient.SubgroupFunctor.RelativeSubgroup G.X P where |
| 36 | points X t := (F.points (Over.mk t.left) (terminalParameterPoint (Over.mk t.left))).comap |
| 37 | (ParameterPointTransport.parameterPointMulEquiv G P X t).toMonoidHom |
| 38 | naturality := by |
| 39 | intro X Y a t x hx |
| 40 | have h := F.naturality (ParameterPointTransport.parameterTestMap P a t) (terminalParameterPoint (Over.mk t.left)) hx |
| 41 | rw [← terminalParameterPoint_unique _ |
| 42 | (ParameterPointTransport.parameterTestMap P a t ≫ terminalParameterPoint (Over.mk t.left))] at h |
| 43 | change ParameterPointTransport.parameterPointMulEquiv G P X (a ≫ t) (a ≫ x) ∈ |
| 44 | F.points (Over.mk (a ≫ t).left) (terminalParameterPoint (Over.mk (a ≫ t).left)) |
| 45 | rw [ParameterPointTransport.parameterPointMulEquiv_natural] |
| 46 | exact h |
| 47 | |
| 48 | theorem relativeSubgroupFromParameter_overParameter |
| 49 | (F : AbelianScheme.TorsionQuotient.SubgroupFunctor.RelativeSubgroup ((Over.pullback P.hom).obj G.X) (Over.mk (𝟙 P.left))) : |
| 50 | AbelianScheme.IsogenyQuotient.Relative.ParameterBaseChange.Construction.relativeSubgroupOverParameter G P (relativeSubgroupFromParameter G P F) = F := by |
| 51 | ext X t x |
| 52 | change ParameterPointTransport.parameterPointMulEquiv G P ((Over.map P.hom).obj X) (AbelianScheme.IsogenyQuotient.Relative.ParameterBaseChange.Construction.parameterBasePoint P X) |
| 53 | ((AbelianScheme.CartierDuality.CharacterBaseChange.Construction.Schemes.pullbackPointMulEquiv P.hom G X).symm x) ∈ |
| 54 | F.points X (terminalParameterPoint X) ↔ x ∈ F.points X t |
| 55 | rw [ParameterPointTransport.parameterPointMulEquiv_canonical, MulEquiv.apply_symm_apply, terminalParameterPoint_unique X t] |
| 56 | |
| 57 | theorem relativeSubgroup_membership_iso {A X Y Q : Over S} [GrpObj A] |
| 58 | (F : AbelianScheme.TorsionQuotient.SubgroupFunctor.RelativeSubgroup A Q) (e : X ≅ Y) (t : Y ⟶ Q) (x : Y ⟶ A) : |
| 59 | e.hom ≫ x ∈ F.points X (e.hom ≫ t) ↔ x ∈ F.points Y t := by |
| 60 | constructor |
| 61 | · intro hx |
| 62 | have h := F.naturality e.inv (e.hom ≫ t) hx |
| 63 | simpa only [← Category.assoc, e.inv_hom_id, Category.id_comp] using h |
| 64 | · exact F.naturality e.hom t |
| 65 | |
| 66 | theorem relativeSubgroupOverParameter_fromParameter (F : AbelianScheme.TorsionQuotient.SubgroupFunctor.RelativeSubgroup G.X P) : |
| 67 | relativeSubgroupFromParameter G P (AbelianScheme.IsogenyQuotient.Relative.ParameterBaseChange.Construction.relativeSubgroupOverParameter G P F) = F := by |
| 68 | ext X t x |
| 69 | let e := ParameterPointTransport.parameterTestIso P X t |
| 70 | have ht : AbelianScheme.IsogenyQuotient.Relative.ParameterBaseChange.Construction.parameterBasePoint P (Over.mk t.left) = e.hom ≫ t := by |
| 71 | apply Over.OverMorphism.ext |
| 72 | exact (Category.id_comp t.left).symm |
| 73 | change (AbelianScheme.CartierDuality.CharacterBaseChange.Construction.Schemes.pullbackPointMulEquiv P.hom G (Over.mk t.left)).symm |
| 74 | (ParameterPointTransport.parameterPointMulEquiv G P X t x) ∈ |
| 75 | F.points ((Over.map P.hom).obj (Over.mk t.left)) (AbelianScheme.IsogenyQuotient.Relative.ParameterBaseChange.Construction.parameterBasePoint P (Over.mk t.left)) ↔ |
| 76 | x ∈ F.points X t |
| 77 | have hx : (AbelianScheme.CartierDuality.CharacterBaseChange.Construction.Schemes.pullbackPointMulEquiv P.hom G (Over.mk t.left)).symm |
| 78 | (ParameterPointTransport.parameterPointMulEquiv G P X t x) = e.hom ≫ x := |
| 79 | (AbelianScheme.CartierDuality.CharacterBaseChange.Construction.Schemes.pullbackPointMulEquiv P.hom G (Over.mk t.left)).symm_apply_apply _ |
| 80 | rw [hx, ht] |
| 81 | exact relativeSubgroup_membership_iso F e t x |
| 82 | |
| 83 | private theorem pow_eq_one_of_equiv {M N : Type*} [Monoid M] [Monoid N] |
| 84 | (e : M ≃* N) (n : ℕ) (x : M) (h : (e x) ^ n = 1) : x ^ n = 1 := by |
| 85 | apply e.injective |
| 86 | simpa only [map_pow, map_one] using h |
| 87 | |
| 88 | theorem relativeSubgroupFromParameter_killed |
| 89 | (F : AbelianScheme.TorsionQuotient.SubgroupFunctor.RelativeSubgroup ((Over.pullback P.hom).obj G.X) (Over.mk (𝟙 P.left))) |
| 90 | (n : ℕ) (h : F.KilledBy n) : (relativeSubgroupFromParameter G P F).KilledBy n := by |
| 91 | intro X t x hx |
| 92 | exact @pow_eq_one_of_equiv _ _ |
| 93 | CategoryTheory.Hom.monoid CategoryTheory.Hom.monoid |
| 94 | (ParameterPointTransport.parameterPointMulEquiv G P X t) n x |
| 95 | (h (Over.mk t.left) (terminalParameterPoint (Over.mk t.left)) |
| 96 | (ParameterPointTransport.parameterPointMulEquiv G P X t x) hx) |
| 97 | |
| 98 | def relativeSubgroupFromParameterPointEquiv |
| 99 | (F : AbelianScheme.TorsionQuotient.SubgroupFunctor.RelativeSubgroup ((Over.pullback P.hom).obj G.X) (Over.mk (𝟙 P.left))) |
| 100 | (X : Over S) (t : X ⟶ P) : |
| 101 | (relativeSubgroupFromParameter G P F).points X t ≃* |
| 102 | F.points (Over.mk t.left) (terminalParameterPoint (Over.mk t.left)) where |
| 103 | toFun x := ⟨ParameterPointTransport.parameterPointMulEquiv G P X t x.val, x.property⟩ |
| 104 | invFun x := ⟨(ParameterPointTransport.parameterPointMulEquiv G P X t).symm x.val, by |
| 105 | change ParameterPointTransport.parameterPointMulEquiv G P X t ((ParameterPointTransport.parameterPointMulEquiv G P X t).symm x.val) ∈ |
| 106 | F.points (Over.mk t.left) (terminalParameterPoint (Over.mk t.left)) |
| 107 | rw [MulEquiv.apply_symm_apply] |
| 108 | exact x.property⟩ |
| 109 | left_inv x := Subtype.ext ((ParameterPointTransport.parameterPointMulEquiv G P X t).symm_apply_apply x.val) |
| 110 | right_inv x := Subtype.ext ((ParameterPointTransport.parameterPointMulEquiv G P X t).apply_symm_apply x.val) |
| 111 | map_mul' x y := Subtype.ext ((ParameterPointTransport.parameterPointMulEquiv G P X t).map_mul x.val y.val) |
| 112 | |
| 113 | theorem relativeSubgroupFromParameter_moduleType |
| 114 | (F : AbelianScheme.TorsionQuotient.SubgroupFunctor.RelativeSubgroup ((Over.pullback P.hom).obj G.X) (Over.mk (𝟙 P.left))) |
| 115 | (M : Type u) [AddCommGroup M] (h : F.HasModuleType M) : |
| 116 | (relativeSubgroupFromParameter G P F).HasModuleType M := by |
| 117 | intro k _ _ b t |
| 118 | obtain ⟨e⟩ := h k t.left (terminalParameterPoint (Over.mk t.left)) |
| 119 | exact ⟨(relativeSubgroupFromParameterPointEquiv G P F (Over.mk b) t).trans e⟩ |
| 120 | |
| 121 | end |
| 122 | |
| 123 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Relative.SubgroupFromParameter |