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.Cover |
| 2 | import OAI.AlgebraicGeometry.Resolution.Blowups.Blowup.Localization |
| 3 | import Mathlib.AlgebraicGeometry.Birational.Birational |
| 4 | |
| 5 | /-! # Birational -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Resolution.Blowups.Blowup.Birational.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Birationality and the complement comparison for the actual affine blowup. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | /-- A common nonempty open scheme identifies dense opens of two irreducible |
| 18 | schemes, compatibly with a specified morphism between them. -/ |
| 19 | theorem compatible_partialIso_of_common_open |
| 20 | {U X Y : Scheme.{u}} [Nonempty U] [IrreducibleSpace X] [IrreducibleSpace Y] |
| 21 | (i : U ⟶ X) (j : U ⟶ Y) [IsOpenImmersion i] [IsOpenImmersion j] |
| 22 | (f : X ⟶ Y) (h : i ≫ f = j) : |
| 23 | ∃ e : X.PartialIso Y, |
| 24 | e.source.ι ≫ f = e.iso.hom ≫ e.target.ι := by |
| 25 | have hi : Dense (i.opensRange : Set X) := |
| 26 | i.opensRange.isOpen.dense (Set.range_nonempty i) |
| 27 | have hj : Dense (j.opensRange : Set Y) := |
| 28 | j.opensRange.isOpen.dense (Set.range_nonempty j) |
| 29 | refine ⟨{ |
| 30 | source := i.opensRange |
| 31 | dense_source := hi |
| 32 | target := j.opensRange |
| 33 | dense_target := hj |
| 34 | iso := i.isoOpensRange.symm ≪≫ j.isoOpensRange |
| 35 | }, ?_⟩ |
| 36 | change i.opensRange.ι ≫ f = |
| 37 | (i.isoOpensRange.inv ≫ j.isoOpensRange.hom) ≫ j.opensRange.ι |
| 38 | rw [Category.assoc, Scheme.Hom.isoOpensRange_hom_ι, ← h, |
| 39 | ← Category.assoc, Scheme.Hom.isoOpensRange_inv_comp] |
| 40 | |
| 41 | variable {R : Type u} [CommRing R] (I : Ideal R) |
| 42 | |
| 43 | /-- The affine blowup of a nonzero ideal of a domain is birational by a |
| 44 | partial isomorphism compatible with its actual structural morphism. -/ |
| 45 | theorem affineBlowup_partialIso [IsDomain R] (hI : I ≠ ⊥) : |
| 46 | ∃ e : (ReesGrading.Construction.affineBlowup I).PartialIso (Spec (.of R)), |
| 47 | e.source.ι ≫ ReesGrading.Construction.affineBlowupToSpec I = e.iso.hom ≫ e.target.ι := by |
| 48 | obtain ⟨a, ha, ha0⟩ := (Submodule.ne_bot_iff I).mp hI |
| 49 | let aI : I := ⟨a, ha⟩ |
| 50 | let : IsDomain (Localization.Away a) := Localization.Away.isDomain ha0 |
| 51 | let : IrreducibleSpace (ReesGrading.Construction.affineBlowup I) := Cover.Construction.affineBlowup_irreducible I hI |
| 52 | exact compatible_partialIso_of_common_open |
| 53 | (Blowup.Localization.Construction.affineBlowupComplementMap I aI) (Blowup.Localization.Construction.baseLocalizationMap a) |
| 54 | (ReesGrading.Construction.affineBlowupToSpec I) (Blowup.Localization.Construction.affineBlowupComplementMap_over I aI) |
| 55 | |
| 56 | /-- In particular the affine blowup and its integral affine base are birational. -/ |
| 57 | theorem affineBlowup_birational [IsDomain R] (hI : I ≠ ⊥) : |
| 58 | Scheme.Birational (ReesGrading.Construction.affineBlowup I) (Spec (.of R)) := by |
| 59 | obtain ⟨e, _⟩ := affineBlowup_partialIso I hI |
| 60 | exact ⟨e⟩ |
| 61 | |
| 62 | /-- An open section over an open subscheme exhausts the corresponding base |
| 63 | change of a separated morphism whose source is integral. -/ |
| 64 | theorem isIso_pullback_snd_of_open_section |
| 65 | {U X Y : Scheme.{u}} [Nonempty U] [IsIntegral X] |
| 66 | (f : X ⟶ Y) [IsSeparated f] |
| 67 | (j : U ⟶ Y) [IsOpenImmersion j] |
| 68 | (i : U ⟶ X) [IsOpenImmersion i] (h : i ≫ f = j) : |
| 69 | IsIso (Limits.pullback.snd f j) := by |
| 70 | let s : U ⟶ Limits.pullback f j := |
| 71 | Limits.pullback.lift i (𝟙 U) (by simpa using h) |
| 72 | have hs₁ : s ≫ Limits.pullback.fst f j = i := Limits.pullback.lift_fst _ _ _ |
| 73 | have hs₂ : s ≫ Limits.pullback.snd f j = 𝟙 U := Limits.pullback.lift_snd _ _ _ |
| 74 | let : Nonempty (Limits.pullback f j : Scheme.{u}) := |
| 75 | Nonempty.map (fun x : U => s x) inferInstance |
| 76 | let : IsIntegral (Limits.pullback f j) := |
| 77 | isIntegral_of_isOpenImmersion (Limits.pullback.fst f j) |
| 78 | let : IsOpenImmersion (s ≫ Limits.pullback.fst f j) := hs₁.symm ▸ inferInstance |
| 79 | let : IsOpenImmersion s := IsOpenImmersion.of_comp s (Limits.pullback.fst f j) |
| 80 | let : IsClosedImmersion (s ≫ Limits.pullback.snd f j) := hs₂.symm ▸ inferInstance |
| 81 | let : IsClosedImmersion s := IsClosedImmersion.of_comp s (Limits.pullback.snd f j) |
| 82 | have hdense : Dense (s.opensRange : Set (Limits.pullback f j : Scheme.{u})) := |
| 83 | s.opensRange.isOpen.dense (Set.range_nonempty s) |
| 84 | have hclosed : IsClosed (Set.range s) := s.isClosedEmbedding.isClosed_range |
| 85 | have hrange : s.opensRange = ⊤ := by |
| 86 | apply TopologicalSpace.Opens.ext |
| 87 | change Set.range s = Set.univ |
| 88 | rw [← hclosed.closure_eq] |
| 89 | exact hdense.closure_eq |
| 90 | let : IsIso s := isIso_of_isOpenImmersion_of_opensRange_eq_top s hrange |
| 91 | let : IsIso (s ≫ Limits.pullback.snd f j) := hs₂.symm ▸ inferInstance |
| 92 | exact IsIso.of_isIso_comp_left s (Limits.pullback.snd f j) |
| 93 | |
| 94 | /-- The blowup is an isomorphism after localizing at a nonzero element of |
| 95 | the center ideal, hence away from the center on this basic open. -/ |
| 96 | theorem affineBlowup_localization_isIso [IsDomain R] [IsNoetherianRing R] |
| 97 | (a : I) (ha : a.val ≠ 0) : |
| 98 | IsIso (Limits.pullback.snd (ReesGrading.Construction.affineBlowupToSpec I) (Blowup.Localization.Construction.baseLocalizationMap a.val)) := by |
| 99 | have hI : I ≠ ⊥ := by |
| 100 | intro hI |
| 101 | have : a.val ∈ (⊥ : Ideal R) := hI ▸ a.property |
| 102 | exact ha (Ideal.mem_bot.mp this) |
| 103 | let : IsIntegral (ReesGrading.Construction.affineBlowup I) := Cover.Construction.affineBlowup_integral I hI |
| 104 | let : IsDomain (Localization.Away a.val) := Localization.Away.isDomain ha |
| 105 | exact isIso_pullback_snd_of_open_section (ReesGrading.Construction.affineBlowupToSpec I) |
| 106 | (Blowup.Localization.Construction.baseLocalizationMap a.val) (Blowup.Localization.Construction.affineBlowupComplementMap I a) |
| 107 | (Blowup.Localization.Construction.affineBlowupComplementMap_over I a) |
| 108 | |
| 109 | end |
| 110 | |
| 111 | end OAI.AlgebraicGeometry.Resolution.Blowups.Blowup.Birational.Construction |