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.Affine.FieldPointCoordinates |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Coefficient.ModulePresheaf |
| 3 | |
| 4 | /-! # Field Coefficient Identity -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.FieldCoefficientIdentity |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The canonical coordinate algebra of an affine scheme over Spec K carries |
| 11 | exactly the scalar action obtained from its actual structure morphism. -/ |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | universe u |
| 14 | |
| 15 | theorem schemeCoefficientMap_Spec_map {K : Type u} [CommRing K] |
| 16 | {X : Scheme.{u}} [IsAffine X] (p : X ⟶ Spec (.of K)) : |
| 17 | Spec.map (CommRingCat.ofHom (Coefficient.ModulePresheaf.schemeCoefficientMap p)) = X.isoSpec.inv ≫ p := by |
| 18 | change Spec.map ((Scheme.ΓSpecIso (.of K)).inv ≫ p.appTop) = _ |
| 19 | rw [Spec.map_comp, ← Scheme.isoSpec_Spec_inv] |
| 20 | exact Scheme.isoSpec_inv_naturality p |
| 21 | |
| 22 | theorem affineOverAlgebra_algebraMap {K : Type u} [CommRing K] |
| 23 | (M : Over (Spec (.of K))) [IsAffine M.left] : |
| 24 | algebraMap K (OverChartPoints.affineOverAlgebra K M) = Coefficient.ModulePresheaf.schemeCoefficientMap M.hom := by |
| 25 | change (Spec.fullyFaithful.preimage (M.left.isoSpec.inv ≫ M.hom)).unop.hom = Coefficient.ModulePresheaf.schemeCoefficientMap M.hom |
| 26 | have h : (Spec.fullyFaithful.preimage (M.left.isoSpec.inv ≫ M.hom)).unop = |
| 27 | CommRingCat.ofHom (Coefficient.ModulePresheaf.schemeCoefficientMap M.hom) := by |
| 28 | apply Spec.map_injective |
| 29 | exact (Spec.fullyFaithful.map_preimage (M.left.isoSpec.inv ≫ M.hom)).trans |
| 30 | (schemeCoefficientMap_Spec_map M.hom).symm |
| 31 | exact congrArg CommRingCat.Hom.hom h |
| 32 | |
| 33 | def affineOverAlgebraCoefficientEquiv {K : Type u} [CommRing K] |
| 34 | (M : Over (Spec (.of K))) [IsAffine M.left] : |
| 35 | let : Algebra K Γ(M.left, ⊤) := (Coefficient.ModulePresheaf.schemeCoefficientMap M.hom).toAlgebra; |
| 36 | OverChartPoints.affineOverAlgebra K M ≃ₐ[K] Γ(M.left, ⊤) := by |
| 37 | let : Algebra K Γ(M.left, ⊤) := (Coefficient.ModulePresheaf.schemeCoefficientMap M.hom).toAlgebra |
| 38 | exact { RingEquiv.refl Γ(M.left, ⊤) with |
| 39 | commutes' r := DFunLike.congr_fun (affineOverAlgebra_algebraMap M) r } |
| 40 | |
| 41 | end |
| 42 | |
| 43 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.FieldCoefficientIdentity |