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.AnnihilatorRepresentation |
| 2 | |
| 3 | /-! # Cartier Functoriality -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | Native Cartier restriction preserves identities and reverses composition. |
| 11 | Coordinate changes therefore give actual dual-group isomorphisms, with |
| 12 | the restriction square needed to transport opposite annihilators. |
| 13 | -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | open scoped _root_.CategoryTheory.MonObj |
| 17 | |
| 18 | universe u |
| 19 | |
| 20 | variable {R : CommRingCat.{u}} {G H J : Grp (Over (Spec R))} |
| 21 | |
| 22 | theorem CartierModel.Construction.CartierCoordinates.restriction_id (P : CartierModel.Construction.CartierCoordinates R G) : P.restriction P (𝟙 G) = 𝟙 P.dualGroup := by |
| 23 | apply Grp.hom_ext |
| 24 | apply (BaseChange.Construction.fppfPoints (Spec R)).map_injective |
| 25 | apply (cancel_mono P.characterIso.hom).mp |
| 26 | exact (P.restriction_characterIso P (𝟙 G)).trans |
| 27 | (((congrArg (fun z => P.characterIso.hom ≫ z) (AnnihilatorSheaf.Construction.characterRestriction_id G)).trans |
| 28 | (Category.comp_id P.characterIso.hom)).trans |
| 29 | ((congrArg (fun z => z ≫ P.characterIso.hom) |
| 30 | ((BaseChange.Construction.fppfPoints (Spec R)).map_id P.dualGroup.X)).trans |
| 31 | (Category.id_comp P.characterIso.hom)).symm) |
| 32 | |
| 33 | theorem CartierModel.Construction.CartierCoordinates.restriction_comp (P : CartierModel.Construction.CartierCoordinates R G) (Q : CartierModel.Construction.CartierCoordinates R H) |
| 34 | (V : CartierModel.Construction.CartierCoordinates R J) (i : H ⟶ G) (j : J ⟶ H) : |
| 35 | P.restriction Q i ≫ Q.restriction V j = P.restriction V (j ≫ i) := by |
| 36 | apply Grp.hom_ext |
| 37 | change (P.restriction Q i).hom.hom ≫ (Q.restriction V j).hom.hom = _ |
| 38 | apply (BaseChange.Construction.fppfPoints (Spec R)).map_injective |
| 39 | apply (cancel_mono V.characterIso.hom).mp |
| 40 | let F := BaseChange.Construction.fppfPoints (Spec R) |
| 41 | let a : F.obj P.dualScheme ⟶ F.obj Q.dualScheme := F.map (P.restriction Q i).hom.hom |
| 42 | let b : F.obj Q.dualScheme ⟶ F.obj V.dualScheme := F.map (Q.restriction V j).hom.hom |
| 43 | let c := CartierDuality.CharacterSheaf.Construction.Schemes.characterRestriction i |
| 44 | let d := CartierDuality.CharacterSheaf.Construction.Schemes.characterRestriction j |
| 45 | exact (congrArg (fun z => z ≫ V.characterIso.hom) (F.map_comp _ _)).trans |
| 46 | ((Category.assoc a b V.characterIso.hom).trans |
| 47 | ((congrArg (fun z => a ≫ z) (Q.restriction_characterIso V j)).trans |
| 48 | ((Category.assoc a Q.characterIso.hom d).symm.trans |
| 49 | ((congrArg (fun z => z ≫ d) (P.restriction_characterIso Q i)).trans |
| 50 | ((Category.assoc P.characterIso.hom c d).trans |
| 51 | ((congrArg (fun z => P.characterIso.hom ≫ z) (AnnihilatorSheaf.Construction.characterRestriction_comp j i)).trans |
| 52 | (P.restriction_characterIso V (j ≫ i)).symm)))))) |
| 53 | |
| 54 | def CartierModel.Construction.CartierCoordinates.dualIso (P : CartierModel.Construction.CartierCoordinates R G) (Q : CartierModel.Construction.CartierCoordinates R H) (e : G ≅ H) : |
| 55 | Q.dualGroup ≅ P.dualGroup where |
| 56 | hom := Q.restriction P e.hom |
| 57 | inv := P.restriction Q e.inv |
| 58 | hom_inv_id := by rw [CartierModel.Construction.CartierCoordinates.restriction_comp, e.inv_hom_id, CartierModel.Construction.CartierCoordinates.restriction_id] |
| 59 | inv_hom_id := by rw [CartierModel.Construction.CartierCoordinates.restriction_comp, e.hom_inv_id, CartierModel.Construction.CartierCoordinates.restriction_id] |
| 60 | |
| 61 | variable {G' H' : Grp (Over (Spec R))} |
| 62 | variable (P : CartierModel.Construction.CartierCoordinates R G) (Q : CartierModel.Construction.CartierCoordinates R H) |
| 63 | variable (P' : CartierModel.Construction.CartierCoordinates R G') (Q' : CartierModel.Construction.CartierCoordinates R H') |
| 64 | variable (i : H ⟶ G) (i' : H' ⟶ G') (eG : G ≅ G') (eH : H ≅ H') |
| 65 | variable (hsquare : i ≫ eG.hom = eH.hom ≫ i') |
| 66 | |
| 67 | include hsquare in |
| 68 | theorem CartierModel.Construction.CartierCoordinates.dualIso_restriction : |
| 69 | (P.dualIso P' eG).hom ≫ P.restriction Q i = |
| 70 | P'.restriction Q' i' ≫ (Q.dualIso Q' eH).hom := by |
| 71 | change P'.restriction P eG.hom ≫ P.restriction Q i = |
| 72 | P'.restriction Q' i' ≫ Q'.restriction Q eH.hom |
| 73 | rw [CartierModel.Construction.CartierCoordinates.restriction_comp, CartierModel.Construction.CartierCoordinates.restriction_comp, hsquare] |
| 74 | |
| 75 | /-- A coordinate change transports the complete actual opposite |
| 76 | annihilator scheme, with no reducedness assumption. -/ |
| 77 | def CartierModel.Construction.CartierCoordinates.annihilatorIso : (P'.annihilatorGroup Q' i').X ≅ (P.annihilatorGroup Q i).X := |
| 78 | P'.annihilatorEqualizerIso Q' i' ≪≫ |
| 79 | CategoryTheory.Limits.HasLimit.isoOfNatIso |
| 80 | (CategoryTheory.Limits.parallelPairIso _ _ _ _ |
| 81 | ((Grp.forget (Over (Spec R))).mapIso (P.dualIso P' eG)) |
| 82 | ((Grp.forget (Over (Spec R))).mapIso (Q.dualIso Q' eH)) |
| 83 | (congrArg (fun f => f.hom.hom) (P.dualIso_restriction Q P' Q' i i' eG eH hsquare)).symm |
| 84 | (by |
| 85 | change (1 : P'.dualGroup.X ⟶ Q'.dualGroup.X) ≫ (Q.dualIso Q' eH).hom.hom.hom = |
| 86 | (P.dualIso P' eG).hom.hom.hom ≫ (1 : P.dualGroup.X ⟶ Q.dualGroup.X) |
| 87 | exact (MonObj.one_comp _).trans (MonObj.comp_one _).symm)) ≪≫ |
| 88 | (P.annihilatorEqualizerIso Q i).symm |
| 89 | |
| 90 | theorem CartierModel.Construction.CartierCoordinates.annihilatorIso_inclusion : |
| 91 | (P.annihilatorIso Q P' Q' i i' eG eH hsquare).hom ≫ (P.annihilatorInclusion Q i).hom.hom = |
| 92 | (P'.annihilatorInclusion Q' i').hom.hom ≫ (P.dualIso P' eG).hom.hom.hom := by |
| 93 | let w := CategoryTheory.Limits.parallelPairIso |
| 94 | (P'.restriction Q' i').hom.hom (1 : P'.dualGroup.X ⟶ Q'.dualGroup.X) |
| 95 | (P.restriction Q i).hom.hom (1 : P.dualGroup.X ⟶ Q.dualGroup.X) |
| 96 | ((Grp.forget (Over (Spec R))).mapIso (P.dualIso P' eG)) |
| 97 | ((Grp.forget (Over (Spec R))).mapIso (Q.dualIso Q' eH)) |
| 98 | (congrArg (fun f => f.hom.hom) (P.dualIso_restriction Q P' Q' i i' eG eH hsquare)).symm |
| 99 | (by |
| 100 | change (1 : P'.dualGroup.X ⟶ Q'.dualGroup.X) ≫ (Q.dualIso Q' eH).hom.hom.hom = |
| 101 | (P.dualIso P' eG).hom.hom.hom ≫ (1 : P.dualGroup.X ⟶ Q.dualGroup.X) |
| 102 | exact (MonObj.one_comp _).trans (MonObj.comp_one _).symm) |
| 103 | have hw := CategoryTheory.Limits.HasLimit.isoOfNatIso_hom_π w CategoryTheory.Limits.WalkingParallelPair.zero |
| 104 | change (CategoryTheory.Limits.HasLimit.isoOfNatIso w).hom ≫ |
| 105 | CategoryTheory.Limits.equalizer.ι (P.restriction Q i).hom.hom (1 : P.dualGroup.X ⟶ Q.dualGroup.X) = |
| 106 | CategoryTheory.Limits.equalizer.ι (P'.restriction Q' i').hom.hom (1 : P'.dualGroup.X ⟶ Q'.dualGroup.X) ≫ |
| 107 | (P.dualIso P' eG).hom.hom.hom at hw |
| 108 | have hi : (P.annihilatorEqualizerIso Q i).inv ≫ (P.annihilatorInclusion Q i).hom.hom = |
| 109 | CategoryTheory.Limits.equalizer.ι (P.restriction Q i).hom.hom (1 : P.dualGroup.X ⟶ Q.dualGroup.X) := by |
| 110 | rw [← P.annihilatorEqualizerIso_inclusion Q i, ← Category.assoc, Iso.inv_hom_id, Category.id_comp] |
| 111 | change ((P'.annihilatorEqualizerIso Q' i').hom ≫ |
| 112 | (CategoryTheory.Limits.HasLimit.isoOfNatIso w).hom ≫ (P.annihilatorEqualizerIso Q i).inv) ≫ _ = _ |
| 113 | rw [Category.assoc, Category.assoc, hi, hw, ← Category.assoc, |
| 114 | P'.annihilatorEqualizerIso_inclusion Q' i'] |
| 115 | |
| 116 | end |
| 117 | |
| 118 | end OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel |