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.CharacterTranslations |
| 2 | import OAI.AlgebraicGeometry.Picard.PoincareBundle.Kernel.Splitting |
| 3 | |
| 4 | /-! # Character Source Map -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.CharacterSourceMap.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! A square of original group homomorphisms transports the actual |
| 13 | scheme kernel and its character differences on every test scheme. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 16 | open scoped _root_.CategoryTheory.MonObj |
| 17 | |
| 18 | open OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.CharacterTranslations.Construction.KernelCharacters |
| 19 | |
| 20 | variable {S : Scheme} {A B A' B' : Over S} |
| 21 | variable [GrpObj A] [GrpObj B] [GrpObj A'] [GrpObj B'] |
| 22 | variable (f : A ⟶ B) (f' : A' ⟶ B') [IsMonHom f] [IsMonHom f'] |
| 23 | variable (a : A' ⟶ A) (b : B' ⟶ B) [IsMonHom a] [IsMonHom b] |
| 24 | variable (h : a ≫ f = f' ≫ b) |
| 25 | |
| 26 | def kernelSourceSquareMap : Picard.Homomorphisms.Kernel.Construction.kernelScheme f' ⟶ Picard.Homomorphisms.Kernel.Construction.kernelScheme f := |
| 27 | equalizer.lift (Picard.Homomorphisms.Kernel.Construction.kernelInclusion f' ≫ a) (by |
| 28 | rw [Category.assoc, h, ← Category.assoc, Picard.Homomorphisms.KernelGroup.Construction.kernelInclusion_comp, |
| 29 | MonObj.one_comp, MonObj.comp_one]) |
| 30 | |
| 31 | omit [GrpObj A] [GrpObj A'] [IsMonHom f] [IsMonHom f'] [IsMonHom a] in |
| 32 | theorem kernelSourceSquareMap_inclusion : |
| 33 | kernelSourceSquareMap f f' a b h ≫ Picard.Homomorphisms.Kernel.Construction.kernelInclusion f = Picard.Homomorphisms.Kernel.Construction.kernelInclusion f' ≫ a := |
| 34 | equalizer.lift_ι _ _ |
| 35 | |
| 36 | instance kernelSourceSquareMap_isMonHom : IsMonHom (kernelSourceSquareMap f f' a b h) := by |
| 37 | have : Mono (Picard.Homomorphisms.Kernel.Construction.kernelInclusion f) := inferInstanceAs (Mono (equalizer.ι f (1 : A ⟶ B))) |
| 38 | have : IsMonHom (kernelSourceSquareMap f f' a b h ≫ Picard.Homomorphisms.Kernel.Construction.kernelInclusion f) := by |
| 39 | rw [kernelSourceSquareMap_inclusion] |
| 40 | infer_instance |
| 41 | exact Picard.PoincareBundle.Kernel.Splitting.isMonHom_of_mono_postcomp (kernelSourceSquareMap f f' a b h) (Picard.Homomorphisms.Kernel.Construction.kernelInclusion f) |
| 42 | |
| 43 | include h in |
| 44 | omit [GrpObj A] [GrpObj B] [GrpObj A'] [GrpObj B'] |
| 45 | [IsMonHom f] [IsMonHom f'] [IsMonHom a] [IsMonHom b] in |
| 46 | theorem sourceSquare_equalImages {T : Over S} (x y : T ⟶ A') (he : x ≫ f' = y ≫ f') : |
| 47 | (x ≫ a) ≫ f = (y ≫ a) ≫ f := by |
| 48 | rw [Category.assoc, Category.assoc, h, ← Category.assoc, ← Category.assoc, he] |
| 49 | |
| 50 | theorem kernelSourceSquareMap_difference {T : Over S} (x y : T ⟶ A') (he : x ≫ f' = y ≫ f') : |
| 51 | CartierDuality.KernelCharacterGluing.Construction.KernelCharacters.kernelDifference f' x y he ≫ kernelSourceSquareMap f f' a b h = |
| 52 | CartierDuality.KernelCharacterGluing.Construction.KernelCharacters.kernelDifference f (x ≫ a) (y ≫ a) (sourceSquare_equalImages f f' a b h x y he) := by |
| 53 | have : Mono (Picard.Homomorphisms.Kernel.Construction.kernelInclusion f) := inferInstanceAs (Mono (equalizer.ι f (1 : A ⟶ B))) |
| 54 | apply (cancel_mono (Picard.Homomorphisms.Kernel.Construction.kernelInclusion f)).mp |
| 55 | rw [Category.assoc, kernelSourceSquareMap_inclusion, ← Category.assoc, |
| 56 | CartierDuality.KernelCharacterGluing.Construction.KernelCharacters.kernelDifference_inclusion, CartierDuality.KernelCharacterGluing.Construction.KernelCharacters.kernelDifference_inclusion, MonObj.mul_comp] |
| 57 | exact congrArg (fun z => z * (y ≫ a)) (map_inv (IsMonHom.monoidHom a T) x) |
| 58 | |
| 59 | variable (χ : ∀ T : Over S, (T ⟶ Picard.Homomorphisms.Kernel.Construction.kernelScheme f) →* Γ(T.left, ⊤)ˣ) |
| 60 | variable (hχ : ∀ {T U : Over S} (t : U ⟶ T) (x : T ⟶ Picard.Homomorphisms.Kernel.Construction.kernelScheme f), |
| 61 | Units.map t.left.appTop.hom (χ T x) = χ U (t ≫ x)) |
| 62 | |
| 63 | def kernelCharacterSourceRestriction (T : Over S) : (T ⟶ Picard.Homomorphisms.Kernel.Construction.kernelScheme f') →* Γ(T.left, ⊤)ˣ := |
| 64 | (χ T).comp (IsMonHom.monoidHom (kernelSourceSquareMap f f' a b h) T) |
| 65 | |
| 66 | include hχ in |
| 67 | theorem kernelCharacterSourceRestriction_natural {T U : Over S} (t : U ⟶ T) |
| 68 | (x : T ⟶ Picard.Homomorphisms.Kernel.Construction.kernelScheme f') : |
| 69 | Units.map t.left.appTop.hom (kernelCharacterSourceRestriction f f' a b h χ T x) = |
| 70 | kernelCharacterSourceRestriction f f' a b h χ U (t ≫ x) := |
| 71 | (hχ t (x ≫ kernelSourceSquareMap f f' a b h)).trans |
| 72 | (congrArg (χ U) (Category.assoc t x (kernelSourceSquareMap f f' a b h)).symm) |
| 73 | |
| 74 | end |
| 75 | |
| 76 | /-! Original source squares preserve the full regular scalar cocycle |
| 77 | used to descend a kernel-character line. -/ |
| 78 | |
| 79 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 80 | open scoped _root_.CategoryTheory.MonObj |
| 81 | |
| 82 | open OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.CharacterTranslations.Construction.KernelCharacters |
| 83 | |
| 84 | variable {S : Scheme} {A B A' B' : Over S} |
| 85 | variable [GrpObj A] [GrpObj B] [GrpObj A'] [GrpObj B'] |
| 86 | variable (f : A ⟶ B) (f' : A' ⟶ B') [IsMonHom f] [IsMonHom f'] |
| 87 | variable (a : A' ⟶ A) (b : B' ⟶ B) [IsMonHom a] [IsMonHom b] |
| 88 | variable (h : a ≫ f = f' ≫ b) |
| 89 | variable (χ : ∀ T : Over S, (T ⟶ Picard.Homomorphisms.Kernel.Construction.kernelScheme f) →* Γ(T.left, ⊤)ˣ) |
| 90 | variable (hχ : ∀ {T U : Over S} (t : U ⟶ T) (x : T ⟶ Picard.Homomorphisms.Kernel.Construction.kernelScheme f), |
| 91 | Units.map t.left.appTop.hom (χ T x) = χ U (t ≫ x)) |
| 92 | |
| 93 | include hχ in |
| 94 | theorem differenceScalar_sourceSquare {T : Scheme} |
| 95 | (q : T ⟶ B'.left) (x y : T ⟶ A'.left) |
| 96 | (hx : x ≫ f'.left = q) (hy : y ≫ f'.left = q) : |
| 97 | CartierDuality.KernelCharacterGluing.Construction.KernelCharacters.differenceScalar f' (kernelCharacterSourceRestriction f f' a b h χ) q x y hx hy = |
| 98 | CartierDuality.KernelCharacterGluing.Construction.KernelCharacters.differenceScalar f χ (q ≫ b.left) (x ≫ a.left) (y ≫ a.left) |
| 99 | (by rw [Category.assoc, ← Over.comp_left, h, Over.comp_left, ← Category.assoc, hx]) |
| 100 | (by rw [Category.assoc, ← Over.comp_left, h, Over.comp_left, ← Category.assoc, hy]) := by |
| 101 | let U := Over.mk (q ≫ B'.hom) |
| 102 | let px : U ⟶ A' := CartierDuality.KernelCharacterGluing.Construction.KernelCharacters.coverPoint f' q x hx |
| 103 | let py : U ⟶ A' := CartierDuality.KernelCharacterGluing.Construction.KernelCharacters.coverPoint f' q y hy |
| 104 | have hd : px ≫ f' = py ≫ f' := (CartierDuality.KernelCharacterGluing.Construction.KernelCharacters.coverPoint_comp f' q x hx).trans (CartierDuality.KernelCharacterGluing.Construction.KernelCharacters.coverPoint_comp f' q y hy).symm |
| 105 | have hpx : px.left ≫ f'.left = q := hx |
| 106 | have hpy : py.left ≫ f'.left = q := hy |
| 107 | have hnew := CartierDuality.CharacterTranslations.Construction.KernelCharacters.differenceScalar_over f' (kernelCharacterSourceRestriction f f' a b h χ) |
| 108 | (kernelCharacterSourceRestriction_natural f f' a b h χ hχ) (T := U) q px py hpx hpy |
| 109 | have hax : (px ≫ a).left ≫ f.left = q ≫ b.left := by |
| 110 | change (x ≫ a.left) ≫ f.left = _ |
| 111 | rw [Category.assoc, ← Over.comp_left, h, Over.comp_left, ← Category.assoc, hx] |
| 112 | have hay : (py ≫ a).left ≫ f.left = q ≫ b.left := by |
| 113 | change (y ≫ a.left) ≫ f.left = _ |
| 114 | rw [Category.assoc, ← Over.comp_left, h, Over.comp_left, ← Category.assoc, hy] |
| 115 | have hold := CartierDuality.CharacterTranslations.Construction.KernelCharacters.differenceScalar_over f χ hχ (T := U) (q ≫ b.left) (px ≫ a) (py ≫ a) hax hay |
| 116 | exact hnew.trans ((congrArg (fun z => (χ U z).val) |
| 117 | (kernelSourceSquareMap_difference f f' a b h px py hd)).trans hold.symm) |
| 118 | |
| 119 | end |
| 120 | |
| 121 | end OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.CharacterSourceMap.Construction |