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.HilbertScheme.Presentations.Relative.MorphismIsomorphismLocus |
| 2 | |
| 3 | /-! # Cartesian Morphism Isomorphism Comparison -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.CartesianMorphismIsomorphismComparison |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! An actual morphism between two Cartesian family presentations is |
| 10 | an isomorphism exactly when the canonical base-changed morphism is. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | variable {X Y B T X' Y' : Scheme.{u}} |
| 16 | |
| 17 | theorem relativeMorphismBaseChange_isIso_iff_cartesian_comparison |
| 18 | (f : X ⟶ Y) (q : Y ⟶ B) (g : T ⟶ B) |
| 19 | (u : X' ⟶ X) (p : X' ⟶ T) (v : Y' ⟶ Y) (r : Y' ⟶ T) (k : X' ⟶ Y') |
| 20 | (hX : IsPullback u p (f ≫ q) g) (hY : IsPullback v r q g) |
| 21 | (hk : k ≫ v = u ≫ f) (hr : k ≫ r = p) : |
| 22 | IsIso (Relative.MorphismIsomorphismLocus.relativeMorphismBaseChange f q g) ↔ IsIso k := by |
| 23 | have he : hX.isoPullback.inv ≫ k ≫ hY.isoPullback.hom = Relative.MorphismIsomorphismLocus.relativeMorphismBaseChange f q g := by |
| 24 | apply pullback.hom_ext |
| 25 | · calc |
| 26 | (hX.isoPullback.inv ≫ k ≫ hY.isoPullback.hom) ≫ pullback.fst q g = |
| 27 | hX.isoPullback.inv ≫ (k ≫ v) := by |
| 28 | rw [Category.assoc, Category.assoc, hY.isoPullback_hom_fst] |
| 29 | _ = hX.isoPullback.inv ≫ (u ≫ f) := by rw [hk] |
| 30 | _ = pullback.fst (f ≫ q) g ≫ f := by |
| 31 | rw [← Category.assoc, hX.isoPullback_inv_fst] |
| 32 | _ = Relative.MorphismIsomorphismLocus.relativeMorphismBaseChange f q g ≫ pullback.fst q g := by |
| 33 | simp only [Relative.MorphismIsomorphismLocus.relativeMorphismBaseChange, pullback.map, pullback.lift_fst] |
| 34 | · calc |
| 35 | (hX.isoPullback.inv ≫ k ≫ hY.isoPullback.hom) ≫ pullback.snd q g = |
| 36 | hX.isoPullback.inv ≫ (k ≫ r) := by |
| 37 | rw [Category.assoc, Category.assoc, hY.isoPullback_hom_snd] |
| 38 | _ = hX.isoPullback.inv ≫ p := by rw [hr] |
| 39 | _ = pullback.snd (f ≫ q) g := hX.isoPullback_inv_snd |
| 40 | _ = Relative.MorphismIsomorphismLocus.relativeMorphismBaseChange f q g ≫ pullback.snd q g := by |
| 41 | simp only [Relative.MorphismIsomorphismLocus.relativeMorphismBaseChange, pullback.map, pullback.lift_snd, Category.comp_id] |
| 42 | rw [← he, isIso_comp_left_iff, isIso_comp_right_iff] |
| 43 | |
| 44 | end |
| 45 | |
| 46 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.CartesianMorphismIsomorphismComparison |