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.Integral.TateNaturality |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.TateComparison.TateAction |
| 3 | import OAI.NumberTheory.PadicHodge.GeometricComparison.TateEndomorphismTransport |
| 4 | import OAI.NumberTheory.PadicHodge.IntegralComparison.DeterminantPolynomialResultant |
| 5 | import Mathlib.RingTheory.TensorProduct.Finite |
| 6 | |
| 7 | /-! # Algebraic Tate Polynomial Action -/ |
| 8 | |
| 9 | namespace OAI.NumberTheory.PadicHodge.IntegralComparison.AlgebraicTatePolynomialAction |
| 10 | |
| 11 | noncomputable section |
| 12 | |
| 13 | /-! The genuine algebraic endomorphism ring acts on the actual Tate module. |
| 14 | Polynomial evaluation and scalar extension preserve this action, so its |
| 15 | determinants are resultants of its original characteristic polynomial. -/ |
| 16 | |
| 17 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 18 | open MonoidalCategory |
| 19 | open scoped _root_.CategoryTheory.MonObj _root_.CategoryTheory.Obj TensorProduct |
| 20 | |
| 21 | set_option backward.defeqAttrib.useBackward true |
| 22 | set_option backward.isDefEq.respectTransparency false |
| 23 | |
| 24 | open OAI.AlgebraicGeometry.AbelianScheme.TateComparison.TateAction |
| 25 | |
| 26 | universe u |
| 27 | variable {S : Scheme.{u}} (A : Over S) [GrpObj A] [IsCommMonObj A] |
| 28 | (T : Over S) (ℓ : ℕ) [Fact ℓ.Prime] |
| 29 | |
| 30 | def endHom : AlgebraicGeometry.FormalGeometry.Completion.Endomorphisms.Construction.AlgebraicEnd A →+* Module.End ℤ_[ℓ] (AlgebraicGeometry.AbelianScheme.TateComparison.Add.schemeTateModule A T ℓ) := |
| 31 | (AlgebraicGeometry.AbelianScheme.TateComparison.TateAction.tateEndMap A T ℓ).comp (GeometricComparison.TateEndomorphismTransport.Comparison.integralEndEquiv A).symm.toRingHom |
| 32 | |
| 33 | theorem schemeTateMap_eq_of_eq (f g : A ⟶ A) [IsMonHom f] [IsMonHom g] (h : f = g) : |
| 34 | AlgebraicGeometry.AbelianScheme.TateComparison.Add.schemeTateMap A T ℓ f = AlgebraicGeometry.AbelianScheme.TateComparison.Add.schemeTateMap A T ℓ g := by |
| 35 | subst g |
| 36 | rfl |
| 37 | |
| 38 | theorem endHom_apply (F : AlgebraicGeometry.FormalGeometry.Completion.Endomorphisms.Construction.AlgebraicEnd A) : |
| 39 | endHom A T ℓ F = AlgebraicGeometry.AbelianScheme.TateComparison.Add.schemeTateMap A T ℓ F.toMul.hom.hom := by |
| 40 | change AlgebraicGeometry.AbelianScheme.TateComparison.TateAction.tateEndMap A T ℓ ((GeometricComparison.TateEndomorphismTransport.Comparison.integralEndEquiv A).symm F) = _ |
| 41 | rw [AlgebraicGeometry.AbelianScheme.TateComparison.TateAction.tateEndMap_eq_schemeTateMap] |
| 42 | apply schemeTateMap_eq_of_eq |
| 43 | have h := GeometricComparison.TateEndomorphismTransport.Comparison.integralEndEquiv_schemeMap A |
| 44 | ((GeometricComparison.TateEndomorphismTransport.Comparison.integralEndEquiv A).symm F) |
| 45 | rw [RingEquiv.apply_symm_apply] at h |
| 46 | exact h.symm |
| 47 | |
| 48 | theorem endHom_eval₂_nat (F : AlgebraicGeometry.FormalGeometry.Completion.Endomorphisms.Construction.AlgebraicEnd A) (P : Polynomial ℕ) : |
| 49 | endHom A T ℓ (P.eval₂ (Nat.castRingHom _) F) = |
| 50 | Polynomial.aeval (endHom A T ℓ F) (P.map (Nat.castRingHom ℤ_[ℓ])) := by |
| 51 | rw [Polynomial.hom_eval₂, Polynomial.aeval_def, Polynomial.eval₂_map] |
| 52 | congr 1 |
| 53 | exact Subsingleton.elim _ _ |
| 54 | |
| 55 | abbrev rationalModule := ℚ_[ℓ] ⊗[ℤ_[ℓ]] AlgebraicGeometry.AbelianScheme.TateComparison.Add.schemeTateModule A T ℓ |
| 56 | |
| 57 | def rationalEndHom : AlgebraicGeometry.FormalGeometry.Completion.Endomorphisms.Construction.AlgebraicEnd A →+* Module.End ℚ_[ℓ] (rationalModule A T ℓ) where |
| 58 | toFun F := (endHom A T ℓ F).baseChange ℚ_[ℓ] |
| 59 | map_zero' := by rw [map_zero, LinearMap.baseChange_zero] |
| 60 | map_one' := by rw [map_one, LinearMap.baseChange_one] |
| 61 | map_add' F G := by rw [map_add, LinearMap.baseChange_add] |
| 62 | map_mul' F G := by rw [map_mul, LinearMap.baseChange_mul] |
| 63 | |
| 64 | theorem rationalEndHom_apply (F : AlgebraicGeometry.FormalGeometry.Completion.Endomorphisms.Construction.AlgebraicEnd A) : |
| 65 | rationalEndHom A T ℓ F = (AlgebraicGeometry.AbelianScheme.TateComparison.Add.schemeTateMap A T ℓ F.toMul.hom.hom).baseChange ℚ_[ℓ] := by |
| 66 | change (endHom A T ℓ F).baseChange ℚ_[ℓ] = _ |
| 67 | apply congrArg |
| 68 | exact endHom_apply A T ℓ F |
| 69 | |
| 70 | theorem rationalEndHom_eval₂_nat (F : AlgebraicGeometry.FormalGeometry.Completion.Endomorphisms.Construction.AlgebraicEnd A) (P : Polynomial ℕ) : |
| 71 | rationalEndHom A T ℓ (P.eval₂ (Nat.castRingHom _) F) = |
| 72 | Polynomial.aeval (rationalEndHom A T ℓ F) (P.map (Nat.castRingHom ℚ_[ℓ])) := by |
| 73 | rw [Polynomial.hom_eval₂, Polynomial.aeval_def, Polynomial.eval₂_map] |
| 74 | congr 1 |
| 75 | exact Subsingleton.elim _ _ |
| 76 | |
| 77 | theorem determinant_eval₂_nat [Module.Finite ℤ_[ℓ] (AlgebraicGeometry.AbelianScheme.TateComparison.Add.schemeTateModule A T ℓ)] |
| 78 | (F : AlgebraicGeometry.FormalGeometry.Completion.Endomorphisms.Construction.AlgebraicEnd A) (P : Polynomial ℕ) : |
| 79 | (rationalEndHom A T ℓ (P.eval₂ (Nat.castRingHom _) F)).det = |
| 80 | (rationalEndHom A T ℓ F).charpoly.resultant (P.map (Nat.castRingHom ℚ_[ℓ])) := by |
| 81 | rw [rationalEndHom_eval₂_nat] |
| 82 | exact DeterminantPolynomialResultant.det_aeval _ _ |
| 83 | |
| 84 | variable {k : Type u} [Field k] [IsAlgClosed k] |
| 85 | (B : Over (Spec (.of k))) [GrpObj B] [IsCommMonObj B] |
| 86 | [Smooth B.hom] [IsProper B.hom] [GeometricallyIntegral B.hom] |
| 87 | |
| 88 | omit [IsAlgClosed k] [Smooth B.hom] [IsProper B.hom] [GeometricallyIntegral B.hom] in |
| 89 | theorem endHom_eq_tateAction (F : AlgebraicGeometry.FormalGeometry.Completion.Endomorphisms.Construction.AlgebraicEnd B) : |
| 90 | endHom B (𝟙_ (Over (Spec (.of k)))) ℓ F = |
| 91 | Integral.TateNaturality.tateAction ℓ B F := |
| 92 | endHom_apply B _ ℓ F |
| 93 | |
| 94 | end |
| 95 | |
| 96 | end OAI.NumberTheory.PadicHodge.IntegralComparison.AlgebraicTatePolynomialAction |