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.ModelNaturality |
| 2 | import OAI.AlgebraicGeometry.Picard.PoincareBundle.CocycleSwitchMorphisms |
| 3 | import OAI.AlgebraicGeometry.Picard.PoincareBundle.CocycleEffectiveDescent |
| 4 | |
| 5 | /-! # Gluing Morphisms -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Picard.PoincareBundle.Cech.GluingMorphisms |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | # Coaction-compatible module maps preserve the original affine Čech gluing |
| 13 | -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.ModuleCat TensorProduct |
| 16 | open scoped TensorProduct ChangeOfRings |
| 17 | |
| 18 | universe u |
| 19 | |
| 20 | open OAI.AlgebraicGeometry.Picard.PoincareBundle.Cech.ModuleModels OAI.AlgebraicGeometry.Picard.PoincareBundle.Cech.Switch OAI.AlgebraicGeometry.Picard.PoincareBundle.Cech.ModelNaturality OAI.AlgebraicGeometry.Picard.PoincareBundle.CocycleEffectiveDescent |
| 21 | |
| 22 | variable (R S : Type u) [CommRing R] [CommRing S] [Algebra R S] |
| 23 | {M N : ModuleCat.{u} S} (a : M ⟶ N) |
| 24 | |
| 25 | theorem switch_firstModel (σ : ModuleModels.firstPullback R S M ≅ ModuleModels.secondPullback R S M) |
| 26 | (z : ModuleModels.firstPullback R S M) : |
| 27 | Switch.gluingSwitch R S M σ (ModuleModels.firstModel R S M z) = ModuleModels.secondModel R S M (σ.hom z) := by |
| 28 | change ModuleModels.secondModel R S M (σ.hom ((ModuleModels.firstModel R S M).symm (ModuleModels.firstModel R S M z))) = _ |
| 29 | rw [AddEquiv.symm_apply_apply] |
| 30 | |
| 31 | /-- The tensor-model compatibility of a map implies compatibility with the exact gluing maps. -/ |
| 32 | theorem gluing_compatible_of_switch |
| 33 | (σ : ModuleModels.firstPullback R S M ≅ ModuleModels.secondPullback R S M) |
| 34 | (τ : ModuleModels.firstPullback R S N ≅ ModuleModels.secondPullback R S N) |
| 35 | (h : ∀ z, ModelNaturality.tensorMap R S a (Switch.gluingSwitch R S M σ z) = |
| 36 | Switch.gluingSwitch R S N τ (ModelNaturality.tensorMap R S a z)) : |
| 37 | (extendScalars (ModuleModels.firstMap R S)).map a ≫ τ.hom = |
| 38 | σ.hom ≫ (extendScalars (ModuleModels.secondMap R S)).map a := by |
| 39 | apply ModuleCat.hom_ext |
| 40 | apply LinearMap.ext |
| 41 | intro z |
| 42 | apply (ModuleModels.secondModel R S N).injective |
| 43 | change ModuleModels.secondModel R S N (τ.hom ((extendScalars (ModuleModels.firstMap R S)).map a z)) = |
| 44 | ModuleModels.secondModel R S N ((extendScalars (ModuleModels.secondMap R S)).map a (σ.hom z)) |
| 45 | calc |
| 46 | _ = Switch.gluingSwitch R S N τ (ModuleModels.firstModel R S N ((extendScalars (ModuleModels.firstMap R S)).map a z)) := |
| 47 | (switch_firstModel R S τ _).symm |
| 48 | _ = Switch.gluingSwitch R S N τ (ModelNaturality.tensorMap R S a (ModuleModels.firstModel R S M z)) := |
| 49 | congrArg (Switch.gluingSwitch R S N τ) (ModelNaturality.firstModel_naturality R S a z) |
| 50 | _ = ModelNaturality.tensorMap R S a (Switch.gluingSwitch R S M σ (ModuleModels.firstModel R S M z)) := |
| 51 | (h (ModuleModels.firstModel R S M z)).symm |
| 52 | _ = ModelNaturality.tensorMap R S a (ModuleModels.secondModel R S M (σ.hom z)) := |
| 53 | congrArg (ModelNaturality.tensorMap R S a) (switch_firstModel R S σ z) |
| 54 | _ = _ := (ModelNaturality.secondModel_naturality R S a (σ.hom z)).symm |
| 55 | |
| 56 | /-- Coaction compatibility retains compatibility with the complete original Čech gluing. -/ |
| 57 | theorem gluing_compatible_of_coaction (D : CocycleEffectiveDescent.CechCocycle R S M) (E : CocycleEffectiveDescent.CechCocycle R S N) |
| 58 | (h : ∀ m, ModelNaturality.tensorMap R S a (D.toSwitch.coaction m) = E.toSwitch.coaction (a m)) : |
| 59 | (extendScalars (ModuleModels.firstMap R S)).map a ≫ E.gluing.hom = |
| 60 | D.gluing.hom ≫ (extendScalars (ModuleModels.secondMap R S)).map a := by |
| 61 | apply gluing_compatible_of_switch R S a D.gluing E.gluing |
| 62 | exact CocycleSwitchMorphisms.switch_compatible D.toSwitch E.toSwitch a.hom h |
| 63 | |
| 64 | /-- Compatibility with the original gluing is equivalent to compatibility in the tensor model. -/ |
| 65 | theorem switch_compatible_of_gluing |
| 66 | (σ : ModuleModels.firstPullback R S M ≅ ModuleModels.secondPullback R S M) |
| 67 | (τ : ModuleModels.firstPullback R S N ≅ ModuleModels.secondPullback R S N) |
| 68 | (h : (extendScalars (ModuleModels.firstMap R S)).map a ≫ τ.hom = |
| 69 | σ.hom ≫ (extendScalars (ModuleModels.secondMap R S)).map a) |
| 70 | (z : S ⊗[R] (restrictScalars (algebraMap R S)).obj M) : |
| 71 | ModelNaturality.tensorMap R S a (Switch.gluingSwitch R S M σ z) = Switch.gluingSwitch R S N τ (ModelNaturality.tensorMap R S a z) := by |
| 72 | let x := (ModuleModels.firstModel R S M).symm z |
| 73 | have hx : ModuleModels.firstModel R S M x = z := (ModuleModels.firstModel R S M).apply_symm_apply z |
| 74 | have hp : τ.hom ((extendScalars (ModuleModels.firstMap R S)).map a x) = |
| 75 | (extendScalars (ModuleModels.secondMap R S)).map a (σ.hom x) := ConcreteCategory.congr_hom h x |
| 76 | calc |
| 77 | _ = ModelNaturality.tensorMap R S a (Switch.gluingSwitch R S M σ (ModuleModels.firstModel R S M x)) := |
| 78 | congrArg (fun t => ModelNaturality.tensorMap R S a (Switch.gluingSwitch R S M σ t)) hx.symm |
| 79 | _ = ModelNaturality.tensorMap R S a (ModuleModels.secondModel R S M (σ.hom x)) := |
| 80 | congrArg (ModelNaturality.tensorMap R S a) (switch_firstModel R S σ x) |
| 81 | _ = ModuleModels.secondModel R S N ((extendScalars (ModuleModels.secondMap R S)).map a (σ.hom x)) := |
| 82 | (ModelNaturality.secondModel_naturality R S a (σ.hom x)).symm |
| 83 | _ = ModuleModels.secondModel R S N (τ.hom ((extendScalars (ModuleModels.firstMap R S)).map a x)) := |
| 84 | congrArg (ModuleModels.secondModel R S N) hp.symm |
| 85 | _ = Switch.gluingSwitch R S N τ (ModuleModels.firstModel R S N ((extendScalars (ModuleModels.firstMap R S)).map a x)) := |
| 86 | (switch_firstModel R S τ _).symm |
| 87 | _ = Switch.gluingSwitch R S N τ (ModelNaturality.tensorMap R S a (ModuleModels.firstModel R S M x)) := |
| 88 | congrArg (Switch.gluingSwitch R S N τ) (ModelNaturality.firstModel_naturality R S a x) |
| 89 | _ = _ := congrArg (fun t => Switch.gluingSwitch R S N τ (ModelNaturality.tensorMap R S a t)) hx |
| 90 | |
| 91 | /-- Morphisms preserve the extracted coaction exactly when they preserve the original gluing. -/ |
| 92 | theorem gluing_compatible_iff_coaction (D : CocycleEffectiveDescent.CechCocycle R S M) (E : CocycleEffectiveDescent.CechCocycle R S N) : |
| 93 | ((extendScalars (ModuleModels.firstMap R S)).map a ≫ E.gluing.hom = |
| 94 | D.gluing.hom ≫ (extendScalars (ModuleModels.secondMap R S)).map a) ↔ |
| 95 | ∀ m, ModelNaturality.tensorMap R S a (D.toSwitch.coaction m) = E.toSwitch.coaction (a m) := by |
| 96 | constructor |
| 97 | · intro h |
| 98 | exact CocycleSwitchMorphisms.coaction_compatible D.toSwitch E.toSwitch a.hom |
| 99 | (switch_compatible_of_gluing R S a D.gluing E.gluing h) |
| 100 | · exact gluing_compatible_of_coaction R S a D E |
| 101 | |
| 102 | /-- The original affine Čech compatibility of an actual module morphism. -/ |
| 103 | def PreservesGluing (D : CocycleEffectiveDescent.CechCocycle R S M) (E : CocycleEffectiveDescent.CechCocycle R S N) : Prop := |
| 104 | (extendScalars (ModuleModels.firstMap R S)).map a ≫ E.gluing.hom = |
| 105 | D.gluing.hom ≫ (extendScalars (ModuleModels.secondMap R S)).map a |
| 106 | |
| 107 | /-- This named geometric condition is exactly coaction compatibility. -/ |
| 108 | theorem preservesGluing_iff_coaction (D : CocycleEffectiveDescent.CechCocycle R S M) (E : CocycleEffectiveDescent.CechCocycle R S N) : |
| 109 | PreservesGluing R S a D E ↔ |
| 110 | ∀ m, ModelNaturality.tensorMap R S a (D.toSwitch.coaction m) = E.toSwitch.coaction (a m) := |
| 111 | gluing_compatible_iff_coaction R S a D E |
| 112 | |
| 113 | end |
| 114 | |
| 115 | end OAI.AlgebraicGeometry.Picard.PoincareBundle.Cech.GluingMorphisms |