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.Open.FunctionsBaseChange |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.AlgebraSectionModules |
| 3 | |
| 4 | /-! # Chart Coefficient Sections -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.ChartCoefficientSections |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! An affine chart over a coefficient ring identifies its regular functions with the chart algebra, preserving the coefficients. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | variable {R A : Type u} [CommRing R] [CommRing A] {X : Scheme.{u}} |
| 17 | |
| 18 | def schemeGlobalCoefficient (p : X ⟶ Spec (.of R)) : R →+* Γ(X, ⊤) := |
| 19 | p.appTop.hom.comp (Scheme.ΓSpecIso (.of R)).inv.hom |
| 20 | |
| 21 | def affineChartSectionsIso (U : X.Opens) (e : Spec (.of A) ≅ U.toScheme) : |
| 22 | Γ(X, U) ≅ CommRingCat.of A := |
| 23 | U.topIso.symm ≪≫ Scheme.Γ.mapIso e.op ≪≫ Scheme.ΓSpecIso (.of A) |
| 24 | |
| 25 | theorem affineChartSectionsIso_coefficients (p : X ⟶ Spec (.of R)) |
| 26 | (U : X.Opens) (e : Spec (.of A) ≅ U.toScheme) (φ : R →+* A) |
| 27 | (h : e.hom ≫ U.ι ≫ p = Spec.map (CommRingCat.ofHom φ)) : |
| 28 | CommRingCat.ofHom (Coefficient.AlgebraPresheaf.coefficientSectionMap (schemeGlobalCoefficient p) U) ≫ |
| 29 | (affineChartSectionsIso U e).hom = CommRingCat.ofHom φ := by |
| 30 | change (Scheme.ΓSpecIso (.of R)).inv ≫ p.appTop ≫ |
| 31 | X.presheaf.map (homOfLE (show U ≤ ⊤ from le_top)).op ≫ |
| 32 | U.topIso.inv ≫ e.hom.appTop ≫ (Scheme.ΓSpecIso (.of A)).hom = _ |
| 33 | rw [← Open.FunctionsBaseChange.openInclusion_appTop_topIso] |
| 34 | simp only [Category.assoc, Iso.hom_inv_id_assoc] |
| 35 | calc |
| 36 | _ = (Scheme.ΓSpecIso (.of R)).inv ≫ (e.hom ≫ U.ι ≫ p).appTop ≫ |
| 37 | (Scheme.ΓSpecIso (.of A)).hom := by simp only [Scheme.Hom.comp_appTop, Category.assoc] |
| 38 | _ = (Scheme.ΓSpecIso (.of R)).inv ≫ (Spec.map (CommRingCat.ofHom φ)).appTop ≫ |
| 39 | (Scheme.ΓSpecIso (.of A)).hom := by rw [h] |
| 40 | _ = CommRingCat.ofHom φ := by |
| 41 | rw [← Category.assoc, ← Scheme.ΓSpecIso_inv_naturality (CommRingCat.ofHom φ), |
| 42 | Category.assoc, Iso.inv_hom_id, Category.comp_id] |
| 43 | |
| 44 | def affineChartCoefficientAlgEquiv [Algebra R A] (p : X ⟶ Spec (.of R)) |
| 45 | (U : X.Opens) (e : Spec (.of A) ≅ U.toScheme) |
| 46 | (h : e.hom ≫ U.ι ≫ p = Spec.map (CommRingCat.ofHom (algebraMap R A))) : |
| 47 | Coefficient.AlgebraPresheaf.coefficientAlgebraSections (schemeGlobalCoefficient p) U ≃ₐ[R] A where |
| 48 | __ := (affineChartSectionsIso U e).commRingCatIsoToRingEquiv |
| 49 | commutes' r := ConcreteCategory.congr_hom (affineChartSectionsIso_coefficients p U e (algebraMap R A) h) r |
| 50 | |
| 51 | end |
| 52 | |
| 53 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.ChartCoefficientSections |