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.Picard.Homomorphisms.FramedDescentScalars |
| 2 | import OAI.AlgebraicGeometry.Picard.Homomorphisms.KernelScalar |
| 3 | |
| 4 | /-! # Line Kernel Cocycle -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.Picard.Homomorphisms.LineKernelCocycle |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A line bundle trivialized by a group morphism supplies an actual |
| 11 | scalar cocycle for the scheme-theoretic kernel action. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry Opposite |
| 14 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 15 | open OAI.AlgebraicGeometry.Picard.PoincareBundle.Geometric.KernelLinearization |
| 16 | open scoped _root_.CategoryTheory.MonObj |
| 17 | |
| 18 | set_option backward.isDefEq.respectTransparency.types false |
| 19 | |
| 20 | namespace Construction |
| 21 | |
| 22 | universe u |
| 23 | |
| 24 | variable {S : Scheme.{u}} {A B : Over S} [GrpObj A] [GrpObj B] |
| 25 | variable (f : A ⟶ B) [IsMonHom f] |
| 26 | |
| 27 | theorem kernel_translate_comp {T : Over S} (x : T ⟶ A) (z : T ⟶ Kernel.Construction.kernelScheme f) : |
| 28 | (x * (z ≫ Kernel.Construction.kernelInclusion f)) ≫ f = x ≫ f := by |
| 29 | rw [MonObj.mul_comp, Category.assoc, KernelGroup.Construction.kernelInclusion_comp, MonObj.comp_one, mul_one] |
| 30 | |
| 31 | variable (D : IntrinsicModuleDescent.Construction.NativeModuleDescent f.left) (e : D.module ≅ AbelianModuli.HilbertConstruction.Line.Bundles.structureModule A.left) |
| 32 | |
| 33 | def framedKernelScalar {T : Over S} (x : T ⟶ A) (z : T ⟶ Kernel.Construction.kernelScheme f) : Γ(T.left, ⊤) := |
| 34 | FramedDescentScalars.Construction.framedDescentScalar D e (x ≫ f).left x.left (x * (z ≫ Kernel.Construction.kernelInclusion f)).left rfl |
| 35 | (congrArg Over.Hom.left (kernel_translate_comp f x z)) |
| 36 | |
| 37 | theorem framedKernelScalar_naturality {T T' : Over S} (t : T' ⟶ T) |
| 38 | (x : T ⟶ A) (z : T ⟶ Kernel.Construction.kernelScheme f) : |
| 39 | t.left.appTop (framedKernelScalar f D e x z) = |
| 40 | framedKernelScalar f D e (t ≫ x) (t ≫ z) := by |
| 41 | have h := FramedDescentScalars.Construction.framedDescentScalar_pullback D e t.left (x ≫ f).left x.left |
| 42 | (x * (z ≫ Kernel.Construction.kernelInclusion f)).left rfl |
| 43 | (congrArg Over.Hom.left (kernel_translate_comp f x z)) |
| 44 | simp only [← Over.comp_left, MonObj.comp_mul] at h |
| 45 | exact h |
| 46 | |
| 47 | theorem framedKernelScalar_unit {T : Over S} (x : T ⟶ A) : |
| 48 | framedKernelScalar f D e x 1 = 1 := by |
| 49 | unfold framedKernelScalar |
| 50 | simp only [MonObj.one_comp, mul_one] |
| 51 | exact FramedDescentScalars.Construction.framedDescentScalar_self D e _ _ _ |
| 52 | |
| 53 | theorem framedKernelScalar_cocycle {T : Over S} (x : T ⟶ A) |
| 54 | (z w : T ⟶ Kernel.Construction.kernelScheme f) : |
| 55 | framedKernelScalar f D e x z * framedKernelScalar f D e (x * (z ≫ Kernel.Construction.kernelInclusion f)) w = |
| 56 | framedKernelScalar f D e x (z * w) := by |
| 57 | let y := x * (z ≫ Kernel.Construction.kernelInclusion f) |
| 58 | let z' := y * (w ≫ Kernel.Construction.kernelInclusion f) |
| 59 | have hy : y ≫ f = x ≫ f := kernel_translate_comp f x z |
| 60 | have hz : z' ≫ f = x ≫ f := (kernel_translate_comp f y w).trans hy |
| 61 | have hend : z' = x * ((z * w) ≫ Kernel.Construction.kernelInclusion f) := by |
| 62 | dsimp [z', y] |
| 63 | rw [MonObj.mul_comp, mul_assoc] |
| 64 | have hy' := congrArg Over.Hom.left hy |
| 65 | have hz' := congrArg Over.Hom.left hz |
| 66 | have h₂ : framedKernelScalar f D e y w = |
| 67 | FramedDescentScalars.Construction.framedDescentScalar D e (x ≫ f).left y.left z'.left hy' hz' := |
| 68 | FramedDescentScalars.Construction.framedDescentScalar_congr D e _ _ _ _ _ _ _ _ _ _ hy' rfl rfl |
| 69 | have h₃ : FramedDescentScalars.Construction.framedDescentScalar D e (x ≫ f).left x.left z'.left rfl hz' = |
| 70 | framedKernelScalar f D e x (z * w) := |
| 71 | FramedDescentScalars.Construction.framedDescentScalar_congr D e _ _ _ _ _ _ _ _ _ _ rfl rfl (congrArg Over.Hom.left hend) |
| 72 | exact (congrArg (fun a => framedKernelScalar f D e x z * a) h₂).trans |
| 73 | ((FramedDescentScalars.Construction.framedDescentScalar_comp D e (x ≫ f).left x.left y.left z'.left rfl hy' hz').trans h₃) |
| 74 | |
| 75 | def framedKernelScalarCocycle : KernelScalar.Construction.KernelScalarCocycle f where |
| 76 | value := framedKernelScalar f D e |
| 77 | isUnit _ _ := FramedDescentScalars.Construction.framedDescentScalar_isUnit D e _ _ _ _ _ |
| 78 | naturality := framedKernelScalar_naturality f D e |
| 79 | unit := framedKernelScalar_unit f D e |
| 80 | cocycle := framedKernelScalar_cocycle f D e |
| 81 | |
| 82 | def pullbackLineNativeDatum (L : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle B.left) : IntrinsicModuleDescent.Construction.NativeModuleDescent f.left := |
| 83 | IntrinsicModuleDescent.Construction.NativeModuleDescent.ofPseudofunctor f.left |
| 84 | ((PoincareBundle.Geometric.KernelLinearization.modulePullbacks.toDescentData (fun (_ : PUnit.{1}) => f.left)).obj L.sheaf) |
| 85 | |
| 86 | def pullbackLineKernelCocycle (L : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle B.left) |
| 87 | (e : (Scheme.Modules.pullback f.left).obj L.sheaf ≅ AbelianModuli.HilbertConstruction.Line.Bundles.structureModule A.left) : |
| 88 | KernelScalar.Construction.KernelScalarCocycle f := |
| 89 | framedKernelScalarCocycle f (pullbackLineNativeDatum f L) e |
| 90 | |
| 91 | end Construction |
| 92 | |
| 93 | end |
| 94 | |
| 95 | end OAI.AlgebraicGeometry.Picard.Homomorphisms.LineKernelCocycle |