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.Power.PullbackComparison |
| 2 | |
| 3 | /-! # Pullback Open -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Power.PullbackOpen |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The tensor-power comparison is invertible on open immersions. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | variable {X Y : Scheme.{u}} |
| 16 | |
| 17 | def multilinearOpenPullbackEquiv (f : X ⟶ Y) [IsOpenImmersion f] (L : Y.Modules) |
| 18 | (n : ℕ) (P : X.Modules) : |
| 19 | Tensor.Powers.SheafMultilinearMap ((Scheme.Modules.pullback f).obj L) n P ≃ |
| 20 | Tensor.Powers.SheafMultilinearMap L n ((Scheme.Modules.pushforward f).obj P) := |
| 21 | (Tensor.Powers.SheafMultilinearMap.sourceIso ((Scheme.Modules.restrictFunctorIsoPullback f).app L).symm |
| 22 | n P).trans (Tensor.Powers.SheafMultilinearMap.restrictHomEquiv f L n P) |
| 23 | |
| 24 | theorem multilinearOpenPullbackEquiv_apply (f : X ⟶ Y) [IsOpenImmersion f] (L : Y.Modules) |
| 25 | (n : ℕ) (P : X.Modules) (β : Tensor.Powers.SheafMultilinearMap ((Scheme.Modules.pullback f).obj L) n P) : |
| 26 | multilinearOpenPullbackEquiv f L n P β = PullbackComparison.multilinearPullbackUnit f L n P β := by |
| 27 | change ((β.precomp ((Scheme.Modules.restrictFunctorIsoPullback f).app L).hom).pushforward f).precomp |
| 28 | ((Scheme.Modules.restrictAdjunction f).unit.app L) = _ |
| 29 | rw [Tensor.Powers.SheafMultilinearMap.pushforward_precomp, Tensor.Powers.SheafMultilinearMap.precomp_comp] |
| 30 | exact congrArg (fun a => (β.pushforward f).precomp a) |
| 31 | ((Scheme.Modules.restrictAdjunction f).unit_leftAdjointUniq_hom_app |
| 32 | (Scheme.Modules.pullbackPushforwardAdjunction f) L) |
| 33 | |
| 34 | theorem powerPullbackComparison_homEquiv (f : X ⟶ Y) (L : Y.Modules) (n : ℕ) (P : X.Modules) |
| 35 | (h : TensorPower.PowerSheaf.tensorPowerModule ((Scheme.Modules.pullback f).obj L) n ⟶ P) : |
| 36 | TensorPower.PowerSheaf.tensorPowerHomEquiv L _ n |
| 37 | ((Scheme.Modules.pullbackPushforwardAdjunction f).homEquiv _ _ |
| 38 | (PullbackComparison.powerPullbackComparison f L n ≫ h)) = |
| 39 | PullbackComparison.multilinearPullbackUnit f L n P (TensorPower.PowerSheaf.tensorPowerHomEquiv _ P n h) := by |
| 40 | rw [(Scheme.Modules.pullbackPushforwardAdjunction f).homEquiv_naturality_right, |
| 41 | TensorPower.PowerSheaf.tensorPowerHomEquiv_postcomp, PullbackComparison.powerPullbackComparison_spec, |
| 42 | ← PullbackComparison.multilinearPullbackUnit_postcomp, TensorPower.Maps.tensorPowerMultilinear_postcomp] |
| 43 | |
| 44 | theorem powerPullbackComparison_isIso_of_multilinearUnit (f : X ⟶ Y) (L : Y.Modules) (n : ℕ) |
| 45 | (h : ∀ P : X.Modules, Function.Bijective (PullbackComparison.multilinearPullbackUnit f L n P)) : |
| 46 | IsIso (PullbackComparison.powerPullbackComparison f L n) := by |
| 47 | rw [isIso_iff_coyoneda_map_bijective] |
| 48 | intro P |
| 49 | let e := ((Scheme.Modules.pullbackPushforwardAdjunction f).homEquiv _ P).trans |
| 50 | (TensorPower.PowerSheaf.tensorPowerHomEquiv L _ n) |
| 51 | apply (e.bijective.of_comp_iff' _).mp |
| 52 | change Function.Bijective (fun a => e (PullbackComparison.powerPullbackComparison f L n ≫ a)) |
| 53 | have he : (fun a => e (PullbackComparison.powerPullbackComparison f L n ≫ a)) = |
| 54 | fun a => PullbackComparison.multilinearPullbackUnit f L n P (TensorPower.PowerSheaf.tensorPowerHomEquiv _ P n a) := by |
| 55 | funext a |
| 56 | exact powerPullbackComparison_homEquiv f L n P a |
| 57 | rw [he] |
| 58 | exact (h P).comp (TensorPower.PowerSheaf.tensorPowerHomEquiv _ P n).bijective |
| 59 | |
| 60 | instance powerPullbackComparison_open_isIso (f : X ⟶ Y) [IsOpenImmersion f] |
| 61 | (L : Y.Modules) (n : ℕ) : IsIso (PullbackComparison.powerPullbackComparison f L n) := by |
| 62 | apply powerPullbackComparison_isIso_of_multilinearUnit |
| 63 | intro P |
| 64 | have h : PullbackComparison.multilinearPullbackUnit f L n P = multilinearOpenPullbackEquiv f L n P := by |
| 65 | funext β |
| 66 | exact (multilinearOpenPullbackEquiv_apply f L n P β).symm |
| 67 | rw [h] |
| 68 | exact (multilinearOpenPullbackEquiv f L n P).bijective |
| 69 | |
| 70 | end |
| 71 | |
| 72 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Power.PullbackOpen |