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.AbelianScheme.FrobeniusKernel.OrdinaryIsogeny |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Isogenies |
| 3 | import Mathlib.AlgebraicGeometry.AlgClosed.Basic |
| 4 | import Mathlib.AlgebraicGeometry.Morphisms.QuasiFinite |
| 5 | |
| 6 | /-! # Geometric Isogeny -/ |
| 7 | |
| 8 | namespace OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.GeometricIsogeny.Construction |
| 9 | |
| 10 | noncomputable section |
| 11 | |
| 12 | /-! |
| 13 | Finite morphisms have finite geometric fibers, and finite surjective maps |
| 14 | lift every algebraically closed point. These are scheme-theoretic facts |
| 15 | used to apply the q-rank computation to the ordinary kernel operators. |
| 16 | -/ |
| 17 | |
| 18 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 19 | |
| 20 | universe u |
| 21 | |
| 22 | variable {K : Type u} [Field K] [IsAlgClosed K] |
| 23 | |
| 24 | def geometricLiftSectionEquiv {X Y : Scheme.{u}} |
| 25 | (f : X ⟶ Y) (y : Spec (.of K) ⟶ Y) : |
| 26 | {x : Spec (.of K) ⟶ X // x ≫ f = y} ≃ |
| 27 | {s : Spec (.of K) ⟶ pullback f y // s ≫ pullback.snd f y = 𝟙 _} where |
| 28 | toFun x := ⟨pullback.lift x.val (𝟙 _) (x.property.trans (Category.id_comp y).symm), |
| 29 | pullback.lift_snd _ _ _⟩ |
| 30 | invFun s := ⟨s.val ≫ pullback.fst f y, by |
| 31 | rw [Category.assoc, pullback.condition, ← Category.assoc, s.property, Category.id_comp]⟩ |
| 32 | left_inv x := Subtype.ext (pullback.lift_fst _ _ _) |
| 33 | right_inv s := by |
| 34 | apply Subtype.ext |
| 35 | apply pullback.hom_ext |
| 36 | · exact pullback.lift_fst _ _ _ |
| 37 | · exact (pullback.lift_snd _ _ _).trans s.property.symm |
| 38 | |
| 39 | omit [IsAlgClosed K] in |
| 40 | /-- A scheme finite over a field has finitely many underlying points. -/ |
| 41 | theorem finite_points_over_field {X : Scheme.{u}} |
| 42 | (p : X ⟶ Spec (.of K)) [IsFinite p] : Finite X := by |
| 43 | have h := p.finite_preimage_singleton (IsLocalRing.closedPoint K) |
| 44 | have he : p ⁻¹' {IsLocalRing.closedPoint K} = Set.univ := by |
| 45 | ext x |
| 46 | simp only [Set.mem_preimage, Set.mem_univ, iff_true] |
| 47 | exact Subsingleton.elim _ _ |
| 48 | exact Set.finite_univ_iff.mp ((congrArg Set.Finite he).mp h) |
| 49 | |
| 50 | /-- The scheme-theoretic finite fiber gives a finite set of geometric |
| 51 | lifts, without requiring the fiber scheme to be reduced. -/ |
| 52 | theorem finite_geometric_lifts {X Y : Scheme.{u}} |
| 53 | (f : X ⟶ Y) [IsFinite f] (y : Spec (.of K) ⟶ Y) : |
| 54 | Finite {x : Spec (.of K) ⟶ X // x ≫ f = y} := by |
| 55 | let p := pullback.snd f y |
| 56 | have : IsFinite p := inferInstanceAs (IsFinite (pullback.snd f y)) |
| 57 | have : Finite ↥(pullback f y : Scheme.{u}) := finite_points_over_field p |
| 58 | exact Finite.of_equiv (closedPoints (pullback f y : Scheme.{u})) |
| 59 | ((geometricLiftSectionEquiv f y).trans (pointEquivClosedPoint p)).symm |
| 60 | |
| 61 | /-- Surjective finite morphisms lift every algebraically closed point. -/ |
| 62 | theorem exists_geometric_lift {X Y : Scheme.{u}} |
| 63 | (f : X ⟶ Y) [IsFinite f] [Surjective f] (y : Spec (.of K) ⟶ Y) : |
| 64 | ∃ x : Spec (.of K) ⟶ X, x ≫ f = y := by |
| 65 | let p := pullback.snd f y |
| 66 | have : IsFinite p := inferInstanceAs (IsFinite (pullback.snd f y)) |
| 67 | have : Surjective p := inferInstanceAs (Surjective (pullback.snd f y)) |
| 68 | have : JacobsonSpace ↥(pullback f y : Scheme.{u}) := LocallyOfFiniteType.jacobsonSpace p |
| 69 | obtain ⟨a, _⟩ := p.surjective (IsLocalRing.closedPoint K) |
| 70 | obtain ⟨b, _, hb⟩ := nonempty_inter_closedPoints |
| 71 | (Set.nonempty_of_mem (Set.mem_univ a)) isOpen_univ.isLocallyClosed |
| 72 | let s := pointOfClosedPoint p b hb |
| 73 | let x := (geometricLiftSectionEquiv f y).symm ⟨s, pointOfClosedPoint_comp p b hb⟩ |
| 74 | exact ⟨x.val, x.property⟩ |
| 75 | |
| 76 | def overGeometricFiberEquiv {S : Scheme.{u}} {A B : Over S} |
| 77 | (f : A ⟶ B) (s : Spec (.of K) ⟶ S) (y : Over.mk s ⟶ B) : |
| 78 | {x : Over.mk s ⟶ A // x ≫ f = y} ≃ |
| 79 | {x : Spec (.of K) ⟶ A.left // x ≫ f.left = y.left} where |
| 80 | toFun x := ⟨x.val.left, congrArg (fun z => z.left) x.property⟩ |
| 81 | invFun x := ⟨Over.homMk x.val (by |
| 82 | calc |
| 83 | x.val ≫ A.hom = x.val ≫ f.left ≫ B.hom := congrArg (fun z => x.val ≫ z) f.w.symm |
| 84 | _ = s := (Category.assoc _ _ _).symm.trans |
| 85 | ((congrArg (fun z => z ≫ B.hom) x.property).trans y.w)), |
| 86 | Over.OverMorphism.ext x.property⟩ |
| 87 | left_inv x := by apply Subtype.ext; apply Over.OverMorphism.ext; rfl |
| 88 | right_inv x := by apply Subtype.ext; rfl |
| 89 | |
| 90 | /-- An actual isogeny is surjective on geometric points. -/ |
| 91 | theorem isogeny_geometricPoints_surjective {g h : ℕ} {S : Scheme.{u}} |
| 92 | {A : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g S} {B : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme h S} |
| 93 | (f : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme.Isogeny A B) (s : Spec (.of K) ⟶ S) : |
| 94 | Function.Surjective (A.mapPoints B f.hom (Over.mk s)) := by |
| 95 | intro y |
| 96 | obtain ⟨x, hx⟩ := exists_geometric_lift f.hom.left y.left |
| 97 | let z := (overGeometricFiberEquiv f.hom s y).symm ⟨x, hx⟩ |
| 98 | exact ⟨z.val, z.property⟩ |
| 99 | |
| 100 | /-- Its geometric kernel is finite even for inseparable isogenies. -/ |
| 101 | theorem isogeny_geometricKernel_finite {g h : ℕ} {S : Scheme.{u}} |
| 102 | {A : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g S} {B : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme h S} |
| 103 | (f : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme.Isogeny A B) (s : Spec (.of K) ⟶ S) : |
| 104 | Finite (f.kernelAt (Over.mk s)) := by |
| 105 | have : Finite {x : Spec (.of K) ⟶ A.scheme.left // |
| 106 | x ≫ f.hom.left = (1 : Over.mk s ⟶ B.scheme).left} := |
| 107 | finite_geometric_lifts f.hom.left (1 : Over.mk s ⟶ B.scheme).left |
| 108 | exact Finite.of_equiv _ (overGeometricFiberEquiv f.hom s 1).symm |
| 109 | |
| 110 | /-- Native abelian-scheme isogenies preserve q-rank when kernel points |
| 111 | have division lifts in the ordinary torsion tower. Finiteness and |
| 112 | surjectivity are proved from the isogeny, rather than postulated. -/ |
| 113 | theorem isogeny_geometric_qRank_preserved {g h : ℕ} {S : Scheme.{u}} |
| 114 | {A : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g S} {B : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme h S} |
| 115 | (f : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme.Isogeny A B) (s : Spec (.of K) ⟶ S) |
| 116 | (q : ℕ) (hdiv : ∀ k : f.kernelAt (Over.mk s), |
| 117 | ∃ a : A.Points (Over.mk s), a ^ q = k.val) : |
| 118 | Nat.card (A.torsionPoints q (Over.mk s)) = |
| 119 | Nat.card (B.torsionPoints q (Over.mk s)) := by |
| 120 | have : Finite (A.mapPoints B f.hom (Over.mk s)).ker := isogeny_geometricKernel_finite f s |
| 121 | exact OrdinaryIsogeny.Construction.qTorsion_card_eq_of_kernel_divisible (A.mapPoints B f.hom (Over.mk s)) |
| 122 | (isogeny_geometricPoints_surjective f s) q hdiv |
| 123 | |
| 124 | end |
| 125 | |
| 126 | end OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.GeometricIsogeny.Construction |