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.LineKernelCharacters |
| 2 | import OAI.AlgebraicGeometry.Picard.Homomorphisms.FramedDescentComparison |
| 3 | import OAI.AlgebraicGeometry.Picard.Homomorphisms.FrobeniusKernelBaseChange |
| 4 | |
| 5 | /-! # Kernel Character Detection -/ |
| 6 | |
| 7 | namespace OAI.AlgebraicGeometry.Picard.Homomorphisms.KernelCharacterDetection |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The kernel character retains the full original descent datum on all |
| 12 | test schemes, including nonreduced schemes. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | open scoped _root_.CategoryTheory.MonObj |
| 16 | |
| 17 | set_option backward.isDefEq.respectTransparency.types false |
| 18 | |
| 19 | namespace Construction |
| 20 | |
| 21 | universe u |
| 22 | |
| 23 | variable {S : Scheme.{u}} {A B : Over S} [GrpObj A] [GrpObj B] |
| 24 | variable (f : A ⟶ B) [IsMonHom f] |
| 25 | |
| 26 | theorem kernel_action_covers_relation {T : Over S} (x y : T ⟶ A) (h : x ≫ f = y ≫ f) : |
| 27 | ∃ z : T ⟶ Kernel.Construction.kernelScheme f, x * (z ≫ Kernel.Construction.kernelInclusion f) = y := by |
| 28 | let z := FrobeniusKernelBaseChange.Construction.kernelLift f (x⁻¹ * y) (by |
| 29 | rw [MonObj.mul_comp, GrpObj.inv_comp, h, inv_mul_cancel]) |
| 30 | refine ⟨z, ?_⟩ |
| 31 | rw [show z ≫ Kernel.Construction.kernelInclusion f = x⁻¹ * y from FrobeniusKernelBaseChange.Construction.kernelLift_inclusion _ _ _, mul_inv_cancel_left] |
| 32 | |
| 33 | variable {k : Type u} [Field k] |
| 34 | variable {A B : Over (Spec (.of k))} [GrpObj A] [GrpObj B] |
| 35 | variable {f : A ⟶ B} [IsMonHom f] |
| 36 | variable [Smooth A.hom] [IsProper A.hom] [GeometricallyConnected A.hom] |
| 37 | variable [IsAffine (Kernel.Construction.kernelScheme f).left] |
| 38 | variable (D E : IntrinsicModuleDescent.Construction.NativeModuleDescent f.left) |
| 39 | variable (e : D.module ≅ AbelianModuli.HilbertConstruction.Line.Bundles.structureModule A.left) (d : E.module ≅ AbelianModuli.HilbertConstruction.Line.Bundles.structureModule A.left) |
| 40 | |
| 41 | theorem kernelScalar_eq_implies_descentScalar_eq |
| 42 | (h : (LineKernelCocycle.Construction.framedKernelScalarCocycle f D e).kernelScalar = |
| 43 | (LineKernelCocycle.Construction.framedKernelScalarCocycle f E d).kernelScalar) |
| 44 | {T : Over (Spec (.of k))} (x y : T ⟶ A) (hxy : x ≫ f = y ≫ f) : |
| 45 | FramedDescentScalars.Construction.framedDescentScalar D e (x ≫ f).left x.left y.left rfl |
| 46 | (congrArg Over.Hom.left hxy.symm) = |
| 47 | FramedDescentScalars.Construction.framedDescentScalar E d (x ≫ f).left x.left y.left rfl |
| 48 | (congrArg Over.Hom.left hxy.symm) := by |
| 49 | obtain ⟨z, hz⟩ := kernel_action_covers_relation f x y hxy |
| 50 | have hd := (LineKernelCocycle.Construction.framedKernelScalarCocycle f D e).value_eq_kernelScalar x z |
| 51 | have he := (LineKernelCocycle.Construction.framedKernelScalarCocycle f E d).value_eq_kernelScalar x z |
| 52 | have hc : LineKernelCocycle.Construction.framedKernelScalar f D e x z = LineKernelCocycle.Construction.framedKernelScalar f E d x z := |
| 53 | hd.trans ((congrArg z.left.appTop h).trans he.symm) |
| 54 | have hD : LineKernelCocycle.Construction.framedKernelScalar f D e x z = |
| 55 | FramedDescentScalars.Construction.framedDescentScalar D e (x ≫ f).left x.left y.left rfl |
| 56 | (congrArg Over.Hom.left hxy.symm) := |
| 57 | FramedDescentScalars.Construction.framedDescentScalar_congr D e _ _ _ _ _ _ _ _ _ _ rfl rfl (congrArg Over.Hom.left hz) |
| 58 | have hE : LineKernelCocycle.Construction.framedKernelScalar f E d x z = |
| 59 | FramedDescentScalars.Construction.framedDescentScalar E d (x ≫ f).left x.left y.left rfl |
| 60 | (congrArg Over.Hom.left hxy.symm) := |
| 61 | FramedDescentScalars.Construction.framedDescentScalar_congr E d _ _ _ _ _ _ _ _ _ _ rfl rfl (congrArg Over.Hom.left hz) |
| 62 | exact hD.symm.trans (hc.trans hE) |
| 63 | |
| 64 | theorem kernelScalar_eq_implies_native_compatible |
| 65 | (h : (LineKernelCocycle.Construction.framedKernelScalarCocycle f D e).kernelScalar = |
| 66 | (LineKernelCocycle.Construction.framedKernelScalarCocycle f E d).kernelScalar) |
| 67 | {T : Scheme.{u}} (q : T ⟶ B.left) (x y : T ⟶ A.left) |
| 68 | (hx : x ≫ f.left = q) (hy : y ≫ f.left = q) : |
| 69 | (Scheme.Modules.pullback x).map (e.hom ≫ d.inv) ≫ E.hom q x y hx hy = |
| 70 | D.hom q x y hx hy ≫ (Scheme.Modules.pullback y).map (e.hom ≫ d.inv) := by |
| 71 | let T' : Over (Spec (.of k)) := Over.mk (x ≫ A.hom) |
| 72 | let x' : T' ⟶ A := Over.homMk x rfl |
| 73 | let y' : T' ⟶ A := Over.homMk y (by |
| 74 | change y ≫ A.hom = x ≫ A.hom |
| 75 | rw [← Over.w f, ← Category.assoc, ← Category.assoc, hx, hy]) |
| 76 | have hxy : x' ≫ f = y' ≫ f := Over.OverMorphism.ext (hx.trans hy.symm) |
| 77 | have hs := kernelScalar_eq_implies_descentScalar_eq D E e d h x' y' hxy |
| 78 | have hD := FramedDescentScalars.Construction.framedDescentScalar_congr D e (x' ≫ f).left q x'.left x y'.left y |
| 79 | rfl (congrArg Over.Hom.left hxy.symm) hx hy hx rfl rfl |
| 80 | have hE := FramedDescentScalars.Construction.framedDescentScalar_congr E d (x' ≫ f).left q x'.left x y'.left y |
| 81 | rfl (congrArg Over.Hom.left hxy.symm) hx hy hx rfl rfl |
| 82 | exact FramedDescentComparison.Construction.framedDescentScalar_eq_implies_compatible D E e d q x y hx hy |
| 83 | (hD.symm.trans (hs.trans hE)) |
| 84 | |
| 85 | end Construction |
| 86 | |
| 87 | end |
| 88 | |
| 89 | end OAI.AlgebraicGeometry.Picard.Homomorphisms.KernelCharacterDetection |