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.Quotients.FiniteDescent.TensorPullbackSpec |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.TensorPower.RestrictionMaps |
| 3 | |
| 4 | /-! # Tensor Pullback Open -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Quotients.FiniteDescent.TensorPullbackOpen.Construction.TensorPullbackMap |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The tensor-power pullback comparison is invertible on open immersions. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.TensorPower.RestrictionMaps |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | variable {X Y : Scheme.{u}} |
| 17 | |
| 18 | theorem open_compatibility (f : X ⟶ Y) [IsOpenImmersion f] (L : Y.Modules) (n : ℕ) : |
| 19 | (Scheme.Modules.restrictFunctorIsoPullback f).hom.app (AbelianModuli.HilbertConstruction.TensorPower.PowerSheaf.tensorPowerModule L n) ≫ |
| 20 | TensorPullbackSpec.Construction.TensorPullbackMap.comparison f L n = |
| 21 | (AbelianModuli.HilbertConstruction.TensorPower.RestrictionMaps.tensorPowerRestrictIso f L n).inv ≫ |
| 22 | AbelianModuli.HilbertConstruction.TensorPower.Maps.tensorPowerMap ((Scheme.Modules.restrictFunctorIsoPullback f).hom.app L) n := by |
| 23 | have he (M : Y.Modules) : ((Scheme.Modules.restrictAdjunction f).homEquiv _ _) |
| 24 | ((Scheme.Modules.restrictFunctorIsoPullback f).hom.app M) = |
| 25 | (Scheme.Modules.pullbackPushforwardAdjunction f).unit.app M := |
| 26 | Adjunction.homEquiv_leftAdjointUniq_hom_app _ _ _ |
| 27 | have hu : (Scheme.Modules.restrictAdjunction f).unit.app L ≫ |
| 28 | (Scheme.Modules.pushforward f).map ((Scheme.Modules.restrictFunctorIsoPullback f).hom.app L) = |
| 29 | (Scheme.Modules.pullbackPushforwardAdjunction f).unit.app L := |
| 30 | Adjunction.unit_leftAdjointUniq_hom_app _ _ _ |
| 31 | have hi : (AbelianModuli.HilbertConstruction.TensorPower.Maps.tensorPowerMultilinear L n).postcomp |
| 32 | (((Scheme.Modules.restrictAdjunction f).homEquiv _ _) (AbelianModuli.HilbertConstruction.TensorPower.RestrictionMaps.tensorPowerRestrictIso f L n).inv) = |
| 33 | ((AbelianModuli.HilbertConstruction.TensorPower.Maps.tensorPowerMultilinear (L.restrict f) n).pushforward f).precomp |
| 34 | ((Scheme.Modules.restrictAdjunction f).unit.app L) := by |
| 35 | have h := AbelianModuli.HilbertConstruction.Tensor.Powers.SheafMultilinearMap.restrictHomEquiv_postcomp (AbelianModuli.HilbertConstruction.TensorPower.Maps.tensorPowerMultilinear L n) |
| 36 | f (AbelianModuli.HilbertConstruction.TensorPower.RestrictionMaps.tensorPowerRestrictInv f L n) |
| 37 | rw [AbelianModuli.HilbertConstruction.TensorPower.RestrictionMaps.tensorPowerRestrictInv_spec] at h |
| 38 | exact h.symm |
| 39 | apply ((Scheme.Modules.restrictAdjunction f).homEquiv _ _).injective |
| 40 | rw [Adjunction.homEquiv_naturality_right, he, |
| 41 | Adjunction.homEquiv_naturality_right] |
| 42 | change ((Scheme.Modules.pullbackPushforwardAdjunction f).homEquiv _ _) |
| 43 | (TensorPullbackSpec.Construction.TensorPullbackMap.comparison f L n) = _ |
| 44 | rw [TensorPullbackSpec.Construction.TensorPullbackMap.homEquiv_comparison] |
| 45 | apply AbelianModuli.HilbertConstruction.TensorPower.Maps.tensorPower_hom_ext |
| 46 | rw [TensorPullbackSpec.Construction.TensorPullbackMap.adjunct_spec, AbelianModuli.HilbertConstruction.Tensor.Powers.SheafMultilinearMap.postcomp_comp, hi, |
| 47 | ← AbelianModuli.HilbertConstruction.Tensor.Powers.SheafMultilinearMap.precomp_postcomp, ← AbelianModuli.HilbertConstruction.Tensor.Powers.SheafMultilinearMap.pushforward_postcomp, |
| 48 | AbelianModuli.HilbertConstruction.TensorPower.Maps.tensorPowerMap_spec, AbelianModuli.HilbertConstruction.Tensor.Powers.SheafMultilinearMap.pushforward_precomp, |
| 49 | AbelianModuli.HilbertConstruction.Tensor.Powers.SheafMultilinearMap.precomp_comp, hu] |
| 50 | |
| 51 | theorem isIso_of_isOpenImmersion (f : X ⟶ Y) [IsOpenImmersion f] |
| 52 | (L : Y.Modules) (n : ℕ) : IsIso (TensorPullbackSpec.Construction.TensorPullbackMap.comparison f L n) := by |
| 53 | have : IsIso (AbelianModuli.HilbertConstruction.TensorPower.Maps.tensorPowerMap ((Scheme.Modules.restrictFunctorIsoPullback f).hom.app L) n) := |
| 54 | (AbelianModuli.HilbertConstruction.TensorPower.Maps.tensorPowerFunctor X n).map_isIso _ |
| 55 | have h : IsIso ((Scheme.Modules.restrictFunctorIsoPullback f).hom.app (AbelianModuli.HilbertConstruction.TensorPower.PowerSheaf.tensorPowerModule L n) ≫ |
| 56 | TensorPullbackSpec.Construction.TensorPullbackMap.comparison f L n) := (open_compatibility f L n).symm ▸ inferInstance |
| 57 | exact (isIso_comp_left_iff _ _).mp h |
| 58 | |
| 59 | end |
| 60 | |
| 61 | end OAI.AlgebraicGeometry.Quotients.FiniteDescent.TensorPullbackOpen.Construction.TensorPullbackMap |