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 Congr -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Picard.PoincareBundle.EqualizerCongr |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | # Equality transport of an equalizer retains its actual inclusion |
| 11 | -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 14 | |
| 15 | variable {C : Type*} [Category C] [HasEqualizers C] |
| 16 | {X Y : C} {a b c d : X ⟶ Y} |
| 17 | |
| 18 | def iso (ha : a = c) (hb : b = d) : equalizer a b ≅ equalizer c d := |
| 19 | eqToIso (congrArg₂ (fun f g : X ⟶ Y => equalizer f g) ha hb) |
| 20 | |
| 21 | theorem hom_ι (ha : a = c) (hb : b = d) : |
| 22 | (iso ha hb).hom ≫ equalizer.ι c d = equalizer.ι a b := by |
| 23 | subst c |
| 24 | subst d |
| 25 | exact Category.id_comp _ |
| 26 | |
| 27 | end |
| 28 | |
| 29 | end OAI.AlgebraicGeometry.Picard.PoincareBundle.EqualizerCongr |