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.Quotients.FiniteDescent.PullbackScalarsValue |
| 3 | |
| 4 | /-! # Tensor Pullback Unit -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Quotients.FiniteDescent.TensorPullbackUnit.Construction.TensorPullbackMap |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The tensor-power pullback comparison on trivialized line bundles. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | open scoped BigOperators |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | variable {X Y : Scheme.{u}} |
| 18 | |
| 19 | theorem unit_compatibility (f : X ⟶ Y) (n : ℕ) : |
| 20 | TensorPullbackSpec.Construction.TensorPullbackMap.comparison f (AbelianModuli.HilbertConstruction.Line.Bundles.structureModule Y) n ≫ |
| 21 | AbelianModuli.HilbertConstruction.TensorPower.Maps.tensorPowerMap (AbelianModuli.HilbertConstruction.Line.Bundles.structureModulePullbackIso f).hom n ≫ (AbelianModuli.HilbertConstruction.TensorPower.Maps.tensorPowerUnitIso X n).hom = |
| 22 | (Scheme.Modules.pullback f).map (AbelianModuli.HilbertConstruction.TensorPower.Maps.tensorPowerUnitIso Y n).hom ≫ |
| 23 | (AbelianModuli.HilbertConstruction.Line.Bundles.structureModulePullbackIso f).hom := by |
| 24 | have : (SheafOfModules.pushforward f.toRingCatSheafHom).IsRightAdjoint := |
| 25 | inferInstanceAs (Scheme.Modules.pushforward f).IsRightAdjoint |
| 26 | let j : AbelianModuli.HilbertConstruction.Line.Bundles.structureModule Y ⟶ (Scheme.Modules.pushforward f).obj (AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X) := |
| 27 | SheafOfModules.unitToPushforwardObjUnit f.toRingCatSheafHom |
| 28 | have he : ((Scheme.Modules.pullbackPushforwardAdjunction f).homEquiv _ _) |
| 29 | (AbelianModuli.HilbertConstruction.Line.Bundles.structureModulePullbackIso f).hom = j := |
| 30 | SheafOfModules.pullbackPushforwardAdjunction_homEquiv_pullbackObjUnitToUnit _ |
| 31 | have hX : (AbelianModuli.HilbertConstruction.TensorPower.Maps.tensorPowerMultilinear (AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X) n).postcomp |
| 32 | (AbelianModuli.HilbertConstruction.TensorPower.Maps.tensorPowerUnitIso X n).hom = AbelianModuli.HilbertConstruction.LineBundle.Powers.structureModuleTensorMap X n := AbelianModuli.HilbertConstruction.TensorPower.Maps.tensorPowerUnitHom_spec X n |
| 33 | have hY : (AbelianModuli.HilbertConstruction.TensorPower.Maps.tensorPowerMultilinear (AbelianModuli.HilbertConstruction.Line.Bundles.structureModule Y) n).postcomp |
| 34 | (AbelianModuli.HilbertConstruction.TensorPower.Maps.tensorPowerUnitIso Y n).hom = AbelianModuli.HilbertConstruction.LineBundle.Powers.structureModuleTensorMap Y n := AbelianModuli.HilbertConstruction.TensorPower.Maps.tensorPowerUnitHom_spec Y n |
| 35 | apply ((Scheme.Modules.pullbackPushforwardAdjunction f).homEquiv _ _).injective |
| 36 | rw [Adjunction.homEquiv_naturality_right, Adjunction.homEquiv_naturality_left, |
| 37 | TensorPullbackSpec.Construction.TensorPullbackMap.homEquiv_comparison, he] |
| 38 | apply AbelianModuli.HilbertConstruction.TensorPower.Maps.tensorPower_hom_ext |
| 39 | rw [AbelianModuli.HilbertConstruction.Tensor.Powers.SheafMultilinearMap.postcomp_comp, TensorPullbackSpec.Construction.TensorPullbackMap.adjunct_spec, |
| 40 | ← AbelianModuli.HilbertConstruction.Tensor.Powers.SheafMultilinearMap.precomp_postcomp, ← AbelianModuli.HilbertConstruction.Tensor.Powers.SheafMultilinearMap.pushforward_postcomp, |
| 41 | AbelianModuli.HilbertConstruction.Tensor.Powers.SheafMultilinearMap.postcomp_comp, AbelianModuli.HilbertConstruction.TensorPower.Maps.tensorPowerMap_spec, |
| 42 | ← AbelianModuli.HilbertConstruction.Tensor.Powers.SheafMultilinearMap.precomp_postcomp, hX, |
| 43 | AbelianModuli.HilbertConstruction.Tensor.Powers.SheafMultilinearMap.pushforward_precomp, AbelianModuli.HilbertConstruction.Tensor.Powers.SheafMultilinearMap.precomp_comp, |
| 44 | AbelianModuli.HilbertConstruction.Tensor.Powers.SheafMultilinearMap.postcomp_comp, hY] |
| 45 | change ((AbelianModuli.HilbertConstruction.LineBundle.Powers.structureModuleTensorMap X n).pushforward f).precomp |
| 46 | (((Scheme.Modules.pullbackPushforwardAdjunction f).homEquiv _ _) |
| 47 | (AbelianModuli.HilbertConstruction.Line.Bundles.structureModulePullbackIso f).hom) = _ |
| 48 | rw [he] |
| 49 | apply AbelianModuli.HilbertConstruction.Tensor.Powers.SheafMultilinearMap.ext |
| 50 | intro U |
| 51 | apply MultilinearMap.ext |
| 52 | intro s |
| 53 | change Fin n → Γ(Y, U) at s |
| 54 | change (∏ i, f.app U (s i)) = f.app U (∏ i, s i) |
| 55 | exact (map_prod (f.app U).hom s Finset.univ).symm |
| 56 | |
| 57 | theorem unit_isIso (f : X ⟶ Y) (n : ℕ) : |
| 58 | IsIso (TensorPullbackSpec.Construction.TensorPullbackMap.comparison f (AbelianModuli.HilbertConstruction.Line.Bundles.structureModule Y) n) := by |
| 59 | have : IsIso (AbelianModuli.HilbertConstruction.TensorPower.Maps.tensorPowerMap (AbelianModuli.HilbertConstruction.Line.Bundles.structureModulePullbackIso f).hom n) := |
| 60 | (AbelianModuli.HilbertConstruction.TensorPower.Maps.tensorPowerFunctor X n).map_isIso _ |
| 61 | have h : IsIso (TensorPullbackSpec.Construction.TensorPullbackMap.comparison f (AbelianModuli.HilbertConstruction.Line.Bundles.structureModule Y) n ≫ |
| 62 | AbelianModuli.HilbertConstruction.TensorPower.Maps.tensorPowerMap (AbelianModuli.HilbertConstruction.Line.Bundles.structureModulePullbackIso f).hom n ≫ (AbelianModuli.HilbertConstruction.TensorPower.Maps.tensorPowerUnitIso X n).hom) := |
| 63 | (unit_compatibility f n).symm ▸ inferInstance |
| 64 | exact (isIso_comp_right_iff _ _).mp h |
| 65 | |
| 66 | theorem isIso_of_frame (f : X ⟶ Y) {L : Y.Modules} |
| 67 | (e : L ≅ AbelianModuli.HilbertConstruction.Line.Bundles.structureModule Y) (n : ℕ) : IsIso (TensorPullbackSpec.Construction.TensorPullbackMap.comparison f L n) := by |
| 68 | have : IsIso (TensorPullbackSpec.Construction.TensorPullbackMap.comparison f (AbelianModuli.HilbertConstruction.Line.Bundles.structureModule Y) n) := unit_isIso f n |
| 69 | have : IsIso (AbelianModuli.HilbertConstruction.TensorPower.Maps.tensorPowerMap e.hom n) := (AbelianModuli.HilbertConstruction.TensorPower.Maps.tensorPowerFunctor Y n).map_isIso _ |
| 70 | have : IsIso (AbelianModuli.HilbertConstruction.TensorPower.Maps.tensorPowerMap ((Scheme.Modules.pullback f).map e.hom) n) := |
| 71 | (AbelianModuli.HilbertConstruction.TensorPower.Maps.tensorPowerFunctor X n).map_isIso _ |
| 72 | have h : IsIso (TensorPullbackSpec.Construction.TensorPullbackMap.comparison f L n ≫ AbelianModuli.HilbertConstruction.TensorPower.Maps.tensorPowerMap ((Scheme.Modules.pullback f).map e.hom) n) := |
| 73 | (TensorPullbackSpec.Construction.TensorPullbackMap.naturality f e.hom n) ▸ inferInstance |
| 74 | exact (isIso_comp_right_iff _ _).mp h |
| 75 | |
| 76 | end |
| 77 | |
| 78 | end OAI.AlgebraicGeometry.Quotients.FiniteDescent.TensorPullbackUnit.Construction.TensorPullbackMap |