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.Foundations.Scheme.SmoothProjective |
| 2 | |
| 3 | /-! # Projective Transport -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Foundations.Scheme |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | # Transport of actual projective presentations |
| 11 | |
| 12 | The constructions here precompose genuine scheme morphisms with scheme |
| 13 | isomorphisms. The resulting presentations have the transported complex |
| 14 | structure map, and define isomorphic objects over `Spec ℂ`. |
| 15 | -/ |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 18 | |
| 19 | /-- Precomposing by a scheme isomorphism preserves and reflects smoothness. -/ |
| 20 | theorem ProjectiveTransport.smooth_precompose_iso_iff {X Y S : Scheme} |
| 21 | (e : Y ≅ X) (f : X ⟶ S) : Smooth (e.hom ≫ f) ↔ Smooth f := by |
| 22 | constructor |
| 23 | · intro h |
| 24 | let : Smooth (e.hom ≫ f) := h |
| 25 | have h' : Smooth (e.inv ≫ (e.hom ≫ f)) := inferInstance |
| 26 | simpa using h' |
| 27 | · intro h |
| 28 | let : Smooth f := h |
| 29 | infer_instance |
| 30 | |
| 31 | /-- Precomposing by a scheme isomorphism preserves and reflects closed immersions. -/ |
| 32 | theorem ProjectiveTransport.closedImmersion_precompose_iso_iff {X Y S : Scheme} |
| 33 | (e : Y ≅ X) (f : X ⟶ S) : |
| 34 | IsClosedImmersion (e.hom ≫ f) ↔ IsClosedImmersion f := by |
| 35 | constructor |
| 36 | · intro h |
| 37 | let : IsClosedImmersion (e.hom ≫ f) := h |
| 38 | have h' : IsClosedImmersion (e.inv ≫ (e.hom ≫ f)) := inferInstance |
| 39 | simpa using h' |
| 40 | · intro h |
| 41 | let : IsClosedImmersion f := h |
| 42 | infer_instance |
| 43 | |
| 44 | section |
| 45 | |
| 46 | variable {X Y : Scheme} {f : X ⟶ ProjectiveSpace.complexBase} |
| 47 | |
| 48 | /-- Transport a chosen closed projective embedding to an isomorphic scheme. -/ |
| 49 | def SmoothProjective.ProjectivePresentation.transportIso (P : SmoothProjective.ProjectivePresentation X f) (e : Y ≅ X) : |
| 50 | SmoothProjective.ProjectivePresentation Y (e.hom ≫ f) where |
| 51 | ambientDimension := P.ambientDimension |
| 52 | embedding := e.hom ≫ P.embedding |
| 53 | closedImmersion := inferInstance |
| 54 | over_base := by simp only [Category.assoc, P.over_base] |
| 55 | |
| 56 | @[simp] |
| 57 | theorem SmoothProjective.ProjectivePresentation.transportIso_ambientDimension (P : SmoothProjective.ProjectivePresentation X f) (e : Y ≅ X) : |
| 58 | (P.transportIso e).ambientDimension = P.ambientDimension := rfl |
| 59 | |
| 60 | @[simp] |
| 61 | theorem SmoothProjective.ProjectivePresentation.transportIso_embedding (P : SmoothProjective.ProjectivePresentation X f) (e : Y ≅ X) : |
| 62 | (P.transportIso e).embedding = e.hom ≫ P.embedding := rfl |
| 63 | |
| 64 | /-- Existence of a projective presentation is invariant under a scheme |
| 65 | isomorphism, with its induced complex structure map. -/ |
| 66 | theorem SmoothProjective.ProjectivePresentation.nonempty_transportIso_iff (e : Y ≅ X) : |
| 67 | Nonempty (SmoothProjective.ProjectivePresentation Y (e.hom ≫ f)) ↔ |
| 68 | Nonempty (SmoothProjective.ProjectivePresentation X f) := by |
| 69 | constructor |
| 70 | · rintro ⟨P⟩ |
| 71 | have h : Nonempty (SmoothProjective.ProjectivePresentation X (e.inv ≫ (e.hom ≫ f))) := |
| 72 | ⟨P.transportIso e.symm⟩ |
| 73 | simpa using h |
| 74 | · rintro ⟨P⟩ |
| 75 | exact ⟨P.transportIso e⟩ |
| 76 | |
| 77 | /-- The same invariance for explicitly specified maps to `Spec ℂ`. -/ |
| 78 | theorem SmoothProjective.ProjectivePresentation.nonempty_iff_of_iso {g : Y ⟶ ProjectiveSpace.complexBase} |
| 79 | (e : Y ≅ X) (h : e.hom ≫ f = g) : |
| 80 | Nonempty (SmoothProjective.ProjectivePresentation Y g) ↔ |
| 81 | Nonempty (SmoothProjective.ProjectivePresentation X f) := by |
| 82 | subst g |
| 83 | exact SmoothProjective.ProjectivePresentation.nonempty_transportIso_iff e |
| 84 | |
| 85 | end |
| 86 | |
| 87 | /-- Transport a smooth projective complex scheme and its presentation along |
| 88 | an isomorphism of its underlying scheme. -/ |
| 89 | def SmoothProjective.SmoothProjectivePresentation.transportIso (P : SmoothProjective.SmoothProjectivePresentation) {Y : Scheme} |
| 90 | (e : Y ≅ P.carrier) : SmoothProjective.SmoothProjectivePresentation where |
| 91 | carrier := Y |
| 92 | structureMap := e.hom ≫ P.structureMap |
| 93 | projective := P.projective.transportIso e |
| 94 | smooth := inferInstance |
| 95 | |
| 96 | @[simp] |
| 97 | theorem SmoothProjective.SmoothProjectivePresentation.transportIso_structureMap (P : SmoothProjective.SmoothProjectivePresentation) {Y : Scheme} |
| 98 | (e : Y ≅ P.carrier) : |
| 99 | (P.transportIso e).structureMap = e.hom ≫ P.structureMap := rfl |
| 100 | |
| 101 | @[simp] |
| 102 | theorem SmoothProjective.SmoothProjectivePresentation.transportIso_embedding (P : SmoothProjective.SmoothProjectivePresentation) {Y : Scheme} |
| 103 | (e : Y ≅ P.carrier) : |
| 104 | (P.transportIso e).embedding = e.hom ≫ P.embedding := rfl |
| 105 | |
| 106 | /-- Transport changes the presentation but preserves the complex scheme up to |
| 107 | an actual isomorphism over the base. -/ |
| 108 | def SmoothProjective.SmoothProjectivePresentation.transportIso_overIso (P : SmoothProjective.SmoothProjectivePresentation) {Y : Scheme} |
| 109 | (e : Y ≅ P.carrier) : (P.transportIso e).toOver ≅ P.toOver := |
| 110 | Over.isoMk e rfl |
| 111 | |
| 112 | end |
| 113 | |
| 114 | end OAI.AlgebraicGeometry.Foundations.Scheme |