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.PELModuli.IntegralModel.Section.ConormalDerivations |
| 2 | import Mathlib.LinearAlgebra.Dual.Lemmas |
| 3 | |
| 4 | /-! # Conormal Eigenquotient -/ |
| 5 | |
| 6 | namespace OAI.AlgebraicGeometry.PELModuli.IntegralModel.ConormalEigenquotient |
| 7 | |
| 8 | noncomputable section |
| 9 | |
| 10 | section |
| 11 | |
| 12 | /-! A finite family of conormal equations has one actual quotient. |
| 13 | Its coefficient-fiber dimension is the dimension of the dual eigenfunctionals. -/ |
| 14 | |
| 15 | open scoped TensorProduct |
| 16 | |
| 17 | variable {R V ι : Type} [CommRing R] [AddCommGroup V] [Module R V] |
| 18 | (d : ι → Module.End R V) (t : ι → R) |
| 19 | |
| 20 | def conormalEigenRelations : Submodule R V := ⨆ i, (d i - t i • LinearMap.id).range |
| 21 | |
| 22 | def conormalEigenquotient := V ⧸ conormalEigenRelations d t |
| 23 | |
| 24 | instance : AddCommGroup (conormalEigenquotient d t) := |
| 25 | inferInstanceAs (AddCommGroup (V ⧸ conormalEigenRelations d t)) |
| 26 | |
| 27 | instance : Module R (conormalEigenquotient d t) := |
| 28 | inferInstanceAs (Module R (V ⧸ conormalEigenRelations d t)) |
| 29 | |
| 30 | instance [Module.Finite R V] : Module.Finite R (conormalEigenquotient d t) := |
| 31 | inferInstanceAs (Module.Finite R (V ⧸ conormalEigenRelations d t)) |
| 32 | |
| 33 | theorem conormalEigenquotient_finitePresentation [IsNoetherianRing R] [Module.Finite R V] : |
| 34 | Module.FinitePresentation R (conormalEigenquotient d t) := |
| 35 | Module.finitePresentation_of_finite R _ |
| 36 | |
| 37 | variable (k : Type) [CommRing k] [Algebra R k] |
| 38 | |
| 39 | def conormalEigenfunctionals : Submodule k (V →ₗ[R] k) where |
| 40 | carrier := {ℓ | ∀ i v, ℓ (d i v) = t i • ℓ v} |
| 41 | zero_mem' := by simp |
| 42 | add_mem' := by |
| 43 | intro a b ha hb i v |
| 44 | change a (d i v) + b (d i v) = t i • (a v + b v) |
| 45 | rw [ha i v, hb i v, smul_add] |
| 46 | smul_mem' := by |
| 47 | intro c a ha i v |
| 48 | change c • a (d i v) = t i • (c • a v) |
| 49 | rw [ha i v, smul_comm] |
| 50 | |
| 51 | theorem mem_conormalEigenfunctionals_iff (ℓ : V →ₗ[R] k) : |
| 52 | ℓ ∈ conormalEigenfunctionals d t k ↔ conormalEigenRelations d t ≤ ℓ.ker := by |
| 53 | constructor |
| 54 | · intro h |
| 55 | apply iSup_le |
| 56 | intro i v hv |
| 57 | obtain ⟨w, rfl⟩ := hv |
| 58 | change ℓ (d i w - t i • w) = 0 |
| 59 | rw [map_sub, map_smul, h i w, sub_self] |
| 60 | · intro h i v |
| 61 | have hle : (d i - t i • LinearMap.id).range ≤ conormalEigenRelations d t := |
| 62 | le_iSup (fun i => (d i - t i • LinearMap.id).range) i |
| 63 | have hv := h (hle (LinearMap.mem_range_self (d i - t i • LinearMap.id) v)) |
| 64 | change ℓ (d i v - t i • v) = 0 at hv |
| 65 | rw [map_sub, map_smul, sub_eq_zero] at hv |
| 66 | exact hv |
| 67 | |
| 68 | def quotientEigenEquiv : (conormalEigenquotient d t →ₗ[R] k) ≃ₗ[k] |
| 69 | conormalEigenfunctionals d t k where |
| 70 | toFun ℓ := ⟨ℓ.comp (conormalEigenRelations d t).mkQ, by |
| 71 | apply (mem_conormalEigenfunctionals_iff d t k _).mpr |
| 72 | intro v hv |
| 73 | change ℓ ((conormalEigenRelations d t).mkQ v) = 0 |
| 74 | rw [Submodule.mkQ_apply, (Submodule.Quotient.mk_eq_zero _).mpr hv] |
| 75 | exact ℓ.map_zero⟩ |
| 76 | invFun ℓ := (conormalEigenRelations d t).liftQ ℓ.val |
| 77 | ((mem_conormalEigenfunctionals_iff d t k ℓ.val).mp ℓ.property) |
| 78 | left_inv ℓ := by |
| 79 | apply LinearMap.ext |
| 80 | intro v |
| 81 | obtain ⟨w, rfl⟩ := (conormalEigenRelations d t).mkQ_surjective v |
| 82 | rfl |
| 83 | right_inv ℓ := by |
| 84 | apply Subtype.ext |
| 85 | rfl |
| 86 | map_add' _ _ := rfl |
| 87 | map_smul' _ _ := rfl |
| 88 | |
| 89 | def fiberDualEigenEquiv : Module.Dual k (k ⊗[R] conormalEigenquotient d t) ≃ₗ[k] |
| 90 | conormalEigenfunctionals d t k := |
| 91 | (LinearMap.liftBaseChangeEquiv k).symm.trans (quotientEigenEquiv d t k) |
| 92 | |
| 93 | theorem conormalEigenfunctionals_finrank {k : Type} [Field k] [Algebra R k] |
| 94 | [Module.Finite R V] : |
| 95 | Module.finrank k (conormalEigenfunctionals d t k) = |
| 96 | Module.finrank k (k ⊗[R] conormalEigenquotient d t) := by |
| 97 | rw [← (fiberDualEigenEquiv d t k).finrank_eq, Subspace.dual_finrank_eq] |
| 98 | |
| 99 | end |
| 100 | |
| 101 | /-! An actual equivariant linear comparison identifies joint Lie |
| 102 | eigenspaces with the coefficient fibers of the conormal eigenquotient. -/ |
| 103 | |
| 104 | variable {k V I : Type} [Field k] [AddCommGroup V] [Module k V] |
| 105 | (T : I → Module.End k V) (c : I → k) |
| 106 | |
| 107 | def jointEigenspace : Submodule k V := ⨅ i, LinearMap.ker (T i - c i • LinearMap.id) |
| 108 | |
| 109 | theorem mem_jointEigenspace_iff (v : V) : |
| 110 | v ∈ jointEigenspace T c ↔ ∀ i, T i v = c i • v := by |
| 111 | simp only [jointEigenspace, Submodule.mem_iInf, LinearMap.mem_ker, LinearMap.sub_apply, |
| 112 | LinearMap.smul_apply, LinearMap.id_apply, sub_eq_zero] |
| 113 | |
| 114 | variable {R P : Type} [CommRing R] [Algebra R k] [AddCommGroup P] [Module R P] |
| 115 | (d : I → Module.End R P) (t : I → R) (e : V ≃ₗ[k] (P →ₗ[R] k)) |
| 116 | (he : ∀ i v, e (T i v) = (e v).comp (d i)) (hc : ∀ i, c i = algebraMap R k (t i)) |
| 117 | |
| 118 | include he hc in |
| 119 | theorem jointEigenspace_conormal_mem_iff (v : V) : |
| 120 | v ∈ jointEigenspace T c ↔ e v ∈ conormalEigenfunctionals d t k := by |
| 121 | rw [mem_jointEigenspace_iff] |
| 122 | have hscale (i : I) (b : P) : (c i • e v) b = t i • e v b := by |
| 123 | change c i * e v b = t i • e v b |
| 124 | rw [hc i] |
| 125 | exact (Algebra.smul_def (t i) (e v b)).symm |
| 126 | constructor |
| 127 | · intro h i b |
| 128 | have hv := (congrArg e (h i)).trans (e.map_smul (c i) v) |
| 129 | exact (LinearMap.congr_fun (he i v) b).symm.trans |
| 130 | ((LinearMap.congr_fun hv b).trans (hscale i b)) |
| 131 | · intro h i |
| 132 | apply e.injective |
| 133 | rw [e.map_smul, he i v] |
| 134 | apply LinearMap.ext |
| 135 | intro b |
| 136 | exact (h i b).trans (hscale i b).symm |
| 137 | |
| 138 | def jointConormalEquiv : jointEigenspace T c ≃ₗ[k] conormalEigenfunctionals d t k where |
| 139 | toFun v := ⟨e v.val, (jointEigenspace_conormal_mem_iff T c d t e he hc v.val).mp v.property⟩ |
| 140 | invFun w := ⟨e.symm w.val, by |
| 141 | apply (jointEigenspace_conormal_mem_iff T c d t e he hc _).mpr |
| 142 | rw [e.apply_symm_apply] |
| 143 | exact w.property⟩ |
| 144 | left_inv v := Subtype.ext (e.symm_apply_apply v.val) |
| 145 | right_inv w := Subtype.ext (e.apply_symm_apply w.val) |
| 146 | map_add' v w := Subtype.ext (e.map_add v.val w.val) |
| 147 | map_smul' a v := Subtype.ext (e.map_smul a v.val) |
| 148 | |
| 149 | include e he hc in |
| 150 | open scoped TensorProduct in |
| 151 | theorem jointEigenspace_finrank_conormal_quotient [Module.Finite R P] : |
| 152 | Module.finrank k (jointEigenspace T c) = |
| 153 | Module.finrank k (k ⊗[R] conormalEigenquotient d t) := |
| 154 | (jointConormalEquiv T c d t e he hc).finrank_eq.trans (conormalEigenfunctionals_finrank d t) |
| 155 | |
| 156 | end |
| 157 | |
| 158 | end OAI.AlgebraicGeometry.PELModuli.IntegralModel.ConormalEigenquotient |