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.ArithmeticGeometry.Descent.CMVariety.AbelianCoefficientComparison |
| 2 | |
| 3 | /-! # Coefficient Endomorphism Comparison -/ |
| 4 | |
| 5 | namespace OAI.ArithmeticGeometry.Descent.CMVariety.CoefficientEndomorphismComparison.Abelian |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | section |
| 10 | |
| 11 | /-! |
| 12 | The exact coefficient projection square determines the base-changed |
| 13 | endomorphism under the group-preserving fiber comparison. |
| 14 | -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 17 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 18 | |
| 19 | def abelianPullbackEndomorphism |
| 20 | {S S' : Scheme} {g : ℕ} (A : AlgebraicGeometry.AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g S) (q : S' ⟶ S) |
| 21 | (a : A.scheme ⟶ A.scheme) : (A.pullback q).scheme ⟶ (A.pullback q).scheme := |
| 22 | (Over.pullback q).map a |
| 23 | |
| 24 | theorem pullback_over_hom_ext |
| 25 | {S S' : Scheme} (q : S' ⟶ S) (B : Over S) {T : Over S'} |
| 26 | (a b : T ⟶ (Over.pullback q).obj B) |
| 27 | (h : a.left ≫ pullback.fst B.hom q = b.left ≫ pullback.fst B.hom q) : a = b := by |
| 28 | apply Over.OverMorphism.ext |
| 29 | apply pullback.hom_ext |
| 30 | · exact h |
| 31 | · exact a.w.trans b.w.symm |
| 32 | |
| 33 | variable (R B : Type) [CommRing R] [CommRing B] [Algebra R B] |
| 34 | |
| 35 | theorem pullback_endomorphism_conjugation |
| 36 | {S S' : Scheme} (q : S' ⟶ S) (X : Over S) (Y : Over S') |
| 37 | (e : (Over.pullback q).obj X ≅ Y) (a : X ⟶ X) (k : Y ⟶ Y) |
| 38 | (h : (e.inv.left ≫ pullback.fst X.hom q) ≫ a.left = |
| 39 | k.left ≫ (e.inv.left ≫ pullback.fst X.hom q)) : |
| 40 | (Over.pullback q).map a = e.hom ≫ k ≫ e.inv := by |
| 41 | apply (cancel_epi e.inv).mp |
| 42 | rw [e.inv_hom_id_assoc] |
| 43 | apply pullback_over_hom_ext q X |
| 44 | change (e.inv.left ≫ ((Over.pullback q).map a).left) ≫ pullback.fst X.hom q = |
| 45 | (k.left ≫ e.inv.left) ≫ pullback.fst X.hom q |
| 46 | rw [Category.assoc, AlgebraicGeometry.AbelianModuli.HilbertConstruction.Pullback.Comparisons.overPullback_map_left_fst, ← Category.assoc] |
| 47 | exact h.trans (Category.assoc _ _ _).symm |
| 48 | |
| 49 | theorem abelian_pullback_endomorphism_conjugation |
| 50 | {S S' : Scheme} {g : ℕ} (q : S' ⟶ S) |
| 51 | (X : AlgebraicGeometry.AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g S) (Y : AlgebraicGeometry.AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g S') |
| 52 | (e : (X.pullback q).scheme ≅ Y.scheme) |
| 53 | (a : X.scheme ⟶ X.scheme) (k : Y.scheme ⟶ Y.scheme) |
| 54 | (h : (e.inv.left ≫ pullback.fst X.scheme.hom q) ≫ a.left = |
| 55 | k.left ≫ (e.inv.left ≫ pullback.fst X.scheme.hom q)) : |
| 56 | abelianPullbackEndomorphism X q a = e.hom ≫ k ≫ e.inv := |
| 57 | pullback_endomorphism_conjugation q X.scheme Y.scheme e a k h |
| 58 | |
| 59 | theorem coefficient_endomorphism_baseChange_eq {g : ℕ} |
| 60 | (A : AlgebraicGeometry.AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g (Spec (CommRingCat.of R))) (s : (Finset B)ᵒᵖ) |
| 61 | (a : (A.pullback (FiniteCoefficientDiagram.Abelian.finiteCoefficientBaseMap R B s.unop)).scheme ⟶ |
| 62 | (A.pullback (FiniteCoefficientDiagram.Abelian.finiteCoefficientBaseMap R B s.unop)).scheme) |
| 63 | (k : (A.pullback (Spec.map (CommRingCat.ofHom (algebraMap R B)))).scheme ⟶ |
| 64 | (A.pullback (Spec.map (CommRingCat.ofHom (algebraMap R B)))).scheme) |
| 65 | (h : OverEndomorphism.Abelian.standardCoefficientProjection R B A.scheme s ≫ a.left = |
| 66 | k.left ≫ OverEndomorphism.Abelian.standardCoefficientProjection R B A.scheme s) : |
| 67 | abelianPullbackEndomorphism (A.pullback (FiniteCoefficientDiagram.Abelian.finiteCoefficientBaseMap R B s.unop)) |
| 68 | (AbelianCoefficientComparison.coefficientInclusion R B s) a = |
| 69 | (AbelianCoefficientComparison.abelianCoefficientComparison R B A s).hom ≫ k ≫ |
| 70 | (AbelianCoefficientComparison.abelianCoefficientComparison R B A s).inv := by |
| 71 | apply abelian_pullback_endomorphism_conjugation (AbelianCoefficientComparison.coefficientInclusion R B s) |
| 72 | (A.pullback (FiniteCoefficientDiagram.Abelian.finiteCoefficientBaseMap R B s.unop)) |
| 73 | (A.pullback (Spec.map (CommRingCat.ofHom (algebraMap R B)))) |
| 74 | (AbelianCoefficientComparison.abelianCoefficientComparison R B A s) a k |
| 75 | exact (congrArg (fun u => u ≫ a.left) |
| 76 | (AbelianCoefficientComparison.abelianCoefficientComparison_inv_fst R B A s)).trans |
| 77 | (h.trans (congrArg (fun u => k.left ≫ u) |
| 78 | (AbelianCoefficientComparison.abelianCoefficientComparison_inv_fst R B A s).symm)) |
| 79 | |
| 80 | theorem coefficient_endomorphism_baseChange_group {g : ℕ} |
| 81 | (A : AlgebraicGeometry.AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g (Spec (CommRingCat.of R))) (s : (Finset B)ᵒᵖ) |
| 82 | (a : (A.pullback (FiniteCoefficientDiagram.Abelian.finiteCoefficientBaseMap R B s.unop)).scheme ⟶ |
| 83 | (A.pullback (FiniteCoefficientDiagram.Abelian.finiteCoefficientBaseMap R B s.unop)).scheme) |
| 84 | (k : (A.pullback (Spec.map (CommRingCat.ofHom (algebraMap R B)))).scheme ⟶ |
| 85 | (A.pullback (Spec.map (CommRingCat.ofHom (algebraMap R B)))).scheme) [IsMonHom k] |
| 86 | (h : OverEndomorphism.Abelian.standardCoefficientProjection R B A.scheme s ≫ a.left = |
| 87 | k.left ≫ OverEndomorphism.Abelian.standardCoefficientProjection R B A.scheme s) : |
| 88 | IsMonHom (abelianPullbackEndomorphism |
| 89 | (A.pullback (FiniteCoefficientDiagram.Abelian.finiteCoefficientBaseMap R B s.unop)) (AbelianCoefficientComparison.coefficientInclusion R B s) a) := by |
| 90 | rw [coefficient_endomorphism_baseChange_eq R B A s a k h] |
| 91 | infer_instance |
| 92 | |
| 93 | end |
| 94 | |
| 95 | /-! Naturality of the canonical group-preserving coefficient comparisons. -/ |
| 96 | |
| 97 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 98 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 99 | |
| 100 | def ConjugateEndomorphisms |
| 101 | {C : Type*} [Category* C] {X Y : C} (e : X ≅ Y) |
| 102 | (a : X ⟶ X) (b : Y ⟶ Y) : Prop := |
| 103 | a = e.hom ≫ b ≫ e.inv |
| 104 | |
| 105 | theorem iso_conjugation_of_naturality |
| 106 | {C : Type*} [Category* C] {X Y : C} (e : X ≅ Y) |
| 107 | (a : X ⟶ X) (b : Y ⟶ Y) (h : a ≫ e.hom = e.hom ≫ b) : |
| 108 | ConjugateEndomorphisms e a b := |
| 109 | (e.eq_comp_inv.mpr h).trans (Category.assoc _ _ _) |
| 110 | |
| 111 | theorem ConjugateEndomorphisms.trans |
| 112 | {C : Type*} [Category* C] {X Y Z : C} (e : X ≅ Y) (d : Y ≅ Z) |
| 113 | (a : X ⟶ X) (b : Y ⟶ Y) (c : Z ⟶ Z) |
| 114 | (he : ConjugateEndomorphisms e a b) (hd : ConjugateEndomorphisms d b c) : |
| 115 | ConjugateEndomorphisms (e ≪≫ d) a c := by |
| 116 | dsimp only [ConjugateEndomorphisms] at he hd ⊢ |
| 117 | rw [he, hd] |
| 118 | simp only [Iso.trans_hom, Iso.trans_inv, Category.assoc] |
| 119 | |
| 120 | theorem iteratedAbelianPullbackIso_naturality |
| 121 | {S S' S'' : Scheme} {g : ℕ} (A : AlgebraicGeometry.AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g S) |
| 122 | (f : S' ⟶ S) (h : S'' ⟶ S') (p : S'' ⟶ S) (hp : h ≫ f = p) |
| 123 | (a : A.scheme ⟶ A.scheme) : |
| 124 | abelianPullbackEndomorphism (A.pullback f) h (abelianPullbackEndomorphism A f a) ≫ |
| 125 | (AbelianCoefficientComparison.iteratedAbelianPullbackIso A f h p hp).hom = |
| 126 | (AbelianCoefficientComparison.iteratedAbelianPullbackIso A f h p hp).hom ≫ abelianPullbackEndomorphism A p a := by |
| 127 | cases hp |
| 128 | simp only [AbelianCoefficientComparison.iteratedAbelianPullbackIso, Iso.trans_hom, Iso.symm_hom, |
| 129 | AlgebraicGeometry.AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme.pullbackCongrIso, eqToIso_refl, Iso.refl_hom, |
| 130 | AlgebraicGeometry.AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme.pullbackCompIso_inv] |
| 131 | exact (Over.pullbackComp h f).inv.naturality a |
| 132 | |
| 133 | theorem iteratedAbelianPullbackIso_conjugation |
| 134 | {S S' S'' : Scheme} {g : ℕ} (A : AlgebraicGeometry.AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g S) |
| 135 | (f : S' ⟶ S) (h : S'' ⟶ S') (p : S'' ⟶ S) (hp : h ≫ f = p) |
| 136 | (a : A.scheme ⟶ A.scheme) : |
| 137 | ConjugateEndomorphisms (AbelianCoefficientComparison.iteratedAbelianPullbackIso A f h p hp) |
| 138 | (abelianPullbackEndomorphism (A.pullback f) h (abelianPullbackEndomorphism A f a)) |
| 139 | (abelianPullbackEndomorphism A p a) := by |
| 140 | exact iso_conjugation_of_naturality (AbelianCoefficientComparison.iteratedAbelianPullbackIso A f h p hp) |
| 141 | (abelianPullbackEndomorphism (A.pullback f) h (abelianPullbackEndomorphism A f a)) |
| 142 | (abelianPullbackEndomorphism A p a) |
| 143 | (iteratedAbelianPullbackIso_naturality A f h p hp a) |
| 144 | |
| 145 | theorem abelianCoefficientComparison_conjugation |
| 146 | (R B : Type) [CommRing R] [CommRing B] [Algebra R B] {g : ℕ} |
| 147 | (A : AlgebraicGeometry.AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g (Spec (CommRingCat.of R))) (s : (Finset B)ᵒᵖ) |
| 148 | (a : A.scheme ⟶ A.scheme) : |
| 149 | ConjugateEndomorphisms (AbelianCoefficientComparison.abelianCoefficientComparison R B A s) |
| 150 | (abelianPullbackEndomorphism (A.pullback (FiniteCoefficientDiagram.Abelian.finiteCoefficientBaseMap R B s.unop)) |
| 151 | (AbelianCoefficientComparison.coefficientInclusion R B s) |
| 152 | (abelianPullbackEndomorphism A (FiniteCoefficientDiagram.Abelian.finiteCoefficientBaseMap R B s.unop) a)) |
| 153 | (abelianPullbackEndomorphism A (Spec.map (CommRingCat.ofHom (algebraMap R B))) a) := |
| 154 | iteratedAbelianPullbackIso_conjugation A _ _ _ (AbelianCoefficientComparison.coefficientInclusion_base R B s) a |
| 155 | |
| 156 | end |
| 157 | |
| 158 | end OAI.ArithmeticGeometry.Descent.CMVariety.CoefficientEndomorphismComparison.Abelian |