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.Pullback.IsPullback.Basic |
| 2 | |
| 3 | /-! # Comparison Isomorphism -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.Cartesian.ComparisonIsomorphism |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! A comparison of two actual pullback diagrams is an isomorphism; |
| 10 | an isomorphic comparison also reflects the pullback property. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 13 | |
| 14 | variable {C : Type*} [Category* C] [HasPullbacks C] |
| 15 | {P P' X Y Z : C} {f : X ⟶ Z} {g : Y ⟶ Z} |
| 16 | {a : P ⟶ X} {b : P ⟶ Y} {a' : P' ⟶ X} {b' : P' ⟶ Y} |
| 17 | |
| 18 | theorem isIso_of_cartesian_comparison (h : IsPullback a b f g) (h' : IsPullback a' b' f g) |
| 19 | (c : P ⟶ P') (ha : c ≫ a' = a) (hb : c ≫ b' = b) : IsIso c := by |
| 20 | have he : c = h.isoPullback.hom ≫ h'.isoPullback.inv := by |
| 21 | apply h'.hom_ext |
| 22 | · rw [ha, Category.assoc, h'.isoPullback_inv_fst, h.isoPullback_hom_fst] |
| 23 | · rw [hb, Category.assoc, h'.isoPullback_inv_snd, h.isoPullback_hom_snd] |
| 24 | rw [he] |
| 25 | infer_instance |
| 26 | |
| 27 | omit [HasPullbacks C] in |
| 28 | theorem isPullback_of_isIso_comparison (h' : IsPullback a' b' f g) |
| 29 | (c : P ⟶ P') [IsIso c] (ha : c ≫ a' = a) (hb : c ≫ b' = b) : IsPullback a b f g := by |
| 30 | exact h'.of_iso' (asIso c) (Iso.refl X) (Iso.refl Y) (Iso.refl Z) |
| 31 | (by simpa only [asIso_hom, Iso.refl_hom, Category.comp_id] using ha) |
| 32 | (by simpa only [asIso_hom, Iso.refl_hom, Category.comp_id] using hb) |
| 33 | (by simp only [Iso.refl_hom, Category.id_comp, Category.comp_id]) |
| 34 | (by simp only [Iso.refl_hom, Category.id_comp, Category.comp_id]) |
| 35 | |
| 36 | end |
| 37 | |
| 38 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.Cartesian.ComparisonIsomorphism |