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.ModelLinearity |
| 2 | |
| 3 | /-! # Triple Extension -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Picard.PoincareBundle.Cech.TripleExtension |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | # Extending actual affine gluing to three tensor factors |
| 11 | -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.ModuleCat TensorProduct |
| 14 | open scoped TensorProduct ChangeOfRings |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | open OAI.AlgebraicGeometry.Picard.PoincareBundle.Cech.ModuleModels OAI.AlgebraicGeometry.Picard.PoincareBundle.Cech.Switch OAI.AlgebraicGeometry.Picard.PoincareBundle.Cech.ModelLinearity |
| 19 | open OAI.AlgebraicGeometry.Picard.PoincareBundle.ModuleBaseChangeFunctor |
| 20 | |
| 21 | variable (R S : Type u) [CommRing R] [CommRing S] [Algebra R S] |
| 22 | (M : ModuleCat.{u} S) |
| 23 | |
| 24 | local notation "U" => S ⊗[R] S |
| 25 | |
| 26 | /-- The common three-factor tensor model, as a module over its leading coefficient ring. -/ |
| 27 | abbrev tripleModule : ModuleCat.{u} S := |
| 28 | of S (S ⊗[R] (S ⊗[R] (restrictScalars (algebraMap R S)).obj M)) |
| 29 | |
| 30 | /-- Extend the first Čech tensor model by an additional coefficient factor. -/ |
| 31 | def firstPreModel : (ModuleBaseChangeFunctor.sourceFunctor R U S).obj (ModuleModels.firstPullback R S M) ≅ tripleModule R S M := |
| 32 | ModuleBaseChangeFunctor.sourceModelIso R U S (ModuleModels.firstPullback R S M) ≪≫ |
| 33 | (AlgebraTensorModule.congr (LinearEquiv.refl S S) (ModelLinearity.firstLinearModel R S M)).toModuleIso |
| 34 | |
| 35 | /-- Extend the second Čech tensor model by an additional coefficient factor. -/ |
| 36 | def secondPreModel : (ModuleBaseChangeFunctor.sourceFunctor R U S).obj (ModuleModels.secondPullback R S M) ≅ tripleModule R S M := |
| 37 | ModuleBaseChangeFunctor.sourceModelIso R U S (ModuleModels.secondPullback R S M) ≪≫ |
| 38 | (AlgebraTensorModule.congr (LinearEquiv.refl S S) (ModelLinearity.secondLinearModel R S M)).toModuleIso |
| 39 | |
| 40 | /-- The actual extension of the first pullback to the three-factor coordinate ring. -/ |
| 41 | def firstTripleModel : (ModuleBaseChangeFunctor.targetFunctor R U S).obj (ModuleModels.firstPullback R S M) ≅ tripleModule R S M := |
| 42 | (ModuleBaseChangeFunctor.objectIso R U S (ModuleModels.firstPullback R S M)).symm ≪≫ firstPreModel R S M |
| 43 | |
| 44 | /-- The actual extension of the second pullback to the three-factor coordinate ring. -/ |
| 45 | def secondTripleModel : (ModuleBaseChangeFunctor.targetFunctor R U S).obj (ModuleModels.secondPullback R S M) ≅ tripleModule R S M := |
| 46 | (ModuleBaseChangeFunctor.objectIso R U S (ModuleModels.secondPullback R S M)).symm ≪≫ secondPreModel R S M |
| 47 | |
| 48 | /-- The switch on the last two factors is linear over the leading coefficient ring. -/ |
| 49 | def tripleSwitch (σ : ModuleModels.firstPullback R S M ≅ ModuleModels.secondPullback R S M) : |
| 50 | tripleModule R S M ⟶ tripleModule R S M := |
| 51 | ofHom ((Switch.gluingSwitch R S M σ).toLinearMap.baseChange S) |
| 52 | |
| 53 | /-- Extension followed by the two tensor models carries gluing to the last-factor switch. -/ |
| 54 | theorem preModel_naturality (σ : ModuleModels.firstPullback R S M ≅ ModuleModels.secondPullback R S M) : |
| 55 | (firstPreModel R S M).hom ≫ tripleSwitch R S M σ = |
| 56 | (ModuleBaseChangeFunctor.sourceFunctor R U S).map σ.hom ≫ (secondPreModel R S M).hom := by |
| 57 | apply ModuleCat.ExtendScalars.hom_ext (f := algebraMap R S) |
| 58 | intro p |
| 59 | change (1 : S) ⊗ₜ[R] (Switch.gluingSwitch R S M σ (ModelLinearity.firstLinearModel R S M p)) = |
| 60 | (1 : S) ⊗ₜ[R] (ModelLinearity.secondLinearModel R S M (σ.hom p)) |
| 61 | change (1 : S) ⊗ₜ[R] (ModuleModels.secondModel R S M (σ.hom |
| 62 | ((ModuleModels.firstModel R S M).symm (ModuleModels.firstModel R S M p)))) = _ |
| 63 | erw [AddEquiv.symm_apply_apply] |
| 64 | rfl |
| 65 | |
| 66 | /-- Actual scalar extension of the gluing map becomes the three-factor switch. -/ |
| 67 | theorem tripleModel_naturality (σ : ModuleModels.firstPullback R S M ≅ ModuleModels.secondPullback R S M) : |
| 68 | (ModuleBaseChangeFunctor.targetFunctor R U S).map σ.hom ≫ (secondTripleModel R S M).hom = |
| 69 | (firstTripleModel R S M).hom ≫ tripleSwitch R S M σ := by |
| 70 | apply (cancel_epi (ModuleBaseChangeFunctor.objectIso R U S (ModuleModels.firstPullback R S M)).hom).mp |
| 71 | change (ModuleBaseChangeFunctor.objectIso R U S (ModuleModels.firstPullback R S M)).hom ≫ |
| 72 | ((ModuleBaseChangeFunctor.targetFunctor R U S).map σ.hom ≫ |
| 73 | ((ModuleBaseChangeFunctor.objectIso R U S (ModuleModels.secondPullback R S M)).inv ≫ (secondPreModel R S M).hom)) = |
| 74 | (ModuleBaseChangeFunctor.objectIso R U S (ModuleModels.firstPullback R S M)).hom ≫ |
| 75 | (((ModuleBaseChangeFunctor.objectIso R U S (ModuleModels.firstPullback R S M)).inv ≫ (firstPreModel R S M).hom) ≫ |
| 76 | tripleSwitch R S M σ) |
| 77 | rw [← Category.assoc, ← ModuleBaseChangeFunctor.objectIso_naturality] |
| 78 | simp only [Category.assoc, Iso.hom_inv_id_assoc] |
| 79 | exact (preModel_naturality R S M σ).symm |
| 80 | |
| 81 | end |
| 82 | |
| 83 | end OAI.AlgebraicGeometry.Picard.PoincareBundle.Cech.TripleExtension |