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.Arithmetic.IsogenyQuotient |
| 2 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.Group.KernelBaseChange |
| 3 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.Group.BaseChangeComparisons |
| 4 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.QuotientUniqueness |
| 5 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.KernelComparison |
| 6 | |
| 7 | /-! # Isogeny Quotient Comparison -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! Identify the constructed arithmetic quotient with the original complex |
| 14 | isogeny target. The full kernel comparison and fpqc quotient uniqueness |
| 15 | construct the actual group-scheme isomorphism and identify the exact map. -/ |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 18 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 19 | |
| 20 | open OAI.AlgebraicGeometry.Picard.PoincareBundle.Kernel.Scheme |
| 21 | |
| 22 | attribute [local instance] Picard.PoincareBundle.Kernel.Scheme.kernelGroup |
| 23 | |
| 24 | variable {K : Type} [Field K] [NumberField K] {κ : K →+* ℂ} |
| 25 | {A : Over (Spec (.of K))} [GrpObj A] |
| 26 | {C : Over (Spec (.of ℂ))} [GrpObj C] |
| 27 | {f : (Over.pullback (Spec.map (CommRingCat.ofHom κ))).obj A ⟶ C} [IsMonHom f] |
| 28 | |
| 29 | section |
| 30 | |
| 31 | variable (D : Arithmetic.IsogenyQuotient.ArithmeticIsogenyQuotient κ A f) |
| 32 | |
| 33 | def Arithmetic.IsogenyQuotient.ArithmeticIsogenyQuotient.complexTarget : Over (Spec (.of ℂ)) := |
| 34 | (Over.pullback (Spec.map (CommRingCat.ofHom D.baseExtension.embedding))).obj D.target.toOver |
| 35 | |
| 36 | instance Arithmetic.IsogenyQuotient.ArithmeticIsogenyQuotient.complexTarget_group : GrpObj D.complexTarget := |
| 37 | inferInstanceAs (GrpObj ((Over.pullback |
| 38 | (Spec.map (CommRingCat.ofHom D.baseExtension.embedding))).obj D.target.toOver)) |
| 39 | |
| 40 | def Arithmetic.IsogenyQuotient.ArithmeticIsogenyQuotient.complexBaseChangedQuotient : |
| 41 | (Over.pullback (Spec.map (CommRingCat.ofHom D.baseExtension.embedding))).obj |
| 42 | ((Over.pullback D.baseExtension.fieldExtension).obj A) ⟶ D.complexTarget := |
| 43 | (Over.pullback (Spec.map (CommRingCat.ofHom D.baseExtension.embedding))).map D.quotient |
| 44 | |
| 45 | instance Arithmetic.IsogenyQuotient.ArithmeticIsogenyQuotient.complexBaseChangedQuotient_isMonHom : IsMonHom D.complexBaseChangedQuotient := |
| 46 | Functor.map.instIsMonHom |
| 47 | (F := Over.pullback (Spec.map (CommRingCat.ofHom D.baseExtension.embedding))) |
| 48 | (f := D.quotient) ((Over.pullback D.baseExtension.fieldExtension).obj A) D.target.toOver |
| 49 | |
| 50 | def Arithmetic.IsogenyQuotient.ArithmeticIsogenyQuotient.complexSourceMap : (Over.pullback (Spec.map (CommRingCat.ofHom κ))).obj A ⟶ |
| 51 | (Over.pullback (Spec.map (CommRingCat.ofHom D.baseExtension.embedding))).obj |
| 52 | ((Over.pullback D.baseExtension.fieldExtension).obj A) := |
| 53 | (Group.BaseChangeComparisons.GroupBaseChange.arithmeticComplexIso D.baseExtension A).inv |
| 54 | |
| 55 | instance Arithmetic.IsogenyQuotient.ArithmeticIsogenyQuotient.complexSourceMap_isMonHom : IsMonHom D.complexSourceMap := by |
| 56 | unfold Arithmetic.IsogenyQuotient.ArithmeticIsogenyQuotient.complexSourceMap |
| 57 | infer_instance |
| 58 | |
| 59 | def Arithmetic.IsogenyQuotient.ArithmeticIsogenyQuotient.complexSourceHom : |
| 60 | (Over.pullback (Spec.map (CommRingCat.ofHom D.baseExtension.embedding))).obj |
| 61 | ((Over.pullback D.baseExtension.fieldExtension).obj A) ⟶ |
| 62 | (Over.pullback (Spec.map (CommRingCat.ofHom κ))).obj A := |
| 63 | (Group.BaseChangeComparisons.GroupBaseChange.arithmeticComplexIso D.baseExtension A).hom |
| 64 | |
| 65 | theorem Arithmetic.IsogenyQuotient.ArithmeticIsogenyQuotient.complexSourceHom_sourceMap : D.complexSourceHom ≫ D.complexSourceMap = 𝟙 _ := |
| 66 | Group.BaseChangeComparisons.GroupBaseChange.arithmeticComplexIso_hom_inv_id D.baseExtension A |
| 67 | |
| 68 | theorem Arithmetic.IsogenyQuotient.ArithmeticIsogenyQuotient.complexSourceMap_sourceHom : D.complexSourceMap ≫ D.complexSourceHom = 𝟙 _ := |
| 69 | Group.BaseChangeComparisons.GroupBaseChange.arithmeticComplexIso_inv_hom_id D.baseExtension A |
| 70 | |
| 71 | def Arithmetic.IsogenyQuotient.ArithmeticIsogenyQuotient.complexSourceIso : |
| 72 | (Over.pullback (Spec.map (CommRingCat.ofHom D.baseExtension.embedding))).obj |
| 73 | ((Over.pullback D.baseExtension.fieldExtension).obj A) ≅ |
| 74 | (Over.pullback (Spec.map (CommRingCat.ofHom κ))).obj A := |
| 75 | ⟨D.complexSourceHom, D.complexSourceMap, D.complexSourceHom_sourceMap, D.complexSourceMap_sourceHom⟩ |
| 76 | |
| 77 | def Arithmetic.IsogenyQuotient.ArithmeticIsogenyQuotient.complexQuotient : (Over.pullback (Spec.map (CommRingCat.ofHom κ))).obj A ⟶ D.complexTarget := |
| 78 | D.complexSourceMap ≫ |
| 79 | D.complexBaseChangedQuotient |
| 80 | |
| 81 | instance Arithmetic.IsogenyQuotient.ArithmeticIsogenyQuotient.complexQuotient_isMonHom : IsMonHom D.complexQuotient := by |
| 82 | unfold Arithmetic.IsogenyQuotient.ArithmeticIsogenyQuotient.complexQuotient |
| 83 | infer_instance |
| 84 | |
| 85 | theorem Arithmetic.IsogenyQuotient.ArithmeticIsogenyQuotient.complexQuotient_eq : D.complexQuotient = |
| 86 | D.complexSourceMap ≫ |
| 87 | D.complexBaseChangedQuotient := rfl |
| 88 | |
| 89 | theorem Arithmetic.IsogenyQuotient.ArithmeticIsogenyQuotient.complexKernelMap : D.complexKernelIso.hom ≫ |
| 90 | (Over.pullback (Spec.map (CommRingCat.ofHom D.baseExtension.embedding))).map D.inclusion ≫ |
| 91 | D.complexSourceIso.hom = Picard.PoincareBundle.Kernel.Scheme.kernelInclusion f := by |
| 92 | let ψ := Spec.map (CommRingCat.ofHom D.baseExtension.embedding) |
| 93 | let σ := D.complexSourceIso |
| 94 | let m := (Over.pullback ψ).map D.inclusion |
| 95 | apply Over.OverMorphism.ext |
| 96 | apply pullback.hom_ext |
| 97 | · change ((D.complexKernelIso.hom.left ≫ m.left ≫ σ.hom.left) ≫ |
| 98 | pullback.fst A.hom (Spec.map (CommRingCat.ofHom κ))) = _ |
| 99 | calc |
| 100 | _ = D.complexKernelIso.hom.left ≫ m.left ≫ |
| 101 | pullback.fst (pullback.snd A.hom D.baseExtension.fieldExtension) ψ ≫ |
| 102 | pullback.fst A.hom D.baseExtension.fieldExtension := by |
| 103 | exact (Category.assoc _ _ _).trans |
| 104 | (congrArg (fun a => D.complexKernelIso.hom.left ≫ a) |
| 105 | ((Category.assoc _ _ _).trans (congrArg (fun a => m.left ≫ a) |
| 106 | (Group.BaseChangeComparisons.GroupBaseChange.arithmeticComplexIso_fst D.baseExtension A)))) |
| 107 | _ = D.complexKernelIso.hom.left ≫ pullback.fst D.subgroup.hom ψ ≫ |
| 108 | D.inclusion.left ≫ pullback.fst A.hom D.baseExtension.fieldExtension := by |
| 109 | exact congrArg (fun a => D.complexKernelIso.hom.left ≫ a) |
| 110 | ((Category.assoc _ _ _).symm.trans |
| 111 | ((congrArg (fun a => a ≫ pullback.fst A.hom D.baseExtension.fieldExtension) |
| 112 | (AbelianModuli.HilbertConstruction.Pullback.Comparisons.overPullback_map_left_fst D.inclusion ψ)).trans (Category.assoc _ _ _))) |
| 113 | _ = _ := D.kernelComparison |
| 114 | · exact (D.complexKernelIso.hom ≫ m ≫ σ.hom).w.trans (Picard.PoincareBundle.Kernel.Scheme.kernelInclusion f).w.symm |
| 115 | |
| 116 | theorem Arithmetic.IsogenyQuotient.ArithmeticIsogenyQuotient.baseChangedQuotient_kernel (T : Over (Spec (.of ℂ))) |
| 117 | (x : T ⟶ (Over.pullback (Spec.map (CommRingCat.ofHom D.baseExtension.embedding))).obj |
| 118 | ((Over.pullback D.baseExtension.fieldExtension).obj A)) : |
| 119 | x ≫ D.complexBaseChangedQuotient = 1 ↔ |
| 120 | ∃ r : T ⟶ (Over.pullback (Spec.map (CommRingCat.ofHom D.baseExtension.embedding))).obj D.subgroup, |
| 121 | r ≫ (Over.pullback (Spec.map (CommRingCat.ofHom D.baseExtension.embedding))).map D.inclusion = x := |
| 122 | Group.KernelBaseChange.GroupPoints.kernel_baseChange (Spec.map (CommRingCat.ofHom D.baseExtension.embedding)) |
| 123 | D.quotient D.inclusion D.kernel T x |
| 124 | |
| 125 | theorem Arithmetic.IsogenyQuotient.ArithmeticIsogenyQuotient.complexQuotient_kernel_presentation (T : Over (Spec (.of ℂ))) |
| 126 | (x : T ⟶ (Over.pullback (Spec.map (CommRingCat.ofHom κ))).obj A) : |
| 127 | x ≫ D.complexQuotient = 1 ↔ |
| 128 | ∃ r : T ⟶ (Over.pullback (Spec.map (CommRingCat.ofHom D.baseExtension.embedding))).obj D.subgroup, |
| 129 | r ≫ (Over.pullback (Spec.map (CommRingCat.ofHom D.baseExtension.embedding))).map D.inclusion = |
| 130 | x ≫ D.complexSourceMap := by |
| 131 | rw [D.complexQuotient_eq, ← Category.assoc] |
| 132 | exact D.baseChangedQuotient_kernel T _ |
| 133 | |
| 134 | theorem Arithmetic.IsogenyQuotient.ArithmeticIsogenyQuotient.complexQuotient_kernel_image (T : Over (Spec (.of ℂ))) |
| 135 | (x : T ⟶ (Over.pullback (Spec.map (CommRingCat.ofHom κ))).obj A) : |
| 136 | x ≫ D.complexQuotient = 1 ↔ |
| 137 | ∃ z : T ⟶ Picard.PoincareBundle.Kernel.Scheme.kernelObject f, z ≫ Picard.PoincareBundle.Kernel.Scheme.kernelInclusion f = x := by |
| 138 | let σ := D.complexSourceIso |
| 139 | let γ := D.complexKernelIso |
| 140 | let j := (Over.pullback (Spec.map (CommRingCat.ofHom D.baseExtension.embedding))).map D.inclusion |
| 141 | rw [D.complexQuotient_kernel_presentation] |
| 142 | constructor |
| 143 | · rintro ⟨r, hr⟩ |
| 144 | refine ⟨r ≫ γ.inv, ?_⟩ |
| 145 | have hγ : γ.hom ≫ j ≫ σ.hom = Picard.PoincareBundle.Kernel.Scheme.kernelInclusion f := D.complexKernelMap |
| 146 | rw [← hγ, Category.assoc, γ.inv_hom_id_assoc, ← Category.assoc, hr] |
| 147 | exact (Category.assoc _ _ _).trans |
| 148 | ((congrArg (fun a => x ≫ a) σ.inv_hom_id).trans (Category.comp_id x)) |
| 149 | · rintro ⟨z, hz⟩ |
| 150 | refine ⟨z ≫ γ.hom, ?_⟩ |
| 151 | apply (cancel_mono σ.hom).mp |
| 152 | calc |
| 153 | _ = z ≫ Picard.PoincareBundle.Kernel.Scheme.kernelInclusion f := |
| 154 | (Category.assoc _ _ _).trans |
| 155 | ((Category.assoc _ _ _).trans (congrArg (fun a => z ≫ a) D.complexKernelMap)) |
| 156 | _ = x := hz |
| 157 | _ = (x ≫ σ.inv) ≫ σ.hom := by simp only [Category.assoc, σ.inv_hom_id, Category.comp_id] |
| 158 | |
| 159 | theorem Arithmetic.IsogenyQuotient.ArithmeticIsogenyQuotient.complexQuotient_kernel (T : Over (Spec (.of ℂ))) |
| 160 | (x : T ⟶ (Over.pullback (Spec.map (CommRingCat.ofHom κ))).obj A) : |
| 161 | x ≫ D.complexQuotient = 1 ↔ x ≫ f = 1 := |
| 162 | (D.complexQuotient_kernel_image T x).trans (KernelComparison.kernel_inclusion_classifies f T x).symm |
| 163 | |
| 164 | theorem Arithmetic.IsogenyQuotient.ArithmeticIsogenyQuotient.complex_target_iso [IsFinite f.left] [Etale f.left] [Surjective f.left] : |
| 165 | ∃ e : D.complexTarget ≅ C, IsMonHom e.hom ∧ D.complexQuotient ≫ e.hom = f := by |
| 166 | let ψ := Spec.map (CommRingCat.ofHom D.baseExtension.embedding) |
| 167 | let σ := D.complexSourceIso |
| 168 | let p := (Over.pullback ψ).map D.quotient |
| 169 | have : IsIso σ.inv.left := inferInstanceAs |
| 170 | (IsIso (((Over.forget (Spec (.of ℂ))).mapIso σ).inv)) |
| 171 | have : IsFinite p.left := MorphismProperty.of_isPullback |
| 172 | (ArithmeticGeometry.Models.FoundationsPullback.Constructions.pullback_over_map_isPullback ψ D.quotient).flip D.finite |
| 173 | have : Flat p.left := MorphismProperty.of_isPullback |
| 174 | (ArithmeticGeometry.Models.FoundationsPullback.Constructions.pullback_over_map_isPullback ψ D.quotient).flip D.flat |
| 175 | have : Surjective p.left := MorphismProperty.of_isPullback |
| 176 | (ArithmeticGeometry.Models.FoundationsPullback.Constructions.pullback_over_map_isPullback ψ D.quotient).flip D.surjective |
| 177 | have : IsFinite D.complexQuotient.left := inferInstanceAs (IsFinite (σ.inv.left ≫ p.left)) |
| 178 | have : Flat D.complexQuotient.left := inferInstanceAs (Flat (σ.inv.left ≫ p.left)) |
| 179 | have : Surjective D.complexQuotient.left := inferInstanceAs (Surjective (σ.inv.left ≫ p.left)) |
| 180 | exact QuotientUniqueness.quotient_group_iso_of_same_kernel D.complexQuotient f D.complexQuotient_kernel |
| 181 | |
| 182 | end |
| 183 | |
| 184 | variable [IsCommMonObj A] [Smooth A.hom] [IsProper A.hom] [GeometricallyConnected A.hom] |
| 185 | [IsFinite f.left] [Etale f.left] [Surjective f.left] |
| 186 | |
| 187 | /-- An isogeny target of an arithmetic abelian variety has an effective |
| 188 | arithmetic group model and an exact comparison of the original isogeny. -/ |
| 189 | theorem IsogenyQuotientComparison.finite_etale_isogeny_target_descends (N : ℕ) (hN : N ≠ 0) : |
| 190 | ∃ D : Arithmetic.IsogenyQuotient.ArithmeticIsogenyQuotient κ A f, D.baseExtension.denominator = N ∧ |
| 191 | ∃ e : D.complexTarget ≅ C, IsMonHom e.hom ∧ D.complexQuotient ≫ e.hom = f := by |
| 192 | obtain ⟨D, hD⟩ := Arithmetic.IsogenyQuotient.arithmetic_isogeny_quotient_exists κ A f N hN |
| 193 | exact ⟨D, hD, D.complex_target_iso⟩ |
| 194 | |
| 195 | end |
| 196 | |
| 197 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel |