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.TensorCanonicalDescent |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.CharacterDualPoints |
| 3 | |
| 4 | /-! # Character Line Products -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.CharacterLineProducts |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! |
| 11 | # CartierDuality: multiplying actual kernel characters tensors their descended lines |
| 12 | -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 15 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 16 | |
| 17 | attribute [local instance] Over.cartesianMonoidalCategory |
| 18 | |
| 19 | universe u |
| 20 | |
| 21 | namespace Construction.LineDescent |
| 22 | |
| 23 | /-- Equal full framed gluing scalars descend to an isomorphism of the actual lines. -/ |
| 24 | theorem lineIso_of_framedScalars {X Y : Scheme.{u}} (f : X ⟶ Y) |
| 25 | [IsAffineHom f] [Flat f] [Surjective f] (L M : AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle Y) |
| 26 | (e : (Scheme.Modules.pullback f).obj L.sheaf ≅ AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X) |
| 27 | (d : (Scheme.Modules.pullback f).obj M.sheaf ≅ AbelianModuli.HilbertConstruction.Line.Bundles.structureModule X) |
| 28 | (hs : ∀ {T : Scheme.{u}} (q : T ⟶ Y) (x y : T ⟶ X) (hx : x ≫ f = q) (hy : y ≫ f = q), |
| 29 | Picard.Homomorphisms.FramedDescentScalars.Construction.framedDescentScalar (Picard.Homomorphisms.CanonicalDescentFrames.Construction.canonicalModuleDescent f L.sheaf) e q x y hx hy = |
| 30 | Picard.Homomorphisms.FramedDescentScalars.Construction.framedDescentScalar (Picard.Homomorphisms.CanonicalDescentFrames.Construction.canonicalModuleDescent f M.sheaf) d q x y hx hy) : |
| 31 | Nonempty (L.sheaf ≅ M.sheaf) := |
| 32 | ScalarDescentSymmetry.Construction.LineDescent.lineIso_of_ordinaryIso f L M (ScalarDescentSymmetry.Construction.LineDescent.nativeDatumIso_of_framedScalars f _ _ e d hs) |
| 33 | |
| 34 | end Construction.LineDescent |
| 35 | |
| 36 | namespace Construction.KernelCharacters |
| 37 | |
| 38 | variable {S : Scheme.{u}} {A B : Over S} [GrpObj A] [GrpObj B] (f : A ⟶ B) [IsMonHom f] |
| 39 | |
| 40 | /-- Naturality of the product character is the actual multiplication of regular units. -/ |
| 41 | theorem kernelCharacter_mul_natural |
| 42 | (χ ψ : ∀ T : Over S, (T ⟶ Picard.Homomorphisms.Kernel.Construction.kernelScheme f) →* Γ(T.left, ⊤)ˣ) |
| 43 | (hχ : ∀ {T U : Over S} (t : U ⟶ T) (x : T ⟶ Picard.Homomorphisms.Kernel.Construction.kernelScheme f), |
| 44 | Units.map t.left.appTop.hom (χ T x) = χ U (t ≫ x)) |
| 45 | (hψ : ∀ {T U : Over S} (t : U ⟶ T) (x : T ⟶ Picard.Homomorphisms.Kernel.Construction.kernelScheme f), |
| 46 | Units.map t.left.appTop.hom (ψ T x) = ψ U (t ≫ x)) |
| 47 | {T U : Over S} (t : U ⟶ T) (x : T ⟶ Picard.Homomorphisms.Kernel.Construction.kernelScheme f) : |
| 48 | Units.map t.left.appTop.hom ((χ T * ψ T) x) = (χ U * ψ U) (t ≫ x) := by |
| 49 | rw [MonoidHom.mul_apply, map_mul, hχ, hψ, MonoidHom.mul_apply] |
| 50 | |
| 51 | /-- The trivial character is natural on all test schemes. -/ |
| 52 | theorem kernelCharacter_one_natural {T U : Over S} (t : U ⟶ T) (x : T ⟶ Picard.Homomorphisms.Kernel.Construction.kernelScheme f) : |
| 53 | Units.map t.left.appTop.hom ((1 : (T ⟶ Picard.Homomorphisms.Kernel.Construction.kernelScheme f) →* Γ(T.left, ⊤)ˣ) x) = |
| 54 | (1 : (U ⟶ Picard.Homomorphisms.Kernel.Construction.kernelScheme f) →* Γ(U.left, ⊤)ˣ) (t ≫ x) := by |
| 55 | apply Units.ext |
| 56 | change t.left.appTop 1 = 1 |
| 57 | exact t.left.appTop.hom.map_one |
| 58 | |
| 59 | variable [IsAffineHom f.left] [Flat f.left] [Surjective f.left] |
| 60 | (χ : ∀ T : Over S, (T ⟶ Picard.Homomorphisms.Kernel.Construction.kernelScheme f) →* Γ(T.left, ⊤)ˣ) |
| 61 | (hχ : ∀ {T U : Over S} (t : U ⟶ T) (x : T ⟶ Picard.Homomorphisms.Kernel.Construction.kernelScheme f), |
| 62 | Units.map t.left.appTop.hom (χ T x) = χ U (t ≫ x)) |
| 63 | |
| 64 | /-- The full canonical line datum has the prescribed character difference scalar. -/ |
| 65 | theorem characterDescendedLine_scalar {T : Scheme.{u}} (q : T ⟶ B.left) (x y : T ⟶ A.left) |
| 66 | (hx : x ≫ f.left = q) (hy : y ≫ f.left = q) : |
| 67 | Picard.Homomorphisms.FramedDescentScalars.Construction.framedDescentScalar (Picard.Homomorphisms.CanonicalDescentFrames.Construction.canonicalModuleDescent f.left (EffectiveKernelCharacters.Construction.KernelCharacters.characterDescendedLine f χ hχ).sheaf) |
| 68 | (EffectiveKernelCharacters.Construction.KernelCharacters.characterDescendedLineFrame f χ hχ) q x y hx hy = KernelCharacterGluing.Construction.KernelCharacters.differenceScalar f χ q x y hx hy := |
| 69 | FramedRecovery.Construction.LineDescent.scalarCocycle_recovery (KernelCharacterGluing.Construction.KernelCharacters.characterScalarCocycle f χ hχ) (EffectiveKernelCharacters.Construction.KernelCharacters.characterDescendedLine f χ hχ) |
| 70 | (EffectiveKernelCharacters.Construction.KernelCharacters.characterDescendedLineFrame f χ hχ) q x y hx hy (EffectiveKernelCharacters.Construction.KernelCharacters.characterDescendedLine_compatible f χ hχ q x y hx hy) |
| 71 | |
| 72 | variable (ψ : ∀ T : Over S, (T ⟶ Picard.Homomorphisms.Kernel.Construction.kernelScheme f) →* Γ(T.left, ⊤)ˣ) |
| 73 | (hψ : ∀ {T U : Over S} (t : U ⟶ T) (x : T ⟶ Picard.Homomorphisms.Kernel.Construction.kernelScheme f), |
| 74 | Units.map t.left.appTop.hom (ψ T x) = ψ U (t ≫ x)) |
| 75 | |
| 76 | /-- Multiplication of kernel characters is tensor product of the actual descended line bundles. -/ |
| 77 | theorem characterDescendedLine_mul : |
| 78 | Nonempty (((EffectiveKernelCharacters.Construction.KernelCharacters.characterDescendedLine f χ hχ).tensor (EffectiveKernelCharacters.Construction.KernelCharacters.characterDescendedLine f ψ hψ)).sheaf ≅ |
| 79 | (EffectiveKernelCharacters.Construction.KernelCharacters.characterDescendedLine f (fun T => χ T * ψ T) (kernelCharacter_mul_natural f χ ψ hχ hψ)).sheaf) := by |
| 80 | apply LineDescent.lineIso_of_framedScalars f.left _ _ |
| 81 | (TensorCanonicalDescent.Construction.LineDescent.tensorCoverFrame f.left (EffectiveKernelCharacters.Construction.KernelCharacters.characterDescendedLine f χ hχ) (EffectiveKernelCharacters.Construction.KernelCharacters.characterDescendedLine f ψ hψ) |
| 82 | (EffectiveKernelCharacters.Construction.KernelCharacters.characterDescendedLineFrame f χ hχ) (EffectiveKernelCharacters.Construction.KernelCharacters.characterDescendedLineFrame f ψ hψ)) |
| 83 | (EffectiveKernelCharacters.Construction.KernelCharacters.characterDescendedLineFrame f (fun T => χ T * ψ T) (kernelCharacter_mul_natural f χ ψ hχ hψ)) |
| 84 | intro T q x y hx hy |
| 85 | have ht := TensorCanonicalDescent.Construction.LineDescent.tensorCanonicalDescent_scalar f.left (EffectiveKernelCharacters.Construction.KernelCharacters.characterDescendedLine f χ hχ) |
| 86 | (EffectiveKernelCharacters.Construction.KernelCharacters.characterDescendedLine f ψ hψ) (EffectiveKernelCharacters.Construction.KernelCharacters.characterDescendedLineFrame f χ hχ) (EffectiveKernelCharacters.Construction.KernelCharacters.characterDescendedLineFrame f ψ hψ) |
| 87 | q x y hx hy |
| 88 | have hχ' := characterDescendedLine_scalar f χ hχ q x y hx hy |
| 89 | have hψ' := characterDescendedLine_scalar f ψ hψ q x y hx hy |
| 90 | have hχψ := characterDescendedLine_scalar f (fun T => χ T * ψ T) |
| 91 | (kernelCharacter_mul_natural f χ ψ hχ hψ) q x y hx hy |
| 92 | exact ht.trans ((congrArg₂ (· * ·) hχ' hψ').trans hχψ.symm) |
| 93 | |
| 94 | /-- Tensor compatibility passes to the intrinsic Picard group of line classes. -/ |
| 95 | theorem characterDescendedLine_class_mul : |
| 96 | AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.classOf (EffectiveKernelCharacters.Construction.KernelCharacters.characterDescendedLine f (fun T => χ T * ψ T) (kernelCharacter_mul_natural f χ ψ hχ hψ)) = |
| 97 | AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.classOf (EffectiveKernelCharacters.Construction.KernelCharacters.characterDescendedLine f χ hχ) * AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.classOf (EffectiveKernelCharacters.Construction.KernelCharacters.characterDescendedLine f ψ hψ) := |
| 98 | (Quotient.sound (characterDescendedLine_mul f χ hχ ψ hψ)).symm |
| 99 | |
| 100 | /-- The actual line descended from the trivial character is trivial. -/ |
| 101 | theorem characterDescendedLine_one : |
| 102 | Nonempty ((EffectiveKernelCharacters.Construction.KernelCharacters.characterDescendedLine f (fun _ => 1) (kernelCharacter_one_natural f)).sheaf ≅ |
| 103 | AbelianModuli.HilbertConstruction.Line.Bundles.structureModule B.left) := by |
| 104 | apply LineDescent.lineIso_of_framedScalars f.left _ (AbelianModuli.HilbertConstruction.Line.Bundles.LineBundle.trivial B.left) |
| 105 | (EffectiveKernelCharacters.Construction.KernelCharacters.characterDescendedLineFrame f (fun _ => 1) (kernelCharacter_one_natural f)) |
| 106 | (Picard.Homomorphisms.FramedDescentScalars.Construction.pulledModuleFrame (Iso.refl (AbelianModuli.HilbertConstruction.Line.Bundles.structureModule B.left)) f.left) |
| 107 | intro T q x y hx hy |
| 108 | have hc := characterDescendedLine_scalar f (fun _ => 1) (kernelCharacter_one_natural f) q x y hx hy |
| 109 | have hu := congrArg (AbelianModuli.HilbertConstruction.Frame.Coordinates.structureModuleEndValue T) |
| 110 | (Picard.Homomorphisms.CanonicalDescentFrames.Construction.canonicalModuleDescent_framedEnd f.left (AbelianModuli.HilbertConstruction.Line.Bundles.structureModule B.left) |
| 111 | (Iso.refl (AbelianModuli.HilbertConstruction.Line.Bundles.structureModule B.left)) q x y hx hy) |
| 112 | exact hc.trans (hu.trans (map_one (AbelianModuli.HilbertConstruction.Frame.Coordinates.structureModuleEndValue T))).symm |
| 113 | |
| 114 | end Construction.KernelCharacters |
| 115 | |
| 116 | end |
| 117 | |
| 118 | end OAI.AlgebraicGeometry.AbelianScheme.CartierDuality.CharacterLineProducts |