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.NumberTheory.PadicHodge.IntegralComparison.FiniteEtale.KernelDegree |
| 2 | import OAI.NumberTheory.PadicHodge.IntegralComparison.TateFiniteKernelNorm |
| 3 | import OAI.AlgebraicGeometry.Quotients.FiniteDescent.PowerOrbitEq |
| 4 | |
| 5 | /-! # Tate Degree -/ |
| 6 | |
| 7 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.FiniteEtale.TateDegree |
| 8 | |
| 9 | noncomputable section |
| 10 | |
| 11 | /-! The native Tate determinant of a finite étale group endomorphism |
| 12 | has the prime-adic norm of its actual geometric degree. -/ |
| 13 | |
| 14 | open _root_.CategoryTheory _root_.AlgebraicGeometry MonoidalCategory |
| 15 | open scoped _root_.CategoryTheory.MonObj |
| 16 | |
| 17 | open OAI.NumberTheory.PadicHodge.IntegralComparison.Geometric.TateModule OAI.NumberTheory.PadicHodge.IntegralComparison.FiniteEtale.KernelDegree |
| 18 | |
| 19 | variable {k : Type} [Field k] [IsAlgClosed k] |
| 20 | (A : Over (Spec (.of k))) [GrpObj A] [IsCommMonObj A] |
| 21 | |
| 22 | omit [IsCommMonObj A] in |
| 23 | theorem pointAction_surjective (f : A ⟶ A) [IsMonHom f] |
| 24 | [Surjective f.left] [LocallyOfFiniteType f.left] : |
| 25 | Function.Surjective (KernelDegree.pointAction A f) := by |
| 26 | intro x |
| 27 | obtain ⟨y, hy⟩ := AlgebraicGeometry.FormalGeometry.Completion.RationalPointLift.Construction.exists_rationalPoint_lift f.left x.toMul.left |
| 28 | have yw : y ≫ A.hom = 𝟙 _ := by |
| 29 | rw [← f.w, ← Category.assoc, hy] |
| 30 | exact x.toMul.w |
| 31 | refine ⟨Additive.ofMul (Over.homMk y yw), ?_⟩ |
| 32 | apply Additive.toMul.injective |
| 33 | apply Over.OverMorphism.ext |
| 34 | exact hy |
| 35 | |
| 36 | omit [IsCommMonObj A] in |
| 37 | theorem pointAction_kernel_finite (f : A ⟶ A) [IsMonHom f] [IsFinite f.left] : |
| 38 | Finite (KernelDegree.pointAction A f).ker := by |
| 39 | let B := AlgebraicGeometry.Picard.PoincareBundle.Kernel.Scheme.kernelObject f |
| 40 | let : IsFinite B.hom := AlgebraicGeometry.Picard.PoincareBundle.Kernel.Scheme.kernel_isFinite f |
| 41 | let : Finite (𝟙_ (Over (Spec (.of k))) ⟶ B) := |
| 42 | AlgebraicGeometry.Quotients.FiniteDescent.PowerOrbitEq.Construction.PowerOrbit.finite_fieldPoints B (𝟙 _) |
| 43 | exact Finite.of_equiv _ ((AlgebraicGeometry.Picard.PoincareBundle.Kernel.Scheme.kernelPointsEquiv f |
| 44 | (𝟙_ (Over (Spec (.of k))))).trans (KernelDegree.kernelAdditiveEquiv A f)) |
| 45 | |
| 46 | variable [Smooth A.hom] [IsProper A.hom] [GeometricallyIntegral A.hom] |
| 47 | (p : ℕ) [Fact p.Prime] (hp : (p : k) ≠ 0) |
| 48 | |
| 49 | local instance : IsIntegral A.left := |
| 50 | GeometricallyIntegral.isIntegral_of_subsingleton A.hom |
| 51 | |
| 52 | include hp |
| 53 | |
| 54 | theorem determinant_valuation (f : A ⟶ A) [IsMonHom f] |
| 55 | [IsFinite f.left] [Etale f.left] [Surjective f.left] : |
| 56 | (AlgebraicGeometry.AbelianScheme.TateComparison.Add.Tate.map p (KernelDegree.pointAction A f)).det.valuation = |
| 57 | (f.left.residueDegree (genericPoint A.left)).factorization p := by |
| 58 | let : Finite (AlgebraicGeometry.AbelianScheme.TateComparison.Add.Tate.torsion p (Geometric.TateModule.Points A) 1) := Geometric.TateModule.torsion_finite A p hp 1 |
| 59 | let : Finite (KernelDegree.pointAction A f).ker := pointAction_kernel_finite A f |
| 60 | rw [← KernelDegree.kernel_card A f] |
| 61 | exact TateFiniteKernelNorm.determinant_valuation p (KernelDegree.pointAction A f) |
| 62 | (pointAction_surjective A f) (Geometric.TateModule.divisible A p hp) |
| 63 | |
| 64 | theorem determinant_norm (f : A ⟶ A) [IsMonHom f] |
| 65 | [IsFinite f.left] [Etale f.left] [Surjective f.left] : |
| 66 | ‖((AlgebraicGeometry.AbelianScheme.TateComparison.Add.Tate.map p (KernelDegree.pointAction A f)).det : ℚ_[p])‖ = |
| 67 | ‖(f.left.residueDegree (genericPoint A.left) : ℚ_[p])‖ := by |
| 68 | let : Finite (AlgebraicGeometry.AbelianScheme.TateComparison.Add.Tate.torsion p (Geometric.TateModule.Points A) 1) := Geometric.TateModule.torsion_finite A p hp 1 |
| 69 | let : Finite (KernelDegree.pointAction A f).ker := pointAction_kernel_finite A f |
| 70 | rw [← KernelDegree.kernel_card A f] |
| 71 | exact TateFiniteKernelNorm.determinant_norm p (KernelDegree.pointAction A f) |
| 72 | (pointAction_surjective A f) (Geometric.TateModule.divisible A p hp) |
| 73 | |
| 74 | end |
| 75 | |
| 76 | end OAI.NumberTheory.PadicHodge.IntegralComparison.FiniteEtale.TateDegree |