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.TateComparison.Functor |
| 2 | import Mathlib.RingTheory.TensorProduct.Basic |
| 3 | |
| 4 | /-! # Tate Action -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianScheme.TateComparison.TateAction |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! The integral PEL action acts on the actual Tate module and extends |
| 11 | to the integral completion through the tensor product universal property. -/ |
| 12 | |
| 13 | open _root_.CategoryTheory _root_.AlgebraicGeometry |
| 14 | open scoped _root_.CategoryTheory.MonObj TensorProduct |
| 15 | |
| 16 | universe u |
| 17 | variable {S : Scheme.{u}} (A : Over S) [GrpObj A] [IsCommMonObj A] |
| 18 | (T : Over S) (q : ℕ) [Fact q.Prime] |
| 19 | |
| 20 | def tateEndMap : TateComparison.End.IntegralEnd A →+* Module.End ℤ_[q] (Add.schemeTateModule A T q) where |
| 21 | toFun f := Add.Tate.map q (f.app (.op T)).hom |
| 22 | map_zero' := by ext x n; rfl |
| 23 | map_one' := by ext x n; rfl |
| 24 | map_add' f g := by ext x n; rfl |
| 25 | map_mul' f g := by ext x n; rfl |
| 26 | |
| 27 | theorem tateEndMap_eq_schemeTateMap (f : TateComparison.End.IntegralEnd A) : |
| 28 | tateEndMap A T q f = Add.schemeTateMap A T q (TateComparison.End.endSchemeMap A f) := by |
| 29 | apply LinearMap.ext |
| 30 | intro x |
| 31 | apply Subtype.ext |
| 32 | funext n |
| 33 | apply Subtype.ext |
| 34 | exact congrArg Additive.ofMul (TateComparison.End.endSchemeMap_points A f T (x.val n).val.toMul) |
| 35 | |
| 36 | variable {R : Type u} [CommRing R] {g N : ℕ} |
| 37 | |
| 38 | def tateIntegralAction (F : PEL.PELFamilyData R g N S) : |
| 39 | R →+* Module.End ℤ_[q] (Add.schemeTateModule F.abelian.scheme T q) := |
| 40 | (tateEndMap F.abelian.scheme T q).comp F.action |
| 41 | |
| 42 | def tateCompletedAction (F : PEL.PELFamilyData R g N S) : |
| 43 | ℤ_[q] ⊗[ℤ] R →ₐ[ℤ_[q]] Module.End ℤ_[q] (Add.schemeTateModule F.abelian.scheme T q) := |
| 44 | AlgHom.liftEquiv ℤ ℤ_[q] R _ { |
| 45 | toRingHom := tateIntegralAction T q F |
| 46 | commutes' z := by |
| 47 | change (tateIntegralAction T q F) (z : R) = |
| 48 | z • (1 : Module.End ℤ_[q] (Add.schemeTateModule F.abelian.scheme T q)) |
| 49 | rw [map_intCast] |
| 50 | ext x |
| 51 | simp } |
| 52 | |
| 53 | theorem tateCompletedAction_tmul (F : PEL.PELFamilyData R g N S) (z : ℤ_[q]) (r : R) : |
| 54 | tateCompletedAction T q F (z ⊗ₜ[ℤ] r) = z • tateIntegralAction T q F r := by |
| 55 | rfl |
| 56 | |
| 57 | theorem tateCompletedAction_one_tmul (F : PEL.PELFamilyData R g N S) (r : R) : |
| 58 | tateCompletedAction T q F (1 ⊗ₜ[ℤ] r) = |
| 59 | Add.schemeTateMap F.abelian.scheme T q (TateComparison.End.endSchemeMap F.abelian.scheme (F.action r)) := by |
| 60 | rw [tateCompletedAction_tmul, one_smul] |
| 61 | exact tateEndMap_eq_schemeTateMap F.abelian.scheme T q (F.action r) |
| 62 | |
| 63 | end |
| 64 | |
| 65 | end OAI.AlgebraicGeometry.AbelianScheme.TateComparison.TateAction |