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.Coefficient.AlgebraPresheaf |
| 2 | |
| 3 | /-! # Open Function Modules -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Relative.OpenFunctionModules |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Regular functions on a smaller open are modules over the functions on a larger open, with linear restriction maps. These are the local modules used to assemble homogeneous frames. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | variable {X : Scheme.{u}} |
| 16 | |
| 17 | def relativeOpenFunctionModule (V W : X.Opens) (h : W ≤ V) : ModuleCat.{u} Γ(X, V) := |
| 18 | (ModuleCat.restrictScalars (X.presheaf.map (homOfLE h).op).hom).obj (ModuleCat.of Γ(X, W) Γ(X, W)) |
| 19 | |
| 20 | def relativeOpenFunctionRestriction (V : X.Opens) {W Z : X.Opens} |
| 21 | (hW : W ≤ V) (hZ : Z ≤ V) (a : Z ≤ W) : |
| 22 | relativeOpenFunctionModule V W hW ⟶ relativeOpenFunctionModule V Z hZ := by |
| 23 | exact ModuleCat.ofHom (X := relativeOpenFunctionModule V W hW) |
| 24 | (Y := relativeOpenFunctionModule V Z hZ) { |
| 25 | toFun := X.presheaf.map (homOfLE a).op |
| 26 | map_add' := map_add _ |
| 27 | map_smul' := fun r s => by |
| 28 | change X.presheaf.map (homOfLE a).op |
| 29 | (@Mul.mul Γ(X, W) inferInstance (X.presheaf.map (homOfLE hW).op r) s) = |
| 30 | @Mul.mul Γ(X, Z) inferInstance (X.presheaf.map (homOfLE hZ).op r) |
| 31 | (X.presheaf.map (homOfLE a).op s) |
| 32 | have hm := (X.presheaf.map (homOfLE a).op).hom.map_mul |
| 33 | (X.presheaf.map (homOfLE hW).op r) s |
| 34 | exact hm.trans (congrArg (fun z : Γ(X, Z) => z * (X.presheaf.map (homOfLE a).op s)) |
| 35 | (ConcreteCategory.congr_hom (X.presheaf.map_comp (homOfLE hW).op (homOfLE a).op) r).symm) } |
| 36 | |
| 37 | theorem relativeOpenFunctionRestriction_refl (V W : X.Opens) (h : W ≤ V) : |
| 38 | relativeOpenFunctionRestriction V h h (le_refl W) = 𝟙 _ := by |
| 39 | apply ModuleCat.hom_ext |
| 40 | ext x |
| 41 | exact ConcreteCategory.congr_hom (X.presheaf.map_id (.op W)) x |
| 42 | |
| 43 | theorem relativeOpenFunctionRestriction_comp (V : X.Opens) {W Z Q : X.Opens} |
| 44 | (hW : W ≤ V) (hZ : Z ≤ V) (hQ : Q ≤ V) (a : Z ≤ W) (b : Q ≤ Z) : |
| 45 | relativeOpenFunctionRestriction V hW hZ a ≫ relativeOpenFunctionRestriction V hZ hQ b = |
| 46 | relativeOpenFunctionRestriction V hW hQ (b.trans a) := by |
| 47 | apply ModuleCat.hom_ext |
| 48 | ext x |
| 49 | exact (ConcreteCategory.congr_hom (X.presheaf.map_comp (homOfLE a).op (homOfLE b).op) x).symm |
| 50 | |
| 51 | end |
| 52 | |
| 53 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Relative.OpenFunctionModules |