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.AbelianScheme.CartierDuality.ParameterKernelPoints |
| 2 | |
| 3 | /-! # Parameter Group Points -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.ParameterGroupPoints |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | # CartierDuality: actual group and kernel coordinates under parameter restriction |
| 11 | -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 14 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 15 | |
| 16 | attribute [local instance] Over.cartesianMonoidalCategory |
| 17 | |
| 18 | universe u |
| 19 | |
| 20 | namespace Construction.KernelCharacters |
| 21 | |
| 22 | variable {S : Scheme.{u}} |
| 23 | |
| 24 | /-- Parameter restriction of actual group-scheme points, retaining the group law. -/ |
| 25 | def parameterGroupPoint (A : Over S) [GrpObj A] {P Q : Over S} (t : P ⟶ Q) (U : Over P.left) : |
| 26 | (U ⟶ (Over.pullback P.hom).obj A) →* ((Over.map t.left).obj U ⟶ (Over.pullback Q.hom).obj A) := |
| 27 | (CharacterBaseChange.Construction.Schemes.pullbackPointMulEquiv Q.hom (Grp.mk A) ((Over.map t.left).obj U)).toMonoidHom.comp |
| 28 | (((yonedaGrp.obj (Grp.mk A)).map (ParameterKernelPoints.Construction.KernelCharacters.parameterTestIso t U).hom.op).hom.comp |
| 29 | (CharacterBaseChange.Construction.Schemes.pullbackPointMulEquiv P.hom (Grp.mk A) U).symm.toMonoidHom) |
| 30 | |
| 31 | theorem parameterGroupPoint_original (A : Over S) [GrpObj A] {P Q : Over S} (t : P ⟶ Q) (U : Over P.left) |
| 32 | (x : U ⟶ (Over.pullback P.hom).obj A) : |
| 33 | (CharacterBaseChange.Construction.Schemes.pullbackPointMulEquiv Q.hom (Grp.mk A) ((Over.map t.left).obj U)).symm |
| 34 | (parameterGroupPoint A t U x) = |
| 35 | (ParameterKernelPoints.Construction.KernelCharacters.parameterTestIso t U).hom ≫ (CharacterBaseChange.Construction.Schemes.pullbackPointMulEquiv P.hom (Grp.mk A) U).symm x := |
| 36 | (CharacterBaseChange.Construction.Schemes.pullbackPointMulEquiv Q.hom (Grp.mk A) ((Over.map t.left).obj U)).symm_apply_apply _ |
| 37 | |
| 38 | /-- The point restriction uses exactly the native map of fiber products. -/ |
| 39 | theorem parameterGroupPoint_left (A : Over S) [GrpObj A] {P Q : Over S} (t : P ⟶ Q) (U : Over P.left) |
| 40 | (x : U ⟶ (Over.pullback P.hom).obj A) : |
| 41 | (parameterGroupPoint A t U x).left = x.left ≫ ParameterFamily.Construction.KernelCharacters.parameterPullbackMap A t := by |
| 42 | apply pullback.hom_ext |
| 43 | · have h := congrArg Over.Hom.left (parameterGroupPoint_original A t U x) |
| 44 | rw [ParameterKernelPoints.Construction.KernelCharacters.pullbackPoint_original_left, Over.comp_left, ParameterKernelPoints.Construction.KernelCharacters.pullbackPoint_original_left] at h |
| 45 | change (parameterGroupPoint A t U x).left ≫ pullback.fst A.hom Q.hom = |
| 46 | (𝟙 U.left) ≫ x.left ≫ pullback.fst A.hom P.hom at h |
| 47 | rw [Category.id_comp] at h |
| 48 | exact h.trans (by rw [Category.assoc, ParameterFamily.Construction.KernelCharacters.parameterPullbackMap_fst]) |
| 49 | · rw [Category.assoc, ParameterFamily.Construction.KernelCharacters.parameterPullbackMap_snd, ← Category.assoc] |
| 50 | exact (Over.w (parameterGroupPoint A t U x)).trans (congrArg (fun a => a ≫ t.left) x.w).symm |
| 51 | |
| 52 | variable {A B : Over S} [GrpObj A] [GrpObj B] (f : A ⟶ B) |
| 53 | |
| 54 | /-- Restriction of points commutes with the actual morphism of groups. -/ |
| 55 | theorem parameterGroupPoint_comp {P Q : Over S} (t : P ⟶ Q) (U : Over P.left) |
| 56 | (x : U ⟶ (Over.pullback P.hom).obj A) : |
| 57 | parameterGroupPoint B t U (x ≫ (Over.pullback P.hom).map f) = |
| 58 | parameterGroupPoint A t U x ≫ (Over.pullback Q.hom).map f := by |
| 59 | apply Over.OverMorphism.ext |
| 60 | rw [parameterGroupPoint_left, Over.comp_left, Over.comp_left, parameterGroupPoint_left] |
| 61 | simp only [Category.assoc] |
| 62 | rw [ParameterFamily.Construction.KernelCharacters.parameterPullbackMap_square] |
| 63 | |
| 64 | variable [IsMonHom f] |
| 65 | |
| 66 | /-- The image of a restricted kernel point is the restricted image of the original kernel point. -/ |
| 67 | theorem parameterKernelPoint_inclusion {P Q : Over S} (t : P ⟶ Q) (U : Over P.left) |
| 68 | (x : U ⟶ Picard.Homomorphisms.Kernel.Construction.kernelScheme ((Over.pullback P.hom).map f)) : |
| 69 | ParameterKernelPoints.Construction.KernelCharacters.parameterKernelPoint f t U x ≫ Picard.Homomorphisms.Kernel.Construction.kernelInclusion ((Over.pullback Q.hom).map f) = |
| 70 | parameterGroupPoint A t U (x ≫ Picard.Homomorphisms.Kernel.Construction.kernelInclusion ((Over.pullback P.hom).map f)) := by |
| 71 | apply (CharacterBaseChange.Construction.Schemes.pullbackPointMulEquiv Q.hom (Grp.mk A) ((Over.map t.left).obj U)).symm.injective |
| 72 | rw [← KernelCharacterBaseChange.Construction.KernelCharacters.baseChangeKernelPoint_inclusion, ParameterKernelPoints.Construction.KernelCharacters.parameterKernelPoint_original, |
| 73 | parameterGroupPoint_original, Category.assoc, KernelCharacterBaseChange.Construction.KernelCharacters.baseChangeKernelPoint_inclusion] |
| 74 | |
| 75 | omit [IsMonHom f] in |
| 76 | /-- Equal-image pairs retain equal images after parameter restriction. -/ |
| 77 | theorem parameterGroupPoint_equalImage {P Q : Over S} (t : P ⟶ Q) (U : Over P.left) |
| 78 | (x y : U ⟶ (Over.pullback P.hom).obj A) |
| 79 | (h : x ≫ (Over.pullback P.hom).map f = y ≫ (Over.pullback P.hom).map f) : |
| 80 | parameterGroupPoint A t U x ≫ (Over.pullback Q.hom).map f = |
| 81 | parameterGroupPoint A t U y ≫ (Over.pullback Q.hom).map f := |
| 82 | (parameterGroupPoint_comp f t U x).symm.trans |
| 83 | ((congrArg (parameterGroupPoint B t U) h).trans (parameterGroupPoint_comp f t U y)) |
| 84 | |
| 85 | /-- Restriction preserves the actual kernel difference of any two covering points. -/ |
| 86 | theorem parameterKernelPoint_difference {P Q : Over S} (t : P ⟶ Q) (U : Over P.left) |
| 87 | (x y : U ⟶ (Over.pullback P.hom).obj A) |
| 88 | (h : x ≫ (Over.pullback P.hom).map f = y ≫ (Over.pullback P.hom).map f) : |
| 89 | ParameterKernelPoints.Construction.KernelCharacters.parameterKernelPoint f t U (KernelCharacterGluing.Construction.KernelCharacters.kernelDifference ((Over.pullback P.hom).map f) x y h) = |
| 90 | KernelCharacterGluing.Construction.KernelCharacters.kernelDifference ((Over.pullback Q.hom).map f) (parameterGroupPoint A t U x) (parameterGroupPoint A t U y) |
| 91 | (parameterGroupPoint_equalImage f t U x y h) := by |
| 92 | have : Mono (Picard.Homomorphisms.Kernel.Construction.kernelInclusion ((Over.pullback Q.hom).map f)) := |
| 93 | inferInstanceAs (Mono (equalizer.ι ((Over.pullback Q.hom).map f) 1)) |
| 94 | apply (cancel_mono (Picard.Homomorphisms.Kernel.Construction.kernelInclusion ((Over.pullback Q.hom).map f))).mp |
| 95 | rw [parameterKernelPoint_inclusion, KernelCharacterGluing.Construction.KernelCharacters.kernelDifference_inclusion, KernelCharacterGluing.Construction.KernelCharacters.kernelDifference_inclusion, map_mul, map_inv] |
| 96 | |
| 97 | end Construction.KernelCharacters |
| 98 | |
| 99 | end |
| 100 | |
| 101 | end OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.ParameterGroupPoints |