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.Ample.LineBundles |
| 2 | |
| 3 | /-! # Isomorphisms -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Invariance of tensor powers and ampleness under isomorphism of line bundles. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | variable {X : Scheme.{u}} |
| 16 | |
| 17 | namespace Tensor |
| 18 | |
| 19 | variable {L M P Q : X.Modules} {n : ℕ} |
| 20 | |
| 21 | /-- Precompose every argument of a sheaf-multilinear map by a module morphism. -/ |
| 22 | def Powers.SheafMultilinearMap.precomp (β : Powers.SheafMultilinearMap L n P) (f : M ⟶ L) : Powers.SheafMultilinearMap M n P where |
| 23 | app U := (β.app U).compLinearMap (fun _ => Powers.SheafMultilinearMap.homApp f U) |
| 24 | naturality {U V} h s := by |
| 25 | exact (β.naturality h (fun i => f.app U (s i))).trans |
| 26 | (congrArg (β.app V) (funext fun i => |
| 27 | (ConcreteCategory.congr_hom (f.mapPresheaf.naturality h.op) (s i)).symm)) |
| 28 | |
| 29 | @[simp] |
| 30 | theorem Powers.SheafMultilinearMap.precomp_id (β : Powers.SheafMultilinearMap L n P) : β.precomp (𝟙 L) = β := by |
| 31 | ext U s |
| 32 | rfl |
| 33 | |
| 34 | theorem Powers.SheafMultilinearMap.precomp_comp (β : Powers.SheafMultilinearMap L n P) (f : M ⟶ L) (h : Q ⟶ M) : |
| 35 | (β.precomp f).precomp h = β.precomp (h ≫ f) := by |
| 36 | ext U s |
| 37 | rfl |
| 38 | |
| 39 | theorem Powers.SheafMultilinearMap.precomp_postcomp (β : Powers.SheafMultilinearMap L n P) (f : M ⟶ L) (h : P ⟶ Q) : |
| 40 | (β.postcomp h).precomp f = (β.precomp f).postcomp h := by |
| 41 | ext U s |
| 42 | rfl |
| 43 | |
| 44 | /-- An isomorphism of the input module induces an equivalence of multilinear maps. -/ |
| 45 | def Powers.SheafMultilinearMap.sourceIso (e : L ≅ M) (n : ℕ) (P : X.Modules) : |
| 46 | Powers.SheafMultilinearMap L n P ≃ Powers.SheafMultilinearMap M n P where |
| 47 | toFun β := β.precomp e.inv |
| 48 | invFun β := β.precomp e.hom |
| 49 | left_inv β := (β.precomp_comp e.inv e.hom).trans |
| 50 | ((congrArg (fun f : L ⟶ L => β.precomp f) e.hom_inv_id).trans β.precomp_id) |
| 51 | right_inv β := (β.precomp_comp e.hom e.inv).trans |
| 52 | ((congrArg (fun f : M ⟶ M => β.precomp f) e.inv_hom_id).trans β.precomp_id) |
| 53 | |
| 54 | end Tensor |
| 55 | |
| 56 | /-- Replacing a module by an isomorphic one leaves its tensor powers unchanged. -/ |
| 57 | theorem Tensor.Powers.IsTensorPower.of_sourceIso {L M P : X.Modules} {n : ℕ} |
| 58 | (hP : Tensor.Powers.IsTensorPower L n P) (e : L ≅ M) : Tensor.Powers.IsTensorPower M n P := by |
| 59 | obtain ⟨β, hβ⟩ := hP |
| 60 | refine ⟨β.precomp e.inv, fun Q => ?_⟩ |
| 61 | have h : (fun f : P ⟶ Q => (β.precomp e.inv).postcomp f) = |
| 62 | fun f : P ⟶ Q => Tensor.Powers.SheafMultilinearMap.sourceIso e n Q (β.postcomp f) := by |
| 63 | funext f |
| 64 | exact (β.precomp_postcomp e.inv f).symm |
| 65 | rw [h] |
| 66 | exact (Tensor.Powers.SheafMultilinearMap.sourceIso e n Q).bijective.comp (hβ Q) |
| 67 | |
| 68 | /-- Ampleness depends only on the isomorphism class of the line bundle. -/ |
| 69 | theorem Line.Bundles.LineBundle.IsAmple.of_iso {L M : Line.Bundles.LineBundle X} (hL : L.IsAmple) |
| 70 | (e : L.sheaf ≅ M.sheaf) : M.IsAmple := by |
| 71 | refine ⟨hL.1, fun x => ?_⟩ |
| 72 | obtain ⟨n, hn, P, hP, s, hxs, hs⟩ := hL.2 x |
| 73 | exact ⟨n, hn, P, hP.of_sourceIso e, s, hxs, hs⟩ |
| 74 | |
| 75 | /-- Equivalent module sheaves give the same ampleness condition. -/ |
| 76 | theorem Line.Bundles.LineBundle.isAmple_iff_of_iso {L M : Line.Bundles.LineBundle X} (e : L.sheaf ≅ M.sheaf) : |
| 77 | L.IsAmple ↔ M.IsAmple := |
| 78 | ⟨fun h => h.of_iso e, fun h => h.of_iso e.symm⟩ |
| 79 | |
| 80 | end |
| 81 | |
| 82 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction |