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.AbelianModuli.HilbertConstruction.TensorPower.Maps |
| 2 | import Mathlib.Logic.Equiv.Fin.Basic |
| 3 | |
| 4 | /-! # Multilinear Composition -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Composition of sheaf-multilinear maps and the resulting map between iterated tensor powers. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | variable {X : Scheme.{u}} {L M P Q : X.Modules} {n m : ℕ} |
| 17 | |
| 18 | /-- Flatten the indices of m groups of n tensor factors. -/ |
| 19 | def MultilinearComposition.tensorPowerIndexEquiv (m n : ℕ) : (Σ _ : Fin m, Fin n) ≃ Fin (m * n) := |
| 20 | (Equiv.sigmaEquivProd (Fin m) (Fin n)).trans finProdFinEquiv |
| 21 | |
| 22 | section |
| 23 | |
| 24 | /-- Substitute an n-multilinear sheaf map into each argument of an m-multilinear sheaf map. -/ |
| 25 | def Tensor.Powers.SheafMultilinearMap.compose (γ : Tensor.Powers.SheafMultilinearMap M m P) (β : Tensor.Powers.SheafMultilinearMap L n M) : |
| 26 | Tensor.Powers.SheafMultilinearMap L (m * n) P where |
| 27 | app U := ((γ.app U).compMultilinearMap (fun _ : Fin m => β.app U)).domDomCongr |
| 28 | (MultilinearComposition.tensorPowerIndexEquiv m n) |
| 29 | naturality {U V} h s := |
| 30 | (γ.naturality h (fun i => β.app U (fun j => s (MultilinearComposition.tensorPowerIndexEquiv m n ⟨i, j⟩)))).trans |
| 31 | (congrArg (γ.app V) (funext fun i => |
| 32 | β.naturality h (fun j => s (MultilinearComposition.tensorPowerIndexEquiv m n ⟨i, j⟩)))) |
| 33 | |
| 34 | theorem Tensor.Powers.SheafMultilinearMap.compose_postcomp (γ : Tensor.Powers.SheafMultilinearMap M m P) (β : Tensor.Powers.SheafMultilinearMap L n M) |
| 35 | (a : P ⟶ Q) : (γ.compose β).postcomp a = (γ.postcomp a).compose β := by |
| 36 | ext U s |
| 37 | rfl |
| 38 | |
| 39 | theorem Tensor.Powers.SheafMultilinearMap.compose_precomp (γ : Tensor.Powers.SheafMultilinearMap M m P) (β : Tensor.Powers.SheafMultilinearMap L n M) |
| 40 | (a : Q ⟶ L) : (γ.compose β).precomp a = γ.compose (β.precomp a) := by |
| 41 | ext U s |
| 42 | rfl |
| 43 | |
| 44 | theorem Tensor.Powers.SheafMultilinearMap.compose_middle (γ : Tensor.Powers.SheafMultilinearMap M m P) (β : Tensor.Powers.SheafMultilinearMap L n Q) |
| 45 | (a : Q ⟶ M) : (γ.precomp a).compose β = γ.compose (β.postcomp a) := by |
| 46 | ext U s |
| 47 | rfl |
| 48 | |
| 49 | end |
| 50 | |
| 51 | /-- The universal map from a single power to the corresponding iterated tensor power. -/ |
| 52 | def MultilinearComposition.tensorPowerComposeMap (L : X.Modules) (m n : ℕ) : |
| 53 | TensorPower.PowerSheaf.tensorPowerModule L (m * n) ⟶ TensorPower.PowerSheaf.tensorPowerModule (TensorPower.PowerSheaf.tensorPowerModule L n) m := |
| 54 | (TensorPower.PowerSheaf.tensorPowerHomEquiv L (TensorPower.PowerSheaf.tensorPowerModule (TensorPower.PowerSheaf.tensorPowerModule L n) m) (m * n)).symm |
| 55 | ((TensorPower.Maps.tensorPowerMultilinear (TensorPower.PowerSheaf.tensorPowerModule L n) m).compose (TensorPower.Maps.tensorPowerMultilinear L n)) |
| 56 | |
| 57 | theorem MultilinearComposition.tensorPowerComposeMap_spec (L : X.Modules) (m n : ℕ) : |
| 58 | (TensorPower.Maps.tensorPowerMultilinear L (m * n)).postcomp (MultilinearComposition.tensorPowerComposeMap L m n) = |
| 59 | (TensorPower.Maps.tensorPowerMultilinear (TensorPower.PowerSheaf.tensorPowerModule L n) m).compose (TensorPower.Maps.tensorPowerMultilinear L n) := |
| 60 | (TensorPower.Maps.tensorPowerMultilinear_postcomp _).trans |
| 61 | ((TensorPower.PowerSheaf.tensorPowerHomEquiv L (TensorPower.PowerSheaf.tensorPowerModule (TensorPower.PowerSheaf.tensorPowerModule L n) m) (m * n)).apply_symm_apply _) |
| 62 | |
| 63 | /-- The comparison of single and iterated powers commutes with maps of module sheaves. -/ |
| 64 | theorem MultilinearComposition.tensorPowerComposeMap_naturality (a : L ⟶ M) (m n : ℕ) : |
| 65 | TensorPower.Maps.tensorPowerMap a (m * n) ≫ MultilinearComposition.tensorPowerComposeMap M m n = |
| 66 | MultilinearComposition.tensorPowerComposeMap L m n ≫ TensorPower.Maps.tensorPowerMap (TensorPower.Maps.tensorPowerMap a n) m := by |
| 67 | apply TensorPower.Maps.tensorPower_hom_ext |
| 68 | rw [Tensor.Powers.SheafMultilinearMap.postcomp_comp, TensorPower.Maps.tensorPowerMap_spec, |
| 69 | ← Tensor.Powers.SheafMultilinearMap.precomp_postcomp, MultilinearComposition.tensorPowerComposeMap_spec, |
| 70 | Tensor.Powers.SheafMultilinearMap.compose_precomp, |
| 71 | Tensor.Powers.SheafMultilinearMap.postcomp_comp, MultilinearComposition.tensorPowerComposeMap_spec, |
| 72 | Tensor.Powers.SheafMultilinearMap.compose_postcomp, TensorPower.Maps.tensorPowerMap_spec, |
| 73 | Tensor.Powers.SheafMultilinearMap.compose_middle, TensorPower.Maps.tensorPowerMap_spec] |
| 74 | |
| 75 | end |
| 76 | |
| 77 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |