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.FramedRecovery |
| 2 | |
| 3 | /-! # Kernel Scalar Recovery -/ |
| 4 | |
| 5 | namespace OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.KernelScalarRecovery |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | /-! |
| 10 | # CartierDuality: character evaluation recovered from the actual descended line |
| 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 | section |
| 22 | |
| 23 | variable {S : Scheme.{u}} {A B : Over S} [GrpObj A] [GrpObj B] (f : A ⟶ B) [IsMonHom f] |
| 24 | |
| 25 | /-- The difference between a point and its kernel translate is exactly that kernel element. -/ |
| 26 | theorem kernelDifference_translate {T : Over S} (x : T ⟶ A) (z : T ⟶ Picard.Homomorphisms.Kernel.Construction.kernelScheme f) : |
| 27 | KernelCharacterGluing.Construction.KernelCharacters.kernelDifference f x (x * (z ≫ Picard.Homomorphisms.Kernel.Construction.kernelInclusion f)) (Picard.Homomorphisms.LineKernelCocycle.Construction.kernel_translate_comp f x z).symm = z := by |
| 28 | have : Mono (Picard.Homomorphisms.Kernel.Construction.kernelInclusion f) := inferInstanceAs (Mono (equalizer.ι f 1)) |
| 29 | apply (cancel_mono (Picard.Homomorphisms.Kernel.Construction.kernelInclusion f)).mp |
| 30 | rw [KernelCharacterGluing.Construction.KernelCharacters.kernelDifference_inclusion] |
| 31 | exact inv_mul_cancel_left x (z ≫ Picard.Homomorphisms.Kernel.Construction.kernelInclusion f) |
| 32 | |
| 33 | variable (χ : ∀ T : Over S, (T ⟶ Picard.Homomorphisms.Kernel.Construction.kernelScheme f) →* Γ(T.left, ⊤)ˣ) |
| 34 | (hχ : ∀ {T U : Over S} (t : U ⟶ T) (x : T ⟶ Picard.Homomorphisms.Kernel.Construction.kernelScheme f), |
| 35 | Units.map t.left.appTop.hom (χ T x) = χ U (t ≫ x)) |
| 36 | |
| 37 | include hχ in |
| 38 | /-- The native test-scheme formula agrees with evaluation in the original category over the base. -/ |
| 39 | theorem differenceScalar_native {T : Over S} (x y : T ⟶ A) (h : x ≫ f = y ≫ f) : |
| 40 | KernelCharacterGluing.Construction.KernelCharacters.differenceScalar f χ (x ≫ f).left x.left y.left rfl (congrArg Over.Hom.left h.symm) = |
| 41 | (χ T (KernelCharacterGluing.Construction.KernelCharacters.kernelDifference f x y h)).val := by |
| 42 | let U := Over.mk ((x ≫ f).left ≫ B.hom) |
| 43 | let t : T ⟶ U := Over.homMk (𝟙 T.left) ((Category.id_comp _).trans (Over.w (x ≫ f))) |
| 44 | let px := KernelCharacterGluing.Construction.KernelCharacters.coverPoint f (x ≫ f).left x.left rfl |
| 45 | let py := KernelCharacterGluing.Construction.KernelCharacters.coverPoint f (x ≫ f).left y.left (congrArg Over.Hom.left h.symm) |
| 46 | have hpx : t ≫ px = x := Over.OverMorphism.ext (Category.id_comp _) |
| 47 | have hpy : t ≫ py = y := Over.OverMorphism.ext (Category.id_comp _) |
| 48 | have hd : px ≫ f = py ≫ f := |
| 49 | (KernelCharacterGluing.Construction.KernelCharacters.coverPoint_comp f _ _ rfl).trans (KernelCharacterGluing.Construction.KernelCharacters.coverPoint_comp f _ _ (congrArg Over.Hom.left h.symm)).symm |
| 50 | let z := KernelCharacterGluing.Construction.KernelCharacters.kernelDifference f px py hd |
| 51 | have hz : t ≫ z = KernelCharacterGluing.Construction.KernelCharacters.kernelDifference f x y h := |
| 52 | (KernelCharacterGluing.Construction.KernelCharacters.kernelDifference_natural f t px py hd).trans |
| 53 | (KernelCharacterGluing.Construction.KernelCharacters.kernelDifference_congr f _ _ x y _ h hpx hpy) |
| 54 | have hn := congrArg Units.val (hχ t z) |
| 55 | change t.left.appTop (χ U z).val = (χ T (t ≫ z)).val at hn |
| 56 | rw [show t.left = 𝟙 T.left from rfl, Scheme.Hom.id_appTop] at hn |
| 57 | exact hn.trans (congrArg (fun a => (χ T a).val) hz) |
| 58 | |
| 59 | include hχ in |
| 60 | /-- Character gluing on a kernel translate is the actual character value. -/ |
| 61 | theorem differenceScalar_translate {T : Over S} (x : T ⟶ A) (z : T ⟶ Picard.Homomorphisms.Kernel.Construction.kernelScheme f) : |
| 62 | KernelCharacterGluing.Construction.KernelCharacters.differenceScalar f χ (x ≫ f).left x.left (x * (z ≫ Picard.Homomorphisms.Kernel.Construction.kernelInclusion f)).left rfl |
| 63 | (congrArg Over.Hom.left (Picard.Homomorphisms.LineKernelCocycle.Construction.kernel_translate_comp f x z)) = (χ T z).val := |
| 64 | (differenceScalar_native f χ hχ x (x * (z ≫ Picard.Homomorphisms.Kernel.Construction.kernelInclusion f)) |
| 65 | (Picard.Homomorphisms.LineKernelCocycle.Construction.kernel_translate_comp f x z).symm).trans |
| 66 | (congrArg (fun a => (χ T a).val) (kernelDifference_translate f x z)) |
| 67 | |
| 68 | variable (L : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle B.left) |
| 69 | (e : (Scheme.Modules.pullback f.left).obj L.sheaf ≅ AbelianModuli.HilbertConstruction.Line.Bundles.structureModule A.left) |
| 70 | (he : ∀ {T : Scheme.{u}} (q : T ⟶ B.left) (x y : T ⟶ A.left) |
| 71 | (hx : x ≫ f.left = q) (hy : y ≫ f.left = q), |
| 72 | DescentRelationMorphisms.Construction.LineDescent.CompatibleAt (Picard.Homomorphisms.CanonicalDescentFrames.Construction.canonicalModuleDescent f.left L.sheaf) |
| 73 | (KernelCharacterGluing.Construction.KernelCharacters.characterLineDatum f χ hχ) e.hom q x y hx hy) |
| 74 | |
| 75 | include he in |
| 76 | /-- Every recovered line has the supplied character on every kernel-valued test point. -/ |
| 77 | theorem recoveredLine_kernelValue {T : Over S} (x : T ⟶ A) (z : T ⟶ Picard.Homomorphisms.Kernel.Construction.kernelScheme f) : |
| 78 | Picard.Homomorphisms.LineKernelCocycle.Construction.framedKernelScalar f (Picard.Homomorphisms.CanonicalDescentFrames.Construction.canonicalModuleDescent f.left L.sheaf) e x z = (χ T z).val := |
| 79 | (FramedRecovery.Construction.LineDescent.scalarCocycle_recovery (KernelCharacterGluing.Construction.KernelCharacters.characterScalarCocycle f χ hχ) L e |
| 80 | (x ≫ f).left x.left (x * (z ≫ Picard.Homomorphisms.Kernel.Construction.kernelInclusion f)).left rfl |
| 81 | (congrArg Over.Hom.left (Picard.Homomorphisms.LineKernelCocycle.Construction.kernel_translate_comp f x z)) |
| 82 | (he _ _ _ _ _)).trans (differenceScalar_translate f χ hχ x z) |
| 83 | |
| 84 | include he in |
| 85 | /-- The universal kernel scalar of the recovered line is the original regular character. -/ |
| 86 | theorem recoveredLine_kernelScalar : |
| 87 | (Picard.Homomorphisms.LineKernelCocycle.Construction.pullbackLineKernelCocycle f L e).kernelScalar = (χ (Picard.Homomorphisms.Kernel.Construction.kernelScheme f) (𝟙 (Picard.Homomorphisms.Kernel.Construction.kernelScheme f))).val := |
| 88 | recoveredLine_kernelValue f χ hχ L e he 1 (𝟙 (Picard.Homomorphisms.Kernel.Construction.kernelScheme f)) |
| 89 | |
| 90 | end |
| 91 | |
| 92 | variable {R C : Type u} [CommRing R] [CommRing C] [HopfAlgebra R C] |
| 93 | {A B : Over (Spec (.of R))} [GrpObj A] [GrpObj B] (f : A ⟶ B) [IsMonHom f] |
| 94 | (i : Characters.Construction.affineHopfGroupScheme R C ≅ Grp.mk (Picard.Homomorphisms.Kernel.Construction.kernelScheme f)) (z : GroupLike R C) |
| 95 | (L : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle B.left) |
| 96 | (e : (Scheme.Modules.pullback f.left).obj L.sheaf ≅ AbelianModuli.HilbertConstruction.Line.Bundles.structureModule A.left) |
| 97 | (he : ∀ {T : Scheme.{u}} (q : T ⟶ B.left) (x y : T ⟶ A.left) |
| 98 | (hx : x ≫ f.left = q) (hy : y ≫ f.left = q), |
| 99 | DescentRelationMorphisms.Construction.LineDescent.CompatibleAt (Picard.Homomorphisms.CanonicalDescentFrames.Construction.canonicalModuleDescent f.left L.sheaf) |
| 100 | (KernelCharacterGluing.Construction.KernelCharacters.hopfCharacterLineDatum f i z) e.hom q x y hx hy) |
| 101 | |
| 102 | include he in |
| 103 | /-- The actual Hopf coordinate recovered from the descended line is the original group-like element. -/ |
| 104 | theorem recoveredLine_hopfCoordinate : |
| 105 | (Scheme.ΓSpecIso (.of C)).hom |
| 106 | (i.hom.hom.hom.left.appTop (Picard.Homomorphisms.LineKernelCocycle.Construction.pullbackLineKernelCocycle f L e).kernelScalar) = z.val := by |
| 107 | have hs := recoveredLine_kernelScalar f (KernelCharacterGluing.Construction.KernelCharacters.hopfKernelUnitHom f i z) |
| 108 | (KernelCharacterGluing.Construction.KernelCharacters.hopfKernelUnitHom_natural f i z) L e he |
| 109 | have hv : (KernelCharacterGluing.Construction.KernelCharacters.hopfKernelUnitHom f i z (Picard.Homomorphisms.Kernel.Construction.kernelScheme f) (𝟙 (Picard.Homomorphisms.Kernel.Construction.kernelScheme f))).val = |
| 110 | i.inv.hom.hom.left.appTop (HopfScalarsOf.Construction.HopfScalars.coordinateSection C z.val) := by |
| 111 | change (𝟙 (Picard.Homomorphisms.Kernel.Construction.kernelScheme f) ≫ i.inv.hom.hom).left.appTop _ = _ |
| 112 | rw [Category.id_comp] |
| 113 | have hi : i.hom.hom.hom.left ≫ i.inv.hom.hom.left = 𝟙 (Spec (.of C)) := |
| 114 | congrArg (fun a => a.hom.hom.left) i.hom_inv_id |
| 115 | have hc : i.hom.hom.hom.left.appTop |
| 116 | (i.inv.hom.hom.left.appTop (HopfScalarsOf.Construction.HopfScalars.coordinateSection C z.val)) = |
| 117 | HopfScalarsOf.Construction.HopfScalars.coordinateSection C z.val := |
| 118 | congrArg (fun a : Spec (.of C) ⟶ Spec (.of C) => a.appTop (HopfScalarsOf.Construction.HopfScalars.coordinateSection C z.val)) hi |
| 119 | exact (congrArg (fun s => (Scheme.ΓSpecIso (.of C)).hom (i.hom.hom.hom.left.appTop s)) |
| 120 | (hs.trans hv)).trans ((congrArg (Scheme.ΓSpecIso (.of C)).hom hc).trans |
| 121 | (ConcreteCategory.congr_hom (Scheme.ΓSpecIso (.of C)).inv_hom_id z.val)) |
| 122 | |
| 123 | end Construction.KernelCharacters |
| 124 | |
| 125 | end |
| 126 | |
| 127 | end OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.KernelScalarRecovery |