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.Finite.PartitionActions |
| 2 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.Finite.PartitionBaseMaps |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Finite.ConstantScheme |
| 4 | import OAI.ArithmeticGeometry.Models.SpreadingOut.ProperCoproducts |
| 5 | |
| 6 | /-! # Parameter Sum -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.Finite.ParameterSum |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! Finite disjoint sums of actual action parameter schemes retain |
| 13 | their reducedness, finite type, quasi-compactness, and separatedness. -/ |
| 14 | |
| 15 | set_option backward.isDefEq.respectTransparency false |
| 16 | set_option backward.isDefEq.respectTransparency.types false |
| 17 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 18 | |
| 19 | namespace FiniteBasePartition |
| 20 | variable {S : Scheme.{0}} {I : Type} (Z : I → Over S) |
| 21 | |
| 22 | def sumParameter : Over S := Over.mk (Sigma.desc (fun i => (Z i).hom)) |
| 23 | |
| 24 | def sumParameterInclusion (i : I) : Z i ⟶ sumParameter Z := |
| 25 | Over.homMk (Sigma.ι (fun i => (Z i).left) i) (Sigma.ι_comp_desc (fun i => (Z i).hom) i) |
| 26 | |
| 27 | def sumParameterIsColimit : |
| 28 | IsColimit (Cofan.mk (sumParameter Z).left (fun i => (sumParameterInclusion Z i).left)) := |
| 29 | coproductIsCoproduct (fun i => (Z i).left) |
| 30 | |
| 31 | theorem sumParameter_component (z : (sumParameter Z).left) : |
| 32 | ∃ i, ∃ x : (Z i).left, (sumParameterInclusion Z i).left x = z := by |
| 33 | obtain ⟨⟨i, x⟩, h⟩ := (sigmaMk (fun i => (Z i).left)).surjective z |
| 34 | exact ⟨i, x, (sigmaMk_mk (fun i => (Z i).left) i x).symm.trans h⟩ |
| 35 | |
| 36 | instance sumParameter_reduced [∀ i, IsReduced (Z i).left] : IsReduced (sumParameter Z).left := by |
| 37 | apply (IsReduced.iff_of_openCover _ (sigmaOpenCover (fun i => (Z i).left))).mpr |
| 38 | intro i |
| 39 | exact inferInstanceAs (IsReduced (Z i).left) |
| 40 | |
| 41 | theorem sigmaMap_property (P : MorphismProperty Scheme.{0}) [IsZariskiLocalAtTarget P] |
| 42 | {X Y : I → Scheme.{0}} (f : ∀ i, X i ⟶ Y i) (hf : ∀ i, P (f i)) : |
| 43 | P (Limits.Sigma.map f) := by |
| 44 | apply IsZariskiLocalAtTarget.of_openCover (P := P) (sigmaOpenCover Y) |
| 45 | intro i |
| 46 | change P (pullback.snd (Limits.Sigma.map f) (Sigma.ι Y i)) |
| 47 | rw [← MorphismProperty.cancel_left_of_respectsIso (P := P) |
| 48 | (ArithmeticGeometry.Models.SpreadingOut.ProperCoproducts.Construction.sigma_map_component_pullback f i).flip.isoPullback.hom] |
| 49 | convert hf i using 1 |
| 50 | exact (ArithmeticGeometry.Models.SpreadingOut.ProperCoproducts.Construction.sigma_map_component_pullback f i).flip.isoPullback_hom_snd |
| 51 | |
| 52 | theorem sumParameter_factor : (sumParameter Z).hom = |
| 53 | Limits.Sigma.map (fun i => (Z i).hom) ≫ (AbelianModuli.HilbertConstruction.ConstantScheme.Iff.constantScheme S I).hom := by |
| 54 | apply Sigma.hom_ext |
| 55 | intro i |
| 56 | simp only [sumParameter, Over.mk_hom, Sigma.ι_comp_desc, Sigma.ι_map_assoc, AbelianModuli.HilbertConstruction.ConstantScheme.Iff.constantScheme_ι_hom, |
| 57 | Category.comp_id] |
| 58 | |
| 59 | variable [Finite I] |
| 60 | |
| 61 | instance sumParameter_locallyOfFiniteType [∀ i, LocallyOfFiniteType (Z i).hom] : |
| 62 | LocallyOfFiniteType (sumParameter Z).hom := by |
| 63 | have : LocallyOfFiniteType (Limits.Sigma.map (fun i => (Z i).hom)) := |
| 64 | sigmaMap_property (@LocallyOfFiniteType) _ (fun _ => inferInstance) |
| 65 | rw [sumParameter_factor] |
| 66 | infer_instance |
| 67 | |
| 68 | instance sumParameter_quasiCompact [∀ i, QuasiCompact (Z i).hom] : QuasiCompact (sumParameter Z).hom := by |
| 69 | have : QuasiCompact (Limits.Sigma.map (fun i => (Z i).hom)) := |
| 70 | sigmaMap_property (@QuasiCompact) _ (fun _ => inferInstance) |
| 71 | rw [sumParameter_factor] |
| 72 | infer_instance |
| 73 | |
| 74 | instance sumParameter_separated [∀ i, IsSeparated (Z i).hom] : IsSeparated (sumParameter Z).hom := by |
| 75 | have : IsSeparated (Limits.Sigma.map (fun i => (Z i).hom)) := |
| 76 | sigmaMap_property (@IsSeparated) _ (fun _ => inferInstance) |
| 77 | rw [sumParameter_factor] |
| 78 | infer_instance |
| 79 | |
| 80 | end FiniteBasePartition |
| 81 | |
| 82 | end |
| 83 | |
| 84 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.Finite.ParameterSum |