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.AbelianModuli.HilbertConstruction.Unit.DivisorGraphParameter |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Isogeny.PolarizationTypeLocus |
| 3 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Unit.TranslationDivisorPolarization |
| 4 | |
| 5 | /-! # Polarization Parameter -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Unit.PolarizationParameter.UnitPolarizationLocus |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The actual closed division locus, normalized graph-frame scheme, |
| 12 | and clopen original kernel-type locus give one quasi-compact locally |
| 13 | finite-type monomorphism. Its universal divisor is an original |
| 14 | polarization, and its classification holds on every test scheme. -/ |
| 15 | |
| 16 | open _root_.CategoryTheory _root_.AlgebraicGeometry _root_.CategoryTheory.Limits |
| 17 | open _root_.CategoryTheory.MonoidalCategory |
| 18 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 19 | |
| 20 | variable {S : Scheme} [IsAffine S] [IsLocallyNoetherian S] {g : ℕ} |
| 21 | variable {A : Abelian.Schemes.AbelianScheme g S} (D : Dual.Data.DualAbelianData A) |
| 22 | variable (m : Abelian.Schemes.AbelianScheme.Isogeny A D.abelian) [Etale m.hom.left] |
| 23 | variable (d : ℕ) (hunit : IsUnit ((2 * d : ℕ) : Γ(S, ⊤))) |
| 24 | variable (P : Projective.ProjectivePresentations.ProjectivePresentation A.scheme) (L : Line.Bundles.LineBundle A.scheme.left) |
| 25 | variable (δ : Fin g → ℕ) (hδ : ∀ i, 0 < δ i) |
| 26 | |
| 27 | abbrev graphBase : Over S := DivisorGraphParameter.UnitDivisorGraphLocus.parameter D m d hunit P L |
| 28 | |
| 29 | abbrev graphIsogeny : |
| 30 | Abelian.Schemes.AbelianScheme.Isogeny (A.pullback (graphBase D m d hunit P L).hom) |
| 31 | (D.abelian.pullback (graphBase D m d hunit P L).hom) := |
| 32 | DivisorGraphParameter.UnitDivisorGraphLocus.isogeny D m d hunit P L |
| 33 | |
| 34 | include hδ in |
| 35 | private theorem exists_typeOpen : |
| 36 | ∃ U : (graphBase D m d hunit P L).left.Opens, |
| 37 | IsClopen (U : Set (graphBase D m d hunit P L).left) ∧ |
| 38 | ∀ (T : Scheme) (b : T ⟶ (graphBase D m d hunit P L).left), |
| 39 | (∃ c : T ⟶ U, c ≫ U.ι = b) ↔ |
| 40 | ((graphIsogeny D m d hunit P L).pullback b).HasPolarizationType δ := |
| 41 | Isogeny.PolarizationTypeLocus.isogeny_polarizationTypeOpen (graphIsogeny D m d hunit P L) δ hδ |
| 42 | |
| 43 | def typeOpen : (graphBase D m d hunit P L).left.Opens := |
| 44 | (exists_typeOpen D m d hunit P L δ hδ).choose |
| 45 | |
| 46 | private theorem typeOpen_spec : |
| 47 | IsClopen (typeOpen D m d hunit P L δ hδ : Set (graphBase D m d hunit P L).left) ∧ |
| 48 | ∀ (T : Scheme) (b : T ⟶ (graphBase D m d hunit P L).left), |
| 49 | (∃ c : T ⟶ typeOpen D m d hunit P L δ hδ, |
| 50 | c ≫ (typeOpen D m d hunit P L δ hδ).ι = b) ↔ |
| 51 | ((graphIsogeny D m d hunit P L).pullback b).HasPolarizationType δ := |
| 52 | (exists_typeOpen D m d hunit P L δ hδ).choose_spec |
| 53 | |
| 54 | instance typeOpen_inclusion_isClosedImmersion : |
| 55 | IsClosedImmersion (typeOpen D m d hunit P L δ hδ).ι := by |
| 56 | apply IsClosedImmersion.of_isPreimmersion |
| 57 | simpa only [Scheme.Opens.range_ι] using (typeOpen_spec D m d hunit P L δ hδ).1.isClosed |
| 58 | |
| 59 | def parameter : Over S := |
| 60 | Over.mk ((typeOpen D m d hunit P L δ hδ).ι ≫ (graphBase D m d hunit P L).hom) |
| 61 | |
| 62 | def toGraph : parameter D m d hunit P L δ hδ ⟶ graphBase D m d hunit P L := |
| 63 | Over.homMk (typeOpen D m d hunit P L δ hδ).ι rfl |
| 64 | |
| 65 | instance parameter_locallyOfFiniteType : |
| 66 | LocallyOfFiniteType (parameter D m d hunit P L δ hδ).hom := by |
| 67 | change LocallyOfFiniteType |
| 68 | ((typeOpen D m d hunit P L δ hδ).ι ≫ (graphBase D m d hunit P L).hom) |
| 69 | infer_instance |
| 70 | |
| 71 | instance parameter_quasiCompact : QuasiCompact (parameter D m d hunit P L δ hδ).hom := by |
| 72 | change QuasiCompact |
| 73 | ((typeOpen D m d hunit P L δ hδ).ι ≫ (graphBase D m d hunit P L).hom) |
| 74 | infer_instance |
| 75 | |
| 76 | instance parameter_mono : Mono (parameter D m d hunit P L δ hδ).hom := by |
| 77 | change Mono ((typeOpen D m d hunit P L δ hδ).ι ≫ (graphBase D m d hunit P L).hom) |
| 78 | infer_instance |
| 79 | |
| 80 | instance parameter_locallyNoetherian : |
| 81 | IsLocallyNoetherian (parameter D m d hunit P L δ hδ).left := |
| 82 | LocallyOfFiniteType.isLocallyNoetherian (parameter D m d hunit P L δ hδ).hom |
| 83 | |
| 84 | theorem parameter_hasPoint_iff (T : Over S) : |
| 85 | Nonempty (T ⟶ parameter D m d hunit P L δ hδ) ↔ |
| 86 | ∃ p : Abelian.Schemes.AbelianScheme.Isogeny (A.pullback T.hom) (D.abelian.pullback T.hom), |
| 87 | ((A.pullback T.hom).multiplication (2 * d) ≫ p.hom = (Over.pullback T.hom).map m.hom) ∧ |
| 88 | p.HasPolarizationType δ ∧ |
| 89 | Nonempty (((A.zeroNormalizedBundle L).pullback (pullback.fst A.scheme.hom T.hom)).sheaf ≅ |
| 90 | ((PoincareGraph.Bundles.poincareGraphBundle (D.pullback T.hom) p.hom).tensorPower d).sheaf) := by |
| 91 | constructor |
| 92 | · rintro ⟨a⟩ |
| 93 | let b := a ≫ toGraph D m d hunit P L δ hδ |
| 94 | let p := DivisorGraphParameter.UnitDivisorGraphLocus.isogenyAt D m d hunit P L b |
| 95 | have hp : (A.pullback T.hom).multiplication (2 * d) ≫ p.hom = |
| 96 | (Over.pullback T.hom).map m.hom := |
| 97 | DivisorGraphParameter.UnitDivisorGraphLocus.isogenyAt_division D m d hunit P L b |
| 98 | have ht : ((graphIsogeny D m d hunit P L).pullback b.left).HasPolarizationType δ := |
| 99 | ((typeOpen_spec D m d hunit P L δ hδ).2 T.left b.left).mp ⟨a.left, rfl⟩ |
| 100 | refine ⟨p, hp, ?_, ?_⟩ |
| 101 | · exact (Isogeny.ParameterPullback.isogenyParameterPullback_hasType_iff A D.abelian |
| 102 | (graphIsogeny D m d hunit P L) b δ).mpr ht |
| 103 | · exact (DivisorGraphParameter.UnitDivisorGraphLocus.parameter_hasPoint_iff_of_division |
| 104 | D m d hunit P L p hp).mp ⟨b⟩ |
| 105 | · rintro ⟨p, hp, ht, hG⟩ |
| 106 | obtain ⟨b⟩ := (DivisorGraphParameter.UnitDivisorGraphLocus.parameter_hasPoint_iff_of_division |
| 107 | D m d hunit P L p hp).mpr hG |
| 108 | have he : DivisorGraphParameter.UnitDivisorGraphLocus.isogenyAt D m d hunit P L b = p := |
| 109 | DivisorGraphParameter.UnitDivisorGraphLocus.isogenyAt_eq D m d hunit P L b p hp |
| 110 | have ht' : (DivisorGraphParameter.UnitDivisorGraphLocus.isogenyAt D m d hunit P L b).HasPolarizationType δ := |
| 111 | he.symm ▸ ht |
| 112 | have ht'' : ((graphIsogeny D m d hunit P L).pullback b.left).HasPolarizationType δ := |
| 113 | (Isogeny.ParameterPullback.isogenyParameterPullback_hasType_iff A D.abelian |
| 114 | (graphIsogeny D m d hunit P L) b δ).mp ht' |
| 115 | obtain ⟨c, hc⟩ := ((typeOpen_spec D m d hunit P L δ hδ).2 T.left b.left).mpr ht'' |
| 116 | refine ⟨Over.homMk c ?_⟩ |
| 117 | change c ≫ ((typeOpen D m d hunit P L δ hδ).ι ≫ (graphBase D m d hunit P L).hom) = T.hom |
| 118 | rw [← Category.assoc, hc, b.w] |
| 119 | |
| 120 | private theorem universal_data : |
| 121 | ∃ p : Abelian.Schemes.AbelianScheme.Isogeny (A.pullback (parameter D m d hunit P L δ hδ).hom) |
| 122 | (D.abelian.pullback (parameter D m d hunit P L δ hδ).hom), |
| 123 | ((A.pullback (parameter D m d hunit P L δ hδ).hom).multiplication (2 * d) ≫ p.hom = |
| 124 | (Over.pullback (parameter D m d hunit P L δ hδ).hom).map m.hom) ∧ |
| 125 | p.HasPolarizationType δ ∧ |
| 126 | Nonempty (((A.zeroNormalizedBundle L).pullback |
| 127 | (pullback.fst A.scheme.hom (parameter D m d hunit P L δ hδ).hom)).sheaf ≅ |
| 128 | ((PoincareGraph.Bundles.poincareGraphBundle (D.pullback (parameter D m d hunit P L δ hδ).hom) |
| 129 | p.hom).tensorPower d).sheaf) := |
| 130 | (parameter_hasPoint_iff D m d hunit P L δ hδ (parameter D m d hunit P L δ hδ)).mp ⟨𝟙 _⟩ |
| 131 | |
| 132 | def isogeny : |
| 133 | Abelian.Schemes.AbelianScheme.Isogeny (A.pullback (parameter D m d hunit P L δ hδ).hom) |
| 134 | (D.abelian.pullback (parameter D m d hunit P L δ hδ).hom) := |
| 135 | (universal_data D m d hunit P L δ hδ).choose |
| 136 | |
| 137 | theorem isogeny_division : |
| 138 | (A.pullback (parameter D m d hunit P L δ hδ).hom).multiplication (2 * d) ≫ |
| 139 | (isogeny D m d hunit P L δ hδ).hom = |
| 140 | (Over.pullback (parameter D m d hunit P L δ hδ).hom).map m.hom := |
| 141 | (universal_data D m d hunit P L δ hδ).choose_spec.1 |
| 142 | |
| 143 | theorem isogeny_type : (isogeny D m d hunit P L δ hδ).HasPolarizationType δ := |
| 144 | (universal_data D m d hunit P L δ hδ).choose_spec.2.1 |
| 145 | |
| 146 | def universalIso : |
| 147 | ((A.zeroNormalizedBundle L).pullback |
| 148 | (pullback.fst A.scheme.hom (parameter D m d hunit P L δ hδ).hom)).sheaf ≅ |
| 149 | ((PoincareGraph.Bundles.poincareGraphBundle (D.pullback (parameter D m d hunit P L δ hδ).hom) |
| 150 | (isogeny D m d hunit P L δ hδ).hom).tensorPower d).sheaf := |
| 151 | (universal_data D m d hunit P L δ hδ).choose_spec.2.2.some |
| 152 | |
| 153 | theorem universalIsogeny_parameterPullback_eq {T : Over S} |
| 154 | (a : T ⟶ parameter D m d hunit P L δ hδ) |
| 155 | (p : Abelian.Schemes.AbelianScheme.Isogeny (A.pullback T.hom) (D.abelian.pullback T.hom)) |
| 156 | (hp : (A.pullback T.hom).multiplication (2 * d) ≫ p.hom = (Over.pullback T.hom).map m.hom) : |
| 157 | Isogeny.ParameterPullback.isogenyParameterPullback A D.abelian (isogeny D m d hunit P L δ hδ) a = p := |
| 158 | Isogeny.ParameterPullback.isogeny_eq_of_hom_eq (DivisorParameter.unit_divisor_unique |
| 159 | (A.pullback T.hom) (D.abelian.pullback T.hom) (2 * d) |
| 160 | (Abelian.Schemes.level_unit_under_base_change T.hom (2 * d) hunit) |
| 161 | (Isogeny.ParameterPullback.isogenyParameterPullback_division A D.abelian (isogeny D m d hunit P L δ hδ) a |
| 162 | (2 * d) m.hom (isogeny_division D m d hunit P L δ hδ)) hp) |
| 163 | |
| 164 | def polarization (hd : 0 < d) (hL : L.IsAmple) |
| 165 | (recover : (D.poincare.pullback (m.hom ⊗ₘ 𝟙 A.scheme).left).sheaf ≅ |
| 166 | (Picard.ThetaConstruction.RelativeDifferenceBundle.Geometric.relativeDifferenceBundle A L).sheaf) : |
| 167 | PolarizationData.Polarization (D.pullback (parameter D m d hunit P L δ hδ).hom) δ := |
| 168 | PolarizationData.Polarization.ofBaseChangedAmpleUnitTranslationDivisor D (parameter D m d hunit P L δ hδ).hom |
| 169 | (isogeny D m d hunit P L δ hδ) δ (isogeny_type D m d hunit P L δ hδ) |
| 170 | d hd hunit m.hom L hL recover (isogeny_division D m d hunit P L δ hδ) |
| 171 | (universalIso D m d hunit P L δ hδ) |
| 172 | |
| 173 | end |
| 174 | |
| 175 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Unit.PolarizationParameter.UnitPolarizationLocus |