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.Frobenius |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Tensor.Powers |
| 3 | import Mathlib.Topology.Sheaves.Sheaf |
| 4 | |
| 5 | /-! # Line Bundle Power Map -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Picard.Homomorphisms.LineBundlePowerMap |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! |
| 12 | # Homomorphisms: the canonical Frobenius map of a line bundle |
| 13 | |
| 14 | The diagonal of a p-multilinear map out of a line bundle is additive in |
| 15 | characteristic p. Additivity is checked on actual local frames and glued |
| 16 | using separatedness of the target sheaf. |
| 17 | -/ |
| 18 | |
| 19 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 20 | open OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Tensor.Powers |
| 21 | |
| 22 | set_option backward.isDefEq.respectTransparency.types false |
| 23 | |
| 24 | namespace Construction |
| 25 | |
| 26 | universe u |
| 27 | |
| 28 | theorem sections_cyclic_of_frame {X Y : Scheme.{u}} (f : X ⟶ Y) [IsOpenImmersion f] |
| 29 | (L : Y.Modules) (e : L.restrict f ≅ AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X) (U : X.Opens) : |
| 30 | ∃ s : Γ(L, f ''ᵁ U), ∀ t : Γ(L, f ''ᵁ U), ∃ r : Γ(Y, f ''ᵁ U), r • s = t := by |
| 31 | let a := L.restrictAppIso f U |
| 32 | let s := a.hom (e.inv.app U (1 : Γ(X, U))) |
| 33 | refine ⟨s, fun t => ?_⟩ |
| 34 | let c : Γ(X, U) := e.hom.app U (a.inv t) |
| 35 | refine ⟨(f.appIso U).inv c, ?_⟩ |
| 36 | calc |
| 37 | (f.appIso U).inv c • s = a.hom (c • e.inv.app U (1 : Γ(X, U))) := rfl |
| 38 | _ = a.hom (e.inv.app U (c • (1 : Γ(X, U)))) := by |
| 39 | exact congrArg a.hom (e.inv.app_smul c (1 : Γ(X, U))).symm |
| 40 | _ = a.hom (e.inv.app U c) := by rw [smul_eq_mul, mul_one] |
| 41 | _ = t := by |
| 42 | change a.hom ((e.hom ≫ e.inv).app U (a.inv t)) = t |
| 43 | rw [e.hom_inv_id] |
| 44 | exact ConcreteCategory.congr_hom a.inv_hom_id t |
| 45 | |
| 46 | theorem lineBundle_sections_locally_cyclic {X : Scheme.{u}} (L : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle X) |
| 47 | (U : X.Opens) (x : X) (hx : x ∈ U) : |
| 48 | ∃ V : X.Opens, ∃ _hVU : V ≤ U, x ∈ V ∧ |
| 49 | ∃ s : Γ(L.sheaf, V), ∀ t : Γ(L.sheaf, V), ∃ r : Γ(X, V), r • s = t := by |
| 50 | obtain ⟨W, hxW, ⟨e⟩⟩ := L.locallyTrivial x |
| 51 | let V := U ⊓ W |
| 52 | let eV : (Scheme.Modules.pullback V.ι).obj L.sheaf ≅ AbelianModuli.HilbertConstruction.Line.Bundles.structureModule V.toScheme := |
| 53 | (Scheme.Modules.pullbackCongr (X.homOfLE_ι (show V ≤ W from inf_le_right)).symm).app |
| 54 | L.sheaf ≪≫ |
| 55 | (Scheme.Modules.pullbackComp (X.homOfLE (show V ≤ W from inf_le_right)) W.ι).symm.app |
| 56 | L.sheaf ≪≫ |
| 57 | (Scheme.Modules.pullback (X.homOfLE (show V ≤ W from inf_le_right))).mapIso e ≪≫ |
| 58 | AbelianModuli.HilbertConstruction.Line.Bundles.structureModulePullbackIso (X.homOfLE (show V ≤ W from inf_le_right)) |
| 59 | refine ⟨V, inf_le_left, ⟨hx, hxW⟩, ?_⟩ |
| 60 | have h := sections_cyclic_of_frame V.ι L.sheaf |
| 61 | (((Scheme.Modules.restrictFunctorIsoPullback V.ι).app L.sheaf) ≪≫ eV) ⊤ |
| 62 | erw [Scheme.Opens.ι_image_top] at h |
| 63 | exact h |
| 64 | |
| 65 | theorem multilinear_diagonal_smul {R M N : Type*} [CommRing R] |
| 66 | [AddCommGroup M] [Module R M] [AddCommGroup N] [Module R N] |
| 67 | (n : ℕ) (β : MultilinearMap R (fun _ : Fin n => M) N) (r : R) (x : M) : |
| 68 | β (fun _ => r • x) = r ^ n • β (fun _ => x) := by |
| 69 | simpa using β.map_smul_univ (fun _ => r) (fun _ => x) |
| 70 | |
| 71 | /-- A multilinear map out of a line bundle is determined by its diagonal. |
| 72 | This holds in every characteristic, by the local rank-one property. -/ |
| 73 | theorem lineBundle_multilinear_ext_diagonal {X : Scheme.{u}} (L : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle X) |
| 74 | (n : ℕ) {P : X.Modules} (β γ : AbelianModuli.HilbertConstruction.Tensor.Powers.SheafMultilinearMap L.sheaf n P) |
| 75 | (h : ∀ (U : X.Opens) (s : Γ(L.sheaf, U)), |
| 76 | β.app U (fun _ => s) = γ.app U (fun _ => s)) : β = γ := by |
| 77 | apply AbelianModuli.HilbertConstruction.Tensor.Powers.SheafMultilinearMap.ext |
| 78 | intro U |
| 79 | apply MultilinearMap.ext |
| 80 | intro s |
| 81 | apply P.isSheaf.section_ext |
| 82 | intro x hx |
| 83 | obtain ⟨V, hVU, hxV, v, hv⟩ := lineBundle_sections_locally_cyclic L U x hx |
| 84 | refine ⟨V, hVU, hxV, ?_⟩ |
| 85 | rw [β.naturality, γ.naturality] |
| 86 | choose a ha using fun i => hv (L.sheaf.presheaf.map (homOfLE hVU).op (s i)) |
| 87 | have hs : (fun i => L.sheaf.presheaf.map (homOfLE hVU).op (s i)) = fun i => a i • v := |
| 88 | funext (fun i => (ha i).symm) |
| 89 | rw [hs, (β.app V).map_smul_univ a (fun _ => v), (γ.app V).map_smul_univ a (fun _ => v), h] |
| 90 | |
| 91 | theorem lineBundle_diagonal_add {X : Scheme.{u}} |
| 92 | (p : ℕ) (hp : p.Prime) (hX : (p : Γ(X, ⊤)) = 0) |
| 93 | (L : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle X) (P : X.Modules) (β : AbelianModuli.HilbertConstruction.Tensor.Powers.SheafMultilinearMap L.sheaf p P) |
| 94 | (U : X.Opens) (s t : Γ(L.sheaf, U)) : |
| 95 | β.app U (fun _ => s + t) = β.app U (fun _ => s) + β.app U (fun _ => t) := by |
| 96 | apply P.isSheaf.section_ext |
| 97 | intro x hx |
| 98 | obtain ⟨V, hVU, hxV, v, hv⟩ := lineBundle_sections_locally_cyclic L U x hx |
| 99 | refine ⟨V, hVU, hxV, ?_⟩ |
| 100 | rw [map_add, β.naturality, β.naturality, β.naturality] |
| 101 | simp only [map_add] |
| 102 | obtain ⟨a, ha⟩ := hv (L.sheaf.presheaf.map (homOfLE hVU).op s) |
| 103 | obtain ⟨b, hb⟩ := hv (L.sheaf.presheaf.map (homOfLE hVU).op t) |
| 104 | simp only [← ha, ← hb, ← add_smul] |
| 105 | rw [multilinear_diagonal_smul, multilinear_diagonal_smul, multilinear_diagonal_smul] |
| 106 | rw [← add_smul] |
| 107 | exact congrArg (fun r : Γ(X, V) => r • β.app V (fun _ => v)) |
| 108 | ((Frobenius.Construction.powerRingHom p hp Γ(X, V) (Frobenius.Construction.section_prime_eq_zero p X hX V)).map_add a b) |
| 109 | |
| 110 | /-- The diagonal is Frobenius-semilinear, as a map to the direct image |
| 111 | of the target sheaf under the actual absolute Frobenius. -/ |
| 112 | def lineBundleFrobeniusToPushforward {X : Scheme.{u}} |
| 113 | (p : ℕ) (hp : p.Prime) (hX : (p : Γ(X, ⊤)) = 0) |
| 114 | (L : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle X) (P : X.Modules) (β : AbelianModuli.HilbertConstruction.Tensor.Powers.SheafMultilinearMap L.sheaf p P) : |
| 115 | L.sheaf ⟶ (Scheme.Modules.pushforward (Frobenius.Construction.absoluteFrobenius p hp X hX)).obj P where |
| 116 | val.app U := by |
| 117 | let Q : ModuleCat (X.ringCatSheaf.obj.obj U) := |
| 118 | ((Scheme.Modules.pushforward (Frobenius.Construction.absoluteFrobenius p hp X hX)).obj P).val.obj U |
| 119 | let : Module (X.ringCatSheaf.obj.obj U) Q := Q.isModule |
| 120 | exact (ModuleCat.ofHom (Y := Q) { |
| 121 | toFun s := (show Q from β.app U.unop (fun _ => s)) |
| 122 | map_add' := lineBundle_diagonal_add p hp hX L P β U.unop |
| 123 | map_smul' r s := multilinear_diagonal_smul p (β.app U.unop) r s } : |
| 124 | L.sheaf.val.obj U ⟶ Q) |
| 125 | val.naturality {U V} h := by |
| 126 | ext s |
| 127 | exact (β.naturality h.unop (fun _ => s)).symm |
| 128 | |
| 129 | theorem lineBundleFrobeniusToPushforward_injective {X : Scheme.{u}} |
| 130 | (p : ℕ) (hp : p.Prime) (hX : (p : Γ(X, ⊤)) = 0) |
| 131 | (L : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle X) (P : X.Modules) : |
| 132 | Function.Injective (lineBundleFrobeniusToPushforward p hp hX L P) := by |
| 133 | intro β γ h |
| 134 | apply lineBundle_multilinear_ext_diagonal L p β γ |
| 135 | intro U s |
| 136 | exact ConcreteCategory.congr_hom (congrArg (fun f => f.app U) h) s |
| 137 | |
| 138 | theorem lineBundleFrobeniusToPushforward_postcomp {X : Scheme.{u}} |
| 139 | (p : ℕ) (hp : p.Prime) (hX : (p : Γ(X, ⊤)) = 0) |
| 140 | (L : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle X) {P Q : X.Modules} (β : AbelianModuli.HilbertConstruction.Tensor.Powers.SheafMultilinearMap L.sheaf p P) (f : P ⟶ Q) : |
| 141 | lineBundleFrobeniusToPushforward p hp hX L Q (β.postcomp f) = |
| 142 | lineBundleFrobeniusToPushforward p hp hX L P β ≫ |
| 143 | (Scheme.Modules.pushforward (Frobenius.Construction.absoluteFrobenius p hp X hX)).map f := by |
| 144 | apply Scheme.Modules.hom_ext |
| 145 | intro U |
| 146 | ext s |
| 147 | rfl |
| 148 | |
| 149 | end Construction |
| 150 | |
| 151 | end |
| 152 | |
| 153 | end OAI.AlgebraicGeometry.Picard.Homomorphisms.LineBundlePowerMap |