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.Isogenies |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Level.BaseChange |
| 3 | |
| 4 | /-! # Base Change -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Isogenies and their geometric kernel types commute with arbitrary base change. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.CategoryTheory.Limits |
| 13 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | variable {g h : ℕ} {S S' : Scheme.{u}} |
| 18 | |
| 19 | /-- A finite flat surjective group morphism remains one after base change. -/ |
| 20 | def Abelian.Schemes.AbelianScheme.Isogeny.pullback {A : Abelian.Schemes.AbelianScheme g S} {B : Abelian.Schemes.AbelianScheme h S} |
| 21 | (p : Abelian.Schemes.AbelianScheme.Isogeny A B) (f : S' ⟶ S) : Abelian.Schemes.AbelianScheme.Isogeny (A.pullback f) (B.pullback f) where |
| 22 | hom := (Over.pullback f).map p.hom |
| 23 | preservesGroup := inferInstanceAs (IsMonHom ((Over.pullback f).map p.hom)) |
| 24 | finite := MorphismProperty.overPullbackMap f p.hom p.finite |
| 25 | flat := MorphismProperty.overPullbackMap f p.hom p.flat |
| 26 | surjective := MorphismProperty.overPullbackMap f p.hom p.surjective |
| 27 | |
| 28 | /-- The base-change bijection of points commutes with group-scheme morphisms. -/ |
| 29 | theorem Abelian.Schemes.AbelianScheme.baseChangePointsEquiv_map {A : Abelian.Schemes.AbelianScheme g S} {B : Abelian.Schemes.AbelianScheme h S} |
| 30 | (p : A.scheme ⟶ B.scheme) (f : S' ⟶ S) (T : Over S') |
| 31 | (x : (A.pullback f).Points T) : |
| 32 | B.baseChangePointsEquiv f T (x ≫ (Over.pullback f).map p) = |
| 33 | A.baseChangePointsEquiv f T x ≫ p := by |
| 34 | apply Over.OverMorphism.ext |
| 35 | change (x.left ≫ ((Over.pullback f).map p).left) ≫ pullback.fst B.scheme.hom f = |
| 36 | (x.left ≫ pullback.fst A.scheme.hom f) ≫ p.left |
| 37 | exact (Category.assoc _ _ _).trans |
| 38 | ((congrArg (fun z => x.left ≫ z) (pullback.lift_fst _ _ _)).trans |
| 39 | (Category.assoc _ _ _).symm) |
| 40 | |
| 41 | /-- Kernel points after base change are exactly the original kernel points |
| 42 | over the same test scheme, now regarded as a scheme over the old base. -/ |
| 43 | def Abelian.Schemes.AbelianScheme.Isogeny.kernelBaseChangeEquiv {A : Abelian.Schemes.AbelianScheme g S} {B : Abelian.Schemes.AbelianScheme h S} |
| 44 | (p : Abelian.Schemes.AbelianScheme.Isogeny A B) (f : S' ⟶ S) (T : Over S') : |
| 45 | (p.pullback f).kernelAt T ≃* p.kernelAt ((Over.map f).obj T) where |
| 46 | toFun x := ⟨A.baseChangePointsMulEquiv f T x.val, by |
| 47 | change A.baseChangePointsEquiv f T x.val ≫ p.hom = 1 |
| 48 | rw [← Abelian.Schemes.AbelianScheme.baseChangePointsEquiv_map] |
| 49 | change B.baseChangePointsMulEquiv f T |
| 50 | ((A.pullback f).mapPoints (B.pullback f) (p.pullback f).hom T x.val) = 1 |
| 51 | rw [MonoidHom.mem_ker.mp x.property, map_one]⟩ |
| 52 | invFun x := ⟨(A.baseChangePointsMulEquiv f T).symm x.val, by |
| 53 | change ((A.pullback f).mapPoints (B.pullback f) (p.pullback f).hom T) |
| 54 | ((A.baseChangePointsMulEquiv f T).symm x.val) = 1 |
| 55 | apply (B.baseChangePointsMulEquiv f T).injective |
| 56 | change B.baseChangePointsEquiv f T |
| 57 | ((A.baseChangePointsMulEquiv f T).symm x.val ≫ (Over.pullback f).map p.hom) = |
| 58 | B.baseChangePointsMulEquiv f T 1 |
| 59 | rw [Abelian.Schemes.AbelianScheme.baseChangePointsEquiv_map, map_one] |
| 60 | change A.baseChangePointsMulEquiv f T |
| 61 | ((A.baseChangePointsMulEquiv f T).symm x.val) ≫ p.hom = 1 |
| 62 | rw [MulEquiv.apply_symm_apply] |
| 63 | exact MonoidHom.mem_ker.mp x.property⟩ |
| 64 | left_inv x := Subtype.ext ((A.baseChangePointsMulEquiv f T).symm_apply_apply x.val) |
| 65 | right_inv x := Subtype.ext ((A.baseChangePointsMulEquiv f T).apply_symm_apply x.val) |
| 66 | map_mul' x y := Subtype.ext ((A.baseChangePointsMulEquiv f T).map_mul x.val y.val) |
| 67 | |
| 68 | /-- The elementary-divisor type on geometric fibers is stable under base change. -/ |
| 69 | theorem Abelian.Schemes.AbelianScheme.Isogeny.HasPolarizationType.pullback {A B : Abelian.Schemes.AbelianScheme g S} |
| 70 | {p : Abelian.Schemes.AbelianScheme.Isogeny A B} {δ : Fin g → ℕ} (hp : p.HasPolarizationType δ) (f : S' ⟶ S) : |
| 71 | (p.pullback f).HasPolarizationType δ where |
| 72 | degree b := by |
| 73 | have hrectangle : IsPullback (pullback.fst A.scheme.hom f) |
| 74 | (((Over.pullback f).map p.hom).left ≫ (B.pullback f).scheme.hom) |
| 75 | (p.hom.left ≫ B.scheme.hom) f := by |
| 76 | exact (congrArg₂ (fun (a : Limits.pullback A.scheme.hom f ⟶ S') |
| 77 | (b : A.scheme.left ⟶ S) => IsPullback (pullback.fst A.scheme.hom f) a b f) |
| 78 | ((Over.pullback f).map p.hom).w.symm p.hom.w.symm).mp |
| 79 | (IsPullback.of_hasPullback A.scheme.hom f) |
| 80 | have hsquare : IsPullback (pullback.fst A.scheme.hom f) |
| 81 | ((Over.pullback f).map p.hom).left p.hom.left (pullback.fst B.scheme.hom f) := |
| 82 | IsPullback.of_bot hrectangle (pullback.lift_fst _ _ _).symm |
| 83 | (IsPullback.of_hasPullback B.scheme.hom f) |
| 84 | exact (Scheme.Hom.finrank_of_isPullback _ _ _ _ hsquare b).trans |
| 85 | (hp.degree (pullback.fst B.scheme.hom f b)) |
| 86 | geometricKernel K _ _ s := by |
| 87 | obtain ⟨e⟩ := hp.geometricKernel K (s ≫ f) |
| 88 | exact ⟨(p.kernelBaseChangeEquiv f (Over.mk s)).trans e⟩ |
| 89 | |
| 90 | end |
| 91 | |
| 92 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |