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.CocycleNormalization |
| 2 | |
| 3 | /-! # Cocycle Switch Morphisms -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Picard.PoincareBundle.CocycleSwitchMorphisms |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | # Morphisms of extracted coactions preserve the entire original descent switch |
| 11 | -/ |
| 12 | |
| 13 | open TensorProduct |
| 14 | open scoped TensorProduct |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | open OAI.AlgebraicGeometry.Picard.PoincareBundle.DescentSwitch OAI.AlgebraicGeometry.Picard.PoincareBundle.CocycleSwitchNext OAI.AlgebraicGeometry.Picard.PoincareBundle.CocycleNormalization |
| 19 | |
| 20 | variable {R S : Type u} [CommRing R] [CommRing S] [Algebra R S] |
| 21 | {M N : Type u} [AddCommGroup M] [AddCommGroup N] |
| 22 | [Module S M] [Module R M] [IsScalarTower R S M] |
| 23 | [Module S N] [Module R N] [IsScalarTower R S N] |
| 24 | |
| 25 | /-- The base-ring tensor extension of an S-linear morphism. -/ |
| 26 | def tensorMap (a : M →ₗ[S] N) : S ⊗[R] M →ₗ[R] S ⊗[R] N := |
| 27 | TensorProduct.map (LinearMap.id : S →ₗ[R] S) (a.restrictScalars R) |
| 28 | |
| 29 | theorem tensorMap_tmul (a : M →ₗ[S] N) (s : S) (m : M) : |
| 30 | tensorMap (R := R) a (s ⊗ₜ[R] m) = s ⊗ₜ[R] a m := rfl |
| 31 | |
| 32 | /-- Tensor extension respects scalar multiplication in the module factor. -/ |
| 33 | theorem tensorMap_secondScalar (a : M →ₗ[S] N) (s : S) (z : S ⊗[R] M) : |
| 34 | tensorMap (R := R) a (DescentSwitch.secondScalar (R := R) (M := M) s z) = |
| 35 | DescentSwitch.secondScalar (R := R) (M := N) s (tensorMap (R := R) a z) := by |
| 36 | induction z using TensorProduct.inductionOn with |
| 37 | | add x y hx hy => simp only [map_add, hx, hy] |
| 38 | | tmul t m => |
| 39 | change t ⊗ₜ[R] a (s • m) = t ⊗ₜ[R] (s • a m) |
| 40 | rw [a.map_smul] |
| 41 | |
| 42 | /-- A coaction-compatible morphism respects the entire normalized descent switch. -/ |
| 43 | theorem switch_compatible (D : CocycleSwitchNext.CocycleSwitch R S M) (E : CocycleSwitchNext.CocycleSwitch R S N) |
| 44 | (a : M →ₗ[S] N) |
| 45 | (h : ∀ m, tensorMap (R := R) a (D.coaction m) = E.coaction (a m)) |
| 46 | (z : S ⊗[R] M) : |
| 47 | tensorMap (R := R) a (D.switch z) = E.switch (tensorMap (R := R) a z) := by |
| 48 | induction z using TensorProduct.inductionOn with |
| 49 | | add x y hx hy => simp only [map_add, hx, hy] |
| 50 | | tmul s m => |
| 51 | rw [CocycleNormalization.switch_tmul D, tensorMap_secondScalar, h m, tensorMap_tmul] |
| 52 | exact (CocycleNormalization.switch_tmul E s (a m)).symm |
| 53 | |
| 54 | /-- Conversely, compatibility with the original switch preserves its extracted coaction. -/ |
| 55 | theorem coaction_compatible (D : CocycleSwitchNext.CocycleSwitch R S M) (E : CocycleSwitchNext.CocycleSwitch R S N) |
| 56 | (a : M →ₗ[S] N) |
| 57 | (h : ∀ z, tensorMap (R := R) a (D.switch z) = E.switch (tensorMap (R := R) a z)) |
| 58 | (m : M) : tensorMap (R := R) a (D.coaction m) = E.coaction (a m) := |
| 59 | h (1 ⊗ₜ[R] m) |
| 60 | |
| 61 | end |
| 62 | |
| 63 | end OAI.AlgebraicGeometry.Picard.PoincareBundle.CocycleSwitchMorphisms |