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.HeckeKernel |
| 2 | import OAI.AlgebraicGeometry.AbelianScheme.TateComparison.CentralConvolution |
| 3 | |
| 4 | /-! # Gelfand -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.AbelianScheme.TateComparison.Gelfand |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | /-! A finite-support proof of the Gelfand involution criterion. It uses |
| 11 | the actual equivariant coset operators and a nondegenerate twisted pairing. -/ |
| 12 | |
| 13 | open scoped Classical |
| 14 | |
| 15 | section Pairing |
| 16 | |
| 17 | variable {X : Type*} (θ : X → X) |
| 18 | |
| 19 | def twistedPairing : (X →₀ ℚ) →ₗ[ℚ] Module.Dual ℚ (X →₀ ℚ) := |
| 20 | Finsupp.linearCombination ℚ (fun x => Finsupp.lapply (θ x)) |
| 21 | |
| 22 | theorem twistedPairing_single (x : X) (r : ℚ) (f : X →₀ ℚ) : |
| 23 | twistedPairing θ (Finsupp.single x r) f = r * f (θ x) := by |
| 24 | rw [twistedPairing, Finsupp.linearCombination_single] |
| 25 | rfl |
| 26 | |
| 27 | theorem twistedPairing_apply_single (hθ : Function.Involutive θ) |
| 28 | (f : X →₀ ℚ) (x : X) (r : ℚ) : |
| 29 | twistedPairing θ f (Finsupp.single x r) = r * f (θ x) := by |
| 30 | have heq : (twistedPairing θ).flip (Finsupp.single x r) = r • Finsupp.lapply (θ x) := by |
| 31 | apply Finsupp.lhom_ext |
| 32 | intro y a |
| 33 | change twistedPairing θ (Finsupp.single y a) (Finsupp.single x r) = |
| 34 | r * (Finsupp.single y a) (θ x) |
| 35 | rw [twistedPairing_single] |
| 36 | by_cases h : x = θ y |
| 37 | · have h' : θ x = y := by rw [h, hθ y] |
| 38 | simp only [Finsupp.single_apply, ite_eq_left h, ite_eq_left h'.symm] |
| 39 | exact mul_comm _ _ |
| 40 | · have h' : y ≠ θ x := by |
| 41 | intro hy |
| 42 | apply h |
| 43 | rw [hy, hθ x] |
| 44 | simp only [Finsupp.single_apply, ite_eq_right h, ite_eq_right h', mul_zero] |
| 45 | exact congrArg (fun l : Module.Dual ℚ (X →₀ ℚ) => l f) heq |
| 46 | |
| 47 | end Pairing |
| 48 | |
| 49 | variable {G : Type*} [Group G] (U : Subgroup G) (θ : G ≃* G) |
| 50 | (hU : ∀ g : G, θ g ∈ U ↔ g ∈ U) |
| 51 | |
| 52 | def quotientTwist : G ⧸ U → G ⧸ U := |
| 53 | Quotient.map θ (by |
| 54 | intro a b hab |
| 55 | apply QuotientGroup.leftRel_apply.mpr |
| 56 | rw [← map_inv, ← map_mul] |
| 57 | exact (hU _).mpr (QuotientGroup.leftRel_apply.mp hab)) |
| 58 | |
| 59 | @[simp] |
| 60 | theorem quotientTwist_mk (g : G) : |
| 61 | quotientTwist U θ hU (QuotientGroup.mk g) = QuotientGroup.mk (θ g) := rfl |
| 62 | |
| 63 | theorem quotientTwist_involutive (hθ : Function.Involutive θ) : |
| 64 | Function.Involutive (quotientTwist U θ hU) := by |
| 65 | intro x |
| 66 | induction x using Quotient.inductionOn with |
| 67 | | h x => simp only [quotientTwist_mk, hθ x] |
| 68 | |
| 69 | theorem hecke_apply_single (T : HeckeKernel.SphericalHecke U) (g : G) (r : ℚ) (x : G ⧸ U) : |
| 70 | T.val (Finsupp.single (QuotientGroup.mk g) r) x = |
| 71 | r * HeckeKernel.kernel U T (g⁻¹ • x) := by |
| 72 | have hs : Finsupp.single (QuotientGroup.mk g : G ⧸ U) r = |
| 73 | r • Finsupp.single (QuotientGroup.mk g) 1 := by |
| 74 | rw [Finsupp.smul_single, smul_eq_mul, mul_one] |
| 75 | rw [hs, map_smul, Finsupp.smul_apply, smul_eq_mul, HeckeKernel.hecke_single, CentralConvolution.translate_apply] |
| 76 | |
| 77 | include hU in |
| 78 | /-- If the anti-involution g ↦ θ(g)^-1 fixes every bi-level kernel, |
| 79 | every Hecke operator is self-adjoint for one nondegenerate pairing. -/ |
| 80 | theorem hecke_twisted_selfAdjoint (hθ : Function.Involutive θ) |
| 81 | (hanti : ∀ (T : HeckeKernel.SphericalHecke U) (g : G), |
| 82 | HeckeKernel.kernel U T (QuotientGroup.mk (θ g)⁻¹) = HeckeKernel.kernel U T (QuotientGroup.mk g)) |
| 83 | (T : HeckeKernel.SphericalHecke U) (f g : HeckeKernel.CosetModule U) : |
| 84 | twistedPairing (quotientTwist U θ hU) (T.val f) g = |
| 85 | twistedPairing (quotientTwist U θ hU) f (T.val g) := by |
| 86 | have heq : (twistedPairing (quotientTwist U θ hU)).comp T.val = |
| 87 | T.val.dualMap.comp (twistedPairing (quotientTwist U θ hU)) := by |
| 88 | apply Finsupp.lhom_ext |
| 89 | intro x r |
| 90 | apply Finsupp.lhom_ext |
| 91 | intro y t |
| 92 | change twistedPairing (quotientTwist U θ hU) (T.val (Finsupp.single x r)) |
| 93 | (Finsupp.single y t) = |
| 94 | twistedPairing (quotientTwist U θ hU) (Finsupp.single x r) |
| 95 | (T.val (Finsupp.single y t)) |
| 96 | rw [twistedPairing_apply_single _ (quotientTwist_involutive U θ hU hθ), |
| 97 | twistedPairing_single] |
| 98 | induction x using Quotient.inductionOn with |
| 99 | | h x => |
| 100 | induction y using Quotient.inductionOn with |
| 101 | | h y => |
| 102 | rw [quotientTwist_mk, quotientTwist_mk, hecke_apply_single, hecke_apply_single] |
| 103 | have hh := hanti T (x⁻¹ * θ y) |
| 104 | simp only [map_mul, map_inv, hθ y, mul_inv_rev, inv_inv] at hh |
| 105 | change t * (r * HeckeKernel.kernel U T (QuotientGroup.mk (x⁻¹ * θ y))) = |
| 106 | r * (t * HeckeKernel.kernel U T (QuotientGroup.mk (y⁻¹ * θ x))) |
| 107 | rw [hh] |
| 108 | ring |
| 109 | exact LinearMap.congr_fun (LinearMap.congr_fun heq f) g |
| 110 | |
| 111 | include hU in |
| 112 | /-- The Gelfand criterion proves commutativity inside the existing |
| 113 | spherical algebra; no commutative multiplication is supplied. -/ |
| 114 | theorem spherical_commutative_of_involution (hθ : Function.Involutive θ) |
| 115 | (hanti : ∀ (T : HeckeKernel.SphericalHecke U) (g : G), |
| 116 | HeckeKernel.kernel U T (QuotientGroup.mk (θ g)⁻¹) = HeckeKernel.kernel U T (QuotientGroup.mk g)) |
| 117 | (S T : HeckeKernel.SphericalHecke U) : S * T = T * S := by |
| 118 | let β := twistedPairing (quotientTwist U θ hU) |
| 119 | have hself := hecke_twisted_selfAdjoint U θ hU hθ hanti |
| 120 | have h (f g : HeckeKernel.CosetModule U) : β f ((S * T).val g) = β f ((T * S).val g) := by |
| 121 | rw [← hself (S * T)] |
| 122 | change β (S.val (T.val f)) g = β f (T.val (S.val g)) |
| 123 | rw [hself S, hself T] |
| 124 | apply Subtype.ext |
| 125 | apply LinearMap.ext |
| 126 | intro g |
| 127 | ext x |
| 128 | have hx := h (Finsupp.single (quotientTwist U θ hU x) 1) g |
| 129 | simpa only [β, twistedPairing_single, quotientTwist_involutive U θ hU hθ x, one_mul] using hx |
| 130 | |
| 131 | end |
| 132 | |
| 133 | end OAI.AlgebraicGeometry.AbelianScheme.TateComparison.Gelfand |