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.CycleClass.Thom.TorAlgebra.TensorOverBaseProjectives |
| 2 | import Mathlib.Algebra.Category.ModuleCat.ChangeOfRingsExact |
| 3 | |
| 4 | /-! # Restriction Projectives -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.CycleClass.Thom.TorAlgebra.RestrictionProjectives |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Restriction of scalars preserves projectives when the algebra |
| 11 | itself is projective over the base. The proof is the tensor-unit case |
| 12 | of the checked tensor-and-restriction splitting construction. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory |
| 15 | open scoped TensorProduct |
| 16 | |
| 17 | open OAI.AlgebraicGeometry.CycleClass.Thom.TorAlgebra.TensorOverBase OAI.AlgebraicGeometry.CycleClass.Thom.TorAlgebra.TensorOverBaseProjectives |
| 18 | |
| 19 | set_option backward.isDefEq.respectTransparency false |
| 20 | |
| 21 | universe u |
| 22 | variable (S A : Type u) [CommRing S] [CommRing A] [Algebra S A] |
| 23 | |
| 24 | attribute [local instance] TensorOverBase.moduleCarrier |
| 25 | TensorOverBase.scalarTowerCarrier |
| 26 | |
| 27 | def tensorUnitIso : TensorOverBase.tensorOverBase S A (ModuleCat.of S S) ≅ 𝟭 (ModuleCat.{u} A) := |
| 28 | NatIso.ofComponents (fun M => (TensorProduct.AlgebraTensorModule.rid S A M).toModuleIso) |
| 29 | (by |
| 30 | intro M M' f |
| 31 | apply ModuleCat.hom_ext |
| 32 | apply TensorProduct.AlgebraTensorModule.ext |
| 33 | intro m s |
| 34 | exact (f.hom.map_smul_of_tower s m).symm) |
| 35 | |
| 36 | def restrictedTensorUnitIso : |
| 37 | TensorOverBaseProjectives.tensorRestriction S A S (ModuleCat.of S S) ≅ ModuleCat.restrictScalars (algebraMap S A) := |
| 38 | Functor.isoWhiskerRight (tensorUnitIso S A) (ModuleCat.restrictScalars (algebraMap S A)) ≪≫ |
| 39 | Functor.leftUnitor _ |
| 40 | |
| 41 | variable [Projective ((ModuleCat.restrictScalars (algebraMap S A)).obj (ModuleCat.of A A))] |
| 42 | |
| 43 | instance restriction_preservesProjectiveObjects : |
| 44 | (ModuleCat.restrictScalars.{u} (algebraMap S A)).PreservesProjectiveObjects where |
| 45 | projective_obj {M} hM := by |
| 46 | let : Projective ((TensorOverBaseProjectives.tensorRestriction S A S (ModuleCat.of S S)).obj (ModuleCat.of A A)) := |
| 47 | Projective.of_iso ((restrictedTensorUnitIso S A).app (ModuleCat.of A A)).symm inferInstance |
| 48 | let : Projective M := hM |
| 49 | let : (TensorOverBaseProjectives.tensorRestriction S A S (ModuleCat.of S S)).PreservesProjectiveObjects := |
| 50 | TensorOverBaseProjectives.tensorRestriction_preservesProjectiveObjects S A S (ModuleCat.of S S) |
| 51 | exact Projective.of_iso ((restrictedTensorUnitIso S A).app M) inferInstance |
| 52 | |
| 53 | end |
| 54 | |
| 55 | end OAI.AlgebraicGeometry.CycleClass.Thom.TorAlgebra.RestrictionProjectives |