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.Switch |
| 2 | |
| 3 | /-! # Model Linearity -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Picard.PoincareBundle.Cech.ModelLinearity |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | # Base-ring linear tensor models for affine Čech pullbacks |
| 11 | |
| 12 | These equivalences allow the Čech diagrams to be extended by another |
| 13 | tensor factor when checking the three-factor cocycle. |
| 14 | -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.ModuleCat TensorProduct |
| 17 | open scoped TensorProduct ChangeOfRings |
| 18 | |
| 19 | universe u |
| 20 | |
| 21 | open OAI.AlgebraicGeometry.Picard.PoincareBundle.Cech.ModuleModels OAI.AlgebraicGeometry.Picard.PoincareBundle.Cech.Switch |
| 22 | |
| 23 | variable (R S : Type u) [CommRing R] [CommRing S] [Algebra R S] |
| 24 | (M : ModuleCat.{u} S) |
| 25 | |
| 26 | /-- The first projection pullback in R-linear tensor coordinates. -/ |
| 27 | def firstLinearModel : |
| 28 | (restrictScalars (algebraMap R (S ⊗[R] S))).obj (ModuleModels.firstPullback R S M) ≃ₗ[R] |
| 29 | S ⊗[R] (restrictScalars (algebraMap R S)).obj M where |
| 30 | __ := ModuleModels.firstModel R S M |
| 31 | map_smul' r z := by |
| 32 | change ModuleModels.firstModel R S M (algebraMap R (S ⊗[R] S) r • |
| 33 | (show ModuleModels.firstPullback R S M from z)) = r • ModuleModels.firstModel R S M z |
| 34 | have h : algebraMap R (S ⊗[R] S) r = ModuleModels.secondMap R S (algebraMap R S r) := |
| 35 | (Algebra.TensorProduct.includeRight.commutes r).symm |
| 36 | rw [h, ModuleModels.firstModel_second_smul] |
| 37 | exact IsScalarTower.algebraMap_smul S r _ |
| 38 | |
| 39 | /-- The second projection pullback in R-linear tensor coordinates. -/ |
| 40 | def secondLinearModel : |
| 41 | (restrictScalars (algebraMap R (S ⊗[R] S))).obj (ModuleModels.secondPullback R S M) ≃ₗ[R] |
| 42 | S ⊗[R] (restrictScalars (algebraMap R S)).obj M where |
| 43 | __ := ModuleModels.secondModel R S M |
| 44 | map_smul' r z := by |
| 45 | change ModuleModels.secondModel R S M (algebraMap R (S ⊗[R] S) r • |
| 46 | (show ModuleModels.secondPullback R S M from z)) = r • ModuleModels.secondModel R S M z |
| 47 | have h : algebraMap R (S ⊗[R] S) r = ModuleModels.firstMap R S (algebraMap R S r) := |
| 48 | ((Algebra.TensorProduct.includeLeft : S →ₐ[R] S ⊗[R] S).commutes r).symm |
| 49 | rw [h, ModuleModels.secondModel_first_smul] |
| 50 | exact IsScalarTower.algebraMap_smul S r _ |
| 51 | |
| 52 | /-- In R-linear coordinates the actual gluing map is precisely the tensor switch. -/ |
| 53 | theorem gluingSwitch_factorization (σ : ModuleModels.firstPullback R S M ≅ ModuleModels.secondPullback R S M) : |
| 54 | (Switch.gluingSwitch R S M σ).toLinearMap = |
| 55 | (secondLinearModel R S M).toLinearMap ∘ₗ |
| 56 | ((restrictScalars (algebraMap R (S ⊗[R] S))).map σ.hom).hom ∘ₗ |
| 57 | (firstLinearModel R S M).symm.toLinearMap := rfl |
| 58 | |
| 59 | /-- Extending gluing by one tensor factor gives the switch on the last two factors. -/ |
| 60 | theorem nextSwitch_factorization (σ : ModuleModels.firstPullback R S M ≅ ModuleModels.secondPullback R S M) : |
| 61 | DescentSwitch.nextSwitch R S ((restrictScalars (algebraMap R S)).obj M) |
| 62 | (Switch.gluingSwitch R S M σ) = |
| 63 | TensorProduct.map (LinearMap.id : S →ₗ[R] S) (secondLinearModel R S M).toLinearMap ∘ₗ |
| 64 | TensorProduct.map (LinearMap.id : S →ₗ[R] S) |
| 65 | ((restrictScalars (algebraMap R (S ⊗[R] S))).map σ.hom).hom ∘ₗ |
| 66 | TensorProduct.map (LinearMap.id : S →ₗ[R] S) |
| 67 | (firstLinearModel R S M).symm.toLinearMap := by |
| 68 | apply TensorProduct.ext |
| 69 | ext s z |
| 70 | rfl |
| 71 | |
| 72 | end |
| 73 | |
| 74 | end OAI.AlgebraicGeometry.Picard.PoincareBundle.Cech.ModelLinearity |