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 | /-! # Symmetry -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Picard.PoincareBundle.Cech.Symmetry |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | # Coordinate transposition and the symmetry law for affine descent |
| 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 |
| 19 | |
| 20 | variable (R S : Type u) [CommRing R] [CommRing S] [Algebra R S] |
| 21 | (M : ModuleCat.{u} S) |
| 22 | |
| 23 | /-- Swapping the affine coordinates acts semilinearly on the actual pullback module. -/ |
| 24 | theorem flipPullback_smul (x : S ⊗[R] S) (z : ModuleModels.secondPullback R S M) : |
| 25 | ModuleModels.flipPullback R S M (x • z) = |
| 26 | Algebra.TensorProduct.comm R S S x • ModuleModels.flipPullback R S M z := |
| 27 | ExtensionTwist.extensionEquiv_smul (ModuleModels.secondMap R S) (ModuleModels.firstMap R S) |
| 28 | (Algebra.TensorProduct.comm R S S).toRingEquiv (ModuleModels.flip_second R S) M x z |
| 29 | |
| 30 | /-- Coordinate transposition applied to the gluing morphism. -/ |
| 31 | def swappedHom (σ : ModuleModels.firstPullback R S M ≅ ModuleModels.secondPullback R S M) : |
| 32 | ModuleModels.secondPullback R S M ⟶ ModuleModels.firstPullback R S M := |
| 33 | ofHom (X := ModuleModels.secondPullback R S M) (Y := ModuleModels.firstPullback R S M) { |
| 34 | toFun := fun z => ModuleModels.flipPullback R S M (σ.hom (ModuleModels.flipPullback R S M z)) |
| 35 | map_add' := fun x y => by rw [map_add, map_add, map_add] |
| 36 | map_smul' := fun x z => by |
| 37 | erw [flipPullback_smul, map_smul, flipPullback_smul] |
| 38 | have he : Algebra.TensorProduct.comm R S S (Algebra.TensorProduct.comm R S S x) = x := by |
| 39 | simpa only [Algebra.TensorProduct.comm_symm] using |
| 40 | (Algebra.TensorProduct.comm R S S).symm_apply_apply x |
| 41 | rw [he] |
| 42 | rfl } |
| 43 | |
| 44 | /-- If transposed gluing is inverse gluing, the associated tensor switch is involutive. -/ |
| 45 | theorem gluingSwitch_involutive (σ : ModuleModels.firstPullback R S M ≅ ModuleModels.secondPullback R S M) |
| 46 | (h : swappedHom R S M σ = σ.inv) |
| 47 | (z : S ⊗[R] (restrictScalars (algebraMap R S)).obj M) : |
| 48 | Switch.gluingSwitch R S M σ (Switch.gluingSwitch R S M σ z) = z := by |
| 49 | have hh : σ.hom ≫ swappedHom R S M σ = 𝟙 _ := by rw [h, σ.hom_inv_id] |
| 50 | have hp := ConcreteCategory.congr_hom hh ((ModuleModels.firstModel R S M).symm z) |
| 51 | change ModuleModels.firstModel R S M |
| 52 | (ModuleModels.flipPullback R S M (σ.hom ((ModuleModels.firstModel R S M).symm |
| 53 | (ModuleModels.firstModel R S M (ModuleModels.flipPullback R S M (σ.hom ((ModuleModels.firstModel R S M).symm z))))))) = z |
| 54 | rw [AddEquiv.symm_apply_apply] |
| 55 | change ModuleModels.flipPullback R S M (σ.hom |
| 56 | (ModuleModels.flipPullback R S M (σ.hom ((ModuleModels.firstModel R S M).symm z)))) = |
| 57 | (ModuleModels.firstModel R S M).symm z at hp |
| 58 | rw [hp, AddEquiv.apply_symm_apply] |
| 59 | |
| 60 | end |
| 61 | |
| 62 | end OAI.AlgebraicGeometry.Picard.PoincareBundle.Cech.Symmetry |