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.ArithmeticGeometry.Models.SpreadingOut.ProjectiveEmbedding |
| 2 | import OAI.ArithmeticGeometry.Models.SpreadingOut.OpenOver |
| 3 | |
| 4 | /-! # Affine Projective Chart -/ |
| 5 | |
| 6 | namespace OAI.ArithmeticGeometry.Models.SpreadingOut.AffineProjectiveChart.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Any affine finite-type scheme embeds as a closed subscheme of an open |
| 11 | chart in the generic fiber of an integral projective-space model. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 14 | |
| 15 | universe u |
| 16 | |
| 17 | theorem affine_has_closed_generic_projective_chart |
| 18 | (R K : Type u) [CommRing R] [CommRing K] [Algebra R K] |
| 19 | (X : Over (Spec (.of K))) [IsAffine X.left] [LocallyOfFiniteType X.hom] : |
| 20 | ∃ (n : ℕ) |
| 21 | (V : ((Over.pullback (Spec.map (CommRingCat.ofHom (algebraMap R K)))).obj |
| 22 | (ProjectiveEmbedding.Construction.projectiveModel R n)).left.Opens) |
| 23 | (e : X ⟶ OpenOver.Construction.overOpen |
| 24 | ((Over.pullback (Spec.map (CommRingCat.ofHom (algebraMap R K)))).obj |
| 25 | (ProjectiveEmbedding.Construction.projectiveModel R n)) V), |
| 26 | IsClosedImmersion e.left := by |
| 27 | obtain ⟨φ, hφ⟩ := Spec.map_surjective (X.left.isoSpec.inv ≫ X.hom) |
| 28 | let A := Γ(X.left, ⊤) |
| 29 | let : Algebra K A := φ.hom.toAlgebra |
| 30 | have hφFT : LocallyOfFiniteType (Spec.map φ) := by |
| 31 | rw [hφ] |
| 32 | infer_instance |
| 33 | have : Algebra.FiniteType K A := |
| 34 | (HasRingHomProperty.Spec_iff (P := @LocallyOfFiniteType)).mp hφFT |
| 35 | let eX : X ≅ Affine.Construction.affineOver K A := Over.isoMk X.left.isoSpec (by |
| 36 | change X.left.isoSpec.hom ≫ Spec.map φ = X.hom |
| 37 | rw [hφ, Iso.hom_inv_id_assoc]) |
| 38 | obtain ⟨n, i, hi⟩ := ProjectiveEmbedding.Construction.affine_finiteType_has_projective_chart_embedding K A |
| 39 | have := hi |
| 40 | let g := Spec.map (CommRingCat.ofHom (algebraMap R K)) |
| 41 | let P := (Over.pullback g).obj (ProjectiveEmbedding.Construction.projectiveModel R n) |
| 42 | let j := ProjectiveEmbedding.Construction.projectiveGenericChartHom R K n 0 |
| 43 | have : IsOpenImmersion j.left := ProjectiveEmbedding.Construction.projectiveGenericChartHom_openImmersion R K n 0 |
| 44 | let V := j.left.opensRange |
| 45 | let v : Spec (.of (Projective.Construction.ProjectiveConstruction.projectiveChartPolynomial (K := K) n 0)) ≅ |
| 46 | V.toScheme := |
| 47 | IsOpenImmersion.isoOfRangeEq j.left V.ι (by rw [Scheme.Opens.range_ι]; rfl) |
| 48 | have hv : v.hom ≫ V.ι = j.left := |
| 49 | IsOpenImmersion.isoOfRangeEq_hom_fac _ _ _ |
| 50 | let eV : Affine.Construction.affineOver K (Projective.Construction.ProjectiveConstruction.projectiveChartPolynomial (K := K) n 0) ≅ |
| 51 | OpenOver.Construction.overOpen P V := Over.isoMk v (by |
| 52 | change v.hom ≫ (V.ι ≫ P.hom) = _ |
| 53 | rw [← Category.assoc, hv] |
| 54 | exact j.w) |
| 55 | have : IsIso eX.hom.left := inferInstanceAs (IsIso ((Over.forget _).map eX.hom)) |
| 56 | have : IsIso eV.hom.left := inferInstanceAs (IsIso ((Over.forget _).map eV.hom)) |
| 57 | refine ⟨n, V, eX.hom ≫ i ≫ eV.hom, ?_⟩ |
| 58 | change IsClosedImmersion (eX.hom.left ≫ i.left ≫ eV.hom.left) |
| 59 | infer_instance |
| 60 | |
| 61 | end |
| 62 | |
| 63 | end OAI.ArithmeticGeometry.Models.SpreadingOut.AffineProjectiveChart.Construction |