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.CartierModel |
| 2 | |
| 3 | /-! # Cartier Products -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.CartierProducts.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | Cartier duality carries an actual split product to the product of its |
| 11 | duals. The comparison map is restriction to the two factor inclusions. |
| 12 | -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry Opposite |
| 15 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 16 | open scoped _root_.CategoryTheory.MonObj |
| 17 | |
| 18 | universe u |
| 19 | |
| 20 | variable {S : Scheme.{u}} |
| 21 | |
| 22 | def splitFirstProjection (G H : Grp (Over S)) : G ⊗ H ⟶ G := |
| 23 | Grp.homMk (fst G.X H.X) |
| 24 | |
| 25 | def characterSectionsCongr {G H : Grp (Over S)} (e : G ≅ H) (T : Over S) : |
| 26 | CharacterGroups.Construction.CharacterSections G T ≃ CharacterGroups.Construction.CharacterSections H T where |
| 27 | toFun χ := (CharacterGroups.Construction.characterGroupRestriction e.inv).app (op T) χ |
| 28 | invFun χ := (CharacterGroups.Construction.characterGroupRestriction e.hom).app (op T) χ |
| 29 | left_inv χ := by |
| 30 | ext U x |
| 31 | change U.unop.left ⟶ G.X at x |
| 32 | change χ.app U ((x ≫ e.hom.hom.hom) ≫ e.inv.hom.hom) = χ.app U x |
| 33 | have h : e.hom.hom.hom ≫ e.inv.hom.hom = 𝟙 G.X := |
| 34 | congrArg (fun f : G ⟶ G => f.hom.hom) e.hom_inv_id |
| 35 | erw [Category.assoc, h, Category.comp_id] |
| 36 | right_inv χ := by |
| 37 | ext U x |
| 38 | change U.unop.left ⟶ H.X at x |
| 39 | change χ.app U ((x ≫ e.inv.hom.hom) ≫ e.hom.hom.hom) = χ.app U x |
| 40 | have h : e.inv.hom.hom ≫ e.hom.hom.hom = 𝟙 H.X := |
| 41 | congrArg (fun f : H ⟶ H => f.hom.hom) e.inv_hom_id |
| 42 | erw [Category.assoc, h, Category.comp_id] |
| 43 | |
| 44 | /-- Every character of a product is the product of its two restrictions. -/ |
| 45 | def splitCharacterEquiv (G H : Grp (Over S)) (T : Over S) : |
| 46 | CharacterGroups.Construction.CharacterSections (G ⊗ H) T ≃ CharacterGroups.Construction.CharacterSections G T × CharacterGroups.Construction.CharacterSections H T where |
| 47 | toFun χ := ((CharacterGroups.Construction.characterGroupRestriction (AnnihilatorSheaf.Construction.splitFirstInclusion G H)).app (op T) χ, |
| 48 | (CharacterGroups.Construction.characterGroupRestriction (AnnihilatorSheaf.Construction.splitSecondInclusion G H)).app (op T) χ) |
| 49 | invFun χ := (CharacterGroups.Construction.characterGroupRestriction (splitFirstProjection G H)).app (op T) χ.1 * |
| 50 | (CharacterGroups.Construction.characterGroupRestriction (AnnihilatorSheaf.Construction.splitSecondProjection G H)).app (op T) χ.2 |
| 51 | left_inv χ := by |
| 52 | ext U z |
| 53 | change U.unop.left ⟶ (G ⊗ H).X at z |
| 54 | let χU : (U.unop.left ⟶ (G ⊗ H).X) →* |
| 55 | (U.unop.left ⟶ (CartierDuality.CharacterSheaf.Construction.Schemes.multiplicativeGroupOver S).X) := (χ.app U).hom |
| 56 | change χU ((z ≫ fst G.X H.X) ≫ lift (𝟙 G.X) (1 : G.X ⟶ H.X)) * |
| 57 | χU ((z ≫ snd G.X H.X) ≫ lift (1 : H.X ⟶ G.X) (𝟙 H.X)) = χU z |
| 58 | rw [← χU.map_mul] |
| 59 | apply congrArg χU |
| 60 | apply CartesianMonoidalCategory.hom_ext |
| 61 | · simp only [MonObj.mul_comp, Category.assoc, lift_fst, Category.comp_id, |
| 62 | MonObj.comp_one, mul_one] |
| 63 | · simp only [MonObj.mul_comp, Category.assoc, lift_snd, Category.comp_id, |
| 64 | MonObj.comp_one, one_mul] |
| 65 | right_inv χ := by |
| 66 | apply Prod.ext |
| 67 | · ext U z |
| 68 | change U.unop.left ⟶ G.X at z |
| 69 | change χ.1.app U ((z ≫ lift (𝟙 G.X) (1 : G.X ⟶ H.X)) ≫ fst G.X H.X) * |
| 70 | χ.2.app U ((z ≫ lift (𝟙 G.X) (1 : G.X ⟶ H.X)) ≫ snd G.X H.X) = χ.1.app U z |
| 71 | erw [Category.assoc, Category.assoc, lift_fst, lift_snd, Category.comp_id, |
| 72 | MonObj.comp_one, (χ.2.app U).hom.map_one, mul_one] |
| 73 | · ext U z |
| 74 | change U.unop.left ⟶ H.X at z |
| 75 | change χ.1.app U ((z ≫ lift (1 : H.X ⟶ G.X) (𝟙 H.X)) ≫ fst G.X H.X) * |
| 76 | χ.2.app U ((z ≫ lift (1 : H.X ⟶ G.X) (𝟙 H.X)) ≫ snd G.X H.X) = χ.2.app U z |
| 77 | erw [Category.assoc, Category.assoc, lift_fst, lift_snd, Category.comp_id, |
| 78 | MonObj.comp_one, (χ.1.app U).hom.map_one, one_mul] |
| 79 | |
| 80 | variable {R : CommRingCat.{u}} {B G H : Grp (Over (Spec R))} |
| 81 | variable (e : B ≅ G ⊗ H) (P : CartierModel.Construction.CartierCoordinates R B) |
| 82 | variable (Q : CartierModel.Construction.CartierCoordinates R G) (V : CartierModel.Construction.CartierCoordinates R H) |
| 83 | |
| 84 | def splitDualRestriction : P.dualGroup ⟶ Q.dualGroup ⊗ V.dualGroup := |
| 85 | Grp.homMk (lift (P.restriction Q (AnnihilatorSheaf.Construction.splitFirstInclusion G H ≫ e.inv)).hom.hom |
| 86 | (P.restriction V (AnnihilatorSheaf.Construction.splitSecondInclusion G H ≫ e.inv)).hom.hom) |
| 87 | |
| 88 | def splitDualPointsEquiv (T : Over (Spec R)) : |
| 89 | (T ⟶ P.dualGroup.X) ≃ (T ⟶ (Q.dualGroup ⊗ V.dualGroup).X) := |
| 90 | (P.pointsEquiv T).toEquiv |>.trans (characterSectionsCongr e T) |>.trans |
| 91 | (splitCharacterEquiv G H T) |>.trans |
| 92 | (Equiv.prodCongr (Q.pointsEquiv T).toEquiv.symm (V.pointsEquiv T).toEquiv.symm) |>.trans |
| 93 | { toFun := fun a => lift a.1 a.2 |
| 94 | invFun := fun a => (a ≫ fst _ _, a ≫ snd _ _) |
| 95 | left_inv := fun a => by simp only [lift_fst, lift_snd] |
| 96 | right_inv := fun a => by |
| 97 | exact (comp_lift a (fst _ _) (snd _ _)).symm.trans |
| 98 | ((congrArg (fun f => a ≫ f) lift_fst_snd).trans (Category.comp_id a)) } |
| 99 | |
| 100 | theorem splitDualPointsEquiv_apply (T : Over (Spec R)) (a : T ⟶ P.dualGroup.X) : |
| 101 | splitDualPointsEquiv e P Q V T a = a ≫ (splitDualRestriction e P Q V).hom.hom := by |
| 102 | apply CartesianMonoidalCategory.hom_ext |
| 103 | · change (lift _ _) ≫ fst Q.dualGroup.X V.dualGroup.X = _ |
| 104 | rw [lift_fst] |
| 105 | change (Q.pointsEquiv T).symm |
| 106 | ((CharacterGroups.Construction.characterGroupRestriction (AnnihilatorSheaf.Construction.splitFirstInclusion G H)).app (op T) |
| 107 | ((CharacterGroups.Construction.characterGroupRestriction e.inv).app (op T) (P.pointsEquiv T a))) = |
| 108 | (a ≫ lift _ _) ≫ fst Q.dualGroup.X V.dualGroup.X |
| 109 | rw [Category.assoc, lift_fst] |
| 110 | let χ : CharacterGroups.Construction.CharacterSections G T := |
| 111 | (CharacterGroups.Construction.characterGroupRestriction (AnnihilatorSheaf.Construction.splitFirstInclusion G H)).app (op T) |
| 112 | ((CharacterGroups.Construction.characterGroupRestriction e.inv).app (op T) (P.pointsEquiv T a)) |
| 113 | have hχ : χ = Functor.whiskerLeft (Over.forget T).op |
| 114 | (yonedaGrp.map (AnnihilatorSheaf.Construction.splitFirstInclusion G H ≫ e.inv)) ≫ P.pointsEquiv T a := by |
| 115 | ext U x |
| 116 | exact congrArg (fun z => (P.pointsEquiv T a).app U z) |
| 117 | (Category.assoc x (AnnihilatorSheaf.Construction.splitFirstInclusion G H).hom.hom e.inv.hom.hom) |
| 118 | exact (congrArg (Q.pointsEquiv T).symm |
| 119 | (hχ.trans (P.restriction_on_characters Q (AnnihilatorSheaf.Construction.splitFirstInclusion G H ≫ e.inv) T a).symm)).trans |
| 120 | ((Q.pointsEquiv T).symm_apply_apply _) |
| 121 | · change (lift _ _) ≫ snd Q.dualGroup.X V.dualGroup.X = _ |
| 122 | rw [lift_snd] |
| 123 | change (V.pointsEquiv T).symm |
| 124 | ((CharacterGroups.Construction.characterGroupRestriction (AnnihilatorSheaf.Construction.splitSecondInclusion G H)).app (op T) |
| 125 | ((CharacterGroups.Construction.characterGroupRestriction e.inv).app (op T) (P.pointsEquiv T a))) = |
| 126 | (a ≫ lift _ _) ≫ snd Q.dualGroup.X V.dualGroup.X |
| 127 | rw [Category.assoc, lift_snd] |
| 128 | let χ : CharacterGroups.Construction.CharacterSections H T := |
| 129 | (CharacterGroups.Construction.characterGroupRestriction (AnnihilatorSheaf.Construction.splitSecondInclusion G H)).app (op T) |
| 130 | ((CharacterGroups.Construction.characterGroupRestriction e.inv).app (op T) (P.pointsEquiv T a)) |
| 131 | have hχ : χ = Functor.whiskerLeft (Over.forget T).op |
| 132 | (yonedaGrp.map (AnnihilatorSheaf.Construction.splitSecondInclusion G H ≫ e.inv)) ≫ P.pointsEquiv T a := by |
| 133 | ext U x |
| 134 | exact congrArg (fun z => (P.pointsEquiv T a).app U z) |
| 135 | (Category.assoc x (AnnihilatorSheaf.Construction.splitSecondInclusion G H).hom.hom e.inv.hom.hom) |
| 136 | exact (congrArg (V.pointsEquiv T).symm |
| 137 | (hχ.trans (P.restriction_on_characters V (AnnihilatorSheaf.Construction.splitSecondInclusion G H ≫ e.inv) T a).symm)).trans |
| 138 | ((V.pointsEquiv T).symm_apply_apply _) |
| 139 | |
| 140 | instance splitDualRestriction_isIso : IsIso (splitDualRestriction e P Q V).hom.hom := by |
| 141 | apply isIso_of_yoneda_map_bijective |
| 142 | intro T |
| 143 | have h : (fun a : T ⟶ P.dualGroup.X => a ≫ (splitDualRestriction e P Q V).hom.hom) = |
| 144 | splitDualPointsEquiv e P Q V T := |
| 145 | funext (fun a => (splitDualPointsEquiv_apply e P Q V T a).symm) |
| 146 | exact h ▸ (splitDualPointsEquiv e P Q V T).bijective |
| 147 | |
| 148 | /-- Native product duality with its specified restriction morphism. -/ |
| 149 | def splitDualGroupIso : P.dualGroup ≅ Q.dualGroup ⊗ V.dualGroup := |
| 150 | Grp.mkIso (asIso (splitDualRestriction e P Q V).hom.hom) |
| 151 | |
| 152 | end |
| 153 | |
| 154 | end OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.CartierProducts.Construction |