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 Mathlib.CategoryTheory.Limits.Shapes.BinaryProducts.ProdComparison |
| 2 | |
| 3 | /-! # Product Map -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.PadicHodge.GeometricComparison.ProductMap.ProductMapOfFactorization |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! An open-type subobject has the same product over a test object when |
| 10 | the first projection factors through it. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 13 | |
| 14 | universe u v |
| 15 | variable {C : Type u} [Category.{v} C] [HasBinaryProducts C] |
| 16 | {U V T : C} (α : U ⟶ V) [Mono α] (l : V ⨯ T ⟶ U) (hl : l ≫ α = prod.fst) |
| 17 | |
| 18 | def inverse : V ⨯ T ⟶ U ⨯ T := prod.lift l prod.snd |
| 19 | |
| 20 | include hl in |
| 21 | omit [Mono α] in |
| 22 | theorem inverse_hom : inverse l ≫ prod.map α (𝟙 T) = 𝟙 (V ⨯ T) := by |
| 23 | dsimp only [inverse] |
| 24 | apply prod.hom_ext |
| 25 | · simp only [Category.assoc, prod.map_fst, prod.lift_fst_assoc, Category.id_comp] |
| 26 | exact hl |
| 27 | · simp only [Category.assoc, prod.map_snd, prod.lift_snd, Category.comp_id, Category.id_comp] |
| 28 | |
| 29 | include hl in |
| 30 | theorem hom_inverse : prod.map α (𝟙 T) ≫ inverse l = 𝟙 (U ⨯ T) := by |
| 31 | dsimp only [inverse] |
| 32 | apply prod.hom_ext |
| 33 | · apply (cancel_mono α).mp |
| 34 | simp only [Category.assoc, prod.lift_fst, hl, prod.map_fst, Category.id_comp] |
| 35 | · simp only [Category.assoc, prod.lift_snd, prod.map_snd, Category.comp_id, Category.id_comp] |
| 36 | |
| 37 | def iso : U ⨯ T ≅ V ⨯ T where |
| 38 | hom := prod.map α (𝟙 T) |
| 39 | inv := inverse l |
| 40 | hom_inv_id := hom_inverse α l hl |
| 41 | inv_hom_id := inverse_hom α l hl |
| 42 | |
| 43 | end |
| 44 | |
| 45 | end OAI.NumberTheory.PadicHodge.GeometricComparison.ProductMap.ProductMapOfFactorization |