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.FrobeniusKernel.RelativeScalar |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.CharacterLineProducts |
| 3 | import OAI.AlgebraicGeometry.Picard.Homomorphisms.KernelCharacterDetection |
| 4 | |
| 5 | /-! # Relative Characters -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.RelativeCharacters.Construction |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! Recover pullback-trivial line bundles from their actual kernel |
| 12 | characters over bases where group-coordinate functions are constant. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 16 | open scoped _root_.CategoryTheory.MonObj |
| 17 | |
| 18 | universe u |
| 19 | |
| 20 | open OAI.AlgebraicGeometry.Picard.Homomorphisms.KernelCharacterDetection.Construction OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.CharacterLineProducts.Construction.KernelCharacters |
| 21 | |
| 22 | variable {S : Scheme.{u}} {A B : Over S} [GrpObj A] [GrpObj B] |
| 23 | variable {f : A ⟶ B} [IsMonHom f] |
| 24 | variable [IsIso (fst (Picard.Homomorphisms.Kernel.Construction.kernelScheme f) A).left.appTop] |
| 25 | |
| 26 | def kernelScalarUnitCharacter (D : Picard.Homomorphisms.KernelScalar.Construction.KernelScalarCocycle f) (T : Over S) : |
| 27 | (T ⟶ Picard.Homomorphisms.Kernel.Construction.kernelScheme f) →* Γ(T.left, ⊤)ˣ where |
| 28 | toFun z := Units.map z.left.appTop.hom D.kernelScalar_isUnit.unit |
| 29 | map_one' := Units.ext (by |
| 30 | change (1 : T ⟶ Picard.Homomorphisms.Kernel.Construction.kernelScheme f).left.appTop D.kernelScalar_isUnit.unit.val = 1 |
| 31 | rw [IsUnit.unit_spec] |
| 32 | exact RelativeScalar.Construction.kernelCocycle_scalar_one_of_functions D T) |
| 33 | map_mul' z w := Units.ext (by |
| 34 | change (z * w).left.appTop D.kernelScalar_isUnit.unit.val = |
| 35 | z.left.appTop D.kernelScalar_isUnit.unit.val * w.left.appTop D.kernelScalar_isUnit.unit.val |
| 36 | rw [IsUnit.unit_spec] |
| 37 | exact RelativeScalar.Construction.kernelCocycle_scalar_mul_of_functions D z w) |
| 38 | |
| 39 | theorem kernelScalarUnitCharacter_val (D : Picard.Homomorphisms.KernelScalar.Construction.KernelScalarCocycle f) (T : Over S) |
| 40 | (z : T ⟶ Picard.Homomorphisms.Kernel.Construction.kernelScheme f) : |
| 41 | (kernelScalarUnitCharacter D T z).val = z.left.appTop D.kernelScalar := by |
| 42 | change z.left.appTop D.kernelScalar_isUnit.unit.val = _ |
| 43 | rw [IsUnit.unit_spec] |
| 44 | |
| 45 | theorem kernelScalarUnitCharacter_natural (D : Picard.Homomorphisms.KernelScalar.Construction.KernelScalarCocycle f) |
| 46 | {T U : Over S} (t : U ⟶ T) (z : T ⟶ Picard.Homomorphisms.Kernel.Construction.kernelScheme f) : |
| 47 | Units.map t.left.appTop.hom (kernelScalarUnitCharacter D T z) = |
| 48 | kernelScalarUnitCharacter D U (t ≫ z) := by |
| 49 | apply Units.ext |
| 50 | change t.left.appTop (kernelScalarUnitCharacter D T z).val = _ |
| 51 | rw [kernelScalarUnitCharacter_val, kernelScalarUnitCharacter_val] |
| 52 | exact (ConcreteCategory.congr_hom (Scheme.Hom.comp_appTop t.left z.left) D.kernelScalar).symm |
| 53 | |
| 54 | variable (D E : Picard.Homomorphisms.IntrinsicModuleDescent.Construction.NativeModuleDescent f.left) |
| 55 | variable (e : D.module ≅ AbelianModuli.HilbertConstruction.Line.Bundles.structureModule A.left) (d : E.module ≅ AbelianModuli.HilbertConstruction.Line.Bundles.structureModule A.left) |
| 56 | |
| 57 | theorem kernelScalar_eq_implies_descentScalar_eq_of_functions |
| 58 | (h : (Picard.Homomorphisms.LineKernelCocycle.Construction.framedKernelScalarCocycle f D e).kernelScalar = |
| 59 | (Picard.Homomorphisms.LineKernelCocycle.Construction.framedKernelScalarCocycle f E d).kernelScalar) |
| 60 | {T : Over S} (x y : T ⟶ A) (hxy : x ≫ f = y ≫ f) : |
| 61 | Picard.Homomorphisms.FramedDescentScalars.Construction.framedDescentScalar D e (x ≫ f).left x.left y.left rfl |
| 62 | (congrArg Over.Hom.left hxy.symm) = |
| 63 | Picard.Homomorphisms.FramedDescentScalars.Construction.framedDescentScalar E d (x ≫ f).left x.left y.left rfl |
| 64 | (congrArg Over.Hom.left hxy.symm) := by |
| 65 | obtain ⟨z, hz⟩ := Picard.Homomorphisms.KernelCharacterDetection.Construction.kernel_action_covers_relation f x y hxy |
| 66 | have hd := RelativeScalar.Construction.kernelCocycle_value_eq_scalar_of_functions (Picard.Homomorphisms.LineKernelCocycle.Construction.framedKernelScalarCocycle f D e) x z |
| 67 | have he := RelativeScalar.Construction.kernelCocycle_value_eq_scalar_of_functions (Picard.Homomorphisms.LineKernelCocycle.Construction.framedKernelScalarCocycle f E d) x z |
| 68 | have hc : Picard.Homomorphisms.LineKernelCocycle.Construction.framedKernelScalar f D e x z = Picard.Homomorphisms.LineKernelCocycle.Construction.framedKernelScalar f E d x z := |
| 69 | hd.trans ((congrArg z.left.appTop h).trans he.symm) |
| 70 | have hD : Picard.Homomorphisms.LineKernelCocycle.Construction.framedKernelScalar f D e x z = |
| 71 | Picard.Homomorphisms.FramedDescentScalars.Construction.framedDescentScalar D e (x ≫ f).left x.left y.left rfl |
| 72 | (congrArg Over.Hom.left hxy.symm) := |
| 73 | Picard.Homomorphisms.FramedDescentScalars.Construction.framedDescentScalar_congr D e _ _ _ _ _ _ _ _ _ _ rfl rfl (congrArg Over.Hom.left hz) |
| 74 | have hE : Picard.Homomorphisms.LineKernelCocycle.Construction.framedKernelScalar f E d x z = |
| 75 | Picard.Homomorphisms.FramedDescentScalars.Construction.framedDescentScalar E d (x ≫ f).left x.left y.left rfl |
| 76 | (congrArg Over.Hom.left hxy.symm) := |
| 77 | Picard.Homomorphisms.FramedDescentScalars.Construction.framedDescentScalar_congr E d _ _ _ _ _ _ _ _ _ _ rfl rfl (congrArg Over.Hom.left hz) |
| 78 | exact hD.symm.trans (hc.trans hE) |
| 79 | |
| 80 | theorem kernelScalar_eq_implies_fullScalar_eq_of_functions |
| 81 | (h : (Picard.Homomorphisms.LineKernelCocycle.Construction.framedKernelScalarCocycle f D e).kernelScalar = |
| 82 | (Picard.Homomorphisms.LineKernelCocycle.Construction.framedKernelScalarCocycle f E d).kernelScalar) |
| 83 | {T : Scheme.{u}} (q : T ⟶ B.left) (x y : T ⟶ A.left) |
| 84 | (hx : x ≫ f.left = q) (hy : y ≫ f.left = q) : |
| 85 | Picard.Homomorphisms.FramedDescentScalars.Construction.framedDescentScalar D e q x y hx hy = Picard.Homomorphisms.FramedDescentScalars.Construction.framedDescentScalar E d q x y hx hy := by |
| 86 | let T' : Over S := Over.mk (x ≫ A.hom) |
| 87 | let x' : T' ⟶ A := Over.homMk x rfl |
| 88 | let y' : T' ⟶ A := Over.homMk y (by |
| 89 | change y ≫ A.hom = x ≫ A.hom |
| 90 | rw [← Over.w f, ← Category.assoc, ← Category.assoc, hx, hy]) |
| 91 | have hxy : x' ≫ f = y' ≫ f := Over.OverMorphism.ext (hx.trans hy.symm) |
| 92 | have hs := kernelScalar_eq_implies_descentScalar_eq_of_functions D E e d h x' y' hxy |
| 93 | have hD := Picard.Homomorphisms.FramedDescentScalars.Construction.framedDescentScalar_congr D e (x' ≫ f).left q x'.left x y'.left y |
| 94 | rfl (congrArg Over.Hom.left hxy.symm) hx hy hx rfl rfl |
| 95 | have hE := Picard.Homomorphisms.FramedDescentScalars.Construction.framedDescentScalar_congr E d (x' ≫ f).left q x'.left x y'.left y |
| 96 | rfl (congrArg Over.Hom.left hxy.symm) hx hy hx rfl rfl |
| 97 | exact hD.symm.trans (hs.trans hE) |
| 98 | |
| 99 | variable [IsAffineHom f.left] [Flat f.left] [Surjective f.left] |
| 100 | |
| 101 | theorem lineIso_of_kernelScalar_eq_of_functions (L M : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle B.left) |
| 102 | (eL : (Scheme.Modules.pullback f.left).obj L.sheaf ≅ AbelianModuli.HilbertConstruction.Line.Bundles.structureModule A.left) |
| 103 | (eM : (Scheme.Modules.pullback f.left).obj M.sheaf ≅ AbelianModuli.HilbertConstruction.Line.Bundles.structureModule A.left) |
| 104 | (h : (Picard.Homomorphisms.LineKernelCocycle.Construction.pullbackLineKernelCocycle f L eL).kernelScalar = |
| 105 | (Picard.Homomorphisms.LineKernelCocycle.Construction.pullbackLineKernelCocycle f M eM).kernelScalar) : Nonempty (L.sheaf ≅ M.sheaf) := |
| 106 | CartierDuality.CharacterLineProducts.Construction.LineDescent.lineIso_of_framedScalars f.left L M eL eM |
| 107 | (kernelScalar_eq_implies_fullScalar_eq_of_functions (f := f) |
| 108 | (Picard.Homomorphisms.CanonicalDescentFrames.Construction.canonicalModuleDescent f.left L.sheaf) (Picard.Homomorphisms.CanonicalDescentFrames.Construction.canonicalModuleDescent f.left M.sheaf) eL eM h) |
| 109 | |
| 110 | theorem pullbackTrivialLine_from_kernelCharacter (L : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle B.left) |
| 111 | (eL : (Scheme.Modules.pullback f.left).obj L.sheaf ≅ AbelianModuli.HilbertConstruction.Line.Bundles.structureModule A.left) : |
| 112 | ∃ (χ : ∀ T : Over S, (T ⟶ Picard.Homomorphisms.Kernel.Construction.kernelScheme f) →* Γ(T.left, ⊤)ˣ) |
| 113 | (hχ : ∀ {T U : Over S} (t : U ⟶ T) (z : T ⟶ Picard.Homomorphisms.Kernel.Construction.kernelScheme f), |
| 114 | Units.map t.left.appTop.hom (χ T z) = χ U (t ≫ z)), |
| 115 | Nonempty (L.sheaf ≅ (CartierDuality.EffectiveKernelCharacters.Construction.KernelCharacters.characterDescendedLine f χ hχ).sheaf) := by |
| 116 | let C := Picard.Homomorphisms.LineKernelCocycle.Construction.pullbackLineKernelCocycle f L eL |
| 117 | let χ := kernelScalarUnitCharacter C |
| 118 | have hχ : ∀ {T U : Over S} (t : U ⟶ T) (z : T ⟶ Picard.Homomorphisms.Kernel.Construction.kernelScheme f), |
| 119 | Units.map t.left.appTop.hom (χ T z) = χ U (t ≫ z) := |
| 120 | fun t z => kernelScalarUnitCharacter_natural C t z |
| 121 | refine ⟨χ, hχ, lineIso_of_kernelScalar_eq_of_functions L _ eL |
| 122 | (CartierDuality.EffectiveKernelCharacters.Construction.KernelCharacters.characterDescendedLineFrame f χ hχ) ?_⟩ |
| 123 | have hc := CartierDuality.EffectiveKernelCharacters.Construction.KernelCharacters.characterDescendedLine_kernelScalar f χ hχ |
| 124 | have hv : (χ (Picard.Homomorphisms.Kernel.Construction.kernelScheme f) (𝟙 _)).val = C.kernelScalar := by |
| 125 | rw [kernelScalarUnitCharacter_val, Over.id_left, Scheme.Hom.id_appTop] |
| 126 | rfl |
| 127 | exact (hc.trans hv).symm |
| 128 | |
| 129 | end |
| 130 | |
| 131 | end OAI.AlgebraicGeometry.AbelianScheme.FrobeniusKernel.RelativeCharacters.Construction |