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.Abelian.Schemes |
| 2 | |
| 3 | /-! # Base Change -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Functor-of-points compatibility of full level structures with base change. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.CategoryTheory.Limits |
| 12 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 13 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | variable {g N : ℕ} {S S' : Scheme.{u}} |
| 18 | |
| 19 | /-- The pullback adjunction identifies points over a changed base. -/ |
| 20 | def Abelian.Schemes.AbelianScheme.baseChangePointsEquiv (A : Abelian.Schemes.AbelianScheme g S) (f : S' ⟶ S) (T : Over S') : |
| 21 | (A.pullback f).Points T ≃ A.Points ((Over.map f).obj T) := |
| 22 | ((Over.mapPullbackAdj f).homEquiv T A.scheme).symm |
| 23 | |
| 24 | @[simp] |
| 25 | theorem Abelian.Schemes.AbelianScheme.baseChangePointsEquiv_apply (A : Abelian.Schemes.AbelianScheme g S) (f : S' ⟶ S) |
| 26 | (T : Over S') (x : (A.pullback f).Points T) : |
| 27 | (A.baseChangePointsEquiv f T x).left = |
| 28 | x.left ≫ Limits.pullback.fst A.scheme.hom f := rfl |
| 29 | |
| 30 | /-- The base-change identification preserves the group law on points. -/ |
| 31 | def Abelian.Schemes.AbelianScheme.baseChangePointsMulEquiv (A : Abelian.Schemes.AbelianScheme g S) (f : S' ⟶ S) (T : Over S') : |
| 32 | (A.pullback f).Points T ≃* A.Points ((Over.map f).obj T) where |
| 33 | toEquiv := A.baseChangePointsEquiv f T |
| 34 | map_mul' x y := by |
| 35 | let F := Over.pullback f |
| 36 | let p := Limits.pullback.fst A.scheme.hom f |
| 37 | let p₂ := Limits.pullback.fst (A.scheme ⊗ A.scheme).hom f |
| 38 | have hμ : μ[(A.pullback f).scheme].left ≫ p = |
| 39 | (Functor.LaxMonoidal.μ F A.scheme A.scheme).left ≫ p₂ ≫ μ[A.scheme].left := by |
| 40 | change (Functor.LaxMonoidal.μ F A.scheme A.scheme ≫ F.map μ[A.scheme]).left ≫ p = _ |
| 41 | simp only [F, p, p₂, Over.comp_left, Over.pullback_map_left, |
| 42 | Category.assoc, Limits.pullback.lift_fst] |
| 43 | have hassoc (z : (A.scheme ⊗ A.scheme).left ⟶ A.scheme.left) : |
| 44 | ((lift x y).left ≫ (Functor.LaxMonoidal.μ F A.scheme A.scheme).left ≫ p₂) ≫ z = |
| 45 | (lift x y).left ≫ ((Functor.LaxMonoidal.μ F A.scheme A.scheme).left ≫ p₂ ≫ z) := |
| 46 | (Category.assoc _ _ _).trans |
| 47 | (congrArg (fun a => (lift x y).left ≫ a) (Category.assoc _ _ _)) |
| 48 | have hpair : (lift x y).left ≫ (Functor.LaxMonoidal.μ F A.scheme A.scheme).left ≫ p₂ = |
| 49 | (lift (A.baseChangePointsEquiv f T x) (A.baseChangePointsEquiv f T y)).left := by |
| 50 | apply Over.tensorObj_ext |
| 51 | · calc |
| 52 | _ = (lift x y).left ≫ |
| 53 | ((Functor.LaxMonoidal.μ F A.scheme A.scheme).left ≫ p₂ ≫ |
| 54 | Limits.pullback.fst A.scheme.hom A.scheme.hom) := hassoc _ |
| 55 | _ = (lift x y).left ≫ |
| 56 | (Limits.pullback.fst (A.pullback f).scheme.hom (A.pullback f).scheme.hom ≫ p) := |
| 57 | congrArg (fun a => (lift x y).left ≫ a) |
| 58 | (Over.μ_pullback_left_fst_fst (f := f) A.scheme A.scheme) |
| 59 | _ = x.left ≫ p := (Category.assoc _ _ _).symm.trans |
| 60 | (congrArg (fun a => a ≫ p) (show (lift x y).left ≫ |
| 61 | Limits.pullback.fst (A.pullback f).scheme.hom (A.pullback f).scheme.hom = x.left by |
| 62 | simp only [Over.lift_left, Limits.pullback.lift_fst])) |
| 63 | _ = _ := by |
| 64 | simp only [Over.lift_left, Limits.pullback.lift_fst, Abelian.Schemes.AbelianScheme.baseChangePointsEquiv_apply, p] |
| 65 | · calc |
| 66 | _ = (lift x y).left ≫ |
| 67 | ((Functor.LaxMonoidal.μ F A.scheme A.scheme).left ≫ p₂ ≫ |
| 68 | Limits.pullback.snd A.scheme.hom A.scheme.hom) := hassoc _ |
| 69 | _ = (lift x y).left ≫ |
| 70 | (Limits.pullback.snd (A.pullback f).scheme.hom (A.pullback f).scheme.hom ≫ p) := |
| 71 | congrArg (fun a => (lift x y).left ≫ a) |
| 72 | (Over.μ_pullback_left_fst_snd (f := f) A.scheme A.scheme) |
| 73 | _ = y.left ≫ p := (Category.assoc _ _ _).symm.trans |
| 74 | (congrArg (fun a => a ≫ p) (show (lift x y).left ≫ |
| 75 | Limits.pullback.snd (A.pullback f).scheme.hom (A.pullback f).scheme.hom = y.left by |
| 76 | simp only [Over.lift_left, Limits.pullback.lift_snd])) |
| 77 | _ = _ := by |
| 78 | simp only [Over.lift_left, Limits.pullback.lift_snd, Abelian.Schemes.AbelianScheme.baseChangePointsEquiv_apply, p] |
| 79 | apply Over.OverMorphism.ext |
| 80 | change ((lift x y).left ≫ μ[(A.pullback f).scheme].left) ≫ p = |
| 81 | (lift (A.baseChangePointsEquiv f T x) (A.baseChangePointsEquiv f T y)).left ≫ μ[A.scheme].left |
| 82 | calc |
| 83 | _ = (lift x y).left ≫ (μ[(A.pullback f).scheme].left ≫ p) := Category.assoc _ _ _ |
| 84 | _ = (lift x y).left ≫ |
| 85 | ((Functor.LaxMonoidal.μ F A.scheme A.scheme).left ≫ p₂ ≫ μ[A.scheme].left) := |
| 86 | congrArg (fun a => (lift x y).left ≫ a) hμ |
| 87 | _ = ((lift x y).left ≫ (Functor.LaxMonoidal.μ F A.scheme A.scheme).left ≫ p₂) ≫ |
| 88 | μ[A.scheme].left := (hassoc μ[A.scheme].left).symm |
| 89 | _ = _ := congrArg (fun a => a ≫ μ[A.scheme].left) hpair |
| 90 | |
| 91 | /-- The point identification restricts to the `N`-torsion subgroups. -/ |
| 92 | def Abelian.Schemes.AbelianScheme.torsionBaseChangeEquiv (A : Abelian.Schemes.AbelianScheme g S) (f : S' ⟶ S) (T : Over S') (N : ℕ) : |
| 93 | (A.pullback f).torsionPoints N T ≃* A.torsionPoints N ((Over.map f).obj T) where |
| 94 | toFun x := ⟨A.baseChangePointsMulEquiv f T x.val, by |
| 95 | change (A.baseChangePointsMulEquiv f T x.val) ^ N = 1 |
| 96 | rw [← map_pow, (Abelian.Schemes.AbelianScheme.mem_torsionPoints _ _ _ _).mp x.property, map_one]⟩ |
| 97 | invFun x := ⟨(A.baseChangePointsMulEquiv f T).symm x.val, by |
| 98 | change ((A.baseChangePointsMulEquiv f T).symm x.val) ^ N = 1 |
| 99 | rw [← map_pow, (Abelian.Schemes.AbelianScheme.mem_torsionPoints _ _ _ _).mp x.property, map_one]⟩ |
| 100 | left_inv x := Subtype.ext ((A.baseChangePointsMulEquiv f T).symm_apply_apply x.val) |
| 101 | right_inv x := Subtype.ext ((A.baseChangePointsMulEquiv f T).apply_symm_apply x.val) |
| 102 | map_mul' x y := Subtype.ext ((A.baseChangePointsMulEquiv f T).map_mul x.val y.val) |
| 103 | |
| 104 | /-- Compatibility with pullback of test schemes makes this an isomorphism of functors. -/ |
| 105 | def Abelian.Schemes.AbelianScheme.torsionBaseChangeIso (A : Abelian.Schemes.AbelianScheme g S) (f : S' ⟶ S) (N : ℕ) : |
| 106 | (A.pullback f).torsionFunctor N ≅ (Over.map f).op ⋙ A.torsionFunctor N := |
| 107 | NatIso.ofComponents (fun T => MulEquiv.toGrpIso (A.torsionBaseChangeEquiv f T.unop N)) |
| 108 | (by |
| 109 | intro T U h |
| 110 | apply GrpCat.hom_ext |
| 111 | apply MonoidHom.ext |
| 112 | intro x |
| 113 | apply Subtype.ext |
| 114 | apply Over.OverMorphism.ext |
| 115 | exact Category.assoc _ _ _) |
| 116 | |
| 117 | /-- Full ordered level structures pull back along every base morphism. -/ |
| 118 | def Abelian.Schemes.AbelianScheme.FullLevel.pullback {A : Abelian.Schemes.AbelianScheme g S} (level : A.FullLevel N) (f : S' ⟶ S) : |
| 119 | (A.pullback f).FullLevel N := |
| 120 | Functor.isoWhiskerLeft (Over.map f).op level ≪≫ (A.torsionBaseChangeIso f N).symm |
| 121 | |
| 122 | end |
| 123 | |
| 124 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |