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.Cech.ModelUnits |
| 2 | import OAI.AlgebraicGeometry.Picard.PoincareBundle.Cech.CoalgebraMorphisms |
| 3 | |
| 4 | /-! # Unit Coaction -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Picard.PoincareBundle.Cech.UnitCoaction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # Unit values of the coaction extracted from Čech gluing |
| 12 | -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.ModuleCat TensorProduct |
| 15 | open scoped TensorProduct ChangeOfRings |
| 16 | |
| 17 | universe u |
| 18 | |
| 19 | section |
| 20 | |
| 21 | open OAI.AlgebraicGeometry.Picard.PoincareBundle.Scalar.ExtensionUnits OAI.AlgebraicGeometry.Picard.PoincareBundle.Cech.ModuleModels OAI.AlgebraicGeometry.Picard.PoincareBundle.Cech.ModelUnits OAI.AlgebraicGeometry.Picard.PoincareBundle.CocycleEffectiveDescent |
| 22 | |
| 23 | variable (R S : Type u) [CommRing R] [CommRing S] [Algebra R S] |
| 24 | |
| 25 | /-- A gluing unit gives the usual coaction unit, in the exact affine tensor model. -/ |
| 26 | theorem coaction_unit_of_gluing {X : ModuleCat.{u} S} (D : CocycleEffectiveDescent.CechCocycle R S X) (x : X) |
| 27 | (h : D.gluing.hom (Scalar.ExtensionUnits.unit (ModuleModels.firstMap R S) X x) = Scalar.ExtensionUnits.unit (ModuleModels.secondMap R S) X x) : |
| 28 | D.toSwitch.coaction x = |
| 29 | (1 : S) ⊗ₜ[R] (show (restrictScalars (algebraMap R S)).obj X from x) := by |
| 30 | change ModuleModels.secondModel R S X (D.gluing.hom ((ModuleModels.firstModel R S X).symm |
| 31 | ((1 : S) ⊗ₜ[R] (show (restrictScalars (algebraMap R S)).obj X from x)))) = _ |
| 32 | exact (congrArg (fun z => ModuleModels.secondModel R S X (D.gluing.hom z)) |
| 33 | (ModelUnits.firstModel_symm_unit R S X x)).trans |
| 34 | ((congrArg (ModuleModels.secondModel R S X) h).trans (ModelUnits.secondModel_unit R S X x)) |
| 35 | |
| 36 | /-- A Čech coaction fixes the unit copy of the original base module. -/ |
| 37 | def HasUnitCoaction (M : ModuleCat.{u} R) |
| 38 | (D : CocycleEffectiveDescent.CechCocycle R S ((extendScalars (algebraMap R S)).obj M)) : Prop := |
| 39 | ∀ m, D.toSwitch.coaction (Scalar.ExtensionUnits.unit (algebraMap R S) M m) = |
| 40 | (1 : S) ⊗ₜ[R] |
| 41 | (show (restrictScalars (algebraMap R S)).obj ((extendScalars (algebraMap R S)).obj M) |
| 42 | from Scalar.ExtensionUnits.unit (algebraMap R S) M m) |
| 43 | |
| 44 | /-- Preservation of the original module under gluing implies the canonical coaction units. -/ |
| 45 | theorem hasUnitCoaction_of_gluingUnits (M : ModuleCat.{u} R) |
| 46 | (D : CocycleEffectiveDescent.CechCocycle R S ((extendScalars (algebraMap R S)).obj M)) |
| 47 | (h : Scalar.ExtensionUnits.PreservesUnits (algebraMap R S) (ModuleModels.firstMap R S) (ModuleModels.secondMap R S) M D.gluing.hom) : |
| 48 | HasUnitCoaction R S M D := |
| 49 | fun m => coaction_unit_of_gluing R S D (Scalar.ExtensionUnits.unit (algebraMap R S) M m) (h m) |
| 50 | |
| 51 | end |
| 52 | |
| 53 | open OAI.AlgebraicGeometry.Picard.PoincareBundle.Scalar.ExtensionUnits OAI.AlgebraicGeometry.Picard.PoincareBundle.CocycleEffectiveDescent |
| 54 | |
| 55 | variable {R S : Type u} [CommRing R] [CommRing S] (f : R →+* S) (M : ModuleCat.{u} R) |
| 56 | |
| 57 | /-- The standard comparison coalgebra has the expected value on each unit generator. -/ |
| 58 | theorem comparison_coaction_unit (m : M) : |
| 59 | ((Comonad.comparison (extendRestrictScalarsAdj f)).obj M).a (Scalar.ExtensionUnits.unit f M m) = |
| 60 | Scalar.ExtensionUnits.unit f ((restrictScalars f).obj ((extendScalars f).obj M)) (Scalar.ExtensionUnits.unit f M m) := rfl |
| 61 | |
| 62 | /-- Coaction units determine the actual canonical descent coaction. -/ |
| 63 | theorem coaction_eq_of_units (D : CocycleEffectiveDescent.RingMapDatum f ((extendScalars f).obj M)) |
| 64 | (h : letI := f.toAlgebra; HasUnitCoaction R S M D) : |
| 65 | (CocycleEffectiveDescent.moduleDatum f ((extendScalars f).obj M) D).a = |
| 66 | ((Comonad.comparison (extendRestrictScalarsAdj f)).obj M).a := by |
| 67 | apply Scalar.ExtensionUnits.hom_ext f M |
| 68 | intro m |
| 69 | let := f.toAlgebra |
| 70 | have h₁ := CoalgebraMorphisms.coaction_apply f ((extendScalars f).obj M) D |
| 71 | (Scalar.ExtensionUnits.unit f M m) |
| 72 | exact h₁.trans ((h m).trans (comparison_coaction_unit f M m).symm) |
| 73 | |
| 74 | end |
| 75 | |
| 76 | end OAI.AlgebraicGeometry.Picard.PoincareBundle.Cech.UnitCoaction |