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.PEL.Classifying |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.Relative.SubgroupFromParameter |
| 3 | import OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.TotalParameters |
| 4 | |
| 5 | /-! # Parameter Pullback Comparison -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.PEL.ParameterPullbackComparison |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Canonical PEL pullback comparisons over a subgroup parameter |
| 12 | retain the projection to the original abelian family and the full |
| 13 | relative subgroup membership on each test scheme. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 16 | |
| 17 | set_option backward.isDefEq.respectTransparency false |
| 18 | set_option backward.isDefEq.respectTransparency.types false |
| 19 | |
| 20 | open OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.TotalParameters.Construction |
| 21 | |
| 22 | variable {E K : Type} [Field E] [NumberField E] [Algebra ℚ E] |
| 23 | [NumberField.IsCMField E] [Field K] |
| 24 | {s N : ℕ} {P : Datum.RankThreePELDatum E s} {iota : E →+* K} |
| 25 | {T U : Over (Spec (.of K))} |
| 26 | |
| 27 | private theorem reassoc_square {C : Type*} [Category C] {W X Y Z : C} |
| 28 | (a : W ⟶ X) (b : X ⟶ Y) (c : Y ⟶ Z) (d : X ⟶ Z) (e : W ⟶ Z) |
| 29 | (hb : b ≫ c = d) (ha : a ≫ d = e) : (a ≫ b) ≫ c = e := |
| 30 | (Category.assoc a b c).trans ((congrArg (fun f => a ≫ f) hb).trans ha) |
| 31 | |
| 32 | private theorem precomp_square {C : Type*} [Category C] {W X Y Z : C} |
| 33 | (a : W ⟶ X) (b : X ⟶ Y) (c : Y ⟶ Z) (d : X ⟶ Z) |
| 34 | (h : b ≫ c = d) : (𝟙 W) ≫ ((a ≫ b) ≫ c) = a ≫ d := |
| 35 | (Category.id_comp _).trans ((Category.assoc a b c).trans (congrArg (fun f => a ≫ f) h)) |
| 36 | |
| 37 | def _root_.OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.PEL.Objects.PELIso.pullbackCongr (A : Objects.PELObject P iota N T) {f g : U ⟶ T} (h : f = g) : |
| 38 | Objects.PELIso (A.pullback f) (A.pullback g) := by |
| 39 | cases h |
| 40 | exact Objects.PELIso.refl _ |
| 41 | |
| 42 | theorem _root_.OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.PEL.Objects.PELIso.pullbackCongr_hom_fst (A : Objects.PELObject P iota N T) |
| 43 | {f g : U ⟶ T} (h : f = g) : |
| 44 | (Objects.PELIso.pullbackCongr A h).polarized.abelian.hom.left ≫ |
| 45 | pullback.fst A.polarized.abelian.scheme.hom g.left = |
| 46 | pullback.fst A.polarized.abelian.scheme.hom f.left := by |
| 47 | cases h |
| 48 | exact Category.id_comp _ |
| 49 | |
| 50 | def parameterTotalMap {R Q : Over T.left} (k : Q ⟶ R) : |
| 51 | AbelianScheme.IsogenyQuotient.TotalParameters.Construction.totalParameter T Q ⟶ AbelianScheme.IsogenyQuotient.TotalParameters.Construction.totalParameter T R := Over.homMk k.left (by |
| 52 | change k.left ≫ (R.hom ≫ T.hom) = Q.hom ≫ T.hom |
| 53 | rw [← Category.assoc, k.w]) |
| 54 | |
| 55 | theorem parameterTotalMap_source {R Q : Over T.left} (k : Q ⟶ R) : |
| 56 | parameterTotalMap (T := T) k ≫ AbelianScheme.IsogenyQuotient.TotalParameters.Construction.totalParameterSource T R = AbelianScheme.IsogenyQuotient.TotalParameters.Construction.totalParameterSource T Q := |
| 57 | Over.OverMorphism.ext k.w |
| 58 | |
| 59 | def pelParameterPullbackIso (A : Objects.PELObject P iota N T) {R Q : Over T.left} (k : Q ⟶ R) : |
| 60 | Objects.PELIso ((A.pullback (AbelianScheme.IsogenyQuotient.TotalParameters.Construction.totalParameterSource T R)).pullback (parameterTotalMap k)) |
| 61 | (A.pullback (AbelianScheme.IsogenyQuotient.TotalParameters.Construction.totalParameterSource T Q)) := |
| 62 | (Objects.PELIso.pullbackComp A (AbelianScheme.IsogenyQuotient.TotalParameters.Construction.totalParameterSource T R) (parameterTotalMap k)).symm.trans |
| 63 | (Objects.PELIso.pullbackCongr A (parameterTotalMap_source k)) |
| 64 | |
| 65 | theorem pelParameterPullbackIso_hom_fst |
| 66 | (A : Objects.PELObject P iota N T) {R Q : Over T.left} (k : Q ⟶ R) : |
| 67 | (pelParameterPullbackIso A k).polarized.abelian.hom.left ≫ |
| 68 | pullback.fst A.polarized.abelian.scheme.hom Q.hom = |
| 69 | pullback.fst (A.polarized.abelian.pullback R.hom).scheme.hom k.left ≫ |
| 70 | pullback.fst A.polarized.abelian.scheme.hom R.hom := by |
| 71 | change ((A.polarized.abelian.pullbackCompIso R.hom k.left).inv.left ≫ |
| 72 | (Objects.PELIso.pullbackCongr A (parameterTotalMap_source k)).polarized.abelian.hom.left) ≫ |
| 73 | pullback.fst A.polarized.abelian.scheme.hom Q.hom = _ |
| 74 | exact reassoc_square _ _ _ _ _ |
| 75 | (Objects.PELIso.pullbackCongr_hom_fst A (parameterTotalMap_source k)) |
| 76 | (HilbertConstruction.Abelian.Schemes.AbelianScheme.pullbackCompIso_inv_left_fst A.polarized.abelian R.hom k.left) |
| 77 | |
| 78 | def parameterOriginalTestIso {S : Scheme.{0}} {R Q : Over S} (k : Q ⟶ R) (X : Over Q.left) : |
| 79 | (Over.map R.hom).obj ((Over.map k.left).obj X) ≅ (Over.map Q.hom).obj X := |
| 80 | Over.isoMk (Iso.refl X.left) (by |
| 81 | change (𝟙 X.left) ≫ (X.hom ≫ Q.hom) = (X.hom ≫ k.left) ≫ R.hom |
| 82 | rw [Category.id_comp, Category.assoc, k.w]) |
| 83 | |
| 84 | theorem pelParameterPullbackIso_original_point |
| 85 | (A : Objects.PELObject P iota N T) {R Q : Over T.left} (k : Q ⟶ R) |
| 86 | (X : Over Q.left) |
| 87 | (x : X ⟶ ((A.polarized.abelian.pullback R.hom).pullback k.left).scheme) : |
| 88 | (parameterOriginalTestIso k X).hom ≫ |
| 89 | A.polarized.abelian.baseChangePointsMulEquiv Q.hom X |
| 90 | (x ≫ (pelParameterPullbackIso A k).polarized.abelian.hom) = |
| 91 | A.polarized.abelian.baseChangePointsMulEquiv R.hom ((Over.map k.left).obj X) |
| 92 | ((A.polarized.abelian.pullback R.hom).baseChangePointsMulEquiv k.left X x) := by |
| 93 | apply Over.OverMorphism.ext |
| 94 | change (𝟙 X.left) ≫ |
| 95 | ((x.left ≫ (pelParameterPullbackIso A k).polarized.abelian.hom.left) ≫ |
| 96 | pullback.fst A.polarized.abelian.scheme.hom Q.hom) = |
| 97 | (x.left ≫ pullback.fst (A.polarized.abelian.pullback R.hom).scheme.hom k.left) ≫ |
| 98 | pullback.fst A.polarized.abelian.scheme.hom R.hom |
| 99 | exact (precomp_square _ _ _ _ (pelParameterPullbackIso_hom_fst A k)).trans |
| 100 | (Category.assoc _ _ _).symm |
| 101 | |
| 102 | theorem pelParameterPullbackIso_subgroup_membership |
| 103 | (A : Objects.PELObject P iota N T) {R Q : Over T.left} (k : Q ⟶ R) |
| 104 | (F : AbelianScheme.TorsionQuotient.SubgroupFunctor.RelativeSubgroup A.polarized.abelian.scheme R) |
| 105 | (X : Over Q.left) |
| 106 | (x : X ⟶ ((A.polarized.abelian.pullback R.hom).pullback k.left).scheme) : |
| 107 | A.polarized.abelian.baseChangePointsMulEquiv R.hom ((Over.map k.left).obj X) |
| 108 | ((A.polarized.abelian.pullback R.hom).baseChangePointsMulEquiv k.left X x) ∈ |
| 109 | F.points ((Over.map R.hom).obj ((Over.map k.left).obj X)) |
| 110 | (AbelianScheme.IsogenyQuotient.Relative.ParameterBaseChange.Construction.parameterBasePoint R ((Over.map k.left).obj X)) ↔ |
| 111 | A.polarized.abelian.baseChangePointsMulEquiv Q.hom X |
| 112 | (x ≫ (pelParameterPullbackIso A k).polarized.abelian.hom) ∈ |
| 113 | (F.baseChange k).points ((Over.map Q.hom).obj X) (AbelianScheme.IsogenyQuotient.Relative.ParameterBaseChange.Construction.parameterBasePoint Q X) := by |
| 114 | have ht : (parameterOriginalTestIso k X).hom ≫ (AbelianScheme.IsogenyQuotient.Relative.ParameterBaseChange.Construction.parameterBasePoint Q X ≫ k) = |
| 115 | AbelianScheme.IsogenyQuotient.Relative.ParameterBaseChange.Construction.parameterBasePoint R ((Over.map k.left).obj X) := by |
| 116 | apply Over.OverMorphism.ext |
| 117 | exact Category.id_comp _ |
| 118 | rw [← pelParameterPullbackIso_original_point, ← ht] |
| 119 | exact Relative.SubgroupFromParameter.relativeSubgroup_membership_iso F (parameterOriginalTestIso k X) |
| 120 | (AbelianScheme.IsogenyQuotient.Relative.ParameterBaseChange.Construction.parameterBasePoint Q X ≫ k) _ |
| 121 | |
| 122 | end |
| 123 | |
| 124 | end OAI.AlgebraicGeometry.AbelianModuli.ReferenceFamily.PEL.ParameterPullbackComparison |