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.AbelianScheme.IsogenyQuotient.Parameter.TestComparison |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.TateComparison.RelativePointSubgroups |
| 3 | |
| 4 | /-! # Parameter Point To -/ |
| 5 | |
| 6 | namespace OAI |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | namespace AlgebraicGeometry.HodgeConjecture.HeckeCycles.ParameterPointTo.CM.Naturality |
| 11 | |
| 12 | /-! The passage from a test scheme with a parameter point to a test |
| 13 | over the parameter preserves the group law and commutes with every |
| 14 | further test map. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 17 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 18 | open OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.Parameter.TestComparison.Construction OAI.AlgebraicGeometry.AbelianScheme.TateComparison.RelativePointSubgroups |
| 19 | |
| 20 | variable {S : Scheme} (G : Grp (Over S)) {P T U : Over S} |
| 21 | |
| 22 | local instance parameterNaturalityPullbackMonoidal : (Over.pullback P.hom).Monoidal := |
| 23 | Over.instBraidedPullback.toMonoidal |
| 24 | |
| 25 | local instance : GrpObj G.X := G.grp |
| 26 | local instance : GrpObj ((Over.pullback P.hom).obj G.X) := |
| 27 | ((Over.pullback P.hom).mapGrp.obj G).grp |
| 28 | |
| 29 | def parameterizeMul (t : T ⟶ P) : |
| 30 | (T ⟶ G.X) →* (AbelianScheme.IsogenyQuotient.Parameter.TestComparison.Construction.parameterTest t ⟶ ((Over.pullback P.hom).mapGrp.obj G).X) where |
| 31 | toFun := AbelianScheme.IsogenyQuotient.Parameter.TestComparison.Construction.parameterizePoint G t |
| 32 | map_one' := |
| 33 | (congrArg (AbelianScheme.CartierDuality.CharacterBaseChange.Construction.Schemes.pullbackPointMulEquiv P.hom G (AbelianScheme.IsogenyQuotient.Parameter.TestComparison.Construction.parameterTest t)) |
| 34 | (MonObj.comp_one (AbelianScheme.IsogenyQuotient.Parameter.TestComparison.Construction.parameterTestIso t).hom)).trans |
| 35 | (AbelianScheme.CartierDuality.CharacterBaseChange.Construction.Schemes.pullbackPointMulEquiv P.hom G (AbelianScheme.IsogenyQuotient.Parameter.TestComparison.Construction.parameterTest t)).map_one |
| 36 | map_mul' x y := |
| 37 | (congrArg (AbelianScheme.CartierDuality.CharacterBaseChange.Construction.Schemes.pullbackPointMulEquiv P.hom G (AbelianScheme.IsogenyQuotient.Parameter.TestComparison.Construction.parameterTest t)) |
| 38 | (MonObj.comp_mul (AbelianScheme.IsogenyQuotient.Parameter.TestComparison.Construction.parameterTestIso t).hom x y)).trans |
| 39 | ((AbelianScheme.CartierDuality.CharacterBaseChange.Construction.Schemes.pullbackPointMulEquiv P.hom G (AbelianScheme.IsogenyQuotient.Parameter.TestComparison.Construction.parameterTest t)).map_mul _ _) |
| 40 | |
| 41 | def parameterTestMap (f : U ⟶ T) (t : T ⟶ P) : AbelianScheme.IsogenyQuotient.Parameter.TestComparison.Construction.parameterTest (f ≫ t) ⟶ AbelianScheme.IsogenyQuotient.Parameter.TestComparison.Construction.parameterTest t := |
| 42 | Over.homMk f.left rfl |
| 43 | |
| 44 | theorem parameterize_natural (f : U ⟶ T) (t : T ⟶ P) (x : T ⟶ G.X) : |
| 45 | AbelianScheme.IsogenyQuotient.Parameter.TestComparison.Construction.parameterizePoint G (f ≫ t) (f ≫ x) = parameterTestMap f t ≫ AbelianScheme.IsogenyQuotient.Parameter.TestComparison.Construction.parameterizePoint G t x := by |
| 46 | apply (AbelianScheme.CartierDuality.CharacterBaseChange.Construction.Schemes.pullbackPointMulEquiv P.hom G (AbelianScheme.IsogenyQuotient.Parameter.TestComparison.Construction.parameterTest (f ≫ t))).symm.injective |
| 47 | calc |
| 48 | _ = (AbelianScheme.IsogenyQuotient.Parameter.TestComparison.Construction.parameterTestIso (f ≫ t)).hom ≫ (f ≫ x) := |
| 49 | (AbelianScheme.CartierDuality.CharacterBaseChange.Construction.Schemes.pullbackPointMulEquiv P.hom G (AbelianScheme.IsogenyQuotient.Parameter.TestComparison.Construction.parameterTest (f ≫ t))).symm_apply_apply _ |
| 50 | _ = (Over.map P.hom).map (parameterTestMap f t) ≫ ((AbelianScheme.IsogenyQuotient.Parameter.TestComparison.Construction.parameterTestIso t).hom ≫ x) := by |
| 51 | apply Over.OverMorphism.ext |
| 52 | change (𝟙 _ ≫ (f.left ≫ x.left)) = f.left ≫ (𝟙 _ ≫ x.left) |
| 53 | simp only [Category.id_comp] |
| 54 | _ = (Over.map P.hom).map (parameterTestMap f t) ≫ |
| 55 | (AbelianScheme.CartierDuality.CharacterBaseChange.Construction.Schemes.pullbackPointMulEquiv P.hom G (AbelianScheme.IsogenyQuotient.Parameter.TestComparison.Construction.parameterTest t)).symm (AbelianScheme.IsogenyQuotient.Parameter.TestComparison.Construction.parameterizePoint G t x) := |
| 56 | congrArg ((Over.map P.hom).map (parameterTestMap f t) ≫ ·) |
| 57 | ((AbelianScheme.CartierDuality.CharacterBaseChange.Construction.Schemes.pullbackPointMulEquiv P.hom G (AbelianScheme.IsogenyQuotient.Parameter.TestComparison.Construction.parameterTest t)).symm_apply_apply _).symm |
| 58 | _ = _ := (AbelianScheme.IsogenyQuotient.Relative.ParameterBaseChange.Construction.pullbackPointMulEquiv_symm_natural P.hom G |
| 59 | (parameterTestMap f t) (AbelianScheme.IsogenyQuotient.Parameter.TestComparison.Construction.parameterizePoint G t x)).symm |
| 60 | |
| 61 | end AlgebraicGeometry.HodgeConjecture.HeckeCycles.ParameterPointTo.CM.Naturality |
| 62 | |
| 63 | namespace AlgebraicGeometry.HodgeConjecture.HeckeCycles.ParameterPointTo.CM.Roundtrip |
| 64 | |
| 65 | /-! Returning an actual point over the parameter to its original test |
| 66 | scheme recovers the point through the canonical identity-on-schemes |
| 67 | comparison. -/ |
| 68 | |
| 69 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 70 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 71 | open OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.Parameter.TestComparison.Construction OAI.AlgebraicGeometry.AbelianScheme.TateComparison.RelativePointSubgroups |
| 72 | |
| 73 | local instance parameterRoundtripMonoidal {X Y : Scheme} (f : X ⟶ Y) : (Over.pullback f).Monoidal := |
| 74 | Over.instBraidedPullback.toMonoidal |
| 75 | |
| 76 | variable {S : Scheme} (G : Grp (Over S)) (P : Over S) (U : Over P.left) |
| 77 | |
| 78 | def returnTestIso : AbelianScheme.IsogenyQuotient.Parameter.TestComparison.Construction.parameterTest (AbelianScheme.IsogenyQuotient.Relative.ParameterBaseChange.Construction.parameterBasePoint P U) ≅ U := |
| 79 | Over.isoMk (Iso.refl U.left) (by exact Category.id_comp U.hom) |
| 80 | |
| 81 | theorem parameterize_roundtrip (x : U ⟶ ((Over.pullback P.hom).mapGrp.obj G).X) : |
| 82 | AbelianScheme.IsogenyQuotient.Parameter.TestComparison.Construction.parameterizePoint G (AbelianScheme.IsogenyQuotient.Relative.ParameterBaseChange.Construction.parameterBasePoint P U) ((AbelianScheme.CartierDuality.CharacterBaseChange.Construction.Schemes.pullbackPointMulEquiv P.hom G U).symm x) = |
| 83 | (returnTestIso P U).hom ≫ x := by |
| 84 | apply (AbelianScheme.CartierDuality.CharacterBaseChange.Construction.Schemes.pullbackPointMulEquiv P.hom G (AbelianScheme.IsogenyQuotient.Parameter.TestComparison.Construction.parameterTest (AbelianScheme.IsogenyQuotient.Relative.ParameterBaseChange.Construction.parameterBasePoint P U))).symm.injective |
| 85 | calc |
| 86 | _ = (AbelianScheme.IsogenyQuotient.Parameter.TestComparison.Construction.parameterTestIso (AbelianScheme.IsogenyQuotient.Relative.ParameterBaseChange.Construction.parameterBasePoint P U)).hom ≫ |
| 87 | (AbelianScheme.CartierDuality.CharacterBaseChange.Construction.Schemes.pullbackPointMulEquiv P.hom G U).symm x := |
| 88 | (AbelianScheme.CartierDuality.CharacterBaseChange.Construction.Schemes.pullbackPointMulEquiv P.hom G (AbelianScheme.IsogenyQuotient.Parameter.TestComparison.Construction.parameterTest (AbelianScheme.IsogenyQuotient.Relative.ParameterBaseChange.Construction.parameterBasePoint P U))).symm_apply_apply _ |
| 89 | _ = (Over.map P.hom).map (returnTestIso P U).hom ≫ |
| 90 | (AbelianScheme.CartierDuality.CharacterBaseChange.Construction.Schemes.pullbackPointMulEquiv P.hom G U).symm x := by |
| 91 | apply Over.OverMorphism.ext |
| 92 | rfl |
| 93 | _ = _ := (AbelianScheme.IsogenyQuotient.Relative.ParameterBaseChange.Construction.pullbackPointMulEquiv_symm_natural P.hom G (returnTestIso P U).hom x).symm |
| 94 | |
| 95 | end AlgebraicGeometry.HodgeConjecture.HeckeCycles.ParameterPointTo.CM.Roundtrip |
| 96 | |
| 97 | namespace AlgebraicGeometry.HodgeConjecture.HeckeCycles.ParameterPointTo.CM.RelativeSubgroup |
| 98 | |
| 99 | /-! Relative subgroup families over a parameter are equivalent to |
| 100 | subgroups of the actual base-changed group over that parameter. Both |
| 101 | directions use the original membership predicates on all test schemes. -/ |
| 102 | |
| 103 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 104 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 105 | open OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.Parameter.TestComparison.Construction OAI.AlgebraicGeometry.AbelianScheme.TateComparison.RelativePointSubgroups |
| 106 | open OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.ParameterPointTo.CM.Naturality OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.ParameterPointTo.CM.Roundtrip |
| 107 | |
| 108 | local instance relativeParameterPullbackMonoidal {X Y : Scheme} (f : X ⟶ Y) : |
| 109 | (Over.pullback f).Monoidal := Over.instBraidedPullback.toMonoidal |
| 110 | |
| 111 | variable {S : Scheme} (G : Grp (Over S)) (P : Over S) |
| 112 | |
| 113 | local instance : GrpObj G.X := G.grp |
| 114 | local instance : GrpObj ((Over.pullback P.hom).obj G.X) := |
| 115 | ((Over.pullback P.hom).mapGrp.obj G).grp |
| 116 | |
| 117 | def fromParameter |
| 118 | (H : AbelianScheme.TorsionQuotient.SubgroupFunctor.RelativeSubgroup ((Over.pullback P.hom).mapGrp.obj G).X (Over.mk (𝟙 P.left))) : |
| 119 | AbelianScheme.TorsionQuotient.SubgroupFunctor.RelativeSubgroup G.X P where |
| 120 | points T t := (H.points (AbelianScheme.IsogenyQuotient.Parameter.TestComparison.Construction.parameterTest t) (AbelianScheme.TateComparison.RelativePointSubgroups.testToBase (AbelianScheme.IsogenyQuotient.Parameter.TestComparison.Construction.parameterTest t))).comap (Naturality.parameterizeMul G t) |
| 121 | naturality := by |
| 122 | intro T U f t x hx |
| 123 | have hh := H.naturality (Naturality.parameterTestMap f t) (AbelianScheme.TateComparison.RelativePointSubgroups.testToBase (AbelianScheme.IsogenyQuotient.Parameter.TestComparison.Construction.parameterTest t)) |
| 124 | (show AbelianScheme.IsogenyQuotient.Parameter.TestComparison.Construction.parameterizePoint G t x ∈ H.points (AbelianScheme.IsogenyQuotient.Parameter.TestComparison.Construction.parameterTest t) (AbelianScheme.TateComparison.RelativePointSubgroups.testToBase (AbelianScheme.IsogenyQuotient.Parameter.TestComparison.Construction.parameterTest t)) from hx) |
| 125 | have ht : Naturality.parameterTestMap f t ≫ AbelianScheme.TateComparison.RelativePointSubgroups.testToBase (AbelianScheme.IsogenyQuotient.Parameter.TestComparison.Construction.parameterTest t) = AbelianScheme.TateComparison.RelativePointSubgroups.testToBase (AbelianScheme.IsogenyQuotient.Parameter.TestComparison.Construction.parameterTest (f ≫ t)) := |
| 126 | AbelianScheme.TateComparison.RelativePointSubgroups.testToBase_unique _ _ |
| 127 | rw [ht] at hh |
| 128 | change AbelianScheme.IsogenyQuotient.Parameter.TestComparison.Construction.parameterizePoint G (f ≫ t) (f ≫ x) ∈ |
| 129 | H.points (AbelianScheme.IsogenyQuotient.Parameter.TestComparison.Construction.parameterTest (f ≫ t)) (AbelianScheme.TateComparison.RelativePointSubgroups.testToBase (AbelianScheme.IsogenyQuotient.Parameter.TestComparison.Construction.parameterTest (f ≫ t))) |
| 130 | exact (Naturality.parameterize_natural G f t x).symm ▸ hh |
| 131 | |
| 132 | theorem from_to (F : AbelianScheme.TorsionQuotient.SubgroupFunctor.RelativeSubgroup G.X P) : |
| 133 | fromParameter G P (AbelianScheme.IsogenyQuotient.Relative.ParameterBaseChange.Construction.relativeSubgroupOverParameter G P F) = F := by |
| 134 | ext T t x |
| 135 | exact AbelianScheme.IsogenyQuotient.Parameter.TestComparison.Construction.parameterizePoint_membership G F t x (AbelianScheme.TateComparison.RelativePointSubgroups.testToBase (AbelianScheme.IsogenyQuotient.Parameter.TestComparison.Construction.parameterTest t)) |
| 136 | |
| 137 | theorem to_from |
| 138 | (H : AbelianScheme.TorsionQuotient.SubgroupFunctor.RelativeSubgroup ((Over.pullback P.hom).mapGrp.obj G).X (Over.mk (𝟙 P.left))) : |
| 139 | AbelianScheme.IsogenyQuotient.Relative.ParameterBaseChange.Construction.relativeSubgroupOverParameter G P (fromParameter G P H) = H := by |
| 140 | ext U t x |
| 141 | change AbelianScheme.IsogenyQuotient.Parameter.TestComparison.Construction.parameterizePoint G (AbelianScheme.IsogenyQuotient.Relative.ParameterBaseChange.Construction.parameterBasePoint P U) ((AbelianScheme.CartierDuality.CharacterBaseChange.Construction.Schemes.pullbackPointMulEquiv P.hom G U).symm x) ∈ |
| 142 | H.points (AbelianScheme.IsogenyQuotient.Parameter.TestComparison.Construction.parameterTest (AbelianScheme.IsogenyQuotient.Relative.ParameterBaseChange.Construction.parameterBasePoint P U)) (AbelianScheme.TateComparison.RelativePointSubgroups.testToBase _) ↔ x ∈ H.points U t |
| 143 | rw [Roundtrip.parameterize_roundtrip] |
| 144 | have ht : (Roundtrip.returnTestIso P U).hom ≫ t = AbelianScheme.TateComparison.RelativePointSubgroups.testToBase (AbelianScheme.IsogenyQuotient.Parameter.TestComparison.Construction.parameterTest (AbelianScheme.IsogenyQuotient.Relative.ParameterBaseChange.Construction.parameterBasePoint P U)) := |
| 145 | AbelianScheme.TateComparison.RelativePointSubgroups.testToBase_unique _ _ |
| 146 | rw [← ht] |
| 147 | exact AbelianScheme.IsogenyQuotient.Parameter.TestComparison.Construction.relativeSubgroup_membership_iso H (Roundtrip.returnTestIso P U) t x |
| 148 | |
| 149 | def subgroupEquiv : AbelianScheme.TorsionQuotient.SubgroupFunctor.RelativeSubgroup G.X P ≃ |
| 150 | AbelianScheme.TorsionQuotient.SubgroupFunctor.RelativeSubgroup ((Over.pullback P.hom).mapGrp.obj G).X (Over.mk (𝟙 P.left)) where |
| 151 | toFun := AbelianScheme.IsogenyQuotient.Relative.ParameterBaseChange.Construction.relativeSubgroupOverParameter G P |
| 152 | invFun := fromParameter G P |
| 153 | left_inv := from_to G P |
| 154 | right_inv := to_from G P |
| 155 | |
| 156 | end AlgebraicGeometry.HodgeConjecture.HeckeCycles.ParameterPointTo.CM.RelativeSubgroup |
| 157 | |
| 158 | end |
| 159 | |
| 160 | end OAI |