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.ProjectiveTransport |
| 2 | import Mathlib.AlgebraicGeometry.Properties |
| 3 | |
| 4 | /-! # Integral Projective -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Foundations.Scheme.IntegralProjective |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # Integral smooth projective complex varieties |
| 12 | |
| 13 | This file restricts actual smooth projective presentations to carriers satisfying |
| 14 | mathlib's `IsIntegral`. It therefore makes the usual irreducibility and |
| 15 | nonemptiness convention for a variety explicit, rather than identifying the |
| 16 | raw possibly disconnected presentation type with that convention. |
| 17 | -/ |
| 18 | |
| 19 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 20 | |
| 21 | /-- A smooth projective complex presentation whose actual scheme is integral. -/ |
| 22 | abbrev IntegralProjectiveVariety := |
| 23 | {P : SmoothProjective.SmoothProjectivePresentation // IsIntegral P.carrier} |
| 24 | |
| 25 | namespace IntegralProjectiveVariety |
| 26 | |
| 27 | /-- Forget only the integral-carrier condition. -/ |
| 28 | abbrev presentation (V : IntegralProjectiveVariety) : SmoothProjective.SmoothProjectivePresentation := V.val |
| 29 | |
| 30 | /-- The underlying actual scheme. -/ |
| 31 | abbrev carrier (V : IntegralProjectiveVariety) : Scheme := V.presentation.carrier |
| 32 | |
| 33 | /-- The actual morphism specifying the complex base. -/ |
| 34 | abbrev structureMap (V : IntegralProjectiveVariety) : V.carrier ⟶ ProjectiveSpace.complexBase := |
| 35 | V.presentation.structureMap |
| 36 | |
| 37 | /-- The ambient dimension of the chosen projective embedding. -/ |
| 38 | abbrev ambientDimension (V : IntegralProjectiveVariety) : ℕ := |
| 39 | V.presentation.ambientDimension |
| 40 | |
| 41 | /-- The actual closed projective embedding. -/ |
| 42 | abbrev embedding (V : IntegralProjectiveVariety) : |
| 43 | V.carrier ⟶ ProjectiveSpace.projectiveSpace V.ambientDimension := V.presentation.embedding |
| 44 | |
| 45 | instance (V : IntegralProjectiveVariety) : IsIntegral V.carrier := V.property |
| 46 | |
| 47 | instance (V : IntegralProjectiveVariety) : Smooth V.structureMap := V.presentation.smooth |
| 48 | |
| 49 | instance (V : IntegralProjectiveVariety) : IsClosedImmersion V.embedding := |
| 50 | V.presentation.projective.closedImmersion |
| 51 | |
| 52 | /-- Integral varieties are nonempty in mathlib's actual scheme topology. -/ |
| 53 | theorem carrier_nonempty (V : IntegralProjectiveVariety) : Nonempty V.carrier := |
| 54 | inferInstance |
| 55 | |
| 56 | /-- Irreducibility follows from the native integral-scheme condition. -/ |
| 57 | theorem carrier_irreducible (V : IntegralProjectiveVariety) : |
| 58 | IrreducibleSpace V.carrier := inferInstance |
| 59 | |
| 60 | /-- Reducedness follows from the native integral-scheme condition. -/ |
| 61 | theorem carrier_reduced (V : IntegralProjectiveVariety) : |
| 62 | IsReduced V.carrier := inferInstance |
| 63 | |
| 64 | /-- The associated complex scheme as an object over the base. -/ |
| 65 | abbrev toOver (V : IntegralProjectiveVariety) : Over ProjectiveSpace.complexBase := V.presentation.toOver |
| 66 | |
| 67 | /-- The chosen embedding is over the specified complex base. -/ |
| 68 | @[reassoc] |
| 69 | theorem embedding_over (V : IntegralProjectiveVariety) : |
| 70 | V.embedding ≫ ProjectiveSpace.projectiveSpaceToBase V.ambientDimension = V.structureMap := |
| 71 | V.presentation.embedding_over |
| 72 | |
| 73 | /-- Every bundled variety has an actual closed projective embedding. -/ |
| 74 | theorem exists_closedImmersion (V : IntegralProjectiveVariety) : |
| 75 | ∃ (n : ℕ) (i : V.carrier ⟶ ProjectiveSpace.projectiveSpace n), |
| 76 | IsClosedImmersion i ∧ i ≫ ProjectiveSpace.projectiveSpaceToBase n = V.structureMap := |
| 77 | SmoothProjective.ProjectivePresentation.nonempty_iff.mp ⟨V.presentation.projective⟩ |
| 78 | |
| 79 | /-- Construct the bundle from exactly the standard algebraic conditions. -/ |
| 80 | def ofClosedImmersion {X : Scheme} (f : X ⟶ ProjectiveSpace.complexBase) |
| 81 | (n : ℕ) (i : X ⟶ ProjectiveSpace.projectiveSpace n) (hi : IsClosedImmersion i) |
| 82 | (hif : i ≫ ProjectiveSpace.projectiveSpaceToBase n = f) (hf : Smooth f) (hX : IsIntegral X) : |
| 83 | IntegralProjectiveVariety := |
| 84 | ⟨{ carrier := X |
| 85 | structureMap := f |
| 86 | projective := ⟨n, i, hi, hif⟩ |
| 87 | smooth := hf }, hX⟩ |
| 88 | |
| 89 | @[simp] |
| 90 | theorem ofClosedImmersion_carrier {X : Scheme} (f : X ⟶ ProjectiveSpace.complexBase) |
| 91 | (n : ℕ) (i : X ⟶ ProjectiveSpace.projectiveSpace n) (hi : IsClosedImmersion i) |
| 92 | (hif : i ≫ ProjectiveSpace.projectiveSpaceToBase n = f) (hf : Smooth f) (hX : IsIntegral X) : |
| 93 | (ofClosedImmersion f n i hi hif hf hX).carrier = X := rfl |
| 94 | |
| 95 | @[simp] |
| 96 | theorem ofClosedImmersion_structureMap {X : Scheme} (f : X ⟶ ProjectiveSpace.complexBase) |
| 97 | (n : ℕ) (i : X ⟶ ProjectiveSpace.projectiveSpace n) (hi : IsClosedImmersion i) |
| 98 | (hif : i ≫ ProjectiveSpace.projectiveSpaceToBase n = f) (hf : Smooth f) (hX : IsIntegral X) : |
| 99 | (ofClosedImmersion f n i hi hif hf hX).structureMap = f := rfl |
| 100 | |
| 101 | /-- Integrality as well as the chosen smooth projective presentation transports |
| 102 | along an actual scheme isomorphism. -/ |
| 103 | def transportIso (V : IntegralProjectiveVariety) {Y : Scheme} |
| 104 | (e : Y ≅ V.carrier) : IntegralProjectiveVariety := |
| 105 | ⟨V.presentation.transportIso e, by |
| 106 | change IsIntegral Y |
| 107 | exact IsIntegral.of_isIso e.inv⟩ |
| 108 | |
| 109 | @[simp] |
| 110 | theorem transportIso_structureMap (V : IntegralProjectiveVariety) {Y : Scheme} |
| 111 | (e : Y ≅ V.carrier) : |
| 112 | (V.transportIso e).structureMap = e.hom ≫ V.structureMap := rfl |
| 113 | |
| 114 | /-- The transported object is genuinely isomorphic over `Spec ℂ`. -/ |
| 115 | def transportIso_overIso (V : IntegralProjectiveVariety) {Y : Scheme} |
| 116 | (e : Y ≅ V.carrier) : (V.transportIso e).toOver ≅ V.toOver := |
| 117 | V.presentation.transportIso_overIso e |
| 118 | |
| 119 | /-- Exact coverage, up to isomorphism over the complex base, by the integral |
| 120 | smooth projective presentation type. No disconnected presentation is identified |
| 121 | with an irreducible variety in this statement. -/ |
| 122 | theorem exists_overIso_iff (X : Scheme) (f : X ⟶ ProjectiveSpace.complexBase) : |
| 123 | (∃ (V : IntegralProjectiveVariety) (e : X ≅ V.carrier), |
| 124 | e.hom ≫ V.structureMap = f) ↔ |
| 125 | IsIntegral X ∧ Smooth f ∧ |
| 126 | ∃ (n : ℕ) (i : X ⟶ ProjectiveSpace.projectiveSpace n), |
| 127 | IsClosedImmersion i ∧ i ≫ ProjectiveSpace.projectiveSpaceToBase n = f := by |
| 128 | constructor |
| 129 | · rintro ⟨V, e, he⟩ |
| 130 | have hX : IsIntegral X := IsIntegral.of_isIso e.inv |
| 131 | have hf' : Smooth (e.hom ≫ V.structureMap) := inferInstance |
| 132 | have hf : Smooth f := he ▸ hf' |
| 133 | refine ⟨hX, hf, V.ambientDimension, e.hom ≫ V.embedding, inferInstance, ?_⟩ |
| 134 | rw [Category.assoc, V.embedding_over, he] |
| 135 | · rintro ⟨hX, hf, n, i, hi, hif⟩ |
| 136 | let V := ofClosedImmersion f n i hi hif hf hX |
| 137 | refine ⟨V, Iso.refl X, ?_⟩ |
| 138 | change (𝟙 X) ≫ f = f |
| 139 | simp |
| 140 | |
| 141 | end IntegralProjectiveVariety |
| 142 | |
| 143 | end |
| 144 | |
| 145 | end OAI.AlgebraicGeometry.Foundations.Scheme.IntegralProjective |