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.HilbertConstruction.Noetherian.QuasiProjectiveChowCover |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.ImmersionFiniteCoefficientDescent |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Pullback.CompositionMorphism |
| 4 | import OAI.ArithmeticGeometry.Descent.CMVariety.CoefficientObjectBaseChange |
| 5 | import OAI.ArithmeticGeometry.Models.SpreadingOut.ProperCoproducts |
| 6 | |
| 7 | /-! # Finite Coefficient Descent -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Proper.FiniteCoefficientDescent |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! Properness of a finite-type Noetherian model descends to finitely |
| 14 | many coefficients. The finite Chow cover remains auxiliary: properness |
| 15 | is proved for the original model, including its nilpotent structure. -/ |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 18 | |
| 19 | theorem closedImmersion_finiteCoefficientMap_mono |
| 20 | (C B : Type) [CommRing C] [CommRing B] [Algebra C B] |
| 21 | {X Y : Over (Spec (.of C))} (a : X ⟶ Y) |
| 22 | {s t : Finset B} (h : s ⊆ t) |
| 23 | (hs : IsClosedImmersion |
| 24 | ((Over.pullback (ArithmeticGeometry.Descent.CMVariety.FiniteCoefficientDiagram.Abelian.finiteCoefficientBaseMap C B s)).map a).left) : |
| 25 | IsClosedImmersion |
| 26 | ((Over.pullback (ArithmeticGeometry.Descent.CMVariety.FiniteCoefficientDiagram.Abelian.finiteCoefficientBaseMap C B t)).map a).left := by |
| 27 | let b := ArithmeticGeometry.Descent.CMVariety.FiniteCoefficientDiagram.Abelian.finiteCoefficientBaseMap C B s |
| 28 | let q := ArithmeticGeometry.Descent.CMVariety.CoefficientObjectBaseChange.Abelian.objectCoefficientMap C B h |
| 29 | let e := Over.pullbackComp q b |
| 30 | have : IsClosedImmersion ((Over.pullback b).map a).left := hs |
| 31 | have hq : q ≫ b = ArithmeticGeometry.Descent.CMVariety.FiniteCoefficientDiagram.Abelian.finiteCoefficientBaseMap C B t := by |
| 32 | dsimp only [q, b, ArithmeticGeometry.Descent.CMVariety.CoefficientObjectBaseChange.Abelian.objectCoefficientMap, ArithmeticGeometry.Descent.CMVariety.FiniteCoefficientDiagram.Abelian.finiteCoefficientBaseMap] |
| 33 | rw [← Spec.map_comp] |
| 34 | congr 1 |
| 35 | have : IsClosedImmersion |
| 36 | ((Over.pullback q).map ((Over.pullback b).map a)).left := |
| 37 | MorphismProperty.overPullbackMap (P := @IsClosedImmersion) q _ inferInstance |
| 38 | have : IsIso (e.hom.app X).left := |
| 39 | inferInstanceAs (IsIso ((Over.forget _).map (e.hom.app X))) |
| 40 | have : IsIso (e.inv.app Y).left := |
| 41 | inferInstanceAs (IsIso ((Over.forget _).map (e.inv.app Y))) |
| 42 | rw [← hq, ← Pullback.CompositionMorphism.overPullbackCompositionMorphism_map q b a] |
| 43 | change IsClosedImmersion |
| 44 | ((e.hom.app X).left ≫ |
| 45 | ((Over.pullback q).map ((Over.pullback b).map a)).left ≫ (e.inv.app Y).left) |
| 46 | infer_instance |
| 47 | |
| 48 | theorem proper_eventually_of_separated_noetherian_model |
| 49 | (C B : Type) [CommRing C] [IsNoetherianRing C] [CommRing B] [Algebra C B] |
| 50 | (M : Over (Spec (.of C))) |
| 51 | [IsNoetherian M.left] [IsSeparated M.hom] [LocallyOfFiniteType M.hom] |
| 52 | [IsProper ((Over.pullback |
| 53 | (Spec.map (CommRingCat.ofHom (algebraMap C B)))).obj M).hom] : |
| 54 | ∃ s : Finset B, |
| 55 | IsProper ((Over.pullback (ArithmeticGeometry.Descent.CMVariety.FiniteCoefficientDiagram.Abelian.finiteCoefficientBaseMap C B s)).obj M).hom := by |
| 56 | classical |
| 57 | let D := Noetherian.QuasiProjectiveChowCover.NoetherianQuasiProjectiveChowCover.build M.hom |
| 58 | have : Finite D.index := D.finite |
| 59 | let : Fintype D.index := Fintype.ofFinite D.index |
| 60 | let Z (i : D.index) : Over (Spec (.of C)) := Over.mk (D.projection i ≫ M.hom) |
| 61 | let q (i : D.index) : Z i ⟶ M := Over.homMk (D.projection i) rfl |
| 62 | let j (i : D.index) : Z i ⟶ D.ambient i := |
| 63 | Over.homMk (D.embedding i) (D.embedding_base i) |
| 64 | let b := Spec.map (CommRingCat.ofHom (algebraMap C B)) |
| 65 | let F := Over.pullback b |
| 66 | have hstage (i : D.index) : |
| 67 | ∃ s : Finset B, |
| 68 | IsClosedImmersion |
| 69 | ((Over.pullback (ArithmeticGeometry.Descent.CMVariety.FiniteCoefficientDiagram.Abelian.finiteCoefficientBaseMap C B s)).map (j i)).left := by |
| 70 | have : IsProper (D.ambient i).hom := (D.projective i).proper |
| 71 | have : IsNoetherian (D.ambient i).left := |
| 72 | HilbertConstruction.Finite.TypeParameterNoetherian.finiteType_noetherian_source (D.ambient i).hom |
| 73 | have : IsImmersion (j i).left := D.immersion i |
| 74 | have : QuasiCompact (j i).left := D.quasiCompact i |
| 75 | have : IsProper (F.map (q i)).left := |
| 76 | MorphismProperty.overPullbackMap (P := @IsProper) b (q i) (D.proper i) |
| 77 | have hZB : IsProper (F.obj (Z i)).hom := by |
| 78 | rw [← (F.map (q i)).w] |
| 79 | infer_instance |
| 80 | have : IsProper (F.obj (D.ambient i)).hom := |
| 81 | inferInstanceAs (IsProper (pullback.snd (D.ambient i).hom b)) |
| 82 | have : IsProper ((F.map (j i)).left ≫ (F.obj (D.ambient i)).hom) := by |
| 83 | rw [(F.map (j i)).w] |
| 84 | exact hZB |
| 85 | have : IsProper (F.map (j i)).left := |
| 86 | IsProper.of_comp (F.map (j i)).left (F.obj (D.ambient i)).hom |
| 87 | have : IsImmersion (F.map (j i)).left := |
| 88 | MorphismProperty.overPullbackMap (P := @IsImmersion) b (j i) (D.immersion i) |
| 89 | have : IsClosedImmersion (F.map (j i)).left := |
| 90 | IsClosedImmersion.of_isPreimmersion (F.map (j i)).left |
| 91 | (((F.map (j i)).left).isClosedMap.isClosed_range) |
| 92 | exact ImmersionFiniteCoefficientDescent.closedImmersion_eventually_of_immersion C B (j i) |
| 93 | choose s hs using hstage |
| 94 | let t : Finset B := Finset.univ.biUnion s |
| 95 | have hst (i : D.index) : s i ⊆ t := by |
| 96 | intro x hx |
| 97 | exact Finset.mem_biUnion.mpr ⟨i, Finset.mem_univ i, hx⟩ |
| 98 | let bt := ArithmeticGeometry.Descent.CMVariety.FiniteCoefficientDiagram.Abelian.finiteCoefficientBaseMap C B t |
| 99 | let G := Over.pullback bt |
| 100 | have hZt (i : D.index) : IsProper (G.obj (Z i)).hom := by |
| 101 | have : IsClosedImmersion (G.map (j i)).left := |
| 102 | closedImmersion_finiteCoefficientMap_mono C B (j i) (hst i) (hs i) |
| 103 | have : IsProper (D.ambient i).hom := (D.projective i).proper |
| 104 | have : IsProper (G.obj (D.ambient i)).hom := |
| 105 | inferInstanceAs (IsProper (pullback.snd (D.ambient i).hom bt)) |
| 106 | rw [← (G.map (j i)).w] |
| 107 | infer_instance |
| 108 | let q₀ : ArithmeticGeometry.Models.SpreadingOut.ProperCoproducts.Construction.overSigma Z ⟶ M := ArithmeticGeometry.Models.SpreadingOut.ProperCoproducts.Construction.overSigmaDesc q |
| 109 | have hq₀ : Surjective q₀.left := by |
| 110 | apply Surjective.sigmaDesc_of_union_range_eq_univ |
| 111 | apply Set.eq_univ_of_forall |
| 112 | intro x |
| 113 | obtain ⟨i, z, hz⟩ := D.covers x |
| 114 | exact Set.mem_iUnion.mpr ⟨i, z, hz⟩ |
| 115 | let e := ArithmeticGeometry.Models.SpreadingOut.ProperCoproducts.Construction.overSigmaBaseChangeIso bt Z |
| 116 | let p : ArithmeticGeometry.Models.SpreadingOut.ProperCoproducts.Construction.overSigma (fun i => G.obj (Z i)) ⟶ G.obj M := |
| 117 | e.inv ≫ G.map q₀ |
| 118 | have : IsIso e.inv.left := inferInstanceAs (IsIso ((Over.forget _).map e.inv)) |
| 119 | have : Surjective (G.map q₀).left := |
| 120 | MorphismProperty.overPullbackMap (P := @Surjective) bt q₀ hq₀ |
| 121 | have : Surjective p.left := by |
| 122 | change Surjective (e.inv.left ≫ (G.map q₀).left) |
| 123 | infer_instance |
| 124 | have : IsProper (p.left ≫ (G.obj M).hom) := by |
| 125 | rw [p.w] |
| 126 | exact ArithmeticGeometry.Models.SpreadingOut.ProperCoproducts.Construction.proper_finite_sigma_desc |
| 127 | (ArithmeticGeometry.Descent.CMVariety.FiniteCoefficientDiagram.Abelian.finiteCoefficientAlgebra C B t) (fun i => (G.obj (Z i)).hom) hZt |
| 128 | have : UniversallyClosed (G.obj M).hom := |
| 129 | UniversallyClosed.of_comp_surjective p.left (G.obj M).hom |
| 130 | have : IsSeparated (G.obj M).hom := |
| 131 | inferInstanceAs (IsSeparated (pullback.snd M.hom bt)) |
| 132 | have : LocallyOfFiniteType (G.obj M).hom := |
| 133 | inferInstanceAs (LocallyOfFiniteType (pullback.snd M.hom bt)) |
| 134 | exact ⟨t, ⟨⟩⟩ |
| 135 | |
| 136 | end |
| 137 | |
| 138 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Proper.FiniteCoefficientDescent |