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 OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.MultilinearRestriction |
| 3 | |
| 4 | /-! # Tensor Pullback Spec -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Quotients.FiniteDescent.TensorPullbackSpec.Construction.TensorPullbackMap |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The canonical comparison from pullback of a tensor power to the power of a pullback. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.TensorPower.Maps |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | variable {X Y : Scheme.{u}} |
| 17 | |
| 18 | def adjunct (f : X ⟶ Y) (L : Y.Modules) (n : ℕ) : |
| 19 | AbelianModuli.HilbertConstruction.TensorPower.PowerSheaf.tensorPowerModule L n ⟶ (Scheme.Modules.pushforward f).obj |
| 20 | (AbelianModuli.HilbertConstruction.TensorPower.PowerSheaf.tensorPowerModule ((Scheme.Modules.pullback f).obj L) n) := |
| 21 | (AbelianModuli.HilbertConstruction.TensorPower.PowerSheaf.tensorPowerHomEquiv L _ n).symm |
| 22 | (((AbelianModuli.HilbertConstruction.TensorPower.Maps.tensorPowerMultilinear ((Scheme.Modules.pullback f).obj L) n).pushforward f).precomp |
| 23 | ((Scheme.Modules.pullbackPushforwardAdjunction f).unit.app L)) |
| 24 | |
| 25 | theorem adjunct_spec (f : X ⟶ Y) (L : Y.Modules) (n : ℕ) : |
| 26 | (AbelianModuli.HilbertConstruction.TensorPower.Maps.tensorPowerMultilinear L n).postcomp (adjunct f L n) = |
| 27 | ((AbelianModuli.HilbertConstruction.TensorPower.Maps.tensorPowerMultilinear ((Scheme.Modules.pullback f).obj L) n).pushforward f).precomp |
| 28 | ((Scheme.Modules.pullbackPushforwardAdjunction f).unit.app L) := |
| 29 | (AbelianModuli.HilbertConstruction.TensorPower.Maps.tensorPowerMultilinear_postcomp _).trans ((AbelianModuli.HilbertConstruction.TensorPower.PowerSheaf.tensorPowerHomEquiv L _ n).apply_symm_apply _) |
| 30 | |
| 31 | def comparison (f : X ⟶ Y) (L : Y.Modules) (n : ℕ) : |
| 32 | (Scheme.Modules.pullback f).obj (AbelianModuli.HilbertConstruction.TensorPower.PowerSheaf.tensorPowerModule L n) ⟶ |
| 33 | AbelianModuli.HilbertConstruction.TensorPower.PowerSheaf.tensorPowerModule ((Scheme.Modules.pullback f).obj L) n := |
| 34 | ((Scheme.Modules.pullbackPushforwardAdjunction f).homEquiv _ _).symm (adjunct f L n) |
| 35 | |
| 36 | theorem homEquiv_comparison (f : X ⟶ Y) (L : Y.Modules) (n : ℕ) : |
| 37 | ((Scheme.Modules.pullbackPushforwardAdjunction f).homEquiv _ _) (comparison f L n) = |
| 38 | adjunct f L n := |
| 39 | ((Scheme.Modules.pullbackPushforwardAdjunction f).homEquiv _ _).apply_symm_apply _ |
| 40 | |
| 41 | theorem naturality (f : X ⟶ Y) {L M : Y.Modules} (h : L ⟶ M) (n : ℕ) : |
| 42 | (Scheme.Modules.pullback f).map (AbelianModuli.HilbertConstruction.TensorPower.Maps.tensorPowerMap h n) ≫ comparison f M n = |
| 43 | comparison f L n ≫ AbelianModuli.HilbertConstruction.TensorPower.Maps.tensorPowerMap ((Scheme.Modules.pullback f).map h) n := by |
| 44 | apply ((Scheme.Modules.pullbackPushforwardAdjunction f).homEquiv _ _).injective |
| 45 | rw [Adjunction.homEquiv_naturality_left, Adjunction.homEquiv_naturality_right, |
| 46 | homEquiv_comparison, homEquiv_comparison] |
| 47 | apply AbelianModuli.HilbertConstruction.TensorPower.Maps.tensorPower_hom_ext |
| 48 | rw [AbelianModuli.HilbertConstruction.Tensor.Powers.SheafMultilinearMap.postcomp_comp, AbelianModuli.HilbertConstruction.TensorPower.Maps.tensorPowerMap_spec, |
| 49 | ← AbelianModuli.HilbertConstruction.Tensor.Powers.SheafMultilinearMap.precomp_postcomp, adjunct_spec, |
| 50 | AbelianModuli.HilbertConstruction.Tensor.Powers.SheafMultilinearMap.precomp_comp, |
| 51 | AbelianModuli.HilbertConstruction.Tensor.Powers.SheafMultilinearMap.postcomp_comp, adjunct_spec, |
| 52 | ← AbelianModuli.HilbertConstruction.Tensor.Powers.SheafMultilinearMap.precomp_postcomp, |
| 53 | ← AbelianModuli.HilbertConstruction.Tensor.Powers.SheafMultilinearMap.pushforward_postcomp, AbelianModuli.HilbertConstruction.TensorPower.Maps.tensorPowerMap_spec, |
| 54 | AbelianModuli.HilbertConstruction.Tensor.Powers.SheafMultilinearMap.pushforward_precomp, AbelianModuli.HilbertConstruction.Tensor.Powers.SheafMultilinearMap.precomp_comp] |
| 55 | exact congrArg (fun a => |
| 56 | ((AbelianModuli.HilbertConstruction.TensorPower.Maps.tensorPowerMultilinear ((Scheme.Modules.pullback f).obj M) n).pushforward f).precomp a) |
| 57 | ((Scheme.Modules.pullbackPushforwardAdjunction f).unit.naturality h) |
| 58 | |
| 59 | end |
| 60 | |
| 61 | end OAI.AlgebraicGeometry.Quotients.FiniteDescent.TensorPullbackSpec.Construction.TensorPullbackMap |