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.PowerSheaf |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Tensor.TensorRestriction |
| 3 | |
| 4 | /-! # Powers -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Tensor powers of line bundles remain locally free of rank one. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | open scoped BigOperators |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | variable {X : Scheme.{u}} {P : X.Modules} {n : ℕ} |
| 18 | |
| 19 | /-- Multiplication of local functions is the universal tensor power of the structure module. -/ |
| 20 | def LineBundle.Powers.structureModuleTensorMap (X : Scheme.{u}) (n : ℕ) : |
| 21 | Tensor.Powers.SheafMultilinearMap (Line.Bundles.structureModule X) n (Line.Bundles.structureModule X) where |
| 22 | app U := MultilinearMap.mkPiAlgebra Γ(X, U) (Fin n) Γ(X, U) |
| 23 | naturality {U V} h s := by |
| 24 | change (Fin n → Γ(X, U)) at s |
| 25 | change X.presheaf.map h.op (∏ i, s i) = ∏ i, X.presheaf.map h.op (s i) |
| 26 | exact map_prod (X.presheaf.map h.op).hom _ _ |
| 27 | |
| 28 | /-- A multilinear map out of copies of the structure sheaf is determined by its value on ones. -/ |
| 29 | def Tensor.Powers.SheafMultilinearMap.unitToHom (β : Tensor.Powers.SheafMultilinearMap (Line.Bundles.structureModule X) n P) : |
| 30 | Line.Bundles.structureModule X ⟶ P where |
| 31 | val.app U := (ModuleCat.ofHom |
| 32 | ((LinearMap.id : Γ(X, U.unop) →ₗ[Γ(X, U.unop)] Γ(X, U.unop)).smulRight |
| 33 | (β.app U.unop (fun _ => (1 : Γ(X, U.unop))))) : |
| 34 | ModuleCat.of Γ(X, U.unop) Γ(X, U.unop) ⟶ ModuleCat.of Γ(X, U.unop) Γ(P, U.unop)) |
| 35 | val.naturality {U V} h := by |
| 36 | apply ModuleCat.hom_ext |
| 37 | apply LinearMap.ext |
| 38 | intro r |
| 39 | change Γ(X, U.unop) at r |
| 40 | have hv : P.val.map h (β.app U.unop (fun _ => (1 : Γ(X, U.unop)))) = |
| 41 | β.app V.unop (fun _ => (1 : Γ(X, V.unop))) := |
| 42 | (β.naturality h.unop (fun _ => (1 : Γ(X, U.unop)))).trans |
| 43 | (congrArg (β.app V.unop) (funext (fun _ => (X.presheaf.map h).hom.map_one))) |
| 44 | exact (congrArg (fun a : Γ(P, V.unop) => (show Γ(X, V.unop) from X.presheaf.map h r) • a) hv).symm.trans |
| 45 | (P.val.map_smul h r (β.app U.unop (fun _ => (1 : Γ(X, U.unop))))).symm |
| 46 | |
| 47 | theorem LineBundle.Powers.structureModuleTensorMap_postcomp_unitToHom |
| 48 | (β : Tensor.Powers.SheafMultilinearMap (Line.Bundles.structureModule X) n P) : |
| 49 | (LineBundle.Powers.structureModuleTensorMap X n).postcomp β.unitToHom = β := by |
| 50 | apply Tensor.Powers.SheafMultilinearMap.ext |
| 51 | intro U |
| 52 | apply MultilinearMap.ext_ring |
| 53 | change (∏ _i : Fin n, (1 : Γ(X, U))) • β.app U (fun _ => (1 : Γ(X, U))) = |
| 54 | β.app U (fun _ => (1 : Γ(X, U))) |
| 55 | simp only [Finset.prod_const_one, one_smul] |
| 56 | |
| 57 | theorem LineBundle.Powers.unitToHom_structureModuleTensorMap_postcomp (f : Line.Bundles.structureModule X ⟶ P) : |
| 58 | ((LineBundle.Powers.structureModuleTensorMap X n).postcomp f).unitToHom = f := by |
| 59 | apply Scheme.Modules.hom_ext |
| 60 | intro U |
| 61 | apply ConcreteCategory.hom_ext |
| 62 | intro r |
| 63 | change Γ(X, U) at r |
| 64 | change r • f.app U (show Γ(X, U) from ∏ _i : Fin n, (1 : Γ(X, U))) = f.app U r |
| 65 | rw [Finset.prod_const_one] |
| 66 | have hf := (f.app_smul r (1 : Γ(X, U))).symm |
| 67 | change r • f.app U (1 : Γ(X, U)) = f.app U (r * (1 : Γ(X, U))) at hf |
| 68 | exact hf.trans (congrArg (fun a : Γ(X, U) => f.app U a) (mul_one r)) |
| 69 | |
| 70 | /-- Every tensor power of the structure module is the structure module. -/ |
| 71 | theorem LineBundle.Powers.structureModule_isTensorPower (X : Scheme.{u}) (n : ℕ) : |
| 72 | Tensor.Powers.IsTensorPower (Line.Bundles.structureModule X) n (Line.Bundles.structureModule X) := by |
| 73 | refine ⟨LineBundle.Powers.structureModuleTensorMap X n, fun P => ?_⟩ |
| 74 | exact ⟨fun f g h => (LineBundle.Powers.unitToHom_structureModuleTensorMap_postcomp f).symm.trans |
| 75 | ((congrArg Tensor.Powers.SheafMultilinearMap.unitToHom h).trans (LineBundle.Powers.unitToHom_structureModuleTensorMap_postcomp g)), |
| 76 | fun β => ⟨β.unitToHom, LineBundle.Powers.structureModuleTensorMap_postcomp_unitToHom β⟩⟩ |
| 77 | |
| 78 | /-- The actual tensor power of a line bundle, with local triviality proved from its frames. -/ |
| 79 | def Line.Bundles.LineBundle.tensorPower (L : Line.Bundles.LineBundle X) (n : ℕ) : Line.Bundles.LineBundle X where |
| 80 | sheaf := TensorPower.PowerSheaf.tensorPowerModule L.sheaf n |
| 81 | locallyTrivial x := by |
| 82 | obtain ⟨U, hx, ⟨e⟩⟩ := L.locallyTrivial x |
| 83 | refine ⟨U, hx, ?_⟩ |
| 84 | exact (((TensorPower.PowerSheaf.tensorPowerModule_isTensorPower L.sheaf n).pullback_of_isOpenImmersion U.ι).of_sourceIso e).unique |
| 85 | (LineBundle.Powers.structureModule_isTensorPower U.toScheme n) |
| 86 | |
| 87 | /-- The constructed line-bundle power satisfies the original tensor-power predicate. -/ |
| 88 | theorem Line.Bundles.LineBundle.tensorPower_isTensorPower (L : Line.Bundles.LineBundle X) (n : ℕ) : |
| 89 | Tensor.Powers.IsTensorPower L.sheaf n (L.tensorPower n).sheaf := |
| 90 | TensorPower.PowerSheaf.tensorPowerModule_isTensorPower L.sheaf n |
| 91 | |
| 92 | end |
| 93 | |
| 94 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |