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 OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Cartesian.DiagramComparison |
| 2 | |
| 3 | /-! # Pullback Recovery Iso -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Common.PullbackRecoveryIso |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! A map between two models of the same recovered object becomes an isomorphism after base change. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits |
| 12 | |
| 13 | universe u v |
| 14 | |
| 15 | variable {C : Type u} [Category.{v} C] |
| 16 | |
| 17 | theorem isIso_pullback_map_of_common_recovery |
| 18 | {P A B S S₀ : C} (qA : P ⟶ A) (qB : P ⟶ B) |
| 19 | (p : P ⟶ S) (a : A ⟶ S₀) (b : B ⟶ S₀) (c : S ⟶ S₀) |
| 20 | (f : A ⟶ B) (hf : f ≫ b = a) |
| 21 | [HasPullback a c] [HasPullback b c] |
| 22 | (hA : IsPullback qA p a c) (hB : IsPullback qB p b c) (hq : qA ≫ f = qB) : |
| 23 | IsIso (pullback.map a c b c f (𝟙 S) (𝟙 S₀) |
| 24 | ((Category.comp_id a).trans hf.symm) (by simp)) := by |
| 25 | let e := hA.isoPullback.symm ≪≫ hB.isoPullback |
| 26 | have he : pullback.map a c b c f (𝟙 S) (𝟙 S₀) |
| 27 | ((Category.comp_id a).trans hf.symm) (by simp) = e.hom := by |
| 28 | apply pullback.hom_ext |
| 29 | · change _ = (hA.isoPullback.inv ≫ hB.isoPullback.hom) ≫ pullback.fst b c |
| 30 | simp only [pullback.map, pullback.lift_fst, Category.assoc, hB.isoPullback_hom_fst] |
| 31 | rw [← hq, ← Category.assoc, hA.isoPullback_inv_fst] |
| 32 | · change _ = (hA.isoPullback.inv ≫ hB.isoPullback.hom) ≫ pullback.snd b c |
| 33 | simp only [pullback.map, pullback.lift_snd, Category.comp_id, Category.assoc, |
| 34 | hB.isoPullback_hom_snd, hA.isoPullback_inv_snd] |
| 35 | rw [he] |
| 36 | infer_instance |
| 37 | |
| 38 | end |
| 39 | |
| 40 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Common.PullbackRecoveryIso |