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.Projective.CoherentQuotientFiniteType |
| 2 | import OAI.AlgebraicGeometry.SheafCohomology.Projective.FiniteTypeIso |
| 3 | |
| 4 | /-! # Coherent Binary Biproduct -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.SheafCohomology.Projective.CoherentBinaryBiproduct |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Binary biproducts of actual coherent module sheaves are coherent. -/ |
| 11 | |
| 12 | set_option backward.isDefEq.respectTransparency false |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | def finTwoCoproductIsoBiprod {C : Type*} [Category* C] [Preadditive C] |
| 18 | [HasFiniteCoproducts C] [HasBinaryBiproducts C] (M N : C) : |
| 19 | (∐ ![M, N]) ≅ M ⊞ N where |
| 20 | hom := Sigma.desc (Fin.cases biprod.inl (Fin.cases biprod.inr (fun i => Fin.elim0 i))) |
| 21 | inv := biprod.desc (Sigma.ι ![M, N] 0) (Sigma.ι ![M, N] 1) |
| 22 | hom_inv_id := by |
| 23 | ext i |
| 24 | fin_cases i <;> simp |
| 25 | change (biprod.inr : N ⟶ M ⊞ N) ≫ _ = _ |
| 26 | simp |
| 27 | inv_hom_id := by |
| 28 | ext <;> simp |
| 29 | all_goals change (biprod.inr : N ⟶ M ⊞ N) ≫ _ = _ |
| 30 | all_goals simp |
| 31 | |
| 32 | theorem module_biprod_quasicoherent {X : Scheme.{u}} (M N : X.Modules) |
| 33 | [M.IsQuasicoherent] [N.IsQuasicoherent] : (M ⊞ N).IsQuasicoherent := by |
| 34 | have hq : (∐ ![M, N]).IsQuasicoherent := Quasicoherent.Scheme.Modules.isQuasicoherent_coproduct _ |
| 35 | (fun i => by fin_cases i <;> dsimp <;> infer_instance) |
| 36 | exact (Quasicoherent.Scheme.Modules.isQuasicoherent X).prop_of_iso (finTwoCoproductIsoBiprod M N) hq |
| 37 | |
| 38 | theorem module_biprod_finiteType {X : Scheme.{u}} (M N : X.Modules) |
| 39 | [M.IsQuasicoherent] [N.IsQuasicoherent] [M.IsFiniteType] [N.IsFiniteType] : |
| 40 | (M ⊞ N).IsFiniteType := by |
| 41 | have : (∐ ![M, N]).IsFiniteType := Quasicoherent.Scheme.Modules.isFiniteType_fin_coproduct _ |
| 42 | (fun i => by fin_cases i <;> dsimp <;> infer_instance) |
| 43 | (fun i => by fin_cases i <;> dsimp <;> infer_instance) |
| 44 | exact FiniteTypeIso.finiteType_of_iso (finTwoCoproductIsoBiprod M N) |
| 45 | |
| 46 | end |
| 47 | |
| 48 | end OAI.AlgebraicGeometry.SheafCohomology.Projective.CoherentBinaryBiproduct |