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 Mathlib |
| 2 | |
| 3 | /-! # Complexify -/ |
| 4 | |
| 5 | namespace OAI.RepresentationTheory.Theta.Geometric.Complexify |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | section |
| 10 | |
| 11 | /-! |
| 12 | # Complex coefficients in GeometricTheta |
| 13 | |
| 14 | TateComparison constructs the rational spherical algebra. These constructors retain |
| 15 | GeometricTheta's complex-coefficient conclusion by genuine scalar extension. The |
| 16 | covariance bridge uses the proved complex linearity of the canonical theta |
| 17 | map, so passing to rational coefficients in the local model loses nothing. |
| 18 | -/ |
| 19 | |
| 20 | open scoped TensorProduct |
| 21 | |
| 22 | def complexifyHeckeEquiv |
| 23 | {A B : Type*} [Semiring A] [Algebra ℚ A] [Semiring B] [Algebra ℚ B] |
| 24 | (e : A ≃ₐ[ℚ] B) : ℂ ⊗[ℚ] A ≃ₐ[ℂ] ℂ ⊗[ℚ] B := |
| 25 | Algebra.TensorProduct.congr (AlgEquiv.refl : ℂ ≃ₐ[ℂ] ℂ) e |
| 26 | |
| 27 | @[simp] theorem complexifyHeckeEquiv_tmul |
| 28 | {A B : Type*} [Semiring A] [Algebra ℚ A] [Semiring B] [Algebra ℚ B] |
| 29 | (e : A ≃ₐ[ℚ] B) (c : ℂ) (a : A) : |
| 30 | complexifyHeckeEquiv e (c ⊗ₜ[ℚ] a) = c ⊗ₜ[ℚ] e a := rfl |
| 31 | |
| 32 | def complexifyOperator |
| 33 | {A V : Type*} [AddCommGroup A] [Module ℚ A] |
| 34 | [AddCommGroup V] [Module ℂ V] [Module ℚ V] [IsScalarTower ℚ ℂ V] |
| 35 | (rho : A →ₗ[ℚ] Module.End ℂ V) : |
| 36 | ℂ ⊗[ℚ] A →ₗ[ℂ] Module.End ℂ V := rho.liftBaseChange ℂ |
| 37 | |
| 38 | /-- Covariance for all complex Hecke elements follows by tensor induction. -/ |
| 39 | theorem covariance_extends_to_complex |
| 40 | {A S V : Type*} [AddCommGroup A] [Module ℚ A] |
| 41 | [AddCommGroup S] [Module ℂ S] [Module ℚ S] [IsScalarTower ℚ ℂ S] |
| 42 | [AddCommGroup V] [Module ℂ V] [Module ℚ V] [IsScalarTower ℚ ℂ V] |
| 43 | (theta : S →ₗ[ℂ] V) |
| 44 | (rho : A →ₗ[ℚ] Module.End ℂ S) |
| 45 | (tau : A →ₗ[ℚ] Module.End ℂ V) |
| 46 | (h : ∀ a φ, tau a (theta φ) = theta (rho a φ)) |
| 47 | (a : ℂ ⊗[ℚ] A) (φ : S) : |
| 48 | complexifyOperator tau a (theta φ) = theta (complexifyOperator rho a φ) := by |
| 49 | induction a using TensorProduct.inductionOn with |
| 50 | | tmul c a => simp [complexifyOperator, h] |
| 51 | | add a b ha hb => simp only [map_add, LinearMap.add_apply, ha, hb] |
| 52 | |
| 53 | end |
| 54 | |
| 55 | /-! Operator commutation extends from a spanning family and through the |
| 56 | actual tensor-product complexification of rational Betti operators. -/ |
| 57 | open scoped TensorProduct |
| 58 | |
| 59 | theorem covariance_of_span {A S V I : Type*} |
| 60 | [AddCommGroup A] [Module ℚ A] |
| 61 | [AddCommGroup S] [Module ℂ S] [Module ℚ S] [IsScalarTower ℚ ℂ S] |
| 62 | [AddCommGroup V] [Module ℂ V] [Module ℚ V] [IsScalarTower ℚ ℂ V] |
| 63 | (θ : S →ₗ[ℂ] V) (ρ : A →ₗ[ℚ] Module.End ℂ S) (τ : A →ₗ[ℚ] Module.End ℂ V) |
| 64 | (b : I → A) (hb : Submodule.span ℚ (Set.range b) = ⊤) |
| 65 | (h : ∀ i φ, τ (b i) (θ φ) = θ (ρ (b i) φ)) (a : A) (φ : S) : |
| 66 | τ a (θ φ) = θ (ρ a φ) := by |
| 67 | have ha : a ∈ Submodule.span ℚ (Set.range b) := by rw [hb]; trivial |
| 68 | induction ha using Submodule.span_induction with |
| 69 | | mem a ha => obtain ⟨i, rfl⟩ := ha; exact h i φ |
| 70 | | zero => simp only [map_zero, LinearMap.zero_apply] |
| 71 | | add x y hx hy hxc hyc => simp only [map_add, LinearMap.add_apply, hxc, hyc] |
| 72 | | smul c x hx hxc => simp only [map_smul, LinearMap.smul_apply, map_rat_smul, hxc] |
| 73 | |
| 74 | theorem linear_commutes_of_span {k K A V I : Type*} [Field k] [Field K] [Algebra k K] |
| 75 | [AddCommGroup A] [Module k A] [AddCommGroup V] [Module K V] |
| 76 | [Module k V] [IsScalarTower k K V] |
| 77 | (ρ : A →ₗ[k] Module.End K V) (p : Module.End K V) (b : I → A) |
| 78 | (hb : Submodule.span k (Set.range b) = ⊤) |
| 79 | (h : ∀ i, (ρ (b i)).comp p = p.comp (ρ (b i))) (a : A) : |
| 80 | (ρ a).comp p = p.comp (ρ a) := by |
| 81 | have ha : a ∈ Submodule.span k (Set.range b) := by rw [hb]; trivial |
| 82 | induction ha using Submodule.span_induction with |
| 83 | | mem a ha => obtain ⟨i, rfl⟩ := ha; exact h i |
| 84 | | zero => simp only [map_zero, LinearMap.zero_comp, LinearMap.comp_zero] |
| 85 | | add x y hx hy hxc hyc => simp only [map_add, LinearMap.add_comp, LinearMap.comp_add, hxc, hyc] |
| 86 | | smul c x hx hxc => simp only [map_smul, LinearMap.smul_comp, LinearMap.comp_smul, hxc] |
| 87 | |
| 88 | theorem complexified_baseChange_commutes {A V : Type*} |
| 89 | [AddCommGroup A] [Module ℚ A] [AddCommGroup V] [Module ℚ V] |
| 90 | (ρ : A →ₗ[ℚ] Module.End ℚ V) (p : Module.End ℚ V) |
| 91 | (h : ∀ a, (ρ a).comp p = p.comp (ρ a)) (z : ℂ ⊗[ℚ] A) : |
| 92 | (complexifyOperator ((LinearMap.baseChangeHom (R := ℚ) (M := V) (N := V) ℂ).comp ρ) z).comp |
| 93 | (p.baseChange ℂ) = |
| 94 | (p.baseChange ℂ).comp |
| 95 | (complexifyOperator ((LinearMap.baseChangeHom (R := ℚ) (M := V) (N := V) ℂ).comp ρ) z) := by |
| 96 | have H (a : A) : ((ρ a).baseChange ℂ).comp (p.baseChange ℂ) = |
| 97 | (p.baseChange ℂ).comp ((ρ a).baseChange ℂ) := by |
| 98 | rw [← LinearMap.baseChange_comp, ← LinearMap.baseChange_comp, h] |
| 99 | induction z using TensorProduct.inductionOn with |
| 100 | | tmul c a => |
| 101 | change (c • (ρ a).baseChange ℂ).comp (p.baseChange ℂ) = |
| 102 | (p.baseChange ℂ).comp (c • (ρ a).baseChange ℂ) |
| 103 | rw [LinearMap.smul_comp, LinearMap.comp_smul, H] |
| 104 | | add z w hz hw => simp only [map_add, LinearMap.add_comp, LinearMap.comp_add, hz, hw] |
| 105 | |
| 106 | end |
| 107 | |
| 108 | end OAI.RepresentationTheory.Theta.Geometric.Complexify |