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.HodgeConjecture.HeckeCycles.EndomorphismComparison |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Abelian.Schemes |
| 3 | import OAI.AlgebraicGeometry.AbelianScheme.HomExtension |
| 4 | |
| 5 | /-! # Extending Endomorphisms -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.ExtendingEndomorphisms.CM |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Every actual endomorphism of the number-field abelian variety extends |
| 12 | over its good-reduction model. The extension is derived from proved HomExtension, |
| 13 | with the exact generic-fiber compatibility required by GeometricComparison. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | open scoped _root_.CategoryTheory.MonObj |
| 17 | |
| 18 | variable {R L K : Type} |
| 19 | [CommRing R] [IsDomain R] [IsDiscreteValuationRing R] |
| 20 | [Field L] [Algebra R L] [IsFractionRing R L] [Field K] |
| 21 | {g : ℕ} (A : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g (Spec (.of K))) |
| 22 | (B : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g (Spec (.of R))) (j : K →+* L) |
| 23 | (e : (B.pullback (Spec.map (CommRingCat.ofHom (algebraMap R L)))).scheme ≅ |
| 24 | (A.pullback (Spec.map (CommRingCat.ofHom j))).scheme) [IsMonHom e.hom] |
| 25 | |
| 26 | /-- The generic-fiber isomorphism is part of the actual model; extension |
| 27 | and its compatibility with that isomorphism are proved here. -/ |
| 28 | theorem exists_compatible_integral_endomorphism (f : FormalGeometry.Completion.Endomorphisms.Construction.AlgebraicEnd A.scheme) : |
| 29 | ∃ h : FormalGeometry.Completion.Endomorphisms.Construction.AlgebraicEnd B.scheme, |
| 30 | (Over.pullback (Spec.map (CommRingCat.ofHom (algebraMap R L)))).map h.toMul.hom.hom ≫ |
| 31 | e.hom = e.hom ≫ (Over.pullback (Spec.map (CommRingCat.ofHom j))).map f.toMul.hom.hom := by |
| 32 | let f₀ : A.scheme ⟶ A.scheme := f.toMul.hom.hom |
| 33 | let : IsMonHom f₀ := f.toMul.hom.isMonHom_hom |
| 34 | let : GrpObj ((Over.pullback (Spec.map (CommRingCat.ofHom j))).obj A.scheme) := |
| 35 | Functor.grpObjObj (F := Over.pullback (Spec.map (CommRingCat.ofHom j))) |
| 36 | let fA : (A.pullback (Spec.map (CommRingCat.ofHom j))).scheme ⟶ |
| 37 | (A.pullback (Spec.map (CommRingCat.ofHom j))).scheme := |
| 38 | (Over.pullback (Spec.map (CommRingCat.ofHom j))).map f₀ |
| 39 | let : IsMonHom fA := inferInstanceAs |
| 40 | (IsMonHom ((Over.pullback (Spec.map (CommRingCat.ofHom j))).map f₀)) |
| 41 | let fL := e.hom ≫ fA ≫ e.inv |
| 42 | have hfL : IsMonHom fL := inferInstanceAs (IsMonHom (e.hom ≫ fA ≫ e.inv)) |
| 43 | obtain ⟨h, hh, _hunique⟩ := AbelianScheme.HomExtension.neron_extension_of_abelian_hom |
| 44 | (K := L) B.scheme B.scheme fL hfL |
| 45 | let : IsMonHom h := hh.1 |
| 46 | refine ⟨Additive.ofMul (Grp.ofHom h), ?_⟩ |
| 47 | change (Over.pullback (Spec.map (CommRingCat.ofHom (algebraMap R L)))).map h ≫ |
| 48 | e.hom = _ |
| 49 | rw [hh.2] |
| 50 | exact (Category.assoc e.hom (fA ≫ e.inv) e.hom).trans |
| 51 | (congrArg (fun k => e.hom ≫ k) |
| 52 | ((Category.assoc fA e.inv e.hom).trans |
| 53 | ((congrArg (fun k => fA ≫ k) e.inv_hom_id).trans (Category.comp_id fA)))) |
| 54 | |
| 55 | def integralExtension (f : FormalGeometry.Completion.Endomorphisms.Construction.AlgebraicEnd A.scheme) : FormalGeometry.Completion.Endomorphisms.Construction.AlgebraicEnd B.scheme := |
| 56 | (exists_compatible_integral_endomorphism A B j e f).choose |
| 57 | |
| 58 | theorem integralExtension_compatible (f : FormalGeometry.Completion.Endomorphisms.Construction.AlgebraicEnd A.scheme) : |
| 59 | (Over.pullback (Spec.map (CommRingCat.ofHom (algebraMap R L)))).map |
| 60 | (integralExtension A B j e f).toMul.hom.hom ≫ e.hom = |
| 61 | e.hom ≫ (Over.pullback (Spec.map (CommRingCat.ofHom j))).map f.toMul.hom.hom := |
| 62 | (exists_compatible_integral_endomorphism A B j e f).choose_spec |
| 63 | |
| 64 | end |
| 65 | |
| 66 | end OAI.AlgebraicGeometry.HodgeConjecture.HeckeCycles.ExtendingEndomorphisms.CM |