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.BinaryBiproductCoproduct |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Quasicoherent.RestrictionFiniteType |
| 3 | |
| 4 | /-! # Binary Biproduct -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Coherent.BinaryBiproduct |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Binary biproducts preserve quasicoherence and finite type, using universe-correct finite coproducts. -/ |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 12 | universe u |
| 13 | |
| 14 | def liftedTwoCoproductIsoBiprod {X : Scheme.{u}} (M N : X.Modules) : |
| 15 | (∐ fun i : ULift.{u} (Fin 2) ↦ ![M, N] i.down) ≅ M ⊞ N := |
| 16 | Sigma.reindex Equiv.ulift ![M, N] ≪≫ BinaryBiproductCoproduct.finTwoCoproductIsoBiprod M N |
| 17 | |
| 18 | theorem module_biprod_quasicoherent {X : Scheme.{u}} (M N : X.Modules) |
| 19 | [M.IsQuasicoherent] [N.IsQuasicoherent] : (M ⊞ N).IsQuasicoherent := by |
| 20 | have hq : (∐ fun i : ULift.{u} (Fin 2) ↦ ![M, N] i.down).IsQuasicoherent := |
| 21 | Quasicoherent.Coproducts.module_quasicoherent_coproduct _ (fun ⟨i⟩ ↦ by fin_cases i <;> dsimp <;> infer_instance) |
| 22 | exact (SheafOfModules.isQuasicoherent X.ringCatSheaf).prop_of_iso (liftedTwoCoproductIsoBiprod M N) hq |
| 23 | |
| 24 | theorem module_biprod_finiteType {X : Scheme.{u}} (M N : X.Modules) |
| 25 | [M.IsQuasicoherent] [N.IsQuasicoherent] [M.IsFiniteType] [N.IsFiniteType] : (M ⊞ N).IsFiniteType := by |
| 26 | have : (∐ fun i : ULift.{u} (Fin 2) ↦ ![M, N] i.down).IsQuasicoherent := |
| 27 | Quasicoherent.Coproducts.module_quasicoherent_coproduct _ (fun ⟨i⟩ ↦ by fin_cases i <;> dsimp <;> infer_instance) |
| 28 | have : (∐ fun i : ULift.{u} (Fin 2) ↦ ![M, N] i.down).IsFiniteType := |
| 29 | Quasicoherent.FiniteCoproducts.module_finiteType_finite_coproduct _ |
| 30 | (fun ⟨i⟩ ↦ by fin_cases i <;> dsimp <;> infer_instance) |
| 31 | (fun ⟨i⟩ ↦ by fin_cases i <;> dsimp <;> infer_instance) |
| 32 | have : (M ⊞ N).IsQuasicoherent := module_biprod_quasicoherent M N |
| 33 | exact Quasicoherent.RestrictionFiniteType.quasicoherent_finiteType_of_iso (liftedTwoCoproductIsoBiprod M N) |
| 34 | |
| 35 | end |
| 36 | |
| 37 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Coherent.BinaryBiproduct |