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.Specialization |
| 2 | import OAI.AlgebraicGeometry.PELModuli.IntegralModel.Reduction |
| 3 | |
| 4 | /-! # Surjective Locus -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.SurjectiveLocus |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | An actual closed parameter space for surjectivity of a proper map into an |
| 12 | open family. This is used to impose generation in an arithmetic parameter |
| 13 | space. Both the scheme and its reduced-test-scheme classifying property |
| 14 | are constructed; neither is a parameter-space assumption. |
| 15 | -/ |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 18 | |
| 19 | universe u |
| 20 | |
| 21 | variable {B : Scheme.{u}} {X Y : Over B} (f : X ⟶ Y) |
| 22 | |
| 23 | def surjectiveParameterSet : Set B := |
| 24 | (Y.hom '' (Set.range f.left)ᶜ)ᶜ |
| 25 | |
| 26 | theorem mem_surjectiveParameterSet (b : B) : |
| 27 | b ∈ surjectiveParameterSet f ↔ |
| 28 | ∀ y : Y.left, Y.hom y = b → y ∈ Set.range f.left := by |
| 29 | classical |
| 30 | constructor |
| 31 | · intro hb y hy |
| 32 | by_contra h |
| 33 | exact hb ⟨y, h, hy⟩ |
| 34 | · rintro hb ⟨y, hy, heq⟩ |
| 35 | exact hy (hb y heq) |
| 36 | |
| 37 | /-- This condition is detected by the image of an arbitrary scheme base |
| 38 | change, including extension of its residue fields. -/ |
| 39 | theorem surjective_base_change_iff_range {S : Scheme.{u}} (g : S ⟶ B) : |
| 40 | Surjective ((Over.pullback g).map f).left ↔ |
| 41 | Set.range g ⊆ surjectiveParameterSet f := by |
| 42 | constructor |
| 43 | · intro hs b hb |
| 44 | obtain ⟨s, rfl⟩ := hb |
| 45 | apply (mem_surjectiveParameterSet f (g s)).mpr |
| 46 | intro y hy |
| 47 | obtain ⟨yS, hyS, _⟩ := Scheme.Pullback.exists_preimage_pullback y s hy |
| 48 | obtain ⟨xS, hxS⟩ := hs.surj yS |
| 49 | refine ⟨pullback.fst X.hom g xS, ?_⟩ |
| 50 | have hcomp := (Specialization.base_change_square g f).w |
| 51 | have heq := congrArg (fun m : pullback X.hom g ⟶ Y.left ↦ m xS) hcomp |
| 52 | change f.left (pullback.fst X.hom g xS) = pullback.fst Y.hom g |
| 53 | (((Over.pullback g).map f).left xS) at heq |
| 54 | exact heq.trans ((congrArg (pullback.fst Y.hom g) hxS).trans hyS) |
| 55 | · intro hg |
| 56 | constructor |
| 57 | intro yS |
| 58 | let y := pullback.fst Y.hom g yS |
| 59 | have hy : Y.hom y ∈ Set.range g := by |
| 60 | refine ⟨pullback.snd Y.hom g yS, ?_⟩ |
| 61 | exact (congrArg (fun m : pullback Y.hom g ⟶ B ↦ m yS) |
| 62 | (pullback.condition (f := Y.hom) (g := g))).symm |
| 63 | obtain ⟨x, hx⟩ := (mem_surjectiveParameterSet f (Y.hom y)).mp (hg hy) y rfl |
| 64 | obtain ⟨xS, _, hxS⟩ := Scheme.exists_preimage_of_isPullback |
| 65 | (Specialization.base_change_square g f) x yS hx |
| 66 | exact ⟨xS, hxS⟩ |
| 67 | |
| 68 | variable [IsProper f.left] [UniversallyOpen Y.hom] |
| 69 | |
| 70 | theorem surjectiveParameterSet_closed : IsClosed (surjectiveParameterSet f) := by |
| 71 | exact (Y.hom.isOpenMap _ f.left.isClosedMap.isClosed_range.isOpen_compl).isClosed_compl |
| 72 | |
| 73 | def surjectiveParameterClosed : TopologicalSpace.Closeds B := |
| 74 | ⟨surjectiveParameterSet f, surjectiveParameterSet_closed f⟩ |
| 75 | |
| 76 | /-- The reduced induced closed subscheme on the surjectivity locus. -/ |
| 77 | def surjectiveParameterScheme : Over B := |
| 78 | Reduction.reduction (Over.mk (Scheme.IdealSheafData.vanishingIdeal |
| 79 | (surjectiveParameterClosed f)).subschemeι) |
| 80 | |
| 81 | instance surjectiveParameterScheme_reduced : IsReduced (surjectiveParameterScheme f).left := |
| 82 | inferInstanceAs (IsReduced (Reduction.reduction _).left) |
| 83 | |
| 84 | instance surjectiveParameterScheme_closed : IsClosedImmersion (surjectiveParameterScheme f).hom := |
| 85 | inferInstanceAs (IsClosedImmersion ((_ : Scheme.IdealSheafData _).subschemeι ≫ |
| 86 | (_ : Scheme.IdealSheafData _).subschemeι)) |
| 87 | |
| 88 | theorem surjectiveParameterScheme_range : |
| 89 | Set.range (surjectiveParameterScheme f).hom = surjectiveParameterSet f := by |
| 90 | let Z := Over.mk (Scheme.IdealSheafData.vanishingIdeal (surjectiveParameterClosed f)).subschemeι |
| 91 | change Set.range ((Reduction.reductionι Z).left ≫ Z.hom) = _ |
| 92 | rw [Scheme.Hom.comp_base, TopCat.coe_comp, Set.range_comp, Reduction.reduction_range, |
| 93 | Set.image_univ] |
| 94 | change Set.range (Scheme.IdealSheafData.vanishingIdeal |
| 95 | (surjectiveParameterClosed f)).subschemeι = _ |
| 96 | rw [Scheme.IdealSheafData.range_subschemeι] |
| 97 | rfl |
| 98 | |
| 99 | /-- The universal proper map over the constructed parameter scheme is |
| 100 | surjective. -/ |
| 101 | theorem surjective_over_parameterScheme : |
| 102 | Surjective ((Over.pullback (surjectiveParameterScheme f).hom).map f).left := |
| 103 | (surjective_base_change_iff_range f _).mpr (surjectiveParameterScheme_range f ▸ Set.Subset.rfl) |
| 104 | |
| 105 | /-- The constructed closed scheme represents the surjectivity condition |
| 106 | on every reduced test scheme. -/ |
| 107 | theorem surjective_parameterScheme_classifies {S : Scheme.{u}} [IsReduced S] |
| 108 | (g : S ⟶ B) : |
| 109 | Surjective ((Over.pullback g).map f).left ↔ |
| 110 | ∃! q : S ⟶ (surjectiveParameterScheme f).left, |
| 111 | q ≫ (surjectiveParameterScheme f).hom = g := by |
| 112 | rw [surjective_base_change_iff_range] |
| 113 | constructor |
| 114 | · intro hg |
| 115 | have h : Set.range g ⊆ Set.range (surjectiveParameterScheme f).hom := by |
| 116 | rw [surjectiveParameterScheme_range] |
| 117 | exact hg |
| 118 | let q := Albanese.Construction.ReducedFactor.factorThroughClosed (surjectiveParameterScheme f).hom g h |
| 119 | have hq : q ≫ (surjectiveParameterScheme f).hom = g := |
| 120 | Albanese.Construction.ReducedFactor.factorThroughClosed_comp _ _ h |
| 121 | exact ⟨q, hq, fun r hr ↦ (cancel_mono (surjectiveParameterScheme f).hom).mp |
| 122 | (hr.trans hq.symm)⟩ |
| 123 | · rintro ⟨q, hq, _⟩ |
| 124 | rw [← hq] |
| 125 | rintro b ⟨s, rfl⟩ |
| 126 | rw [← surjectiveParameterScheme_range] |
| 127 | exact ⟨q s, rfl⟩ |
| 128 | |
| 129 | end |
| 130 | |
| 131 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.SurjectiveLocus |