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.Iterated.TensorExactness |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.FaithfulScalarExactness |
| 3 | import Mathlib.CategoryTheory.MorphismProperty.Basic |
| 4 | |
| 5 | /-! # Monomorphisms -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Scalar.Monomorphisms |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Monomorphisms transport through scalar-extension comparison isomorphisms and descend along faithfully flat scalar maps. -/ |
| 12 | open _root_.CategoryTheory |
| 13 | universe u v w |
| 14 | |
| 15 | theorem mono_map_iff_of_functor_iso |
| 16 | {C : Type v} {D : Type w} [Category.{u} C] [Category.{u} D] {F G : C ⥤ D} |
| 17 | (e : F ≅ G) {M N : C} (i : M ⟶ N) : Mono (F.map i) ↔ Mono (G.map i) := |
| 18 | (MorphismProperty.monomorphisms D).arrow_mk_iso_iff |
| 19 | (Arrow.isoMk (e.app M) (e.app N) (e.hom.naturality i).symm) |
| 20 | |
| 21 | theorem native_iterated_scalar_mono_iff |
| 22 | {R A B : Type u} [CommRing R] [CommRing A] [CommRing B] [Algebra R A] [Algebra A B] |
| 23 | {M N : ModuleCat.{u} R} (i : M ⟶ N) : |
| 24 | Mono ((ModuleCat.extendScalars ((algebraMap A B).comp (algebraMap R A))).map i) ↔ |
| 25 | Function.Injective ((i.hom.baseChange A).baseChange B) := by |
| 26 | have h := mono_map_iff_of_functor_iso (Iterated.TensorExactness.iteratedTensorScalarIso (R := R) (A := A) (B := B)) i |
| 27 | exact h.trans (ModuleCat.mono_iff_injective _) |
| 28 | |
| 29 | theorem native_scalar_mono_iff_of_faithfullyFlat |
| 30 | {R A : Type u} [CommRing R] [CommRing A] |
| 31 | (f : R →+* A) (hf : f.FaithfullyFlat) {M N : ModuleCat.{u} R} (i : M ⟶ N) : |
| 32 | Mono ((ModuleCat.extendScalars f).map i) ↔ Mono i := by |
| 33 | let : Algebra R A := f.toAlgebra |
| 34 | have : Module.FaithfullyFlat R A := hf |
| 35 | rw [ModuleCat.mono_iff_injective, ModuleCat.mono_iff_injective] |
| 36 | exact Module.FaithfullyFlat.lTensor_injective_iff_injective R A i.hom |
| 37 | |
| 38 | end |
| 39 | |
| 40 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Scalar.Monomorphisms |