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.Relative.OpenFunctionModules |
| 2 | |
| 3 | /-! # Open Function Scalars -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Relative.OpenFunctionScalars |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Multiplication by a local function is linear over functions on a containing open and commutes with restriction. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 12 | |
| 13 | universe u |
| 14 | |
| 15 | variable {X : Scheme.{u}} |
| 16 | |
| 17 | def relativeOpenFunctionScalar (V W : X.Opens) (h : W ≤ V) (a : Γ(X, W)) : |
| 18 | End (OpenFunctionModules.relativeOpenFunctionModule V W h) := |
| 19 | ModuleCat.ofHom (X := OpenFunctionModules.relativeOpenFunctionModule V W h) (Y := OpenFunctionModules.relativeOpenFunctionModule V W h) { |
| 20 | toFun := @Mul.mul Γ(X, W) inferInstance a |
| 21 | map_add' := mul_add a |
| 22 | map_smul' := fun r x => by |
| 23 | change @Mul.mul Γ(X, W) inferInstance a |
| 24 | (@Mul.mul Γ(X, W) inferInstance (X.presheaf.map (homOfLE h).op r) x) = |
| 25 | @Mul.mul Γ(X, W) inferInstance (X.presheaf.map (homOfLE h).op r) |
| 26 | (@Mul.mul Γ(X, W) inferInstance a x) |
| 27 | exact mul_left_comm a (X.presheaf.map (homOfLE h).op r) x } |
| 28 | |
| 29 | theorem relativeOpenFunctionScalar_restriction (V : X.Opens) {W Z : X.Opens} |
| 30 | (hW : W ≤ V) (hZ : Z ≤ V) (h : Z ≤ W) (a : Γ(X, W)) : |
| 31 | relativeOpenFunctionScalar V W hW a ≫ OpenFunctionModules.relativeOpenFunctionRestriction V hW hZ h = |
| 32 | OpenFunctionModules.relativeOpenFunctionRestriction V hW hZ h ≫ |
| 33 | relativeOpenFunctionScalar V Z hZ (X.presheaf.map (homOfLE h).op a) := by |
| 34 | apply ModuleCat.hom_ext |
| 35 | ext x |
| 36 | exact (X.presheaf.map (homOfLE h).op).hom.map_mul a x |
| 37 | |
| 38 | end |
| 39 | |
| 40 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Relative.OpenFunctionScalars |