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.IntegerCoefficients |
| 2 | import Mathlib.LinearAlgebra.TensorProduct.Tower |
| 3 | |
| 4 | /-! # Constant Coefficients -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.SheafCohomology.ConstantCoefficients.Projective |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Identification of the constant sheaves used in coefficient comparison. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.TopologicalSpace |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false in |
| 15 | def complexExtensionUnitIso : |
| 16 | CoefficientFlatness.Projective.extendComplexCoefficients.obj (ModuleCat.of ℤ ℤ) ≅ ModuleCat.of ℂ ℂ := by |
| 17 | let M := (ModuleCat.restrictScalars (Int.castRingHom ℂ)).obj (ModuleCat.of ℂ ℂ) |
| 18 | letI : Module ℂ M := inferInstanceAs (Module ℂ ℂ) |
| 19 | letI : Module ℤ M := M.isModule |
| 20 | have : @IsScalarTower ℤ ℂ M (Algebra.toSMul : SMul ℤ ℂ) |
| 21 | (inferInstance : SMul ℂ M) M.isModule.toSMul := by |
| 22 | refine @IsScalarTower.mk ℤ ℂ M (Algebra.toSMul : SMul ℤ ℂ) |
| 23 | (inferInstance : SMul ℂ M) M.isModule.toSMul ?_ |
| 24 | intro n z w |
| 25 | dsimp [M, ModuleCat.restrictScalars, ModuleCat.RestrictScalars.obj', Module.compHom] |
| 26 | simp only [zsmul_eq_mul, mul_assoc] |
| 27 | exact (ModuleCat.restrictScalars.smul_def (Int.castRingHom ℂ) |
| 28 | (M := ModuleCat.of ℂ ℂ) n (z * (show ℂ from w))).symm |
| 29 | exact (TensorProduct.AlgebraTensorModule.rid ℤ ℂ M).toModuleIso |
| 30 | |
| 31 | def extendConstantComplexIso (X : TopCat.{0}) : |
| 32 | (Coefficients.Projective.extendComplexSheaf X).obj |
| 33 | ((constantSheaf (Opens.grothendieckTopology X) (ModuleCat.{0} ℤ)).obj |
| 34 | (ModuleCat.of ℤ ℤ)) ≅ |
| 35 | (constantSheaf (Opens.grothendieckTopology X) (ModuleCat.{0} ℂ)).obj |
| 36 | (ModuleCat.of ℂ ℂ) := |
| 37 | (presheafToSheafCompComposeAndSheafifyIso (Opens.grothendieckTopology X) |
| 38 | CoefficientFlatness.Projective.extendComplexCoefficients).app ((Functor.const (Opens X)ᵒᵖ).obj (ModuleCat.of ℤ ℤ)) ≪≫ |
| 39 | (presheafToSheaf (Opens.grothendieckTopology X) (ModuleCat.{0} ℂ)).mapIso |
| 40 | (Functor.constComp (Opens X)ᵒᵖ (ModuleCat.of ℤ ℤ) CoefficientFlatness.Projective.extendComplexCoefficients) ≪≫ |
| 41 | (constantSheaf (Opens.grothendieckTopology X) (ModuleCat.{0} ℂ)).mapIso |
| 42 | complexExtensionUnitIso |
| 43 | |
| 44 | def forgetConstantIntegerIso (X : TopCat.{0}) : |
| 45 | (IntegerCoefficients.Projective.integerSheafForget X).obj |
| 46 | ((constantSheaf (Opens.grothendieckTopology X) (ModuleCat.{0} ℤ)).obj |
| 47 | (ModuleCat.of ℤ ℤ)) ≅ |
| 48 | (constantSheaf (Opens.grothendieckTopology X) AddCommGrpCat.{0}).obj |
| 49 | (AddCommGrpCat.of ℤ) := |
| 50 | (constantCommuteCompose (Opens.grothendieckTopology X) |
| 51 | (forget₂ (ModuleCat.{0} ℤ) AddCommGrpCat.{0})).app (ModuleCat.of ℤ ℤ) |
| 52 | |
| 53 | def constantIntegerUliftIso (X : TopCat.{0}) : |
| 54 | (constantSheaf (Opens.grothendieckTopology X) AddCommGrpCat.{0}).obj |
| 55 | (AddCommGrpCat.of ℤ) ≅ |
| 56 | (constantSheaf (Opens.grothendieckTopology X) AddCommGrpCat.{0}).obj |
| 57 | (AddCommGrpCat.of (ULift.{0} ℤ)) := |
| 58 | (constantSheaf (Opens.grothendieckTopology X) AddCommGrpCat.{0}).mapIso |
| 59 | (AddEquiv.ulift : ULift.{0} ℤ ≃+ ℤ).symm.toAddCommGrpIso |
| 60 | |
| 61 | end |
| 62 | |
| 63 | end OAI.AlgebraicGeometry.SheafCohomology.ConstantCoefficients.Projective |