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 Mathlib.AlgebraicGeometry.Sites.Fpqc |
| 2 | import Mathlib.CategoryTheory.Limits.Preserves.Shapes.Equalizers |
| 3 | import Mathlib.CategoryTheory.Limits.Types.Equalizers |
| 4 | import Mathlib.CategoryTheory.Limits.Shapes.Opposites.Equalizers |
| 5 | import Mathlib.CategoryTheory.ConcreteCategory.EpiMono |
| 6 | |
| 7 | /-! # Effective Epi Function Descent -/ |
| 8 | |
| 9 | namespace OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.EffectiveEpiFunctionDescent |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! Regular functions descend uniquely along an effective epimorphism of schemes. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 16 | |
| 17 | universe u |
| 18 | |
| 19 | variable {X Y : Scheme.{u}} |
| 20 | |
| 21 | theorem kernelPair_globalFunctions_condition (f : Y ⟶ X) : |
| 22 | f.appTop ≫ (pullback.fst f f).appTop = f.appTop ≫ (pullback.snd f f).appTop := |
| 23 | (Scheme.Hom.comp_appTop _ _).symm.trans |
| 24 | ((congrArg Scheme.Hom.appTop (pullback.condition (f := f) (g := f))).trans |
| 25 | (Scheme.Hom.comp_appTop _ _)) |
| 26 | |
| 27 | def effectiveEpi_globalFunctions_isLimit (f : Y ⟶ X) [EffectiveEpi f] : |
| 28 | IsLimit (Fork.ofι f.appTop (kernelPair_globalFunctions_condition f)) := by |
| 29 | let h := (regularEpiOfEffectiveEpi f).isColimit |
| 30 | have hw : f.op ≫ (pullback.fst f f).op = f.op ≫ (pullback.snd f f).op := |
| 31 | congrArg Quiver.Hom.op (pullback.condition (f := f) (g := f)) |
| 32 | let ho := (Cofork.isColimitOfπEquivIsLimitOp f f pullback.condition hw rfl) h |
| 33 | exact isLimitForkMapOfIsLimit Scheme.Γ hw ho |
| 34 | |
| 35 | theorem effectiveEpi_existsUnique_globalFunction (f : Y ⟶ X) [EffectiveEpi f] |
| 36 | (r : Γ(Y, ⊤)) (hr : (pullback.fst f f).appTop r = (pullback.snd f f).appTop r) : |
| 37 | ∃! s : Γ(X, ⊤), f.appTop s = r := by |
| 38 | let h := isLimitForkMapOfIsLimit (forget CommRingCat) (kernelPair_globalFunctions_condition f) |
| 39 | (effectiveEpi_globalFunctions_isLimit f) |
| 40 | exact Types.unique_of_type_equalizer _ _ h r hr |
| 41 | |
| 42 | theorem effectiveEpi_appTop_injective (f : Y ⟶ X) [EffectiveEpi f] : |
| 43 | Function.Injective f.appTop := by |
| 44 | have : Mono (Scheme.Γ.map f.op) := inferInstance |
| 45 | exact ConcreteCategory.injective_of_mono_of_preservesPullback (Scheme.Γ.map f.op) |
| 46 | |
| 47 | end |
| 48 | |
| 49 | end OAI.AlgebraicGeometry.AbelianModuli.HilbertConstruction.EffectiveEpiFunctionDescent |