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.CoalgebraMorphisms |
| 2 | |
| 3 | /-! # Coalgebra Fullness -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Picard.PoincareBundle.Cech.CoalgebraFullness |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | # Original Čech-compatible morphisms give actual descent-coalgebra morphisms |
| 11 | -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.ModuleCat |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | open OAI.AlgebraicGeometry.Picard.PoincareBundle.CocycleEffectiveDescent |
| 18 | |
| 19 | variable {R S : Type u} [CommRing R] [CommRing S] (f : R →+* S) |
| 20 | {M N : ModuleCat.{u} S} |
| 21 | |
| 22 | /-- Tensor-coordinate compatibility gives the categorical coaction equation. -/ |
| 23 | theorem compatibility_of_apply |
| 24 | (α : M ⟶ (extendRestrictScalarsAdj.{u,u,u} f).toComonad.obj M) |
| 25 | (β : N ⟶ (extendRestrictScalarsAdj.{u,u,u} f).toComonad.obj N) (a : M ⟶ N) |
| 26 | (h : letI := f.toAlgebra |
| 27 | ∀ m, ModelNaturality.tensorMap R S a (α m) = β (a m)) : |
| 28 | α ≫ (extendRestrictScalarsAdj.{u,u,u} f).toComonad.map a = a ≫ β := by |
| 29 | let := f.toAlgebra |
| 30 | apply ModuleCat.hom_ext |
| 31 | apply LinearMap.ext |
| 32 | intro m |
| 33 | exact (CoalgebraMapCoordinates.map_apply f a (α m)).trans (h m) |
| 34 | |
| 35 | variable (M N) (D : CocycleEffectiveDescent.RingMapDatum f M) (E : CocycleEffectiveDescent.RingMapDatum f N) (a : M ⟶ N) |
| 36 | |
| 37 | /-- Compatibility with the original gluing implies the actual coaction compatibility. -/ |
| 38 | theorem compatibility |
| 39 | (h : letI := f.toAlgebra; GluingMorphisms.PreservesGluing R S a D E) : |
| 40 | (CocycleEffectiveDescent.moduleDatum f M D).a ≫ (extendRestrictScalarsAdj f).toComonad.map a = |
| 41 | a ≫ (CocycleEffectiveDescent.moduleDatum f N E).a := by |
| 42 | apply compatibility_of_apply f (CocycleEffectiveDescent.moduleDatum f M D).a (CocycleEffectiveDescent.moduleDatum f N E).a a |
| 43 | let := f.toAlgebra |
| 44 | have hc := (GluingMorphisms.preservesGluing_iff_coaction R S a D E).mp h |
| 45 | intro m |
| 46 | exact (congrArg (ModelNaturality.tensorMap R S a) |
| 47 | (CoalgebraMorphisms.coaction_apply f M D m)).trans |
| 48 | ((hc m).trans (CoalgebraMorphisms.coaction_apply f N E (a m)).symm) |
| 49 | |
| 50 | /-- The exact original module morphism, now equipped with its proved descent compatibility. -/ |
| 51 | def ofGluing |
| 52 | (h : letI := f.toAlgebra; GluingMorphisms.PreservesGluing R S a D E) : |
| 53 | CocycleEffectiveDescent.moduleDatum f M D ⟶ CocycleEffectiveDescent.moduleDatum f N E where |
| 54 | f := a |
| 55 | h := compatibility f M N D E a h |
| 56 | |
| 57 | theorem ofGluing_f |
| 58 | (h : letI := f.toAlgebra; GluingMorphisms.PreservesGluing R S a D E) : |
| 59 | (ofGluing f M N D E a h).f = a := rfl |
| 60 | |
| 61 | end |
| 62 | |
| 63 | end OAI.AlgebraicGeometry.Picard.PoincareBundle.Cech.CoalgebraFullness |