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.Proper.FiniteFlatIsomorphismRepresentation |
| 2 | |
| 3 | /-! # Morphism Isomorphism Locus -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.HilbertScheme.Presentations.Relative.MorphismIsomorphismLocus |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! The relative isomorphism locus applies to the actual canonical map |
| 10 | between the two base-changed total spaces. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | variable {X Y B T : Scheme.{u}} (f : X ⟶ Y) (q : Y ⟶ B) (g : T ⟶ B) |
| 16 | |
| 17 | def relativeMorphismBaseChange : pullback (f ≫ q) g ⟶ pullback q g := |
| 18 | pullback.map (f ≫ q) g q g f (𝟙 T) (𝟙 B) (by simp) (by simp) |
| 19 | |
| 20 | theorem relativeMorphismBaseChange_eq : |
| 21 | relativeMorphismBaseChange f q g = |
| 22 | (pullbackRightPullbackFstIso q g f).inv ≫ pullback.snd f (pullback.fst q g) := by |
| 23 | apply pullback.hom_ext |
| 24 | · simpa only [relativeMorphismBaseChange, pullback.map, pullback.lift_fst, Category.assoc] using |
| 25 | (pullbackRightPullbackFstIso_inv_snd_fst q g f).symm |
| 26 | · simpa only [relativeMorphismBaseChange, pullback.map, pullback.lift_snd, Category.comp_id, Category.assoc] using |
| 27 | (pullbackRightPullbackFstIso_inv_snd_snd q g f).symm |
| 28 | |
| 29 | theorem relativeMorphismBaseChange_isIso_iff : |
| 30 | IsIso (relativeMorphismBaseChange f q g) ↔ IsIso (pullback.snd f (pullback.fst q g)) := by |
| 31 | rw [relativeMorphismBaseChange_eq] |
| 32 | exact isIso_comp_left_iff _ _ |
| 33 | |
| 34 | variable [IsFinite f] [Flat f] [LocallyOfFinitePresentation f] [IsProper q] |
| 35 | |
| 36 | theorem relativeMorphismBaseChange_isIso_iff_range : |
| 37 | IsIso (relativeMorphismBaseChange f q g) ↔ |
| 38 | Set.range g ⊆ (Proper.FiniteFlatIsomorphismLocus.properFiniteFlatIsomorphismOpen f q : Set B) := by |
| 39 | rw [relativeMorphismBaseChange_isIso_iff, Proper.FiniteFlatIsomorphismLocus.properFiniteFlat_isIso_pullback_iff_range] |
| 40 | |
| 41 | theorem relativeMorphismBaseChange_isIso_iff_unique_lift : |
| 42 | IsIso (relativeMorphismBaseChange f q g) ↔ |
| 43 | ∃! h : T ⟶ (Proper.FiniteFlatIsomorphismLocus.properFiniteFlatIsomorphismOpen f q).toScheme, |
| 44 | h ≫ (Proper.FiniteFlatIsomorphismLocus.properFiniteFlatIsomorphismOpen f q).ι = g := by |
| 45 | rw [relativeMorphismBaseChange_isIso_iff, Proper.FiniteFlatIsomorphismLocus.properFiniteFlat_isIso_pullback_iff_unique_lift] |
| 46 | |
| 47 | end |
| 48 | |
| 49 | end OAI.AlgebraicGeometry.HilbertScheme.Presentations.Relative.MorphismIsomorphismLocus |