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.Resolution.Blowups.GlobalBlowup.Data |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.SupportedBlowupSmoothGluing |
| 3 | import Mathlib.AlgebraicGeometry.AlgClosed.Basic |
| 4 | import OAI.AlgebraicGeometry.Foundations.Scheme.ProjectiveSpace |
| 5 | import Mathlib.Analysis.Complex.Polynomial.Basic |
| 6 | |
| 7 | /-! # Map Gluing -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.GlobalBlowup.MapGluing.Construction |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! Gluing actual maps from local Rees blowups through affine overlap comparisons. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 16 | |
| 17 | variable {X : Scheme} [IsIntegral X] [IsLocallyNoetherian X] |
| 18 | variable (I : X.IdealSheafData) (hI : I ≠ ⊥) |
| 19 | |
| 20 | theorem globalBlowupChart_opensRange (U : X.affineOpens) : |
| 21 | (Data.Construction.globalBlowupChart I hI U).opensRange = Data.Construction.globalBlowupToBase I hI ⁻¹ᵁ U.1 := by |
| 22 | have h := SupportedBlowupSmoothGluing.Construction.opensRange_of_open_pullback (Data.Construction.globalBlowupChart I hI U) |
| 23 | (ReesGrading.Construction.affineBlowupToSpec (I.ideal U) ≫ U.2.isoSpec.inv) |
| 24 | (Data.Construction.globalBlowupToBase I hI) U.1.ι (Data.Construction.globalBlowup_affineOpen_isPullback I hI U) |
| 25 | rwa [Scheme.Opens.opensRange_ι] at h |
| 26 | |
| 27 | theorem globalBlowup_affineSpec_isPullback (U : X.affineOpens) : |
| 28 | IsPullback (Data.Construction.globalBlowupChart I hI U) (ReesGrading.Construction.affineBlowupToSpec (I.ideal U)) |
| 29 | (Data.Construction.globalBlowupToBase I hI) U.2.fromSpec := by |
| 30 | apply (Data.Construction.globalBlowup_affineOpen_isPullback I hI U).of_iso |
| 31 | (Iso.refl _) (Iso.refl _) U.2.isoSpec (Iso.refl _) |
| 32 | · simp |
| 33 | · simp |
| 34 | · simp |
| 35 | · simp [IsAffineOpen.fromSpec] |
| 36 | |
| 37 | /-- Any chosen affine cover of the base gives an actual open cover of its global blowup. -/ |
| 38 | def globalBlowupChosenCover {ι : Type*} (U : ι → X.affineOpens) |
| 39 | (hcover : ⨆ i, (U i).1 = ⊤) : (Data.Construction.globalBlowup I hI).OpenCover := by |
| 40 | refine Scheme.Cover.mkOfCovers ι (fun i => ReesGrading.Construction.affineBlowup (I.ideal (U i))) |
| 41 | (fun i => Data.Construction.globalBlowupChart I hI (U i)) ?_ (fun _ => inferInstance) |
| 42 | intro z |
| 43 | have hz : Data.Construction.globalBlowupToBase I hI z ∈ ⨆ i, (U i).1 := by rw [hcover]; trivial |
| 44 | obtain ⟨i, hi⟩ := TopologicalSpace.Opens.mem_iSup.mp hz |
| 45 | refine ⟨i, ?_⟩ |
| 46 | change z ∈ (Data.Construction.globalBlowupChart I hI (U i)).opensRange |
| 47 | rw [globalBlowupChart_opensRange] |
| 48 | exact hi |
| 49 | |
| 50 | /-- Compatibility on affine opens inside the intersection implies compatibility |
| 51 | on the actual scheme-theoretic overlap of the two blowup charts. -/ |
| 52 | theorem globalBlowupChart_overlap_map_eq |
| 53 | (f : X ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) [LocallyOfFiniteType f] |
| 54 | {Y : Scheme} (p : Y ⟶ Foundations.Scheme.ProjectiveSpace.complexBase) [LocallyOfFiniteType p] [IsSeparated p] |
| 55 | (U V : X.affineOpens) (qU : ReesGrading.Construction.affineBlowup (I.ideal U) ⟶ Y) |
| 56 | (qV : ReesGrading.Construction.affineBlowup (I.ideal V) ⟶ Y) |
| 57 | (hoU : qU ≫ p = Data.Construction.globalBlowupChart I hI U ≫ Data.Construction.globalBlowupToBase I hI ≫ f) |
| 58 | (hoV : qV ≫ p = Data.Construction.globalBlowupChart I hI V ≫ Data.Construction.globalBlowupToBase I hI ≫ f) |
| 59 | (hc : ∀ (W : X.affineOpens) (hWU : W ≤ U) (hWV : W ≤ V), |
| 60 | (Blowup.Functor.Construction.idealBlowupFunctor I).map (homOfLE hWU) ≫ qU = |
| 61 | (Blowup.Functor.Construction.idealBlowupFunctor I).map (homOfLE hWV) ≫ qV) : |
| 62 | pullback.fst (Data.Construction.globalBlowupChart I hI U) (Data.Construction.globalBlowupChart I hI V) ≫ qU = |
| 63 | pullback.snd _ _ ≫ qV := by |
| 64 | let a := Data.Construction.globalBlowupChart I hI U |
| 65 | let b := Data.Construction.globalBlowupChart I hI V |
| 66 | let k := pullback.fst a b ≫ a |
| 67 | let : IsReduced (pullback a b) := isReduced_of_isOpenImmersion k |
| 68 | let : LocallyOfFiniteType ((pullback.fst a b ≫ qU) ≫ p) := by |
| 69 | rw [Category.assoc, hoU] |
| 70 | infer_instance |
| 71 | apply ext_of_apply_eq p Set.univ isOpen_univ.isLocallyClosed dense_univ |
| 72 | · intro z _ _ |
| 73 | let y := a (pullback.fst a b z) |
| 74 | have hyj : y = b (pullback.snd a b z) := |
| 75 | congrArg (fun g : pullback a b ⟶ Data.Construction.globalBlowup I hI => g z) (pullback.condition (f := a) (g := b)) |
| 76 | have hyU : Data.Construction.globalBlowupToBase I hI y ∈ U.1 := by |
| 77 | have hy : y ∈ a.opensRange := ⟨pullback.fst a b z, rfl⟩ |
| 78 | change y ∈ (Data.Construction.globalBlowupChart I hI U).opensRange at hy |
| 79 | rwa [globalBlowupChart_opensRange] at hy |
| 80 | have hyV : Data.Construction.globalBlowupToBase I hI y ∈ V.1 := by |
| 81 | have hy : y ∈ b.opensRange := ⟨pullback.snd a b z, hyj.symm⟩ |
| 82 | change y ∈ (Data.Construction.globalBlowupChart I hI V).opensRange at hy |
| 83 | rwa [globalBlowupChart_opensRange] at hy |
| 84 | obtain ⟨W, hW, hyW, hWUV⟩ := exists_isAffineOpen_mem_and_subset |
| 85 | (U := U.1 ⊓ V.1) (x := Data.Construction.globalBlowupToBase I hI y) ⟨hyU, hyV⟩ |
| 86 | let A : X.affineOpens := ⟨W, hW⟩ |
| 87 | have hAU : A ≤ U := hWUV.trans inf_le_left |
| 88 | have hAV : A ≤ V := hWUV.trans inf_le_right |
| 89 | have hyA : y ∈ (Data.Construction.globalBlowupChart I hI A).opensRange := by |
| 90 | rw [globalBlowupChart_opensRange] |
| 91 | exact hyW |
| 92 | obtain ⟨w, hw⟩ := hyA |
| 93 | let α := (Blowup.Functor.Construction.idealBlowupFunctor I).map (homOfLE hAU) |
| 94 | let β := (Blowup.Functor.Construction.idealBlowupFunctor I).map (homOfLE hAV) |
| 95 | have hα : α w = pullback.fst a b z := by |
| 96 | apply a.injective |
| 97 | change (α ≫ Data.Construction.globalBlowupChart I hI U) w = y |
| 98 | rw [Data.Construction.globalBlowupChart_transition] |
| 99 | exact hw |
| 100 | have hβ : β w = pullback.snd a b z := by |
| 101 | apply b.injective |
| 102 | change (β ≫ Data.Construction.globalBlowupChart I hI V) w = b (pullback.snd a b z) |
| 103 | rw [Data.Construction.globalBlowupChart_transition] |
| 104 | exact hw.trans hyj |
| 105 | change qU (pullback.fst a b z) = qV (pullback.snd a b z) |
| 106 | rw [← hα, ← hβ] |
| 107 | exact congrArg (fun g : ReesGrading.Construction.affineBlowup (I.ideal A) ⟶ Y => g w) (hc A hAU hAV) |
| 108 | · rw [Category.assoc, Category.assoc, hoU, hoV] |
| 109 | exact pullback.condition_assoc (f := a) (g := b) (Data.Construction.globalBlowupToBase I hI ≫ f) |
| 110 | |
| 111 | end |
| 112 | |
| 113 | end OAI.AlgebraicGeometry.Resolution.Blowups.GlobalBlowup.MapGluing.Construction |