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.Global.Sections |
| 2 | |
| 3 | /-! # Module Scalars App -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Quotients.FiniteDescent.ModuleScalarsApp.Construction.ModuleScalars |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Global regular functions acting on actual module sheaves. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Global.Sections |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | variable {X : Scheme.{u}} |
| 16 | |
| 17 | def scalar (M : X.Modules) (r : Γ(X, ⊤)) : End M where |
| 18 | val.app U := ModuleCat.ofHom |
| 19 | ((X.presheaf.map U.unop.leTop.op r) • (LinearMap.id : Γ(M, U.unop) →ₗ[Γ(X, U.unop)] Γ(M, U.unop))) |
| 20 | val.naturality {U V} h := by |
| 21 | ext s |
| 22 | change Γ(M, U.unop) at s |
| 23 | change X.presheaf.map V.unop.leTop.op r • |
| 24 | (show Γ(M, V.unop) from M.presheaf.map h s) = |
| 25 | M.presheaf.map h (X.presheaf.map U.unop.leTop.op r • s) |
| 26 | have hr : X.presheaf.map V.unop.leTop.op r = |
| 27 | X.presheaf.map h (X.presheaf.map U.unop.leTop.op r) := by |
| 28 | rw [← ConcreteCategory.comp_apply, ← Functor.map_comp] |
| 29 | rfl |
| 30 | exact (congrArg (fun a : Γ(X, V.unop) => |
| 31 | a • (show Γ(M, V.unop) from M.presheaf.map h s)) hr).trans |
| 32 | (M.map_smul h.unop (X.presheaf.map U.unop.leTop.op r) s).symm |
| 33 | |
| 34 | theorem scalar_app (M : X.Modules) (r : Γ(X, ⊤)) (U : X.Opens) (s : Γ(M, U)) : |
| 35 | (scalar M r).app U s = X.presheaf.map U.leTop.op r • s := rfl |
| 36 | |
| 37 | theorem scalar_naturality {M N : X.Modules} (a : M ⟶ N) (r : Γ(X, ⊤)) : |
| 38 | scalar M r ≫ a = a ≫ scalar N r := by |
| 39 | apply Scheme.Modules.hom_ext |
| 40 | intro U |
| 41 | ext s |
| 42 | exact a.app_smul (X.presheaf.map U.leTop.op r) s |
| 43 | |
| 44 | def scalarHom (M : X.Modules) : Γ(X, ⊤) →+* End M where |
| 45 | toFun := scalar M |
| 46 | map_one' := by |
| 47 | apply Scheme.Modules.hom_ext |
| 48 | intro U |
| 49 | ext s |
| 50 | change X.presheaf.map U.leTop.op (1 : Γ(X, ⊤)) • s = s |
| 51 | rw [map_one, one_smul] |
| 52 | map_zero' := by |
| 53 | apply Scheme.Modules.hom_ext |
| 54 | intro U |
| 55 | ext s |
| 56 | change X.presheaf.map U.leTop.op (0 : Γ(X, ⊤)) • s = 0 |
| 57 | rw [map_zero, zero_smul] |
| 58 | map_add' r t := by |
| 59 | apply Scheme.Modules.hom_ext |
| 60 | intro U |
| 61 | ext s |
| 62 | change X.presheaf.map U.leTop.op (r + t) • s = |
| 63 | X.presheaf.map U.leTop.op r • s + X.presheaf.map U.leTop.op t • s |
| 64 | rw [map_add, add_smul] |
| 65 | map_mul' r t := by |
| 66 | apply Scheme.Modules.hom_ext |
| 67 | intro U |
| 68 | ext s |
| 69 | change X.presheaf.map U.leTop.op (r * t) • s = |
| 70 | X.presheaf.map U.leTop.op r • (X.presheaf.map U.leTop.op t • s) |
| 71 | rw [map_mul, mul_smul] |
| 72 | |
| 73 | theorem structure_value (r : Γ(X, ⊤)) : |
| 74 | AbelianModuli.HilbertConstruction.Frame.Coordinates.structureModuleEndValue X (scalar (AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X) r) = r := by |
| 75 | change X.presheaf.map (𝟙 (.op ⊤)) r * (1 : Γ(X, ⊤)) = r |
| 76 | rw [X.presheaf.map_id] |
| 77 | exact mul_one r |
| 78 | |
| 79 | theorem pushforward_scalar {Y : Scheme.{u}} (f : X ⟶ Y) (M : X.Modules) (r : Γ(Y, ⊤)) : |
| 80 | (Scheme.Modules.pushforward f).map (scalar M (f.appTop r)) = |
| 81 | scalar ((Scheme.Modules.pushforward f).obj M) r := by |
| 82 | apply Scheme.Modules.hom_ext |
| 83 | intro U |
| 84 | ext s |
| 85 | change Γ(M, f ⁻¹ᵁ U) at s |
| 86 | change X.presheaf.map (f ⁻¹ᵁ U).leTop.op (f.appTop r) • s = |
| 87 | f.app U (Y.presheaf.map U.leTop.op r) • s |
| 88 | exact congrArg (fun a : Γ(X, f ⁻¹ᵁ U) => a • s) |
| 89 | (ConcreteCategory.congr_hom (f.naturality U.leTop.op) r).symm |
| 90 | |
| 91 | /-- Pullback of multiplication by a global function is multiplication by |
| 92 | its pulled-back function on every module sheaf. -/ |
| 93 | theorem pullback_scalar {Y : Scheme.{u}} (f : X ⟶ Y) (M : Y.Modules) (r : Γ(Y, ⊤)) : |
| 94 | (Scheme.Modules.pullback f).map (scalar M r) = |
| 95 | scalar ((Scheme.Modules.pullback f).obj M) (f.appTop r) := by |
| 96 | apply ((Scheme.Modules.pullbackPushforwardAdjunction f).homEquiv _ _).injective |
| 97 | rw [Adjunction.homEquiv_unit, Adjunction.homEquiv_unit, pushforward_scalar] |
| 98 | exact ((Scheme.Modules.pullbackPushforwardAdjunction f).unit.naturality (scalar M r)).symm.trans |
| 99 | (scalar_naturality ((Scheme.Modules.pullbackPushforwardAdjunction f).unit.app M) r) |
| 100 | |
| 101 | end |
| 102 | |
| 103 | end OAI.AlgebraicGeometry.Quotients.FiniteDescent.ModuleScalarsApp.Construction.ModuleScalars |