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.ArithmeticGroups.Lattices.StabilizerRestriction |
| 2 | |
| 3 | /-! # Lie Invariant Subspaces -/ |
| 4 | |
| 5 | namespace OAI.NumberTheory.ArithmeticGroups.Lattices.LieInvariantSubspaces.Construction |
| 6 | |
| 7 | noncomputable section |
| 8 | |
| 9 | section |
| 10 | |
| 11 | /-! A faithful linear group is solvable if its actions on an invariant |
| 12 | subspace and the corresponding quotient both have solvable images. -/ |
| 13 | |
| 14 | open scoped Classical |
| 15 | |
| 16 | variable {R V H : Type*} [CommRing R] [AddCommGroup V] [Module R V] [Group H] |
| 17 | |
| 18 | def invariantRestriction (ρ : H →* (V ≃ₗ[R] V)) (W : Submodule R V) |
| 19 | (hW : ∀ g, W.map (ρ g).toLinearMap = W) : H →* (W ≃ₗ[R] W) where |
| 20 | toFun g := (ρ g).ofSubmodules W W (hW g) |
| 21 | map_one' := by |
| 22 | apply LinearEquiv.ext |
| 23 | intro x |
| 24 | apply Subtype.ext |
| 25 | change ρ 1 x.val = x.val |
| 26 | rw [map_one] |
| 27 | rfl |
| 28 | map_mul' g h := by |
| 29 | apply LinearEquiv.ext |
| 30 | intro x |
| 31 | apply Subtype.ext |
| 32 | change ρ (g * h) x.val = ρ g (ρ h x.val) |
| 33 | rw [map_mul] |
| 34 | rfl |
| 35 | |
| 36 | def invariantQuotient (ρ : H →* (V ≃ₗ[R] V)) (W : Submodule R V) |
| 37 | (hW : ∀ g, W.map (ρ g).toLinearMap = W) : H →* ((V ⧸ W) ≃ₗ[R] (V ⧸ W)) where |
| 38 | toFun g := Submodule.Quotient.equiv W W (ρ g) (hW g) |
| 39 | map_one' := by |
| 40 | apply LinearEquiv.ext |
| 41 | intro x |
| 42 | induction x using Submodule.Quotient.induction_on with |
| 43 | | H x => simp |
| 44 | map_mul' g h := by |
| 45 | apply LinearEquiv.ext |
| 46 | intro x |
| 47 | induction x using Submodule.Quotient.induction_on with |
| 48 | | H x => simp |
| 49 | |
| 50 | theorem linearEquiv_commute_of_trivial_subquotient |
| 51 | (W : Submodule R V) (e f : V ≃ₗ[R] V) |
| 52 | (heW : ∀ x ∈ W, e x = x) (hfW : ∀ x ∈ W, f x = x) |
| 53 | (heQ : ∀ x, e x - x ∈ W) (hfQ : ∀ x, f x - x ∈ W) : e * f = f * e := by |
| 54 | apply LinearEquiv.ext |
| 55 | intro x |
| 56 | have he := heW (f x - x) (hfQ x) |
| 57 | have hf := hfW (e x - x) (heQ x) |
| 58 | rw [map_sub] at he hf |
| 59 | change e (f x) = f (e x) |
| 60 | apply add_right_cancel (b := x) |
| 61 | calc |
| 62 | e (f x) + x = f x + e x := sub_eq_sub_iff_add_eq_add.mp he |
| 63 | _ = e x + f x := add_comm _ _ |
| 64 | _ = f (e x) + x := (sub_eq_sub_iff_add_eq_add.mp hf).symm |
| 65 | |
| 66 | theorem linear_group_solvable_of_subquotient |
| 67 | (ρ : H →* (V ≃ₗ[R] V)) (hρ : Function.Injective ρ) |
| 68 | (W : Submodule R V) (hW : ∀ g, W.map (ρ g).toLinearMap = W) |
| 69 | [Group.IsSolvable (invariantRestriction ρ W hW).range] |
| 70 | [Group.IsSolvable (invariantQuotient ρ W hW).range] : Group.IsSolvable H := by |
| 71 | let r := invariantRestriction ρ W hW |
| 72 | let q := invariantQuotient ρ W hW |
| 73 | let f := r.rangeRestrict.prod q.rangeRestrict |
| 74 | have hker : Group.IsSolvable f.ker := by |
| 75 | apply Group.isSolvable_of_comm |
| 76 | intro a b |
| 77 | apply Subtype.ext |
| 78 | apply hρ |
| 79 | change ρ (a.val * b.val) = ρ (b.val * a.val) |
| 80 | rw [map_mul, map_mul] |
| 81 | have hr (g : f.ker) : r g.val = 1 := by |
| 82 | have he := congrArg (fun z : r.range × q.range => z.1.val) g.property |
| 83 | exact he |
| 84 | have hq (g : f.ker) : q g.val = 1 := by |
| 85 | have he := congrArg (fun z : r.range × q.range => z.2.val) g.property |
| 86 | exact he |
| 87 | have hfix (g : f.ker) (x : V) (hx : x ∈ W) : ρ g.val x = x := by |
| 88 | exact congrArg (fun e : W ≃ₗ[R] W => (e ⟨x, hx⟩).val) (hr g) |
| 89 | have hdiff (g : f.ker) (x : V) : ρ g.val x - x ∈ W := by |
| 90 | have he := congrArg (fun e : (V ⧸ W) ≃ₗ[R] (V ⧸ W) => e (Submodule.Quotient.mk x)) (hq g) |
| 91 | exact (Submodule.Quotient.eq W).mp he |
| 92 | exact linearEquiv_commute_of_trivial_subquotient W (ρ a.val) (ρ b.val) |
| 93 | (hfix a) (hfix b) (hdiff a) (hdiff b) |
| 94 | let : Group.IsSolvable f.ker := hker |
| 95 | exact Group.isSolvable_of_ker_le_range f.ker.subtype f |
| 96 | (by rw [Subgroup.range_subtype]) |
| 97 | |
| 98 | end |
| 99 | |
| 100 | /-! Common invariant lines for solvable Lie modules, and descent of |
| 101 | subspace invariance to quotient representations. -/ |
| 102 | |
| 103 | open scoped Classical |
| 104 | open Set |
| 105 | |
| 106 | theorem exists_lie_invariant_line |
| 107 | {k L V : Type*} [Field k] [CharZero k] [IsAlgClosed k] |
| 108 | [LieRing L] [LieAlgebra k L] [LieAlgebra.IsSolvable L] |
| 109 | [AddCommGroup V] [Module k V] [FiniteDimensional k V] [Nontrivial V] |
| 110 | [LieRingModule L V] [LieModule k L V] : |
| 111 | ∃ W : LieSubmodule k L V, Module.finrank k W = 1 := by |
| 112 | obtain ⟨χ, hχ⟩ := LieModule.exists_nontrivial_weightSpace_of_isSolvable k L V |
| 113 | let : Nontrivial (LieModule.weightSpace V χ) := hχ |
| 114 | obtain ⟨v, hv⟩ := exists_ne (0 : LieModule.weightSpace V χ) |
| 115 | have hv0 : (v : V) ≠ 0 := by simpa only [ne_eq, Subtype.ext_iff, ZeroMemClass.coe_zero] using hv |
| 116 | have heig : ∀ a : L, ⁅a, (v : V)⁆ = χ a • (v : V) := |
| 117 | (LieModule.mem_weightSpace χ v.val).mp v.property |
| 118 | let W : LieSubmodule k L V := |
| 119 | { toSubmodule := Submodule.span k {v.val} |
| 120 | lie_mem := by |
| 121 | intro a x hx |
| 122 | obtain ⟨c, rfl⟩ := Submodule.mem_span_singleton.mp hx |
| 123 | rw [lie_smul, heig] |
| 124 | exact Submodule.smul_mem _ _ (Submodule.smul_mem _ _ (Submodule.subset_span (mem_singleton _))) } |
| 125 | exact ⟨W, finrank_span_singleton hv0⟩ |
| 126 | |
| 127 | theorem invariant_map_eq_of_mem |
| 128 | {k V H : Type*} [Field k] [AddCommGroup V] [Module k V] [Group H] |
| 129 | (ρ : H →* (V ≃ₗ[k] V)) (W : Submodule k V) |
| 130 | (hW : ∀ g x, x ∈ W → ρ g x ∈ W) (g : H) : W.map (ρ g).toLinearMap = W := by |
| 131 | apply le_antisymm |
| 132 | · rintro _ ⟨x, hx, rfl⟩ |
| 133 | exact hW g x hx |
| 134 | · intro x hx |
| 135 | refine ⟨ρ g⁻¹ x, hW g⁻¹ x hx, ?_⟩ |
| 136 | change ρ g (ρ g⁻¹ x) = x |
| 137 | have he := congrArg (fun e : V ≃ₗ[k] V => e x) (ρ.map_mul g g⁻¹) |
| 138 | simpa only [mul_inv_cancel, map_one, LinearEquiv.coe_one, id_eq, LinearEquiv.mul_apply] using he.symm |
| 139 | |
| 140 | theorem quotient_preserves_lie_submodules |
| 141 | {k L V H : Type*} [Field k] [LieRing L] [LieAlgebra k L] |
| 142 | [AddCommGroup V] [Module k V] [LieRingModule L V] [LieModule k L V] [Group H] |
| 143 | (ρ : H →* (V ≃ₗ[k] V)) |
| 144 | (hstable : ∀ W : LieSubmodule k L V, ∀ g x, x ∈ W → ρ g x ∈ W) |
| 145 | (W : LieSubmodule k L V) |
| 146 | (hW : ∀ g, W.toSubmodule.map (ρ g).toLinearMap = W.toSubmodule) : |
| 147 | ∀ U : LieSubmodule k L (V ⧸ W), ∀ g : (invariantQuotient ρ W.toSubmodule hW).range, |
| 148 | ∀ x, x ∈ U → g.val x ∈ U := by |
| 149 | intro U g x hx |
| 150 | obtain ⟨g, hg⟩ := g |
| 151 | obtain ⟨a, rfl⟩ := hg |
| 152 | obtain ⟨v, rfl⟩ := LieSubmodule.Quotient.surjective_mk' W x |
| 153 | have hv : v ∈ U.comap (LieSubmodule.Quotient.mk' W) := hx |
| 154 | exact hstable (U.comap (LieSubmodule.Quotient.mk' W)) a v hv |
| 155 | |
| 156 | theorem linearEquiv_comm_of_finrank_one |
| 157 | {k V : Type*} [Field k] [AddCommGroup V] [Module k V] [FiniteDimensional k V] |
| 158 | (hV : Module.finrank k V = 1) (e f : V ≃ₗ[k] V) : e * f = f * e := by |
| 159 | let : Nontrivial V := Module.nontrivial_of_finrank_pos (R := k) (M := V) (by omega) |
| 160 | obtain ⟨v, hv⟩ := exists_ne (0 : V) |
| 161 | obtain ⟨a, ha⟩ := exists_smul_eq_of_finrank_eq_one hV hv (e v) |
| 162 | obtain ⟨b, hb⟩ := exists_smul_eq_of_finrank_eq_one hV hv (f v) |
| 163 | apply LinearEquiv.ext |
| 164 | intro x |
| 165 | obtain ⟨c, rfl⟩ := exists_smul_eq_of_finrank_eq_one hV hv x |
| 166 | change e (f (c • v)) = f (e (c • v)) |
| 167 | simp only [map_smul, ← ha, ← hb, smul_smul] |
| 168 | congr 1 |
| 169 | ring |
| 170 | |
| 171 | end |
| 172 | |
| 173 | end OAI.NumberTheory.ArithmeticGroups.Lattices.LieInvariantSubspaces.Construction |