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.IsogenyQuotient.Poincare.TwoVariableSymmetry |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.IsoFourSquares |
| 3 | |
| 4 | /-! # Two Variable All Tests -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.Poincare.TwoVariableAllTests.Construction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! The full two-variable symmetry expression preserves its actual |
| 13 | five point-fiber comparisons under every map of test schemes. -/ |
| 14 | |
| 15 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 16 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 17 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 18 | |
| 19 | open OAI.AlgebraicGeometry.Picard.PoincareBundle.Line.Fibers OAI.AlgebraicGeometry.Picard.PoincareBundle.FirstBiextensionFactor |
| 20 | |
| 21 | attribute [local instance] Picard.Homomorphisms.GroupDescent.Construction.groupHom_pow_isMonHom |
| 22 | |
| 23 | variable {k : Type} [Field k] {g : ℕ} {A : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g (Spec (.of k))} |
| 24 | (D : AbelianModuli.HilbertConstruction.Dual.Data.DualAbelianData A) (φ : A.scheme ⟶ D.abelian.scheme) [IsMonHom φ] (n : ℕ) |
| 25 | (σ : (Scheme.Modules.pullback (β_ A.scheme A.scheme).hom.left).obj |
| 26 | (Picard.PoincareBundle.FirstBiextensionFactor.familyLine (Reference.PoincareLine.Construction.originalPoincarePoincareBundleLine D) φ).sheaf ≅ (Picard.PoincareBundle.FirstBiextensionFactor.familyLine (Reference.PoincareLine.Construction.originalPoincarePoincareBundleLine D) φ).sheaf) |
| 27 | (σn : (Scheme.Modules.pullback (β_ A.scheme A.scheme).hom.left).obj |
| 28 | (Picard.PoincareBundle.FirstBiextensionFactor.familyLine (Reference.PoincareLine.Construction.originalPoincarePoincareBundleLine D) (φ ^ n)).sheaf ≅ (Picard.PoincareBundle.FirstBiextensionFactor.familyLine (Reference.PoincareLine.Construction.originalPoincarePoincareBundleLine D) (φ ^ n)).sheaf) |
| 29 | |
| 30 | theorem poincareTwoVariableSymmetryComparison_pullback {T T' : Over (Spec (.of k))} |
| 31 | (f : T' ⟶ T) (x y : T ⟶ A.scheme) (x' y' : T' ⟶ A.scheme) (hx : f ≫ x = x') (hy : f ≫ y = y') |
| 32 | (h₀ : f ≫ lift ((y ≫ φ) ^ n) x = lift ((y' ≫ φ) ^ n) x') |
| 33 | (h₁ : f ≫ lift (y ≫ φ ^ n) x = lift (y' ≫ φ ^ n) x') |
| 34 | (h₂ : f ≫ lift (x ≫ φ ^ n) y = lift (x' ≫ φ ^ n) y') |
| 35 | (h₃ : f ≫ lift ((x ^ n) ≫ φ) y = lift ((x' ^ n) ≫ φ) y') |
| 36 | (h₄ : f ≫ lift (y ≫ φ) (x ^ n) = lift (y' ≫ φ) (x' ^ n)) : |
| 37 | (Scheme.Modules.pullback f.left).mapIso (TwoVariableSymmetry.Construction.poincareTwoVariableSymmetryComparison D φ n σ σn x y) ≪≫ |
| 38 | Picard.PoincareBundle.Line.Fibers.fiberPullbackIso (Reference.PoincareLine.Construction.originalPoincarePoincareBundleLine D) f _ _ h₄ = |
| 39 | Picard.PoincareBundle.Line.Fibers.fiberPullbackIso (Reference.PoincareLine.Construction.originalPoincarePoincareBundleLine D) f _ _ h₀ ≪≫ |
| 40 | TwoVariableSymmetry.Construction.poincareTwoVariableSymmetryComparison D φ n σ σn x' y' := by |
| 41 | have hxn : f ≫ x ^ n = x' ^ n := (MonObj.comp_pow x n f).trans (congrArg (fun a => a ^ n) hx) |
| 42 | have he₀ := FiberPointTransportNaturality.Construction.fiberPointIso_pullback (Reference.PoincareLine.Construction.originalPoincarePoincareBundleLine D) f _ _ |
| 43 | (congrArg₂ lift (MonObj.comp_pow φ n y).symm rfl) _ _ |
| 44 | (congrArg₂ lift (MonObj.comp_pow φ n y').symm rfl) h₀ h₁ |
| 45 | have he₁ := SymmetryFibers.Construction.poincareSymmetryFiber_pullback D (φ ^ n) σn f x y x' y' hx hy h₁ h₂ |
| 46 | have he₂ := FiberPointTransportNaturality.Construction.fiberPointIso_pullback (Reference.PoincareLine.Construction.originalPoincarePoincareBundleLine D) f _ _ |
| 47 | (congrArg₂ lift ((MonObj.comp_pow φ n x).trans (MonObj.pow_comp x n φ).symm) rfl) _ _ |
| 48 | (congrArg₂ lift ((MonObj.comp_pow φ n x').trans (MonObj.pow_comp x' n φ).symm) rfl) h₂ h₃ |
| 49 | have he₃ := SymmetryFibers.Construction.poincareSymmetryFiber_pullback D φ σ f y (x ^ n) y' (x' ^ n) hy hxn h₃ h₄ |
| 50 | exact IsoFourSquares.Construction.iso_functor_four_squares (Scheme.Modules.pullback f.left) |
| 51 | (FiberPointEquality.Construction.fiberPointIso (Reference.PoincareLine.Construction.originalPoincarePoincareBundleLine D) _ _ (congrArg₂ lift (MonObj.comp_pow φ n y).symm rfl)) |
| 52 | (SymmetryFibers.Construction.poincareSymmetryFiber D (φ ^ n) σn x y) |
| 53 | (FiberPointEquality.Construction.fiberPointIso (Reference.PoincareLine.Construction.originalPoincarePoincareBundleLine D) _ _ |
| 54 | (congrArg₂ lift ((MonObj.comp_pow φ n x).trans (MonObj.pow_comp x n φ).symm) rfl)) |
| 55 | (SymmetryFibers.Construction.poincareSymmetryFiber D φ σ y (x ^ n)) |
| 56 | (FiberPointEquality.Construction.fiberPointIso (Reference.PoincareLine.Construction.originalPoincarePoincareBundleLine D) _ _ (congrArg₂ lift (MonObj.comp_pow φ n y').symm rfl)) |
| 57 | (SymmetryFibers.Construction.poincareSymmetryFiber D (φ ^ n) σn x' y') |
| 58 | (FiberPointEquality.Construction.fiberPointIso (Reference.PoincareLine.Construction.originalPoincarePoincareBundleLine D) _ _ |
| 59 | (congrArg₂ lift ((MonObj.comp_pow φ n x').trans (MonObj.pow_comp x' n φ).symm) rfl)) |
| 60 | (SymmetryFibers.Construction.poincareSymmetryFiber D φ σ y' (x' ^ n)) |
| 61 | (Picard.PoincareBundle.Line.Fibers.fiberPullbackIso (Reference.PoincareLine.Construction.originalPoincarePoincareBundleLine D) f _ _ h₀) |
| 62 | (Picard.PoincareBundle.Line.Fibers.fiberPullbackIso (Reference.PoincareLine.Construction.originalPoincarePoincareBundleLine D) f _ _ h₁) |
| 63 | (Picard.PoincareBundle.Line.Fibers.fiberPullbackIso (Reference.PoincareLine.Construction.originalPoincarePoincareBundleLine D) f _ _ h₂) |
| 64 | (Picard.PoincareBundle.Line.Fibers.fiberPullbackIso (Reference.PoincareLine.Construction.originalPoincarePoincareBundleLine D) f _ _ h₃) |
| 65 | (Picard.PoincareBundle.Line.Fibers.fiberPullbackIso (Reference.PoincareLine.Construction.originalPoincarePoincareBundleLine D) f _ _ h₄) he₀ he₁ he₂ he₃ |
| 66 | |
| 67 | end |
| 68 | |
| 69 | /-! The full two-variable symmetry formula for the scalar comparison |
| 70 | holds on arbitrary test schemes by restriction from the abelian square. -/ |
| 71 | |
| 72 | open _root_.CategoryTheory _root_.CategoryTheory.Limits _root_.AlgebraicGeometry |
| 73 | open _root_.CategoryTheory.MonoidalCategory _root_.CategoryTheory.CartesianMonoidalCategory |
| 74 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj |
| 75 | |
| 76 | open OAI.AlgebraicGeometry.Picard.PoincareBundle.Line.Fibers OAI.AlgebraicGeometry.Picard.PoincareBundle.FirstBiextensionFactor |
| 77 | |
| 78 | attribute [local instance] Picard.Homomorphisms.GroupDescent.Construction.groupHom_pow_isMonHom |
| 79 | |
| 80 | variable {k : Type} [Field k] [IsAlgClosed k] {g : ℕ} |
| 81 | {A : AbelianModuli.HilbertConstruction.Abelian.Schemes.AbelianScheme g (Spec (.of k))} (D : AbelianModuli.HilbertConstruction.Dual.Data.DualAbelianData A) |
| 82 | (φ : A.scheme ⟶ D.abelian.scheme) [IsMonHom φ] (n : ℕ) |
| 83 | (σ : (Scheme.Modules.pullback (β_ A.scheme A.scheme).hom.left).obj |
| 84 | (Picard.PoincareBundle.FirstBiextensionFactor.familyLine (Reference.PoincareLine.Construction.originalPoincarePoincareBundleLine D) φ).sheaf ≅ (Picard.PoincareBundle.FirstBiextensionFactor.familyLine (Reference.PoincareLine.Construction.originalPoincarePoincareBundleLine D) φ).sheaf) |
| 85 | (σn : (Scheme.Modules.pullback (β_ A.scheme A.scheme).hom.left).obj |
| 86 | (Picard.PoincareBundle.FirstBiextensionFactor.familyLine (Reference.PoincareLine.Construction.originalPoincarePoincareBundleLine D) (φ ^ n)).sheaf ≅ (Picard.PoincareBundle.FirstBiextensionFactor.familyLine (Reference.PoincareLine.Construction.originalPoincarePoincareBundleLine D) (φ ^ n)).sheaf) |
| 87 | (hd : (Scheme.Modules.pullback (DiagonalLineSymmetry.Construction.groupDiagonal A.scheme).left).mapIso σ = |
| 88 | Picard.PoincareBundle.Pulled.LineBilinear.fiberComparison (β_ A.scheme A.scheme).hom |
| 89 | (Picard.PoincareBundle.FirstBiextensionFactor.familyLine (Reference.PoincareLine.Construction.originalPoincarePoincareBundleLine D) φ) (DiagonalLineSymmetry.Construction.groupDiagonal A.scheme) (DiagonalLineSymmetry.Construction.groupDiagonal A.scheme) |
| 90 | (DiagonalLineSymmetry.Construction.groupDiagonal_swap A.scheme)) |
| 91 | (hdn : (Scheme.Modules.pullback (DiagonalLineSymmetry.Construction.groupDiagonal A.scheme).left).mapIso σn = |
| 92 | Picard.PoincareBundle.Pulled.LineBilinear.fiberComparison (β_ A.scheme A.scheme).hom |
| 93 | (Picard.PoincareBundle.FirstBiextensionFactor.familyLine (Reference.PoincareLine.Construction.originalPoincarePoincareBundleLine D) (φ ^ n)) (DiagonalLineSymmetry.Construction.groupDiagonal A.scheme) (DiagonalLineSymmetry.Construction.groupDiagonal A.scheme) |
| 94 | (DiagonalLineSymmetry.Construction.groupDiagonal_swap A.scheme)) |
| 95 | |
| 96 | include hd hdn in |
| 97 | theorem poincareScalarFiberComparison_twoVariable_allTests {T : Over (Spec (.of k))} (x y : T ⟶ A.scheme) : |
| 98 | ScalarLine.Construction.poincareScalarFiberComparison D n (y ≫ φ) x = TwoVariableSymmetry.Construction.poincareTwoVariableSymmetryComparison D φ n σ σn x y := by |
| 99 | have : Smooth (A.scheme ⊗ A.scheme).hom := by dsimp; infer_instance |
| 100 | have : IsProper (A.scheme ⊗ A.scheme).hom := by dsimp; infer_instance |
| 101 | have : GeometricallyConnected (A.scheme ⊗ A.scheme).hom := |
| 102 | GeometricallyConnected.comp (pullback.fst A.scheme.hom A.scheme.hom) A.scheme.hom |
| 103 | have : CompactSpace (A.scheme ⊗ A.scheme).left := |
| 104 | QuasiCompact.compactSpace_of_compactSpace (A.scheme ⊗ A.scheme).hom |
| 105 | have : QuasiSeparatedSpace (A.scheme ⊗ A.scheme).left := |
| 106 | quasiSeparatedSpace_of_quasiSeparated (A.scheme ⊗ A.scheme).hom |
| 107 | let X := fst A.scheme A.scheme |
| 108 | let Y := snd A.scheme A.scheme |
| 109 | have hb : lift x y ≫ lift (Y ≫ φ) X = lift (y ≫ φ) x := by |
| 110 | apply CartesianMonoidalCategory.hom_ext <;> |
| 111 | simp only [X, Y, Category.assoc, lift_fst, lift_snd, lift_snd_assoc] |
| 112 | have h₀ : lift x y ≫ lift ((Y ≫ φ) ^ n) X = lift ((y ≫ φ) ^ n) x := by |
| 113 | apply CartesianMonoidalCategory.hom_ext <;> |
| 114 | simp only [X, Y, Category.assoc, lift_fst, lift_snd, MonObj.comp_pow, lift_snd_assoc] |
| 115 | have h₁ : lift x y ≫ lift (Y ≫ φ ^ n) X = lift (y ≫ φ ^ n) x := by |
| 116 | apply CartesianMonoidalCategory.hom_ext <;> |
| 117 | simp only [X, Y, Category.assoc, lift_fst, lift_snd, lift_snd_assoc] |
| 118 | have h₂ : lift x y ≫ lift (X ≫ φ ^ n) Y = lift (x ≫ φ ^ n) y := by |
| 119 | apply CartesianMonoidalCategory.hom_ext <;> |
| 120 | simp only [X, Y, Category.assoc, lift_fst, lift_snd, lift_fst_assoc] |
| 121 | have h₃ : lift x y ≫ lift ((X ^ n) ≫ φ) Y = lift ((x ^ n) ≫ φ) y := by |
| 122 | apply CartesianMonoidalCategory.hom_ext |
| 123 | · rw [Category.assoc, lift_fst, lift_fst, ← Category.assoc, MonObj.comp_pow] |
| 124 | rw [show lift x y ≫ X = x from lift_fst _ _] |
| 125 | · simp only [Y, Category.assoc, lift_snd] |
| 126 | have h₄ : lift x y ≫ lift (Y ≫ φ) (X ^ n) = lift (y ≫ φ) (x ^ n) := by |
| 127 | apply CartesianMonoidalCategory.hom_ext <;> |
| 128 | simp only [X, Y, Category.assoc, lift_fst, lift_snd, MonObj.comp_pow, lift_snd_assoc] |
| 129 | have he := ScalarNaturality.Construction.poincareScalarFiberComparison_pullback D n (lift x y) (Y ≫ φ) X (y ≫ φ) x hb h₀ h₄ |
| 130 | have hs := poincareTwoVariableSymmetryComparison_pullback D φ n σ σn (lift x y) X Y x y |
| 131 | (lift_fst _ _) (lift_snd _ _) h₀ h₁ h₂ h₃ h₄ |
| 132 | exact FiberPointTransportNaturality.Construction.iso_transport_eq (Scheme.Modules.pullback (lift x y).left) |
| 133 | (ScalarLine.Construction.poincareScalarFiberComparison D n (Y ≫ φ) X) (TwoVariableSymmetry.Construction.poincareTwoVariableSymmetryComparison D φ n σ σn X Y) |
| 134 | (ScalarLine.Construction.poincareScalarFiberComparison D n (y ≫ φ) x) (TwoVariableSymmetry.Construction.poincareTwoVariableSymmetryComparison D φ n σ σn x y) |
| 135 | (Picard.PoincareBundle.Line.Fibers.fiberPullbackIso (Reference.PoincareLine.Construction.originalPoincarePoincareBundleLine D) (lift x y) _ _ h₀) |
| 136 | (Picard.PoincareBundle.Line.Fibers.fiberPullbackIso (Reference.PoincareLine.Construction.originalPoincarePoincareBundleLine D) (lift x y) _ _ h₄) he hs |
| 137 | (TwoVariableSymmetry.Construction.poincareScalarFiberComparison_twoVariableSymmetry D φ n σ σn hd hdn X Y) |
| 138 | |
| 139 | end |
| 140 | |
| 141 | end OAI.AlgebraicGeometry.AbelianScheme.IsogenyQuotient.Poincare.TwoVariableAllTests.Construction |