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.NumberTheory.PadicHodge.GeometricComparison.IntegerSheaf |
| 2 | |
| 3 | /-! # Constant Coefficient Unit -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.ConstantCoefficientUnit.ConstantCoefficientExtension |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The actual integer generator becomes the actual rank-one field coefficient sheaf under the constructed coefficient adjunction. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 12 | open scoped TensorProduct |
| 13 | |
| 14 | open OAI.NumberTheory.PadicHodge.GeometricComparison.SheafCoefficientCo.SheafCoefficientAdjunction OAI.NumberTheory.PadicHodge.GeometricComparison.IntegerSheaf.IntegerSheafEquivalence |
| 15 | |
| 16 | variable (R : Type 1) [Field R] [CharZero R] |
| 17 | |
| 18 | def unitIso : (SheafCoefficientCo.SheafCoefficientAdjunction.extendCoefficients R).obj (ModuleCat.of ℤ (ULift.{1} ℤ)) ≅ ModuleCat.of R R := by |
| 19 | let M := (SheafCoefficientCo.SheafCoefficientAdjunction.restrictCoefficients R).obj (ModuleCat.of R R) |
| 20 | letI : Module R M := @Semiring.toModule R inferInstance |
| 21 | letI : Module ℤ M := M.isModule |
| 22 | have : @IsScalarTower ℤ R M (Algebra.toSMul : SMul ℤ R) |
| 23 | (inferInstance : SMul R M) M.isModule.toSMul := by |
| 24 | exact @IsScalarTower.of_algebraMap_smul ℤ R M _ _ (inferInstance : Algebra ℤ R) |
| 25 | (inferInstance : MulAction R M) M.isModule.toSMul (fun n w => |
| 26 | (ModuleCat.restrictScalars.smul_def (Int.castRingHom R) |
| 27 | (M := ModuleCat.of R R) n (show R from w)).symm) |
| 28 | exact ((TensorProduct.AlgebraTensorModule.congr (LinearEquiv.refl R M) |
| 29 | (ULift.moduleEquiv : ULift.{1} ℤ ≃ₗ[ℤ] ℤ)).trans |
| 30 | (TensorProduct.AlgebraTensorModule.rid ℤ R M)).toModuleIso |
| 31 | |
| 32 | variable {C : Type 1} [Category.{0} C] (J : GrothendieckTopology C) |
| 33 | |
| 34 | def constantIso : |
| 35 | (SheafCoefficientCo.SheafCoefficientAdjunction.extendSheaf R J).obj ((constantSheaf J (ModuleCat.{1} ℤ)).obj |
| 36 | (ModuleCat.of ℤ (ULift.{1} ℤ))) ≅ |
| 37 | (constantSheaf J (ModuleCat.{1} R)).obj (ModuleCat.of R R) := |
| 38 | (presheafToSheafCompComposeAndSheafifyIso J (SheafCoefficientCo.SheafCoefficientAdjunction.extendCoefficients R)).app |
| 39 | ((Functor.const Cᵒᵖ).obj (ModuleCat.of ℤ (ULift.{1} ℤ))) ≪≫ |
| 40 | (presheafToSheaf J (ModuleCat.{1} R)).mapIso |
| 41 | (Functor.constComp Cᵒᵖ (ModuleCat.of ℤ (ULift.{1} ℤ)) (SheafCoefficientCo.SheafCoefficientAdjunction.extendCoefficients R)) ≪≫ |
| 42 | (constantSheaf J (ModuleCat.{1} R)).mapIso (unitIso R) |
| 43 | |
| 44 | def forgetConstantIso : |
| 45 | (IntegerSheaf.IntegerSheafEquivalence.forgetSheaf J).obj ((constantSheaf J (ModuleCat.{1} ℤ)).obj |
| 46 | (ModuleCat.of ℤ (ULift.{1} ℤ))) ≅ |
| 47 | (constantSheaf J AddCommGrpCat.{1}).obj (AddCommGrpCat.of (ULift.{1} ℤ)) := |
| 48 | (constantCommuteCompose J (forget₂ (ModuleCat.{1} ℤ) AddCommGrpCat.{1})).app |
| 49 | (ModuleCat.of ℤ (ULift.{1} ℤ)) |
| 50 | |
| 51 | end |
| 52 | |
| 53 | end OAI.NumberTheory.PadicHodge.GeometricComparison.ConstantCoefficientUnit.ConstantCoefficientExtension |