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.Quasicoherent.FiniteCoproducts |
| 2 | |
| 3 | /-! # Binary Biproduct Coproduct -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.BinaryBiproductCoproduct |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! A binary biproduct is the actual coproduct of its two entries. -/ |
| 10 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 11 | universe u |
| 12 | |
| 13 | def finTwoCoproductIsoBiprod {C : Type*} [Category* C] [Preadditive C] |
| 14 | [HasFiniteCoproducts C] [HasBinaryBiproducts C] (M N : C) : |
| 15 | (∐ ![M, N]) ≅ M ⊞ N := by |
| 16 | let j : ∀ i : Fin 2, ![M, N] i ⟶ M ⊞ N := |
| 17 | Fin.cases biprod.inl (Fin.cases biprod.inr (fun i => Fin.elim0 i)) |
| 18 | let f := Sigma.desc j |
| 19 | let g := biprod.desc (Sigma.ι ![M, N] 0) (Sigma.ι ![M, N] 1) |
| 20 | refine ⟨f, g, ?_, ?_⟩ |
| 21 | · apply Sigma.hom_ext |
| 22 | intro i |
| 23 | have hi : Sigma.ι ![M, N] i ≫ f = j i := Sigma.ι_comp_desc j i |
| 24 | calc |
| 25 | _ = (Sigma.ι ![M, N] i ≫ f) ≫ g := (Category.assoc _ _ _).symm |
| 26 | _ = j i ≫ g := congrArg (fun z => z ≫ g) hi |
| 27 | _ = Sigma.ι ![M, N] i := by |
| 28 | fin_cases i |
| 29 | · exact biprod.inl_desc _ _ |
| 30 | · exact biprod.inr_desc _ _ |
| 31 | _ = _ := (Category.comp_id _).symm |
| 32 | · apply biprod.hom_ext' |
| 33 | · calc |
| 34 | _ = (biprod.inl ≫ g) ≫ f := (Category.assoc _ _ _).symm |
| 35 | _ = Sigma.ι ![M, N] 0 ≫ f := congrArg (fun z => z ≫ f) (biprod.inl_desc _ _) |
| 36 | _ = j 0 := Sigma.ι_comp_desc j 0 |
| 37 | _ = _ := (Category.comp_id _).symm |
| 38 | · calc |
| 39 | _ = (biprod.inr ≫ g) ≫ f := (Category.assoc _ _ _).symm |
| 40 | _ = Sigma.ι ![M, N] 1 ≫ f := congrArg (fun z => z ≫ f) (biprod.inr_desc _ _) |
| 41 | _ = j 1 := Sigma.ι_comp_desc j 1 |
| 42 | _ = _ := (Category.comp_id _).symm |
| 43 | |
| 44 | end |
| 45 | |
| 46 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.BinaryBiproductCoproduct |