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 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Tensor.PullbackUnits |
| 3 | |
| 4 | /-! # Pullback Units -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Power.PullbackUnits |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Arbitrary pullback commutes with tensor powers of the structure sheaf. -/ |
| 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 structureModuleTensorMap_pushforward (f : X ⟶ Y) (n : ℕ) : |
| 20 | ((LineBundle.Powers.structureModuleTensorMap X n).pushforward f).precomp |
| 21 | (SheafOfModules.unitToPushforwardObjUnit f.toRingCatSheafHom) = |
| 22 | (LineBundle.Powers.structureModuleTensorMap Y n).postcomp |
| 23 | (SheafOfModules.unitToPushforwardObjUnit f.toRingCatSheafHom) := by |
| 24 | apply Tensor.Powers.SheafMultilinearMap.ext |
| 25 | intro U |
| 26 | apply DFunLike.ext |
| 27 | intro s |
| 28 | change (Fin n → Γ(Y, U)) at s |
| 29 | exact (map_prod (f.app U).hom s Finset.univ).symm |
| 30 | |
| 31 | theorem powerPullbackComparison_unit_formula (f : X ⟶ Y) (n : ℕ) : |
| 32 | PullbackComparison.powerPullbackComparison f (Line.Bundles.structureModule Y) n ≫ |
| 33 | TensorPower.Maps.tensorPowerMap (Line.Bundles.structureModulePullbackIso f).hom n ≫ (TensorPower.Maps.tensorPowerUnitIso X n).hom = |
| 34 | (Scheme.Modules.pullback f).map (TensorPower.Maps.tensorPowerUnitIso Y n).hom ≫ |
| 35 | (Line.Bundles.structureModulePullbackIso f).hom := by |
| 36 | apply ((Scheme.Modules.pullbackPushforwardAdjunction f).homEquiv _ _).injective |
| 37 | apply (TensorPower.PowerSheaf.tensorPowerHomEquiv (Line.Bundles.structureModule Y) _ n).injective |
| 38 | rw [(Scheme.Modules.pullbackPushforwardAdjunction f).homEquiv_naturality_right, |
| 39 | (Scheme.Modules.pullbackPushforwardAdjunction f).homEquiv_naturality_left, |
| 40 | TensorPower.PowerSheaf.tensorPowerHomEquiv_postcomp, PullbackComparison.powerPullbackComparison_spec, |
| 41 | ← PullbackComparison.multilinearPullbackUnit_postcomp, Tensor.Powers.SheafMultilinearMap.postcomp_comp, |
| 42 | TensorPower.Maps.tensorPowerMap_spec, ← Tensor.Powers.SheafMultilinearMap.precomp_postcomp] |
| 43 | have hX : (TensorPower.Maps.tensorPowerMultilinear (Line.Bundles.structureModule X) n).postcomp (TensorPower.Maps.tensorPowerUnitIso X n).hom = |
| 44 | LineBundle.Powers.structureModuleTensorMap X n := TensorPower.Maps.tensorPowerUnitHom_spec X n |
| 45 | rw [hX] |
| 46 | unfold PullbackComparison.multilinearPullbackUnit |
| 47 | rw [Tensor.Powers.SheafMultilinearMap.pushforward_precomp, Tensor.Powers.SheafMultilinearMap.precomp_comp, |
| 48 | Tensor.PullbackUnits.structureModulePullbackIso_unit, structureModuleTensorMap_pushforward, |
| 49 | TensorPower.PowerSheaf.tensorPowerHomEquiv_postcomp] |
| 50 | have h : TensorPower.PowerSheaf.tensorPowerHomEquiv (Line.Bundles.structureModule Y) (Line.Bundles.structureModule Y) n |
| 51 | (TensorPower.Maps.tensorPowerUnitIso Y n).hom = LineBundle.Powers.structureModuleTensorMap Y n := |
| 52 | (TensorPower.Maps.tensorPowerMultilinear_postcomp _).symm.trans (TensorPower.Maps.tensorPowerUnitHom_spec Y n) |
| 53 | rw [h] |
| 54 | exact congrArg (fun a => (LineBundle.Powers.structureModuleTensorMap Y n).postcomp a) |
| 55 | (Tensor.PullbackUnits.structureModulePullbackIso_unit f).symm |
| 56 | |
| 57 | instance powerPullbackComparison_unit_isIso (f : X ⟶ Y) (n : ℕ) : |
| 58 | IsIso (PullbackComparison.powerPullbackComparison f (Line.Bundles.structureModule Y) n) := by |
| 59 | have : IsIso (TensorPower.Maps.tensorPowerMap (Line.Bundles.structureModulePullbackIso f).hom n) := |
| 60 | (TensorPower.Maps.tensorPowerFunctor X n).map_isIso _ |
| 61 | have h : IsIso (PullbackComparison.powerPullbackComparison f (Line.Bundles.structureModule Y) n ≫ |
| 62 | TensorPower.Maps.tensorPowerMap (Line.Bundles.structureModulePullbackIso f).hom n ≫ (TensorPower.Maps.tensorPowerUnitIso X n).hom) := by |
| 63 | rw [powerPullbackComparison_unit_formula] |
| 64 | infer_instance |
| 65 | exact (isIso_comp_right_iff _ _).mp h |
| 66 | |
| 67 | end |
| 68 | |
| 69 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Power.PullbackUnits |