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.Equalizers |
| 2 | |
| 3 | /-! # Equalizer Target Change -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Picard.PoincareBundle.EqualizerTargetChange |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | # Changing the target of an invariant diagram by a monomorphism |
| 11 | -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 14 | |
| 15 | variable {C : Type*} [Category C] [HasEqualizers C] |
| 16 | {X Y Z : C} (a b : X ⟶ Y) (u : Y ⟶ Z) [Mono u] |
| 17 | |
| 18 | /-- Postcomposing the two invariant arrows by a monomorphism retains exactly the same equalizer. -/ |
| 19 | def equalizerIso : equalizer (a ≫ u) (b ≫ u) ≅ equalizer a b where |
| 20 | hom := equalizer.lift (equalizer.ι (a ≫ u) (b ≫ u)) (by |
| 21 | apply (cancel_mono u).mp |
| 22 | simpa only [Category.assoc] using equalizer.condition (a ≫ u) (b ≫ u)) |
| 23 | inv := equalizer.lift (equalizer.ι a b) (by |
| 24 | rw [← Category.assoc, equalizer.condition, Category.assoc]) |
| 25 | hom_inv_id := by |
| 26 | apply equalizer.hom_ext |
| 27 | simp only [Category.assoc, equalizer.lift_ι, Category.id_comp] |
| 28 | inv_hom_id := by |
| 29 | apply equalizer.hom_ext |
| 30 | simp only [Category.assoc, equalizer.lift_ι, Category.id_comp] |
| 31 | |
| 32 | /-- The target-change isomorphism retains the actual invariant inclusion. -/ |
| 33 | theorem hom_ι : |
| 34 | (equalizerIso a b u).hom ≫ equalizer.ι a b = equalizer.ι (a ≫ u) (b ≫ u) := |
| 35 | equalizer.lift_ι _ _ |
| 36 | |
| 37 | theorem inv_ι : |
| 38 | (equalizerIso a b u).inv ≫ equalizer.ι (a ≫ u) (b ≫ u) = equalizer.ι a b := |
| 39 | equalizer.lift_ι _ _ |
| 40 | |
| 41 | end |
| 42 | |
| 43 | end OAI.AlgebraicGeometry.Picard.PoincareBundle.EqualizerTargetChange |