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 Mathlib.Algebra.Group.Commute.Units |
| 3 | import Mathlib.CategoryTheory.Endomorphism |
| 4 | |
| 5 | /-! # Units -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.TensorPower.Units |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Positive tensor powers detect invertibility of maps between trivialized line bundles. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | open scoped BigOperators |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | variable {X : Scheme.{u}} |
| 19 | |
| 20 | /-- A structure-module endomorphism acts by multiplication by its value on one. -/ |
| 21 | theorem structureModuleEnd_app (a : End (Line.Bundles.structureModule X)) (U : X.Opens) (r : Γ(X, U)) : |
| 22 | a.app U r = r * (show Γ(X, U) from a.app U (1 : Γ(X, U))) := by |
| 23 | have ha := a.app_smul r (1 : Γ(X, U)) |
| 24 | change a.app U (r * (1 : Γ(X, U))) = r * (show Γ(X, U) from a.app U (1 : Γ(X, U))) at ha |
| 25 | exact (congrArg (fun z : Γ(X, U) => a.app U z) (mul_one r)).symm.trans ha |
| 26 | |
| 27 | /-- Composition powers of a structure-module endomorphism are ordinary powers of its local function. -/ |
| 28 | theorem structureModuleEnd_pow_app (a : End (Line.Bundles.structureModule X)) (n : ℕ) (U : X.Opens) |
| 29 | (r : Γ(X, U)) : |
| 30 | (a ^ n).app U r = r * (show Γ(X, U) from a.app U (1 : Γ(X, U))) ^ n := by |
| 31 | induction n with |
| 32 | | zero => |
| 33 | change r = r * (show Γ(X, U) from a.app U (1 : Γ(X, U))) ^ 0 |
| 34 | rw [pow_zero, mul_one] |
| 35 | | succ n ih => |
| 36 | rw [pow_succ'] |
| 37 | change a.app U ((a ^ n).app U r) = _ |
| 38 | exact (structureModuleEnd_app a U _).trans |
| 39 | ((congrArg (fun z : Γ(X, U) => z * (show Γ(X, U) from a.app U (1 : Γ(X, U)))) ih).trans |
| 40 | (by rw [pow_succ, mul_assoc])) |
| 41 | |
| 42 | /-- Under the canonical unit comparison, the tensor power of scalar multiplication is its ordinary power. -/ |
| 43 | theorem tensorPowerMap_unit_conjugation (a : End (Line.Bundles.structureModule X)) (n : ℕ) : |
| 44 | (Maps.tensorPowerUnitIso X n).inv ≫ Maps.tensorPowerMap a n ≫ (Maps.tensorPowerUnitIso X n).hom = a ^ n := by |
| 45 | apply Scheme.Modules.hom_ext |
| 46 | intro U |
| 47 | apply ConcreteCategory.hom_ext |
| 48 | intro r |
| 49 | change Γ(X, U) at r |
| 50 | have he := congrArg (fun β : Tensor.Powers.SheafMultilinearMap (Line.Bundles.structureModule X) n (Line.Bundles.structureModule X) => |
| 51 | β.app U (fun _ => a.app U (1 : Γ(X, U)))) (Maps.tensorPowerUnitHom_spec X n) |
| 52 | change (Maps.tensorPowerUnitHom X n).app U |
| 53 | ((Maps.tensorPowerMultilinear (Line.Bundles.structureModule X) n).app U |
| 54 | (fun _ => a.app U (1 : Γ(X, U)))) = |
| 55 | (show Γ(X, U) from ∏ _ : Fin n, (show Γ(X, U) from a.app U (1 : Γ(X, U)))) at he |
| 56 | change (Maps.tensorPowerUnitHom X n).app U ((Maps.tensorPowerSection a n).app U r) = (a ^ n).app U r |
| 57 | rw [Maps.tensorPowerSection_app] |
| 58 | let c : Γ(X, U) := a.app U (1 : Γ(X, U)) |
| 59 | have hp : (∏ _ : Fin n, c) = c ^ n := by |
| 60 | simp only [Finset.prod_const, Finset.card_univ, Fintype.card_fin] |
| 61 | have hm := (Maps.tensorPowerUnitHom X n).app_smul r |
| 62 | ((Maps.tensorPowerMultilinear (Line.Bundles.structureModule X) n).app U (fun _ => c)) |
| 63 | change (Maps.tensorPowerUnitHom X n).app U |
| 64 | (r • (Maps.tensorPowerMultilinear (Line.Bundles.structureModule X) n).app U (fun _ => c)) = |
| 65 | r * (show Γ(X, U) from (Maps.tensorPowerUnitHom X n).app U |
| 66 | ((Maps.tensorPowerMultilinear (Line.Bundles.structureModule X) n).app U (fun _ => c))) at hm |
| 67 | exact hm.trans ((congrArg (fun z : Γ(X, U) => r * z) (he.trans hp)).trans |
| 68 | (structureModuleEnd_pow_app a n U r).symm) |
| 69 | |
| 70 | /-- Taking a positive tensor power reflects invertibility for structure-module endomorphisms. -/ |
| 71 | theorem isIso_of_tensorPowerMap_unit (a : End (Line.Bundles.structureModule X)) (n : ℕ) (hn : 0 < n) |
| 72 | [IsIso (Maps.tensorPowerMap a n)] : IsIso a := by |
| 73 | have : IsIso (a ^ n) := (tensorPowerMap_unit_conjugation a n) ▸ inferInstance |
| 74 | exact (isUnit_iff_isIso a).mp |
| 75 | ((isUnit_pow_iff (Nat.ne_of_gt hn)).mp ((isUnit_iff_isIso (a ^ n)).mpr this)) |
| 76 | |
| 77 | /-- A positive tensor power detects invertibility when both sheaves have chosen line-bundle frames. -/ |
| 78 | theorem isIso_of_tensorPowerMap_of_frames {L M : X.Modules} (a : L ⟶ M) (n : ℕ) (hn : 0 < n) |
| 79 | (e : L ≅ Line.Bundles.structureModule X) (h : M ≅ Line.Bundles.structureModule X) |
| 80 | [IsIso (Maps.tensorPowerMap a n)] : IsIso a := by |
| 81 | let b : End (Line.Bundles.structureModule X) := e.inv ≫ a ≫ h.hom |
| 82 | have hb : Maps.tensorPowerMap b n = Maps.tensorPowerMap e.inv n ≫ Maps.tensorPowerMap a n ≫ Maps.tensorPowerMap h.hom n := by |
| 83 | dsimp [b] |
| 84 | rw [Maps.tensorPowerMap_comp, Maps.tensorPowerMap_comp] |
| 85 | have : IsIso (Maps.tensorPowerMap e.inv n) := (Maps.tensorPowerFunctor X n).map_isIso e.inv |
| 86 | have : IsIso (Maps.tensorPowerMap h.hom n) := (Maps.tensorPowerFunctor X n).map_isIso h.hom |
| 87 | have : IsIso (Maps.tensorPowerMap b n) := hb.symm ▸ inferInstance |
| 88 | have : IsIso b := isIso_of_tensorPowerMap_unit b n hn |
| 89 | have hab : a = e.hom ≫ b ≫ h.inv := by simp [b] |
| 90 | rw [hab] |
| 91 | infer_instance |
| 92 | |
| 93 | end |
| 94 | |
| 95 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.TensorPower.Units |