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.Quotients.FiniteDescent.PowerOrbitEq |
| 2 | import Mathlib.AlgebraicGeometry.ZariskisMainTheorem |
| 3 | |
| 4 | /-! # Relative Finiteness Is -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Quotients.FiniteDescent.RelativeFinitenessIs.Construction.RelativeFiniteness |
| 7 | |
| 8 | /-! |
| 9 | # Relative finiteness from field base changes |
| 10 | |
| 11 | For a proper morphism over a base scheme, finiteness can be checked after |
| 12 | every field-valued base change of the base. This reduces the finiteness of |
| 13 | relative multiplication maps to multiplication on abelian varieties. |
| 14 | -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 17 | open scoped _root_.CategoryTheory.MonObj |
| 18 | |
| 19 | universe u |
| 20 | |
| 21 | theorem baseChange_isPullback {S T : Scheme.{u}} {X Y : Over S} |
| 22 | (a : T ⟶ S) (f : X ⟶ Y) : |
| 23 | IsPullback (pullback.fst X.hom a) ((Over.pullback a).map f).left |
| 24 | f.left (pullback.fst Y.hom a) := by |
| 25 | have he : ((Over.pullback a).map f).left ≫ pullback.snd Y.hom a = pullback.snd X.hom a := |
| 26 | pullback.lift_snd _ _ _ |
| 27 | apply IsPullback.of_bot (t := IsPullback.of_hasPullback Y.hom a) |
| 28 | · simpa only [he, Category.assoc, Over.w] using IsPullback.of_hasPullback X.hom a |
| 29 | · exact (pullback.lift_fst _ _ _).symm |
| 30 | |
| 31 | /-- Properness lets finiteness descend from any surjective base change: |
| 32 | the finite fibers upstairs map onto the fibers downstairs. -/ |
| 33 | theorem finite_of_surjective_baseChange {S T : Scheme.{u}} {X Y : Over S} |
| 34 | (a : T ⟶ S) [Surjective a] (f : X ⟶ Y) [IsProper f.left] |
| 35 | [IsFinite ((Over.pullback a).map f).left] : IsFinite f.left := by |
| 36 | have : LocallyQuasiFinite f.left := by |
| 37 | apply LocallyQuasiFinite.of_finite_preimage_singleton |
| 38 | intro y |
| 39 | obtain ⟨y', hy'⟩ := (pullback.fst Y.hom a).surjective y |
| 40 | have hf := (((Over.pullback a).map f).left.finite_preimage_singleton y').image |
| 41 | (pullback.fst X.hom a) |
| 42 | rw [Scheme.image_preimage_eq_of_isPullback (baseChange_isPullback a f).flip, |
| 43 | Set.image_singleton, hy'] at hf |
| 44 | exact hf |
| 45 | exact IsFinite.of_isProper_of_locallyQuasiFinite f.left |
| 46 | |
| 47 | theorem finite_of_field_baseChanges {S : Scheme.{u}} {X Y : Over S} |
| 48 | (f : X ⟶ Y) [IsProper f.left] |
| 49 | (h : ∀ (K : Type u) [Field K] (a : Spec (.of K) ⟶ S), |
| 50 | IsFinite ((Over.pullback a).map f).left) : IsFinite f.left := by |
| 51 | have : LocallyQuasiFinite f.left := by |
| 52 | apply LocallyQuasiFinite.of_fiberToSpecResidueField |
| 53 | intro y |
| 54 | let p := Y.left.fromSpecResidueField y |
| 55 | let a := p ≫ Y.hom |
| 56 | let g : Spec (Y.left.residueField y) ⟶ pullback Y.hom a := |
| 57 | pullback.lift p (𝟙 _) (by simp [a]) |
| 58 | have hg : g ≫ pullback.fst Y.hom a = p := pullback.lift_fst _ _ _ |
| 59 | let fp := ((Over.pullback a).map f).left |
| 60 | have : IsFinite fp := h (Y.left.residueField y) a |
| 61 | let hp := baseChange_isPullback a f |
| 62 | let r : pullback f.left p ⟶ pullback X.hom a := |
| 63 | hp.lift (pullback.fst f.left p) (pullback.snd f.left p ≫ g) (by |
| 64 | rw [Category.assoc, hg, pullback.condition]) |
| 65 | have hpr : IsPullback r (pullback.snd f.left p) fp g := by |
| 66 | apply IsPullback.of_right (t := hp) |
| 67 | · simpa only [r, IsPullback.lift_fst, hg] using IsPullback.of_hasPullback f.left p |
| 68 | · exact hp.lift_snd _ _ _ |
| 69 | have : IsFinite (f.left.fiberToSpecResidueField y) := |
| 70 | MorphismProperty.of_isPullback hpr inferInstance |
| 71 | infer_instance |
| 72 | exact IsFinite.of_isProper_of_locallyQuasiFinite f.left |
| 73 | |
| 74 | theorem power_isProper {S : Scheme.{u}} (A : Over S) [GrpObj A] [IsProper A.hom] (n : ℕ) : |
| 75 | IsProper ((𝟙 A : A ⟶ A) ^ n).left := by |
| 76 | have : IsProper (((𝟙 A : A ⟶ A) ^ n).left ≫ A.hom) := by |
| 77 | rw [Over.w] |
| 78 | infer_instance |
| 79 | exact IsProper.of_comp _ A.hom |
| 80 | |
| 81 | /-- Finiteness of multiplication on all field base changes implies |
| 82 | finiteness of the relative multiplication morphism. -/ |
| 83 | theorem finite_power_of_field_powers {S : Scheme.{u}} |
| 84 | (A : Over S) [GrpObj A] [IsProper A.hom] (n : ℕ) |
| 85 | (h : ∀ (K : Type u) [Field K] (a : Spec (.of K) ⟶ S), |
| 86 | let B := (Over.pullback a).obj A |
| 87 | letI : GrpObj B := Functor.grpObjObj |
| 88 | IsFinite ((𝟙 B : B ⟶ B) ^ n).left) : IsFinite ((𝟙 A : A ⟶ A) ^ n).left := by |
| 89 | have := power_isProper A n |
| 90 | apply finite_of_field_baseChanges |
| 91 | intro K hK a |
| 92 | let F := Over.pullback a |
| 93 | let B := F.obj A |
| 94 | let : GrpObj B := Functor.grpObjObj |
| 95 | have he : F.map ((𝟙 A : A ⟶ A) ^ n) = (𝟙 B : B ⟶ B) ^ n := by |
| 96 | exact ((F.homMonoidHom (X := A) (M := A)).map_pow (𝟙 A) n).trans |
| 97 | (congrArg (fun k => k ^ n) (F.map_id A)) |
| 98 | change IsFinite (F.map ((𝟙 A : A ⟶ A) ^ n)).left |
| 99 | rw [he] |
| 100 | exact h K a |
| 101 | |
| 102 | end OAI.AlgebraicGeometry.Quotients.FiniteDescent.RelativeFinitenessIs.Construction.RelativeFiniteness |