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.Picard.PoincareBundle.DescentSwitch |
| 2 | import OAI.AlgebraicGeometry.Picard.PoincareBundle.Affine.Descent |
| 3 | |
| 4 | /-! # Switch Coalgebra -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Picard.PoincareBundle.SwitchCoalgebra |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # Ordinary affine descent switches give effective module descent for PoincareBundle |
| 12 | -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.ModuleCat TensorProduct |
| 15 | open scoped TensorProduct ChangeOfRings |
| 16 | |
| 17 | universe u |
| 18 | |
| 19 | variable {R S : Type u} [CommRing R] [CommRing S] (f : R →+* S) |
| 20 | |
| 21 | /-- The restricted module carries its canonical scalar tower. -/ |
| 22 | theorem restrictedScalarTower (M : ModuleCat.{u} S) : |
| 23 | letI := f.toAlgebra |
| 24 | letI := Module.compHom M f |
| 25 | IsScalarTower R S M := by |
| 26 | let := f.toAlgebra |
| 27 | let := Module.compHom M f |
| 28 | exact ⟨fun r s m => mul_smul (f r) s m⟩ |
| 29 | |
| 30 | /-- Tensor descent data with the scalar structures supplied by the ring map. -/ |
| 31 | abbrev SwitchDatum (M : ModuleCat.{u} S) := |
| 32 | let := f.toAlgebra |
| 33 | let := Module.compHom M f |
| 34 | let := restrictedScalarTower f M |
| 35 | DescentSwitch.SwitchDatum R S M |
| 36 | |
| 37 | variable (M : ModuleCat.{u} S) |
| 38 | |
| 39 | /-- The tensor switch induces the actual extension/restriction coaction. -/ |
| 40 | def coaction (D : SwitchDatum f M) : |
| 41 | M ⟶ (extendRestrictScalarsAdj.{u,u,u} f).toComonad.obj M := by |
| 42 | letI := f.toAlgebra |
| 43 | letI := Module.compHom M f |
| 44 | letI := restrictedScalarTower f M |
| 45 | exact ofHom (Y := (extendRestrictScalarsAdj.{u,u,u} f).toComonad.obj M) D.coaction |
| 46 | |
| 47 | /-- Its ordinary diagonal identity implies the categorical counit identity. -/ |
| 48 | theorem coaction_counit (D : SwitchDatum f M) : |
| 49 | SwitchCoalgebra.coaction f M D ≫ (extendRestrictScalarsAdj.{u,u,u} f).counit.app M = 𝟙 M := by |
| 50 | let := f.toAlgebra |
| 51 | let := Module.compHom M f |
| 52 | let := restrictedScalarTower f M |
| 53 | apply ModuleCat.hom_ext |
| 54 | apply LinearMap.ext |
| 55 | intro m |
| 56 | change DescentSwitch.diagonal R S M (D.coaction m) = m |
| 57 | exact D.counit m |
| 58 | |
| 59 | /-- The ordinary three-factor cocycle implies categorical coassociativity. -/ |
| 60 | theorem coaction_coassoc (D : SwitchDatum f M) : |
| 61 | SwitchCoalgebra.coaction f M D ≫ (extendRestrictScalarsAdj.{u,u,u} f).toComonad.δ.app M = |
| 62 | SwitchCoalgebra.coaction f M D ≫ (extendRestrictScalarsAdj.{u,u,u} f).toComonad.map |
| 63 | (SwitchCoalgebra.coaction f M D) := by |
| 64 | let := f.toAlgebra |
| 65 | let := Module.compHom M f |
| 66 | let := restrictedScalarTower f M |
| 67 | apply ModuleCat.hom_ext |
| 68 | apply LinearMap.ext |
| 69 | intro m |
| 70 | change TensorProduct.map (LinearMap.id : S →ₗ[R] S) |
| 71 | (DescentSwitch.unitMap R S M) (D.coaction m) = |
| 72 | TensorProduct.map (LinearMap.id : S →ₗ[R] S) |
| 73 | (D.coaction.restrictScalars R) (D.coaction m) |
| 74 | exact (D.coassoc m).symm |
| 75 | |
| 76 | /-- A switch satisfying the Čech identities gives a genuine comonad coalgebra. -/ |
| 77 | def moduleDatum (D : SwitchDatum f M) : |
| 78 | Affine.Descent.ModuleDatum f where |
| 79 | A := M |
| 80 | a := SwitchCoalgebra.coaction f M D |
| 81 | counit := coaction_counit f M D |
| 82 | coassoc := coaction_coassoc f M D |
| 83 | |
| 84 | end |
| 85 | |
| 86 | end OAI.AlgebraicGeometry.Picard.PoincareBundle.SwitchCoalgebra |