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 Character Values -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.Picard.PoincareBundle.ParameterCharacterValues |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! Character values retain their original test scheme under parameter base change. -/ |
| 10 | |
| 11 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 12 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 13 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 14 | attribute [local instance] Over.cartesianMonoidalCategory |
| 15 | |
| 16 | universe u |
| 17 | |
| 18 | open OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.ParameterKernelPoints.Construction.KernelCharacters |
| 19 | |
| 20 | variable {S : Scheme.{u}} {Q T : Over S} (a : T ⟶ Q) |
| 21 | |
| 22 | /-- Viewing the test scheme over its parameter and then over the base preserves the actual scheme. -/ |
| 23 | def testIso : (Over.map Q.hom).obj (Over.mk a.left) ≅ T := |
| 24 | Over.isoMk (Iso.refl T.left) (by |
| 25 | change (𝟙 T.left) ≫ T.hom = a.left ≫ Q.hom |
| 26 | rw [Category.id_comp, a.w]) |
| 27 | |
| 28 | /-- The comparison preserves the specified parameter point. -/ |
| 29 | theorem testIso_projection : (testIso a).hom ≫ a = AbelianScheme.CartierDuality.CharacterUnitValues.Construction.KernelCharacters.parameterProjection Q (Over.mk a.left) := by |
| 30 | apply Over.OverMorphism.ext |
| 31 | exact Category.id_comp _ |
| 32 | |
| 33 | variable {A : Over S} [GrpObj A] |
| 34 | |
| 35 | /-- A point in the original family defines a point of the actual base-changed group. -/ |
| 36 | def point (x : T ⟶ A) : Over.mk a.left ⟶ (Over.pullback Q.hom).obj A := |
| 37 | AbelianScheme.CartierDuality.CharacterBaseChange.Construction.Schemes.pullbackPointMulEquiv Q.hom (Grp.mk A) (Over.mk a.left) ((testIso a).hom ≫ x) |
| 38 | |
| 39 | theorem point_original (x : T ⟶ A) : |
| 40 | (AbelianScheme.CartierDuality.CharacterBaseChange.Construction.Schemes.pullbackPointMulEquiv Q.hom (Grp.mk A) (Over.mk a.left)).symm (point a x) = |
| 41 | (testIso a).hom ≫ x := |
| 42 | (AbelianScheme.CartierDuality.CharacterBaseChange.Construction.Schemes.pullbackPointMulEquiv Q.hom (Grp.mk A) (Over.mk a.left)).symm_apply_apply _ |
| 43 | |
| 44 | /-- The point map is exactly the original product family map. -/ |
| 45 | theorem point_left (x : T ⟶ A) : (point a x).left = (lift a x).left ≫ AbelianScheme.CartierDuality.ParameterizedCharacterLines.Construction.KernelCharacters.parameterFamilyMap A Q := by |
| 46 | apply pullback.hom_ext |
| 47 | · have h := congrArg Over.Hom.left (point_original a x) |
| 48 | rw [AbelianScheme.CartierDuality.ParameterKernelPoints.Construction.KernelCharacters.pullbackPoint_original_left] at h |
| 49 | change (point a x).left ≫ pullback.fst A.hom Q.hom = (𝟙 T.left) ≫ x.left at h |
| 50 | rw [Category.id_comp] at h |
| 51 | rw [Category.assoc, AbelianScheme.CartierDuality.ParameterFamily.Construction.KernelCharacters.parameterFamilyMap_fst, ← Over.comp_left, lift_snd] |
| 52 | exact h |
| 53 | · rw [Category.assoc, AbelianScheme.CartierDuality.ParameterFamily.Construction.KernelCharacters.parameterFamilyMap_snd, ← Over.comp_left, lift_fst] |
| 54 | exact (point a x).w |
| 55 | |
| 56 | variable {B : Over S} [GrpObj B] (f : A ⟶ B) [IsMonHom f] |
| 57 | (χ : (AbelianScheme.CartierDuality.CharacterSheaf.Construction.Schemes.characterSheaf S (Grp.mk (Homomorphisms.Kernel.Construction.kernelScheme f))).obj.obj (.op Q)) |
| 58 | |
| 59 | /-- Original and base-changed kernel evaluation agree as actual regular units. -/ |
| 60 | theorem value_eq (z : Over.mk a.left ⟶ Homomorphisms.Kernel.Construction.kernelScheme ((Over.pullback Q.hom).map f)) |
| 61 | (b : T ⟶ Homomorphisms.Kernel.Construction.kernelScheme f) |
| 62 | (hb : AbelianScheme.CartierDuality.KernelCharacterBaseChange.Construction.KernelCharacters.baseChangeKernelPoint Q.hom f (Over.mk a.left) z = (testIso a).hom ≫ b) : |
| 63 | AbelianScheme.CartierDuality.CharacterUnitValues.Construction.KernelCharacters.parameterKernelCharacter f Q χ (Over.mk a.left) z = |
| 64 | AbelianScheme.CartierDuality.CharacterUnitValues.Construction.Schemes.multiplicativeGroupUnitHom T (χ.app (.op (Over.mk a)) b) := by |
| 65 | let v : Over.mk (AbelianScheme.CartierDuality.CharacterUnitValues.Construction.KernelCharacters.parameterProjection Q (Over.mk a.left)) ⟶ Over.mk a := |
| 66 | Over.homMk (testIso a).hom (testIso_projection a) |
| 67 | have hn := χ.naturality_apply v.op b |
| 68 | have hc := (congrArg (χ.app (.op (Over.mk (AbelianScheme.CartierDuality.CharacterUnitValues.Construction.KernelCharacters.parameterProjection Q (Over.mk a.left))))) hb).trans hn |
| 69 | have hu := AbelianScheme.CartierDuality.CharacterUnitValues.Construction.Schemes.multiplicativeGroupUnitHom_natural (testIso a).hom |
| 70 | (χ.app (.op (Over.mk a)) b) |
| 71 | apply Units.ext |
| 72 | have hu' := congrArg Units.val hu |
| 73 | change (𝟙 T.left : T.left ⟶ T.left).appTop |
| 74 | (AbelianScheme.CartierDuality.CharacterUnitValues.Construction.Schemes.multiplicativeGroupUnitHom T (χ.app (.op (Over.mk a)) b)).val = _ at hu' |
| 75 | rw [Scheme.Hom.id_appTop] at hu' |
| 76 | exact (congrArg (fun v => (AbelianScheme.CartierDuality.CharacterUnitValues.Construction.Schemes.multiplicativeGroupUnitHom |
| 77 | ((Over.map Q.hom).obj (Over.mk a.left)) v).val) hc).trans hu'.symm |
| 78 | |
| 79 | end |
| 80 | |
| 81 | end OAI.AlgebraicGeometry.Picard.PoincareBundle.ParameterCharacterValues |