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.Coefficient.SectionFrameCriterion |
| 2 | |
| 3 | /-! # Coefficient Section Basis -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.CoefficientSectionBasis |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! A section basis over the global ring of Spec R is a basis over R |
| 10 | with precisely the same actual sheaf sections. No field assumption is |
| 11 | needed for this coefficient transport. -/ |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | universe u v |
| 14 | set_option backward.isDefEq.respectTransparency false |
| 15 | set_option backward.isDefEq.respectTransparency.types false |
| 16 | variable {R : Type u} [CommRing R] {X : Scheme.{u}} |
| 17 | variable (p : X ⟶ Spec (.of R)) (M : X.Modules) {ι : Type v} |
| 18 | |
| 19 | def affineCoefficientSectionBasis |
| 20 | (b : Module.Basis ι Γ(Spec (.of R), ⊤) ((Coefficient.GlobalSectionsFunctor.coefficientGlobalSectionsFunctor p.appTop.hom).obj M)) : |
| 21 | Module.Basis ι R ((Coefficient.GlobalSectionsFunctor.schemeGlobalSectionsFunctor p).obj M) := by |
| 22 | let e := (Scheme.ΓSpecIso (.of R)).commRingCatIsoToRingEquiv |
| 23 | letI : Module R ((Coefficient.GlobalSectionsFunctor.coefficientGlobalSectionsFunctor p.appTop.hom).obj M) := |
| 24 | inferInstanceAs (Module R ((Coefficient.GlobalSectionsFunctor.schemeGlobalSectionsFunctor p).obj M)) |
| 25 | exact b.mapCoeffs e (by |
| 26 | intro c x |
| 27 | change (M.smul (X.presheaf.map (𝟙 (.op (⊤ : X.Opens))) |
| 28 | (Coefficient.ModulePresheaf.schemeCoefficientMap p (e c)))).hom x = |
| 29 | (M.smul (X.presheaf.map (𝟙 (.op (⊤ : X.Opens))) (p.appTop c))).hom x |
| 30 | have hc : Coefficient.ModulePresheaf.schemeCoefficientMap p (e c) = p.appTop c := |
| 31 | congrArg p.appTop (ConcreteCategory.congr_hom (Scheme.ΓSpecIso (.of R)).hom_inv_id c) |
| 32 | rw [hc]) |
| 33 | |
| 34 | theorem affineCoefficientSectionBasis_family |
| 35 | (b : Module.Basis ι Γ(Spec (.of R), ⊤) ((Coefficient.GlobalSectionsFunctor.coefficientGlobalSectionsFunctor p.appTop.hom).obj M)) : |
| 36 | Coefficient.RingSectionBasis.coefficientRingBasisFamily (Coefficient.ModulePresheaf.schemeCoefficientMap p) M (affineCoefficientSectionBasis p M b) = |
| 37 | Coefficient.RingSectionBasis.coefficientRingBasisFamily p.appTop.hom M b := by |
| 38 | funext i |
| 39 | unfold Coefficient.RingSectionBasis.coefficientRingBasisFamily affineCoefficientSectionBasis |
| 40 | erw [Module.Basis.mapCoeffs_apply] |
| 41 | rfl |
| 42 | |
| 43 | end |
| 44 | |
| 45 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Affine.CoefficientSectionBasis |