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.ModuleModels |
| 2 | import OAI.AlgebraicGeometry.Picard.PoincareBundle.DescentSwitch |
| 3 | |
| 4 | /-! # Switch -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Picard.PoincareBundle.Cech.Switch |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # A gluing isomorphism on the affine kernel pair gives a tensor switch |
| 12 | -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.ModuleCat TensorProduct |
| 15 | open scoped TensorProduct ChangeOfRings |
| 16 | |
| 17 | universe u |
| 18 | |
| 19 | open OAI.AlgebraicGeometry.Picard.PoincareBundle.Cech.ModuleModels |
| 20 | |
| 21 | variable (R S : Type u) [CommRing R] [CommRing S] [Algebra R S] |
| 22 | (M : ModuleCat.{u} S) |
| 23 | |
| 24 | /-- A genuine isomorphism of the two pullback modules, in tensor coordinates. -/ |
| 25 | def gluingAddEquiv (σ : ModuleModels.firstPullback R S M ≅ ModuleModels.secondPullback R S M) : |
| 26 | S ⊗[R] (restrictScalars (algebraMap R S)).obj M ≃+ |
| 27 | S ⊗[R] (restrictScalars (algebraMap R S)).obj M := |
| 28 | (ModuleModels.firstModel R S M).symm.trans |
| 29 | (σ.toLinearEquiv.toAddEquiv.trans (ModuleModels.secondModel R S M)) |
| 30 | |
| 31 | /-- Base scalars act identically through the two affine kernel-pair projections. -/ |
| 32 | theorem gluingAddEquiv_smul (σ : ModuleModels.firstPullback R S M ≅ ModuleModels.secondPullback R S M) |
| 33 | (r : R) (z : S ⊗[R] (restrictScalars (algebraMap R S)).obj M) : |
| 34 | gluingAddEquiv R S M σ (r • z) = r • gluingAddEquiv R S M σ z := by |
| 35 | rw [← IsScalarTower.algebraMap_smul S r z] |
| 36 | change ModuleModels.secondModel R S M |
| 37 | (σ.hom ((ModuleModels.firstModel R S M).symm (algebraMap R S r • z))) = _ |
| 38 | rw [ModuleModels.firstModel_symm_smul, ← ModuleModels.projection_base_eq] |
| 39 | erw [map_smul, ModuleModels.secondModel_first_smul] |
| 40 | exact IsScalarTower.algebraMap_smul S r _ |
| 41 | |
| 42 | /-- The gluing isomorphism is R-linear in these tensor coordinates. -/ |
| 43 | def gluingSwitch (σ : ModuleModels.firstPullback R S M ≅ ModuleModels.secondPullback R S M) : |
| 44 | S ⊗[R] (restrictScalars (algebraMap R S)).obj M ≃ₗ[R] |
| 45 | S ⊗[R] (restrictScalars (algebraMap R S)).obj M where |
| 46 | __ := gluingAddEquiv R S M σ |
| 47 | map_smul' := gluingAddEquiv_smul R S M σ |
| 48 | |
| 49 | /-- Scalar multiplication on a module before extension moves to its projection ring. -/ |
| 50 | theorem extension_tmul_smul (a : S →+* S ⊗[R] S) (x : S ⊗[R] S) (s : S) (m : M) : |
| 51 | (x ⊗ₜ[S,a] (s • m) : (extendScalars a).obj M) = |
| 52 | (a s * x) ⊗ₜ[S,a] m := by |
| 53 | exact TensorProduct.tmul_smul (R := S) s |
| 54 | (show (restrictScalars a).obj (of (S ⊗[R] S) (S ⊗[R] S)) from x) m |
| 55 | |
| 56 | /-- A gluing isomorphism exchanges the two S-actions in the tensor model. -/ |
| 57 | theorem gluingSwitch_second_smul (σ : ModuleModels.firstPullback R S M ≅ ModuleModels.secondPullback R S M) |
| 58 | (s t : S) (m : (restrictScalars (algebraMap R S)).obj M) : |
| 59 | gluingSwitch R S M σ (t ⊗ₜ[R] (s • m)) = |
| 60 | s • gluingSwitch R S M σ (t ⊗ₜ[R] m) := by |
| 61 | change ModuleModels.secondModel R S M (σ.hom ((ModuleModels.firstModel R S M).symm (t ⊗ₜ[R] (s • m)))) = |
| 62 | s • ModuleModels.secondModel R S M (σ.hom ((ModuleModels.firstModel R S M).symm (t ⊗ₜ[R] m))) |
| 63 | erw [ModuleModels.firstModel_symm_tmul, ModuleModels.firstModel_symm_tmul, extension_tmul_smul, |
| 64 | ← ModuleCat.ExtendScalars.smul_tmul, map_smul, ModuleModels.secondModel_first_smul] |
| 65 | rfl |
| 66 | |
| 67 | end |
| 68 | |
| 69 | end OAI.AlgebraicGeometry.Picard.PoincareBundle.Cech.Switch |