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.Picard.Homomorphisms.TensorPowerSheaf |
| 2 | import OAI.AlgebraicGeometry.Picard.Homomorphisms.UnitTensorPower |
| 3 | import OAI.AlgebraicGeometry.Picard.Homomorphisms.LineBundlePowerMap |
| 4 | import OAI.AlgebraicGeometry.Picard.Homomorphisms.LineBundleEpi |
| 5 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Tensor.TensorRestriction |
| 6 | |
| 7 | /-! # Line Bundle Tensor -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.Picard.Homomorphisms.LineBundleTensor |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! The Frobenius tensor comparison is an epimorphism between line bundles. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | |
| 17 | set_option backward.isDefEq.respectTransparency.types false |
| 18 | |
| 19 | namespace Construction |
| 20 | |
| 21 | universe u |
| 22 | |
| 23 | variable {X : Scheme.{u}} |
| 24 | |
| 25 | def tensorPowerLineBundle (L : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle X) (n : ℕ) : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle X where |
| 26 | sheaf := TensorPowerSheaf.Construction.tensorPowerSheaf L.sheaf n |
| 27 | locallyTrivial x := by |
| 28 | obtain ⟨U, hx, ⟨e⟩⟩ := L.locallyTrivial x |
| 29 | refine ⟨U, hx, ?_⟩ |
| 30 | have h := ((TensorPowerSheaf.Construction.tensorPowerSheaf_isTensorPower L.sheaf n).pullback_of_isOpenImmersion U.ι).of_sourceIso e |
| 31 | exact h.unique (UnitTensorPower.Construction.unit_isTensorPower U.toScheme n) |
| 32 | |
| 33 | def lineBundleFrobeniusTensorMap (p : ℕ) (hp : p.Prime) (hX : (p : Γ(X, ⊤)) = 0) |
| 34 | (L : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle X) : |
| 35 | (L.pullback (Frobenius.Construction.absoluteFrobenius p hp X hX)).sheaf ⟶ (tensorPowerLineBundle L p).sheaf := |
| 36 | ((Scheme.Modules.pullbackPushforwardAdjunction (Frobenius.Construction.absoluteFrobenius p hp X hX)).homEquiv |
| 37 | L.sheaf (TensorPowerSheaf.Construction.tensorPowerSheaf L.sheaf p)).symm |
| 38 | (LineBundlePowerMap.Construction.lineBundleFrobeniusToPushforward p hp hX L _ (TensorPowerSheaf.Construction.tensorPowerSheafMultilinear L.sheaf p)) |
| 39 | |
| 40 | theorem lineBundleFrobeniusTensorMap_homEquiv |
| 41 | (p : ℕ) (hp : p.Prime) (hX : (p : Γ(X, ⊤)) = 0) (L : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle X) |
| 42 | (P : X.Modules) (f : (tensorPowerLineBundle L p).sheaf ⟶ P) : |
| 43 | LineBundlePowerMap.Construction.lineBundleFrobeniusToPushforward p hp hX L P (TensorPowerSheaf.Construction.tensorPowerSheafHomEquiv L.sheaf p P f) = |
| 44 | (Scheme.Modules.pullbackPushforwardAdjunction (Frobenius.Construction.absoluteFrobenius p hp X hX)).homEquiv |
| 45 | L.sheaf P (lineBundleFrobeniusTensorMap p hp hX L ≫ f) := by |
| 46 | rw [← TensorPowerSheaf.Construction.tensorPowerSheafMultilinear_postcomp, LineBundlePowerMap.Construction.lineBundleFrobeniusToPushforward_postcomp] |
| 47 | rw [Adjunction.homEquiv_naturality_right] |
| 48 | change _ = (((Scheme.Modules.pullbackPushforwardAdjunction |
| 49 | (Frobenius.Construction.absoluteFrobenius p hp X hX)).homEquiv _ _) |
| 50 | (((Scheme.Modules.pullbackPushforwardAdjunction |
| 51 | (Frobenius.Construction.absoluteFrobenius p hp X hX)).homEquiv _ _).symm _)) ≫ _ |
| 52 | rw [Equiv.apply_symm_apply] |
| 53 | rfl |
| 54 | |
| 55 | instance lineBundleFrobeniusTensorMap_epi |
| 56 | (p : ℕ) (hp : p.Prime) (hX : (p : Γ(X, ⊤)) = 0) (L : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle X) : |
| 57 | Epi (lineBundleFrobeniusTensorMap p hp hX L) where |
| 58 | left_cancellation f g h := by |
| 59 | apply (TensorPowerSheaf.Construction.tensorPowerSheafHomEquiv L.sheaf p _).injective |
| 60 | apply LineBundlePowerMap.Construction.lineBundleFrobeniusToPushforward_injective p hp hX L _ |
| 61 | rw [lineBundleFrobeniusTensorMap_homEquiv, lineBundleFrobeniusTensorMap_homEquiv] |
| 62 | exact congrArg ((Scheme.Modules.pullbackPushforwardAdjunction |
| 63 | (Frobenius.Construction.absoluteFrobenius p hp X hX)).homEquiv L.sheaf _) h |
| 64 | |
| 65 | instance lineBundleFrobeniusTensorMap_isIso |
| 66 | (p : ℕ) (hp : p.Prime) (hX : (p : Γ(X, ⊤)) = 0) (L : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle X) : |
| 67 | IsIso (lineBundleFrobeniusTensorMap p hp hX L) := |
| 68 | LineBundleEpi.Construction.lineBundle_epi_isIso (L.pullback (Frobenius.Construction.absoluteFrobenius p hp X hX)) |
| 69 | (tensorPowerLineBundle L p) (lineBundleFrobeniusTensorMap p hp hX L) |
| 70 | |
| 71 | /-- Absolute Frobenius pullback of any line bundle on any characteristic-p |
| 72 | scheme is canonically isomorphic to its actual p-th tensor-power sheaf. -/ |
| 73 | def frobeniusPullbackLineBundleIso |
| 74 | (p : ℕ) (hp : p.Prime) (hX : (p : Γ(X, ⊤)) = 0) (L : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle X) : |
| 75 | (L.pullback (Frobenius.Construction.absoluteFrobenius p hp X hX)).sheaf ≅ (tensorPowerLineBundle L p).sheaf := |
| 76 | asIso (lineBundleFrobeniusTensorMap p hp hX L) |
| 77 | |
| 78 | theorem frobeniusPullback_isTensorPower |
| 79 | (p : ℕ) (hp : p.Prime) (hX : (p : Γ(X, ⊤)) = 0) (L : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle X) : |
| 80 | AbelianModuli.HilbertConstruction.Tensor.Powers.IsTensorPower L.sheaf p (L.pullback (Frobenius.Construction.absoluteFrobenius p hp X hX)).sheaf := |
| 81 | (TensorPowerSheaf.Construction.tensorPowerSheaf_isTensorPower L.sheaf p).of_targetIso |
| 82 | (frobeniusPullbackLineBundleIso p hp hX L).symm |
| 83 | |
| 84 | /-- Pulling the Frobenius twist of a line bundle back along relative |
| 85 | Frobenius gives its p-th tensor power, over an arbitrary base scheme. -/ |
| 86 | def relativeFrobeniusPullbackLineBundleIso |
| 87 | (p : ℕ) (hp : p.Prime) {S : Scheme.{u}} (hS : (p : Γ(S, ⊤)) = 0) |
| 88 | (A : Over S) (L : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle A.left) : |
| 89 | (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullback (Frobenius.Construction.relativeFrobenius p hp hS A).left |
| 90 | (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.pullback |
| 91 | (CategoryTheory.Limits.pullback.fst A.hom (Frobenius.Construction.absoluteFrobenius p hp S hS)) L)).sheaf ≅ |
| 92 | (tensorPowerLineBundle L p).sheaf := |
| 93 | (Scheme.Modules.pullbackComp (Frobenius.Construction.relativeFrobenius p hp hS A).left |
| 94 | (CategoryTheory.Limits.pullback.fst A.hom (Frobenius.Construction.absoluteFrobenius p hp S hS))).app L.sheaf ≪≫ |
| 95 | (Scheme.Modules.pullbackCongr (Frobenius.Construction.relativeFrobenius_comp_fst p hp hS A)).app L.sheaf ≪≫ |
| 96 | frobeniusPullbackLineBundleIso p hp (Frobenius.Construction.prime_eq_zero_of_map p hS A.hom) L |
| 97 | |
| 98 | end Construction |
| 99 | |
| 100 | end |
| 101 | |
| 102 | end OAI.AlgebraicGeometry.Picard.Homomorphisms.LineBundleTensor |