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.Spec.CoefficientCechComparison |
| 2 | import Mathlib.RingTheory.Ideal.Quotient.Operations |
| 3 | |
| 4 | /-! # Quotient Coefficient Map -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.QuotientCoefficientMap |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The morphism from a coordinate algebra to an affine scheme induces exactly the prescribed coefficient map. For a quotient, the induced scalar action is the canonical quotient action. -/ |
| 11 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 12 | universe u |
| 13 | variable {S : Scheme.{u}} [IsAffine S] {B : Type u} [CommRing B] |
| 14 | |
| 15 | def affineCoordinateMap (φ : Γ(S, ⊤) →+* B) : Spec (.of B) ⟶ S := |
| 16 | Spec.map (CommRingCat.ofHom φ) ≫ S.isoSpec.inv |
| 17 | |
| 18 | theorem specBaseCoefficientMap_specMap (g : Spec (.of B) ⟶ S) : |
| 19 | Spec.map (CommRingCat.ofHom (HilbertConstruction.Spec.CoefficientCechComparison.specBaseCoefficientMap g)) = g ≫ S.isoSpec.hom := by |
| 20 | change Spec.map (g.appTop ≫ (Scheme.ΓSpecIso (.of B)).hom) = _ |
| 21 | exact (Spec.map_comp g.appTop (Scheme.ΓSpecIso (.of B)).hom).trans |
| 22 | ((congrArg (fun v : Spec (.of B) ⟶ Spec Γ(Spec (.of B), ⊤) => v ≫ Spec.map g.appTop) |
| 23 | (Scheme.isoSpec_Spec_hom (.of B)).symm).trans (Scheme.isoSpec_hom_naturality g)) |
| 24 | |
| 25 | theorem specBaseCoefficientMap_affineCoordinateMap (φ : Γ(S, ⊤) →+* B) : |
| 26 | HilbertConstruction.Spec.CoefficientCechComparison.specBaseCoefficientMap (affineCoordinateMap φ) = φ := by |
| 27 | have h : CommRingCat.ofHom (HilbertConstruction.Spec.CoefficientCechComparison.specBaseCoefficientMap (affineCoordinateMap φ)) = |
| 28 | CommRingCat.ofHom φ := by |
| 29 | apply Spec.map_injective |
| 30 | exact (specBaseCoefficientMap_specMap (affineCoordinateMap φ)).trans |
| 31 | ((Category.assoc (Spec.map (CommRingCat.ofHom φ)) S.isoSpec.inv S.isoSpec.hom).trans |
| 32 | ((congrArg (fun v : Spec Γ(S, ⊤) ⟶ Spec Γ(S, ⊤) => Spec.map (CommRingCat.ofHom φ) ≫ v) |
| 33 | S.isoSpec.inv_hom_id).trans (Category.comp_id _))) |
| 34 | exact congrArg (fun v : Γ(S, ⊤) ⟶ CommRingCat.of B => v.hom) h |
| 35 | |
| 36 | theorem affineCoordinateMap_isClosedImmersion (φ : Γ(S, ⊤) →+* B) |
| 37 | (hφ : Function.Surjective φ) : IsClosedImmersion (affineCoordinateMap φ) := by |
| 38 | have : IsClosedImmersion (Spec.map (CommRingCat.ofHom φ)) := |
| 39 | IsClosedImmersion.spec_of_surjective (CommRingCat.ofHom φ) hφ |
| 40 | change IsClosedImmersion (Spec.map (CommRingCat.ofHom φ) ≫ S.isoSpec.inv) |
| 41 | infer_instance |
| 42 | |
| 43 | theorem affineQuotientCoefficientAlgebra_eq (I : Ideal Γ(S, ⊤)) : |
| 44 | (HilbertConstruction.Spec.CoefficientCechComparison.specBaseCoefficientMap (affineCoordinateMap (Ideal.Quotient.mk I))).toAlgebra = |
| 45 | (inferInstance : Algebra Γ(S, ⊤) (Γ(S, ⊤) ⧸ I)) := by |
| 46 | rw [specBaseCoefficientMap_affineCoordinateMap] |
| 47 | simpa only [Ideal.Quotient.algebraMap_eq] using |
| 48 | (toAlgebra_algebraMap (R := Γ(S, ⊤)) (S := Γ(S, ⊤) ⧸ I)) |
| 49 | |
| 50 | end |
| 51 | |
| 52 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.QuotientCoefficientMap |