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 | import Mathlib.AlgebraicGeometry.Morphisms.Finite |
| 3 | import Mathlib.AlgebraicGeometry.Restrict |
| 4 | |
| 5 | /-! # Pullback Transport -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.Finite.PullbackTransport |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Finiteness under iterated and open base changes, retaining the |
| 12 | actual pullback projections used by relative section morphisms. -/ |
| 13 | |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 17 | |
| 18 | universe u |
| 19 | variable {W X Y B T : Scheme.{u}} |
| 20 | |
| 21 | theorem finite_pullback_snd_iff_fst (f : X ⟶ B) (g : Y ⟶ B) : |
| 22 | IsFinite (pullback.snd f g) ↔ IsFinite (pullback.fst g f) := by |
| 23 | rw [← MorphismProperty.cancel_left_of_respectsIso (P := @IsFinite) |
| 24 | (pullbackSymmetry g f).hom, pullbackSymmetry_hom_comp_snd] |
| 25 | |
| 26 | theorem finite_pullback_fst_iterated_iff (g : Y ⟶ B) (f : X ⟶ B) (h : W ⟶ Y) : |
| 27 | IsFinite (pullback.fst h (pullback.fst g f)) ↔ IsFinite (pullback.fst (h ≫ g) f) := by |
| 28 | rw [← MorphismProperty.cancel_left_of_respectsIso (P := @IsFinite) |
| 29 | (pullbackRightPullbackFstIso g f h).hom, pullbackRightPullbackFstIso_hom_fst] |
| 30 | |
| 31 | theorem finite_pullback_fst_open_iff (f : X ⟶ Y) (U : Y.Opens) : |
| 32 | IsFinite (pullback.fst U.ι f) ↔ IsFinite (f ∣_ U) := by |
| 33 | rw [← (isPullback_morphismRestrict f U).isoPullback_inv_fst] |
| 34 | exact MorphismProperty.cancel_left_of_respectsIso (P := @IsFinite) _ _ |
| 35 | |
| 36 | theorem finite_pullback_fst_of_range_subset_open (f : X ⟶ Y) |
| 37 | (U : Y.Opens) [IsFinite (f ∣_ U)] (g : T ⟶ Y) (h : Set.range g ⊆ (U : Set Y)) : |
| 38 | IsFinite (pullback.fst g f) := by |
| 39 | have hr : Set.range g ⊆ Set.range U.ι := by |
| 40 | rw [Scheme.Opens.range_ι] |
| 41 | exact h |
| 42 | let k := IsOpenImmersion.lift U.ι g hr |
| 43 | have hk : k ≫ U.ι = g := IsOpenImmersion.lift_fac _ _ _ |
| 44 | let : IsFinite (pullback.fst U.ι f) := (finite_pullback_fst_open_iff f U).mpr inferInstance |
| 45 | have hi : IsFinite (pullback.fst (k ≫ U.ι) f) := |
| 46 | (finite_pullback_fst_iterated_iff U.ι f k).mp inferInstance |
| 47 | exact hk ▸ hi |
| 48 | |
| 49 | theorem relativeMorphismBaseChange_isFinite_iff (f : X ⟶ Y) (q : Y ⟶ B) (g : T ⟶ B) : |
| 50 | IsFinite (HilbertScheme.Presentations.Relative.MorphismIsomorphismLocus.relativeMorphismBaseChange f q g) ↔ IsFinite (pullback.snd f (pullback.fst q g)) := by |
| 51 | rw [HilbertScheme.Presentations.Relative.MorphismIsomorphismLocus.relativeMorphismBaseChange_eq] |
| 52 | exact MorphismProperty.cancel_left_of_respectsIso (P := @IsFinite) _ _ |
| 53 | |
| 54 | end |
| 55 | |
| 56 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.Finite.PullbackTransport |