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.CMPoints.BlocksProjectors |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.TorsionScheme |
| 3 | |
| 4 | /-! # Finite Group Presentation -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.PELModuli.CMPoints.FiniteGroupPresentation |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Finite commutative group schemes over a field have actual affine |
| 11 | presentations in FiniteEtale's format. This is a presentation theorem, with |
| 12 | finiteness supplied by the geometric torsion theorem when it is available. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | open _root_.CategoryTheory.Limits |
| 16 | open scoped _root_.CategoryTheory.MonObj |
| 17 | |
| 18 | section TorsionPresentation |
| 19 | |
| 20 | variable {S : Scheme} {g : ℕ} (A : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g S) |
| 21 | |
| 22 | def torsionEqualizerRepresentable (m : ℕ) : |
| 23 | (A.torsionFunctor m ⋙ forget GrpCat).RepresentableBy (BlocksProjectors.torsionScheme A m) where |
| 24 | homEquiv := BlocksProjectors.torsionPointsEquiv A m _ |
| 25 | homEquiv_comp f x := Subtype.ext (Category.assoc f x _) |
| 26 | |
| 27 | /-- The equalizer and zero-fiber constructions represent the same torsion functor. -/ |
| 28 | def torsionEqualizerIso (m : ℕ) : BlocksProjectors.torsionScheme A m ≅ A.torsionScheme m := |
| 29 | (torsionEqualizerRepresentable A m).uniqueUpToIso (A.torsionRepresentable m) |
| 30 | |
| 31 | theorem torsionEqualizer_finite (m : ℕ) [IsFinite (A.torsionScheme m).hom] : |
| 32 | IsFinite (BlocksProjectors.torsionScheme A m).hom := by |
| 33 | let e := torsionEqualizerIso A m |
| 34 | have : IsIso e.hom.left := inferInstanceAs |
| 35 | (IsIso (((Over.forget S).mapIso e).hom)) |
| 36 | rw [← e.hom.w] |
| 37 | infer_instance |
| 38 | |
| 39 | theorem idempotentBlock_finite {O : Type} [CommRing O] |
| 40 | (ρ : AbelianModuli.ReferenceFamily.ActionData.IntegralAction O A) (m : ℕ) (e : O) |
| 41 | [IsFinite (A.torsionScheme m).hom] : |
| 42 | IsFinite (BlocksProjectors.idempotentBlockScheme A ρ m e).hom := by |
| 43 | let : IsFinite (BlocksProjectors.torsionScheme A m).hom := torsionEqualizer_finite A m |
| 44 | let i := equalizer.ι (BlocksProjectors.torsionInclusion A m ≫ ρ.map e) (BlocksProjectors.torsionInclusion A m) |
| 45 | have : IsClosedImmersion i.left := isClosedImmersion_equalizer_ι_left _ _ |
| 46 | rw [← i.w] |
| 47 | infer_instance |
| 48 | |
| 49 | end TorsionPresentation |
| 50 | |
| 51 | theorem finite_group_affine_presentation |
| 52 | {k : Type} [Field k] |
| 53 | (G : CommGrp (Over (Spec (.of k)))) [IsFinite G.X.hom] : |
| 54 | ∃ H : GroupSchemes.FiniteEtale.FiniteCommGroupScheme k, |
| 55 | ∃ e : H.scheme ≅ G.X, IsMonHom e.hom := by |
| 56 | let : IsAffine G.X.left := isAffine_of_isAffineHom G.X.hom |
| 57 | obtain ⟨R, ⟨e⟩⟩ := (essImage_algSpec (R := CommRingCat.of k) (G := G.X)).mpr |
| 58 | (inferInstanceAs (IsAffine G.X.left)) |
| 59 | let : GrpObj (GroupSchemes.FiniteEtale.affine k R.unop) := GrpObj.ofIso e.symm |
| 60 | have hinv : IsMonHom e.symm.hom := isMonHom_ofIso e.symm |
| 61 | let : IsMonHom e.inv := hinv |
| 62 | have hhom : IsMonHom e.hom := inferInstanceAs (IsMonHom e.symm.inv) |
| 63 | let : IsMonHom e.hom := hhom |
| 64 | have hcomm : IsCommMonObj (GroupSchemes.FiniteEtale.affine k R.unop) := by |
| 65 | apply (isCommMonObj_iff_isMulCommutative _).mpr |
| 66 | intro T |
| 67 | refine ⟨⟨fun x y => ?_⟩⟩ |
| 68 | apply (cancel_mono e.hom).mp |
| 69 | rw [MonObj.mul_comp, MonObj.mul_comp, mul_comm] |
| 70 | let : IsCommMonObj (GroupSchemes.FiniteEtale.affine k R.unop) := hcomm |
| 71 | have hfinite : IsFinite (GroupSchemes.FiniteEtale.affine k R.unop).hom := by |
| 72 | rw [← e.hom.w] |
| 73 | have : IsIso e.hom.left := inferInstanceAs |
| 74 | (IsIso (((Over.forget (Spec (.of k))).mapIso e).hom)) |
| 75 | infer_instance |
| 76 | have hmodule : Module.Finite k R.unop := by |
| 77 | apply RingHom.finite_algebraMap.mp |
| 78 | exact (IsFinite.SpecMap_iff _).mp hfinite |
| 79 | let H : GroupSchemes.FiniteEtale.FiniteCommGroupScheme k := { |
| 80 | algebra := R.unop |
| 81 | finite := hmodule |
| 82 | group := { toGrpObj := inferInstance, toIsCommMonObj := inferInstance } } |
| 83 | exact ⟨H, e, hhom⟩ |
| 84 | |
| 85 | /-- Each finite character block has a genuine FiniteEtale finite-group presentation. -/ |
| 86 | theorem split_block_affine_presentation |
| 87 | {k E K : Type} [Field k] [Field E] [NumberField E] [Algebra ℚ E] |
| 88 | [Field K] [NumberField K] {κ : K →+* ℂ} {q : ℕ} [Fact q.Prime] |
| 89 | (j : Arithmetic.QadicChoice K κ q) (iota : E →+* K) (hsplit : j.HasSplitCoordinates iota) |
| 90 | {g : ℕ} (A : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g (Spec (.of k))) |
| 91 | (ρ : AbelianModuli.ReferenceFamily.ActionData.IntegralAction (NumberField.RingOfIntegers E) A) |
| 92 | (n : ℕ) (τ : Gal(E/ℚ)) [IsFinite (A.torsionScheme (q ^ n)).hom] : |
| 93 | ∃ H : GroupSchemes.FiniteEtale.FiniteCommGroupScheme k, |
| 94 | ∃ e : H.scheme ≅ (BlocksProjectors.splitBlockGroupScheme j iota hsplit A ρ n τ).X, |
| 95 | IsMonHom e.hom := by |
| 96 | let G := BlocksProjectors.splitBlockGroupScheme j iota hsplit A ρ n τ |
| 97 | have : IsFinite G.X.hom := |
| 98 | idempotentBlock_finite A ρ (q ^ n) (j.projector iota hsplit n τ) |
| 99 | exact finite_group_affine_presentation G |
| 100 | |
| 101 | end |
| 102 | |
| 103 | end OAI.AlgebraicGeometry.PELModuli.CMPoints.FiniteGroupPresentation |