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.Blowup.BaseOpen |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.Blowup.Birational |
| 3 | |
| 4 | /-! # Base Change -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.Blowup.BaseChange.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Scheme-theoretic localization compatibility of the affine blowup for Blowups. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | /-- A proper scheme mapping by an open immersion into an integral separated |
| 17 | scheme over an open base is the entire base change. -/ |
| 18 | theorem isPullback_of_proper_open_diagram |
| 19 | {X X' Y Y' : Scheme.{u}} [IsIntegral X] [Nonempty X'] |
| 20 | (f : X ⟶ Y) [IsSeparated f] |
| 21 | (j : Y' ⟶ Y) [IsOpenImmersion j] |
| 22 | (f' : X' ⟶ Y') [IsProper f'] |
| 23 | (i : X' ⟶ X) [IsOpenImmersion i] (h : i ≫ f = f' ≫ j) : |
| 24 | IsPullback i f' f j := by |
| 25 | let t : X' ⟶ Limits.pullback f j := Limits.pullback.lift i f' h |
| 26 | have ht₁ : t ≫ Limits.pullback.fst f j = i := Limits.pullback.lift_fst _ _ _ |
| 27 | have ht₂ : t ≫ Limits.pullback.snd f j = f' := Limits.pullback.lift_snd _ _ _ |
| 28 | let : Nonempty (Limits.pullback f j : Scheme.{u}) := |
| 29 | Nonempty.map (fun x : X' => t x) inferInstance |
| 30 | let : IsIntegral (Limits.pullback f j) := |
| 31 | isIntegral_of_isOpenImmersion (Limits.pullback.fst f j) |
| 32 | let : IsOpenImmersion (t ≫ Limits.pullback.fst f j) := ht₁.symm ▸ inferInstance |
| 33 | let : IsOpenImmersion t := IsOpenImmersion.of_comp t (Limits.pullback.fst f j) |
| 34 | let : IsProper (t ≫ Limits.pullback.snd f j) := ht₂.symm ▸ inferInstance |
| 35 | let : IsProper t := IsProper.of_comp t (Limits.pullback.snd f j) |
| 36 | have hdense : Dense (t.opensRange : Set (Limits.pullback f j : Scheme.{u})) := |
| 37 | t.opensRange.isOpen.dense (Set.range_nonempty t) |
| 38 | have hclosed : IsClosed (Set.range t) := t.isClosedMap.isClosed_range |
| 39 | have hrange : t.opensRange = ⊤ := by |
| 40 | apply TopologicalSpace.Opens.ext |
| 41 | change Set.range t = Set.univ |
| 42 | rw [← hclosed.closure_eq] |
| 43 | exact hdense.closure_eq |
| 44 | let : IsIso t := isIso_of_isOpenImmersion_of_opensRange_eq_top t hrange |
| 45 | exact IsPullback.of_iso_pullback ⟨h⟩ (asIso t) ht₁ ht₂ |
| 46 | |
| 47 | variable {R S : Type u} [CommRing R] [CommRing S] [Algebra R S] |
| 48 | variable (I : Ideal R) (s : R) [IsLocalization.Away s S] |
| 49 | |
| 50 | /-- Blowup of a nonzero ideal in an affine Noetherian integral scheme |
| 51 | commutes with localization at a nonzero base element. -/ |
| 52 | theorem affineBlowup_localization_isPullback |
| 53 | [IsDomain R] [IsNoetherianRing R] (hI : I ≠ ⊥) (hs : s ≠ 0) : |
| 54 | IsPullback (ReesMap.Construction.affineBlowupMap I (algebraMap R S)) |
| 55 | (ReesGrading.Construction.affineBlowupToSpec (I.map (algebraMap R S))) |
| 56 | (ReesGrading.Construction.affineBlowupToSpec I) (Spec.map (CommRingCat.ofHom (algebraMap R S))) := by |
| 57 | have hRS : Function.Injective (algebraMap R S) := |
| 58 | IsLocalization.injective S (powers_le_nonZeroDivisors_of_noZeroDivisors hs) |
| 59 | have hIS : I.map (algebraMap R S) ≠ ⊥ := by |
| 60 | intro hzero |
| 61 | obtain ⟨r, hr, hr0⟩ := (Submodule.ne_bot_iff I).mp hI |
| 62 | have hm := Ideal.mem_map_of_mem (algebraMap R S) hr |
| 63 | rw [hzero] at hm |
| 64 | exact hr0 (hRS (by simpa using Ideal.mem_bot.mp hm)) |
| 65 | let : IsDomain S := IsLocalization.Away.isDomain S hs |
| 66 | let : IsNoetherianRing S := |
| 67 | IsLocalization.isNoetherianRing (Submonoid.powers s) S inferInstance |
| 68 | let : IsIntegral (ReesGrading.Construction.affineBlowup I) := Cover.Construction.affineBlowup_integral I hI |
| 69 | let : IsIntegral (ReesGrading.Construction.affineBlowup (I.map (algebraMap R S))) := |
| 70 | Cover.Construction.affineBlowup_integral (I.map (algebraMap R S)) hIS |
| 71 | let : IsOpenImmersion (ReesMap.Construction.affineBlowupMap I (algebraMap R S)) := |
| 72 | BaseOpen.Construction.affineBlowupMap_isOpenImmersion I s hs |
| 73 | let : IsOpenImmersion (Spec.map (CommRingCat.ofHom (algebraMap R S))) := |
| 74 | IsOpenImmersion.of_isLocalization s |
| 75 | exact isPullback_of_proper_open_diagram (ReesGrading.Construction.affineBlowupToSpec I) |
| 76 | (Spec.map (CommRingCat.ofHom (algebraMap R S))) |
| 77 | (ReesGrading.Construction.affineBlowupToSpec (I.map (algebraMap R S))) |
| 78 | (ReesMap.Construction.affineBlowupMap I (algebraMap R S)) (BaseOpen.Construction.affineBlowupMap_over I (algebraMap R S)) |
| 79 | |
| 80 | end |
| 81 | |
| 82 | end OAI.AlgebraicGeometry.Resolution.Blowups.Blowup.BaseChange.Construction |