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.AbelianModuli.HilbertConstruction.Pullback.ComparisonIsomorphism |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! A map commuting with both projections of two pullback squares is an isomorphism. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 12 | |
| 13 | universe u v |
| 14 | |
| 15 | theorem isIso_comparison_of_pullbacks |
| 16 | {C : Type u} [Category.{v} C] {P Q A B Z : C} |
| 17 | (p₁ : P ⟶ A) (p₂ : P ⟶ B) (q₁ : Q ⟶ A) (q₂ : Q ⟶ B) |
| 18 | (f : A ⟶ Z) (g : B ⟶ Z) (hP : IsPullback p₁ p₂ f g) (hQ : IsPullback q₁ q₂ f g) |
| 19 | (c : P ⟶ Q) (hc₁ : c ≫ q₁ = p₁) (hc₂ : c ≫ q₂ = p₂) : IsIso c := by |
| 20 | have : HasPullback f g := hP.hasPullback |
| 21 | have he : c = hP.isoPullback.hom ≫ hQ.isoPullback.inv := by |
| 22 | apply hQ.hom_ext |
| 23 | · rw [Category.assoc, hQ.isoPullback_inv_fst, hP.isoPullback_hom_fst] |
| 24 | exact hc₁ |
| 25 | · rw [Category.assoc, hQ.isoPullback_inv_snd, hP.isoPullback_hom_snd] |
| 26 | exact hc₂ |
| 27 | rw [he] |
| 28 | infer_instance |
| 29 | |
| 30 | end |
| 31 | |
| 32 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Pullback.ComparisonIsomorphism |