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.PELModuli.IntegralModel.MaximalFiniteOpen |
| 2 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.Relative.FiniteTargetFibers |
| 3 | |
| 4 | /-! # Relative Finite Neighborhood -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.Proper.RelativeFiniteNeighborhood |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! For a proper target family, finiteness of one coefficient fiber |
| 11 | extends to an open base neighborhood, with arbitrary further base change. -/ |
| 12 | |
| 13 | set_option backward.isDefEq.respectTransparency false |
| 14 | set_option backward.isDefEq.respectTransparency.types false |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 16 | |
| 17 | universe u |
| 18 | variable {X Y B : Scheme.{u}} (f : X ⟶ Y) (q : Y ⟶ B) [IsProper q] |
| 19 | |
| 20 | def properRelativeFiniteOpen : B.Opens := |
| 21 | ⟨(q '' (MaximalFiniteOpen.maximalFiniteOpen f : Set Y)ᶜ)ᶜ, |
| 22 | (q.isClosedMap _ (MaximalFiniteOpen.maximalFiniteOpen f).isOpen.isClosed_compl).isOpen_compl⟩ |
| 23 | |
| 24 | theorem mem_properRelativeFiniteOpen (b : B) : |
| 25 | b ∈ properRelativeFiniteOpen f q ↔ ∀ y : Y, q y = b → y ∈ MaximalFiniteOpen.maximalFiniteOpen f := by |
| 26 | constructor |
| 27 | · intro h y hy |
| 28 | by_contra hn |
| 29 | exact h ⟨y, hn, hy⟩ |
| 30 | · intro h |
| 31 | rintro ⟨y, hy, he⟩ |
| 32 | exact hy (h y he) |
| 33 | |
| 34 | theorem mem_properRelativeFiniteOpen_of_finite_fiber [IsProper f] (b : B) |
| 35 | (h : IsFinite (HilbertScheme.Presentations.Relative.MorphismIsomorphismLocus.relativeMorphismBaseChange f q (B.fromSpecResidueField b))) : |
| 36 | b ∈ properRelativeFiniteOpen f q := by |
| 37 | apply (mem_properRelativeFiniteOpen f q b).mpr |
| 38 | intro y hy |
| 39 | subst b |
| 40 | apply (MaximalFiniteOpen.mem_maximalFiniteOpen f y).mpr |
| 41 | apply Relative.FiniteTargetFibers.exists_finite_target_neighborhood_of_relative_finite f q y |
| 42 | exact h |
| 43 | |
| 44 | theorem relativeMorphismBaseChange_isFinite_of_range_subset {T : Scheme.{u}} |
| 45 | (g : T ⟶ B) (h : Set.range g ⊆ (properRelativeFiniteOpen f q : Set B)) : |
| 46 | IsFinite (HilbertScheme.Presentations.Relative.MorphismIsomorphismLocus.relativeMorphismBaseChange f q g) := by |
| 47 | rw [Finite.PullbackTransport.relativeMorphismBaseChange_isFinite_iff, Finite.PullbackTransport.finite_pullback_snd_iff_fst] |
| 48 | let := MaximalFiniteOpen.maximalFiniteOpen_restrict_isFinite f |
| 49 | apply Finite.PullbackTransport.finite_pullback_fst_of_range_subset_open f (MaximalFiniteOpen.maximalFiniteOpen f) |
| 50 | rw [Scheme.Pullback.range_fst] |
| 51 | rintro y ⟨t, ht⟩ |
| 52 | exact (mem_properRelativeFiniteOpen f q (g t)).mp (h ⟨t, rfl⟩) y ht.symm |
| 53 | |
| 54 | theorem properRelativeFiniteOpen_baseChange_isFinite : |
| 55 | IsFinite (HilbertScheme.Presentations.Relative.MorphismIsomorphismLocus.relativeMorphismBaseChange f q (properRelativeFiniteOpen f q).ι) := by |
| 56 | apply relativeMorphismBaseChange_isFinite_of_range_subset f q |
| 57 | rw [Scheme.Opens.range_ι] |
| 58 | |
| 59 | theorem exists_finite_base_neighborhood_of_finite_fiber [IsProper f] (b : B) |
| 60 | (h : IsFinite (HilbertScheme.Presentations.Relative.MorphismIsomorphismLocus.relativeMorphismBaseChange f q (B.fromSpecResidueField b))) : |
| 61 | ∃ U : B.Opens, b ∈ U ∧ IsFinite (HilbertScheme.Presentations.Relative.MorphismIsomorphismLocus.relativeMorphismBaseChange f q U.ι) := |
| 62 | ⟨properRelativeFiniteOpen f q, |
| 63 | mem_properRelativeFiniteOpen_of_finite_fiber f q b h, |
| 64 | properRelativeFiniteOpen_baseChange_isFinite f q⟩ |
| 65 | |
| 66 | end |
| 67 | |
| 68 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.Proper.RelativeFiniteNeighborhood |