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.Pullback.RefinementOpenValues |
| 2 | import OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Coefficient.PullbackSectionMap |
| 3 | |
| 4 | /-! # Pullback Refinement -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Coefficient.PullbackRefinement |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! Refinement of a pullback gives a coefficient-linear map on section presheaves, invertible on opens covered by an open refinement. -/ |
| 11 | |
| 12 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 13 | |
| 14 | universe u |
| 15 | |
| 16 | variable {X Y Z : Scheme.{u}} {R : Type u} [CommRing R] |
| 17 | variable (a : X ⟶ Y) (g : Y ⟶ Z) (f : R →+* Γ(Z, ⊤)) (M : Z.Modules) |
| 18 | |
| 19 | def coefficientPullbackRefinementMap : |
| 20 | ModulePresheaf.coefficientModulePresheaf f ((Scheme.Modules.pushforward g).obj ((Scheme.Modules.pullback g).obj M)) ⟶ |
| 21 | ModulePresheaf.coefficientModulePresheaf f |
| 22 | ((Scheme.Modules.pushforward (a ≫ g)).obj ((Scheme.Modules.pullback (a ≫ g)).obj M)) := |
| 23 | (ModulePresheafFunctor.coefficientModulePresheafFunctor f).map (OpenPullback.Refinement.openPullbackRefinementMap a g M) |
| 24 | |
| 25 | theorem coefficientPullbackRefinementMap_apply (U : Z.Opens) |
| 26 | (x : (ModulePresheaf.coefficientModulePresheaf f |
| 27 | ((Scheme.Modules.pushforward g).obj ((Scheme.Modules.pullback g).obj M))).obj (.op U)) : |
| 28 | (coefficientPullbackRefinementMap a g f M).app (.op U) x = |
| 29 | ((Scheme.Modules.pullbackComp a g).hom.app M).app ((a ≫ g) ⁻¹ᵁ U) |
| 30 | (((Scheme.Modules.pullbackPushforwardAdjunction a).unit.app ((Scheme.Modules.pullback g).obj M)).app |
| 31 | (g ⁻¹ᵁ U) x) := rfl |
| 32 | |
| 33 | theorem coefficientPullbackRefinementMap_app_isIso [IsOpenImmersion a] |
| 34 | (U : Z.Opens) (hU : g ⁻¹ᵁ U ≤ a.opensRange) : |
| 35 | IsIso ((coefficientPullbackRefinementMap a g f M).app (.op U)) := by |
| 36 | have := Pullback.RefinementOpenValues.pullbackRefinementMap_app_isIso_of_preimage a g M U hU |
| 37 | exact Pullback.RefinementOpenValues.coefficientModulePresheafMap_app_isIso f (OpenPullback.Refinement.openPullbackRefinementMap a g M) U |
| 38 | |
| 39 | theorem pullbackCoefficient_compatible_comp {B : Type u} [CommRing B] [Algebra R B] |
| 40 | (q : B →+* Γ(Y, ⊤)) (hq : q.comp (algebraMap R B) = g.appTop.hom.comp f) : |
| 41 | (a.appTop.hom.comp q).comp (algebraMap R B) = (a ≫ g).appTop.hom.comp f := by |
| 42 | ext r |
| 43 | change a.appTop (q (algebraMap R B r)) = (a ≫ g).appTop (f r) |
| 44 | rw [show q (algebraMap R B r) = g.appTop (f r) from DFunLike.congr_fun hq r] |
| 45 | rfl |
| 46 | |
| 47 | end |
| 48 | |
| 49 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.Coefficient.PullbackRefinement |