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.SheafCohomology.Projective.ModuleHomGluing |
| 2 | import OAI.AlgebraicGeometry.SheafCohomology.Projective.OverGenerator |
| 3 | |
| 4 | /-! # Over Generator Restriction -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.SheafCohomology.Projective.OverGeneratorRestriction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Restriction and scalar identities for maps specified by a local generator. -/ |
| 11 | |
| 12 | set_option backward.isDefEq.respectTransparency false |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 14 | universe u |
| 15 | |
| 16 | theorem linearHomRestrict_comp {X : Scheme.{u}} (L M N : X.Modules) |
| 17 | {U V : X.Opens} (h : V ≤ U) (a : L.over U ⟶ M.over U) |
| 18 | (b : M.over U ⟶ N.over U) : |
| 19 | LinearHom.linearHomRestrict X.ringCatSheaf L N (homOfLE h).op (a ≫ b) = |
| 20 | LinearHom.linearHomRestrict X.ringCatSheaf L M (homOfLE h).op a ≫ |
| 21 | LinearHom.linearHomRestrict X.ringCatSheaf M N (homOfLE h).op b := by |
| 22 | simp only [LinearHom.linearHomRestrict, Functor.map_comp, Category.assoc, |
| 23 | Iso.hom_inv_id_app_assoc] |
| 24 | |
| 25 | theorem linearHomRestrict_overGeneratorHom {X : Scheme.{u}} (M : X.Modules) |
| 26 | {U V : X.Opens} (h : V ≤ U) (s : Γ(M, U)) : |
| 27 | LinearHom.linearHomRestrict X.ringCatSheaf (Invertible.Scheme.Modules.unitObj X) M |
| 28 | (homOfLE h).op (OverGenerator.overGeneratorHom M U s) = |
| 29 | OverGenerator.overGeneratorHom M V (M.presheaf.map (homOfLE h).op s) := by |
| 30 | apply _root_.SheafOfModules.hom_ext |
| 31 | apply PresheafOfModules.hom_ext |
| 32 | intro Z |
| 33 | apply ModuleCat.hom_ext |
| 34 | apply LinearMap.ext |
| 35 | intro a |
| 36 | change (show Γ(X, Z.unop.left) from a) • |
| 37 | M.presheaf.map (Z.unop.hom ≫ homOfLE h).op s = |
| 38 | (show Γ(X, Z.unop.left) from a) • |
| 39 | M.presheaf.map Z.unop.hom.op (M.presheaf.map (homOfLE h).op s) |
| 40 | rw [op_comp, M.presheaf.map_comp_apply] |
| 41 | |
| 42 | theorem overUnitScalarEnd_comp_overGeneratorHom {X : Scheme.{u}} (M : X.Modules) |
| 43 | (U : X.Opens) (r : Γ(X, U)) (s : Γ(M, U)) : |
| 44 | Dual.SheafOfModules.overUnitScalarEnd X.ringCatSheaf U r ≫ OverGenerator.overGeneratorHom M U s = |
| 45 | OverGenerator.overGeneratorHom M U (r • s) := by |
| 46 | apply _root_.SheafOfModules.hom_ext |
| 47 | apply PresheafOfModules.hom_ext |
| 48 | intro Z |
| 49 | apply ModuleCat.hom_ext |
| 50 | apply LinearMap.ext |
| 51 | intro a |
| 52 | change ((show Γ(X, Z.unop.left) from a) * X.presheaf.map Z.unop.hom.op r) • |
| 53 | M.presheaf.map Z.unop.hom.op s = |
| 54 | (show Γ(X, Z.unop.left) from a) • M.presheaf.map Z.unop.hom.op (r • s) |
| 55 | rw [M.map_smul] |
| 56 | exact mul_smul _ _ _ |
| 57 | |
| 58 | end |
| 59 | |
| 60 | end OAI.AlgebraicGeometry.SheafCohomology.Projective.OverGeneratorRestriction |