author | wenzelm |
Wed, 13 Nov 2024 20:10:34 +0100 | |
changeset 81438 | 95c9af7483b1 |
parent 81142 | 6ad2c917dd2e |
permissions | -rw-r--r-- |
68582 | 1 |
(* Title: HOL/Algebra/Exact_Sequence.thy |
70041
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
2 |
Author: Martin Baillon (first part) and LC Paulson (material ported from HOL Light) |
68582 | 3 |
*) |
68578 | 4 |
|
70041
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
5 |
section \<open>Exact Sequences\<close> |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
6 |
|
68578 | 7 |
theory Exact_Sequence |
70041
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
8 |
imports Elementary_Groups Solvable_Groups |
68578 | 9 |
begin |
10 |
||
11 |
||
12 |
||
13 |
subsection \<open>Definitions\<close> |
|
14 |
||
15 |
inductive exact_seq :: "'a monoid list \<times> ('a \<Rightarrow> 'a) list \<Rightarrow> bool" where |
|
16 |
unity: " group_hom G1 G2 f \<Longrightarrow> exact_seq ([G2, G1], [f])" | |
|
17 |
extension: "\<lbrakk> exact_seq ((G # K # l), (g # q)); group H ; h \<in> hom G H ; |
|
18 |
kernel G H h = image g (carrier K) \<rbrakk> \<Longrightarrow> exact_seq (H # G # K # l, h # g # q)" |
|
19 |
||
70041
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
20 |
inductive_simps exact_seq_end_iff [simp]: "exact_seq ([G,H], (g # q))" |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
21 |
inductive_simps exact_seq_cons_iff [simp]: "exact_seq ((G # K # H # l), (g # h # q))" |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
22 |
|
68578 | 23 |
abbreviation exact_seq_arrow :: |
24 |
"('a \<Rightarrow> 'a) \<Rightarrow> 'a monoid list \<times> ('a \<Rightarrow> 'a) list \<Rightarrow> 'a monoid \<Rightarrow> 'a monoid list \<times> ('a \<Rightarrow> 'a) list" |
|
81142 | 25 |
(\<open>(\<open>indent=3 notation=\<open>mixfix exact_seq\<close>\<close>_ / \<longlongrightarrow>\<index> _)\<close> [1000, 60]) |
68578 | 26 |
where "exact_seq_arrow f t G \<equiv> (G # (fst t), f # (snd t))" |
27 |
||
28 |
||
29 |
subsection \<open>Basic Properties\<close> |
|
30 |
||
31 |
lemma exact_seq_length1: "exact_seq t \<Longrightarrow> length (fst t) = Suc (length (snd t))" |
|
32 |
by (induct t rule: exact_seq.induct) auto |
|
33 |
||
34 |
lemma exact_seq_length2: "exact_seq t \<Longrightarrow> length (snd t) \<ge> Suc 0" |
|
35 |
by (induct t rule: exact_seq.induct) auto |
|
36 |
||
37 |
lemma dropped_seq_is_exact_seq: |
|
38 |
assumes "exact_seq (G, F)" and "(i :: nat) < length F" |
|
39 |
shows "exact_seq (drop i G, drop i F)" |
|
40 |
proof- |
|
81438 | 41 |
have "exact_seq (drop i (fst t), drop i (snd t))" if "exact_seq t" "i < length (snd t)" for t i |
42 |
using that |
|
43 |
proof (induction arbitrary: i) |
|
44 |
case (unity G1 G2 f) thus ?case |
|
45 |
by (simp add: exact_seq.unity) |
|
46 |
next |
|
47 |
case (extension G K l g q H h) show ?case |
|
48 |
proof (cases) |
|
49 |
assume "i = 0" thus ?case |
|
50 |
using exact_seq.extension[OF extension.hyps] by simp |
|
68578 | 51 |
next |
81438 | 52 |
assume "i \<noteq> 0" hence "i \<ge> Suc 0" by simp |
53 |
then obtain k where "k < length (snd (G # K # l, g # q))" "i = Suc k" |
|
54 |
using Suc_le_D extension.prems by auto |
|
55 |
thus ?thesis using extension.IH by simp |
|
56 |
qed |
|
57 |
qed |
|
68578 | 58 |
thus ?thesis using assms by auto |
59 |
qed |
|
60 |
||
61 |
lemma truncated_seq_is_exact_seq: |
|
62 |
assumes "exact_seq (l, q)" and "length l \<ge> 3" |
|
63 |
shows "exact_seq (tl l, tl q)" |
|
64 |
using exact_seq_length1[OF assms(1)] dropped_seq_is_exact_seq[OF assms(1), of "Suc 0"] |
|
65 |
exact_seq_length2[OF assms(1)] assms(2) by (simp add: drop_Suc) |
|
66 |
||
67 |
lemma exact_seq_imp_exact_hom: |
|
68 |
assumes "exact_seq (G1 # l,q) \<longlongrightarrow>\<^bsub>g1\<^esub> G2 \<longlongrightarrow>\<^bsub>g2\<^esub> G3" |
|
69 |
shows "g1 ` (carrier G1) = kernel G2 G3 g2" |
|
81438 | 70 |
proof - |
71 |
have "(hd (tl (snd t))) ` (carrier (hd (tl (tl (fst t))))) = |
|
68578 | 72 |
kernel (hd (tl (fst t))) (hd (fst t)) (hd (snd t))" |
81438 | 73 |
if "exact_seq t" and "length (fst t) \<ge> 3 \<and> length (snd t) \<ge> 2" for t |
74 |
using that |
|
75 |
proof (induction) |
|
76 |
case (unity G1 G2 f) |
|
77 |
then show ?case by auto |
|
78 |
next |
|
79 |
case (extension G l g q H h) |
|
80 |
then show ?case by auto |
|
81 |
qed |
|
82 |
with assms show ?thesis by fastforce |
|
68578 | 83 |
qed |
84 |
||
85 |
lemma exact_seq_imp_exact_hom_arbitrary: |
|
86 |
assumes "exact_seq (G, F)" |
|
87 |
and "Suc i < length F" |
|
88 |
shows "(F ! (Suc i)) ` (carrier (G ! (Suc (Suc i)))) = kernel (G ! (Suc i)) (G ! i) (F ! i)" |
|
89 |
proof - |
|
90 |
have "length (drop i F) \<ge> 2" "length (drop i G) \<ge> 3" |
|
91 |
using assms(2) exact_seq_length1[OF assms(1)] by auto |
|
92 |
then obtain l q |
|
93 |
where "drop i G = (G ! i) # (G ! (Suc i)) # (G ! (Suc (Suc i))) # l" |
|
94 |
and "drop i F = (F ! i) # (F ! (Suc i)) # q" |
|
95 |
by (metis Cons_nth_drop_Suc Suc_less_eq assms exact_seq_length1 fst_conv |
|
96 |
le_eq_less_or_eq le_imp_less_Suc prod.sel(2)) |
|
97 |
thus ?thesis |
|
98 |
using dropped_seq_is_exact_seq[OF assms(1), of i] assms(2) |
|
99 |
exact_seq_imp_exact_hom[of "G ! i" "G ! (Suc i)" "G ! (Suc (Suc i))" l q] by auto |
|
100 |
qed |
|
101 |
||
102 |
lemma exact_seq_imp_group_hom : |
|
103 |
assumes "exact_seq ((G # l, q)) \<longlongrightarrow>\<^bsub>g\<^esub> H" |
|
104 |
shows "group_hom G H g" |
|
105 |
proof- |
|
81438 | 106 |
have aux_lemma: "group_hom (hd (tl (fst t))) (hd (fst t)) (hd(snd t))" if "exact_seq t" for t |
107 |
using that |
|
108 |
proof (induction) |
|
109 |
case (unity G1 G2 f) |
|
110 |
then show ?case by auto |
|
111 |
next |
|
112 |
case (extension G l g q H h) |
|
113 |
then show ?case unfolding group_hom_def group_hom_axioms_def by auto |
|
114 |
qed |
|
68578 | 115 |
show ?thesis using aux_lemma[OF assms] |
116 |
by simp |
|
117 |
qed |
|
118 |
||
119 |
lemma exact_seq_imp_group_hom_arbitrary: |
|
120 |
assumes "exact_seq (G, F)" and "(i :: nat) < length F" |
|
121 |
shows "group_hom (G ! (Suc i)) (G ! i) (F ! i)" |
|
122 |
proof - |
|
123 |
have "length (drop i F) \<ge> 1" "length (drop i G) \<ge> 2" |
|
124 |
using assms(2) exact_seq_length1[OF assms(1)] by auto |
|
125 |
then obtain l q |
|
126 |
where "drop i G = (G ! i) # (G ! (Suc i)) # l" |
|
127 |
and "drop i F = (F ! i) # q" |
|
128 |
by (metis Cons_nth_drop_Suc Suc_leI assms exact_seq_length1 fst_conv |
|
129 |
le_eq_less_or_eq le_imp_less_Suc prod.sel(2)) |
|
130 |
thus ?thesis |
|
131 |
using dropped_seq_is_exact_seq[OF assms(1), of i] assms(2) |
|
132 |
exact_seq_imp_group_hom[of "G ! i" "G ! (Suc i)" l q "F ! i"] by simp |
|
133 |
qed |
|
134 |
||
135 |
||
136 |
subsection \<open>Link Between Exact Sequences and Solvable Conditions\<close> |
|
137 |
||
138 |
lemma exact_seq_solvable_imp : |
|
139 |
assumes "exact_seq ([G1],[]) \<longlongrightarrow>\<^bsub>g1\<^esub> G2 \<longlongrightarrow>\<^bsub>g2\<^esub> G3" |
|
140 |
and "inj_on g1 (carrier G1)" |
|
141 |
and "g2 ` (carrier G2) = carrier G3" |
|
142 |
shows "solvable G2 \<Longrightarrow> (solvable G1) \<and> (solvable G3)" |
|
143 |
proof - |
|
144 |
assume G2: "solvable G2" |
|
145 |
have "group_hom G1 G2 g1" |
|
146 |
using exact_seq_imp_group_hom_arbitrary[OF assms(1), of "Suc 0"] by simp |
|
147 |
hence "solvable G1" |
|
148 |
using group_hom.inj_hom_imp_solvable[of G1 G2 g1] assms(2) G2 by simp |
|
149 |
moreover have "group_hom G2 G3 g2" |
|
150 |
using exact_seq_imp_group_hom_arbitrary[OF assms(1), of 0] by simp |
|
151 |
hence "solvable G3" |
|
152 |
using group_hom.surj_hom_imp_solvable[of G2 G3 g2] assms(3) G2 by simp |
|
153 |
ultimately show ?thesis by simp |
|
154 |
qed |
|
155 |
||
156 |
lemma exact_seq_solvable_recip : |
|
157 |
assumes "exact_seq ([G1],[]) \<longlongrightarrow>\<^bsub>g1\<^esub> G2 \<longlongrightarrow>\<^bsub>g2\<^esub> G3" |
|
158 |
and "inj_on g1 (carrier G1)" |
|
159 |
and "g2 ` (carrier G2) = carrier G3" |
|
160 |
shows "(solvable G1) \<and> (solvable G3) \<Longrightarrow> solvable G2" |
|
161 |
proof - |
|
162 |
assume "(solvable G1) \<and> (solvable G3)" |
|
163 |
hence G1: "solvable G1" and G3: "solvable G3" by auto |
|
164 |
have g1: "group_hom G1 G2 g1" and g2: "group_hom G2 G3 g2" |
|
165 |
using exact_seq_imp_group_hom_arbitrary[OF assms(1), of "Suc 0"] |
|
166 |
exact_seq_imp_group_hom_arbitrary[OF assms(1), of 0] by auto |
|
167 |
show ?thesis |
|
168 |
using solvable_condition[OF g1 g2 assms(3)] |
|
169 |
exact_seq_imp_exact_hom[OF assms(1)] G1 G3 by auto |
|
170 |
qed |
|
171 |
||
172 |
proposition exact_seq_solvable_iff : |
|
173 |
assumes "exact_seq ([G1],[]) \<longlongrightarrow>\<^bsub>g1\<^esub> G2 \<longlongrightarrow>\<^bsub>g2\<^esub> G3" |
|
174 |
and "inj_on g1 (carrier G1)" |
|
175 |
and "g2 ` (carrier G2) = carrier G3" |
|
176 |
shows "(solvable G1) \<and> (solvable G3) \<longleftrightarrow> solvable G2" |
|
177 |
using exact_seq_solvable_recip exact_seq_solvable_imp assms by blast |
|
178 |
||
70041
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
179 |
|
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
180 |
lemma exact_seq_eq_triviality: |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
181 |
assumes "exact_seq ([E,D,C,B,A], [k,h,g,f])" |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
182 |
shows "trivial_group C \<longleftrightarrow> f ` carrier A = carrier B \<and> inj_on k (carrier D)" (is "_ = ?rhs") |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
183 |
proof |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
184 |
assume C: "trivial_group C" |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
185 |
with assms have "inj_on k (carrier D)" |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
186 |
apply (auto simp: group_hom.image_from_trivial_group trivial_group_def hom_one) |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
187 |
apply (simp add: group_hom_def group_hom_axioms_def group_hom.inj_iff_trivial_ker) |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
188 |
done |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
189 |
with assms C show ?rhs |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
190 |
apply (auto simp: group_hom.image_from_trivial_group trivial_group_def hom_one) |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
191 |
apply (auto simp: group_hom_def group_hom_axioms_def hom_def kernel_def) |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
192 |
done |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
193 |
next |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
194 |
assume ?rhs |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
195 |
with assms show "trivial_group C" |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
196 |
apply (simp add: trivial_group_def) |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
197 |
by (metis group_hom.inj_iff_trivial_ker group_hom.trivial_hom_iff group_hom_axioms.intro group_hom_def) |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
198 |
qed |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
199 |
|
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
200 |
lemma exact_seq_imp_triviality: |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
201 |
"\<lbrakk>exact_seq ([E,D,C,B,A], [k,h,g,f]); f \<in> iso A B; k \<in> iso D E\<rbrakk> \<Longrightarrow> trivial_group C" |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
202 |
by (metis (no_types, lifting) Group.iso_def bij_betw_def exact_seq_eq_triviality mem_Collect_eq) |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
203 |
|
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
204 |
lemma exact_seq_epi_eq_triviality: |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
205 |
"exact_seq ([D,C,B,A], [h,g,f]) \<Longrightarrow> (f ` carrier A = carrier B) \<longleftrightarrow> trivial_homomorphism B C g" |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
206 |
by (auto simp: trivial_homomorphism_def kernel_def) |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
207 |
|
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
208 |
lemma exact_seq_mon_eq_triviality: |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
209 |
"exact_seq ([D,C,B,A], [h,g,f]) \<Longrightarrow> inj_on h (carrier C) \<longleftrightarrow> trivial_homomorphism B C g" |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
210 |
by (auto simp: trivial_homomorphism_def kernel_def group.is_monoid inj_on_one_iff' image_def) blast |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
211 |
|
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
212 |
lemma exact_sequence_sum_lemma: |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
213 |
assumes "comm_group G" and h: "h \<in> iso A C" and k: "k \<in> iso B D" |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
214 |
and ex: "exact_seq ([D,G,A], [g,i])" "exact_seq ([C,G,B], [f,j])" |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
215 |
and fih: "\<And>x. x \<in> carrier A \<Longrightarrow> f(i x) = h x" |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
216 |
and gjk: "\<And>x. x \<in> carrier B \<Longrightarrow> g(j x) = k x" |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
217 |
shows "(\<lambda>(x, y). i x \<otimes>\<^bsub>G\<^esub> j y) \<in> Group.iso (A \<times>\<times> B) G \<and> (\<lambda>z. (f z, g z)) \<in> Group.iso G (C \<times>\<times> D)" |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
218 |
(is "?ij \<in> _ \<and> ?gf \<in> _") |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
219 |
proof (rule epi_iso_compose_rev) |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
220 |
interpret comm_group G |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
221 |
by (rule assms) |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
222 |
interpret f: group_hom G C f |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
223 |
using ex by (simp add: group_hom_def group_hom_axioms_def) |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
224 |
interpret g: group_hom G D g |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
225 |
using ex by (simp add: group_hom_def group_hom_axioms_def) |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
226 |
interpret i: group_hom A G i |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
227 |
using ex by (simp add: group_hom_def group_hom_axioms_def) |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
228 |
interpret j: group_hom B G j |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
229 |
using ex by (simp add: group_hom_def group_hom_axioms_def) |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
230 |
have kerf: "kernel G C f = j ` carrier B" and "group A" "group B" "i \<in> hom A G" |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
231 |
using ex by (auto simp: group_hom_def group_hom_axioms_def) |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
232 |
then obtain h' where "h' \<in> hom C A" "(\<forall>x \<in> carrier A. h'(h x) = x)" |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
233 |
and hh': "(\<forall>y \<in> carrier C. h(h' y) = y)" and "group_isomorphisms A C h h'" |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
234 |
using h by (auto simp: group.iso_iff_group_isomorphisms group_isomorphisms_def) |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
235 |
have homij: "?ij \<in> hom (A \<times>\<times> B) G" |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
236 |
unfolding case_prod_unfold |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
237 |
apply (rule hom_group_mult) |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
238 |
using ex by (simp_all add: group_hom_def hom_of_fst [unfolded o_def] hom_of_snd [unfolded o_def]) |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
239 |
show homgf: "?gf \<in> hom G (C \<times>\<times> D)" |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
240 |
using ex by (simp add: hom_paired) |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
241 |
show "?ij \<in> epi (A \<times>\<times> B) G" |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
242 |
proof (clarsimp simp add: epi_iff_subset homij) |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
243 |
fix x |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
244 |
assume x: "x \<in> carrier G" |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
245 |
with \<open>i \<in> hom A G\<close> \<open>h' \<in> hom C A\<close> have "x \<otimes>\<^bsub>G\<^esub> inv\<^bsub>G\<^esub>(i(h'(f x))) \<in> kernel G C f" |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
246 |
by (simp add: kernel_def hom_in_carrier hh' fih) |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
247 |
with kerf obtain y where y: "y \<in> carrier B" "j y = x \<otimes>\<^bsub>G\<^esub> inv\<^bsub>G\<^esub>(i(h'(f x)))" |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
248 |
by auto |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
249 |
have "i (h' (f x)) \<otimes>\<^bsub>G\<^esub> (x \<otimes>\<^bsub>G\<^esub> inv\<^bsub>G\<^esub> i (h' (f x))) = x \<otimes>\<^bsub>G\<^esub> (i (h' (f x)) \<otimes>\<^bsub>G\<^esub> inv\<^bsub>G\<^esub> i (h' (f x)))" |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
250 |
by (meson \<open>h' \<in> hom C A\<close> x f.hom_closed hom_in_carrier i.hom_closed inv_closed m_lcomm) |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
251 |
also have "\<dots> = x" |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
252 |
using \<open>h' \<in> hom C A\<close> hom_in_carrier x by fastforce |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
253 |
finally show "x \<in> (\<lambda>(x, y). i x \<otimes>\<^bsub>G\<^esub> j y) ` (carrier A \<times> carrier B)" |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
254 |
using x y apply (clarsimp simp: image_def) |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
255 |
apply (rule_tac x="h'(f x)" in bexI) |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
256 |
apply (rule_tac x=y in bexI, auto) |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
257 |
by (meson \<open>h' \<in> hom C A\<close> f.hom_closed hom_in_carrier) |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
258 |
qed |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
259 |
show "(\<lambda>z. (f z, g z)) \<circ> (\<lambda>(x, y). i x \<otimes>\<^bsub>G\<^esub> j y) \<in> Group.iso (A \<times>\<times> B) (C \<times>\<times> D)" |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
260 |
apply (rule group.iso_eq [where f = "\<lambda>(x,y). (h x,k y)"]) |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
261 |
using ex |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
262 |
apply (auto simp: group_hom_def group_hom_axioms_def DirProd_group iso_paired2 h k fih gjk kernel_def set_eq_iff) |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
263 |
apply (metis f.hom_closed f.r_one fih imageI) |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
264 |
apply (metis g.hom_closed g.l_one gjk imageI) |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
265 |
done |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
266 |
qed |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
267 |
|
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
268 |
subsection \<open>Splitting lemmas and Short exact sequences\<close> |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
269 |
text\<open>Ported from HOL Light by LCP\<close> |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
270 |
|
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
271 |
definition short_exact_sequence |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
272 |
where "short_exact_sequence A B C f g \<equiv> \<exists>T1 T2 e1 e2. exact_seq ([T1,A,B,C,T2], [e1,f,g,e2]) \<and> trivial_group T1 \<and> trivial_group T2" |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
273 |
|
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
274 |
lemma short_exact_sequenceD: |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
275 |
assumes "short_exact_sequence A B C f g" shows "exact_seq ([A,B,C], [f,g]) \<and> f \<in> epi B A \<and> g \<in> mon C B" |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
276 |
using assms |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
277 |
apply (auto simp: short_exact_sequence_def group_hom_def group_hom_axioms_def) |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
278 |
apply (simp add: epi_iff_subset group_hom.intro group_hom.kernel_to_trivial_group group_hom_axioms.intro) |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
279 |
by (metis (no_types, lifting) group_hom.inj_iff_trivial_ker group_hom.intro group_hom_axioms.intro |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
280 |
hom_one image_empty image_insert mem_Collect_eq mon_def trivial_group_def) |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
281 |
|
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
282 |
lemma short_exact_sequence_iff: |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
283 |
"short_exact_sequence A B C f g \<longleftrightarrow> exact_seq ([A,B,C], [f,g]) \<and> f \<in> epi B A \<and> g \<in> mon C B" |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
284 |
proof - |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
285 |
have "short_exact_sequence A B C f g" |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
286 |
if "exact_seq ([A, B, C], [f, g])" and "f \<in> epi B A" and "g \<in> mon C B" |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
287 |
proof - |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
288 |
show ?thesis |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
289 |
unfolding short_exact_sequence_def |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
290 |
proof (intro exI conjI) |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
291 |
have "kernel A (singleton_group \<one>\<^bsub>A\<^esub>) (\<lambda>x. \<one>\<^bsub>A\<^esub>) = f ` carrier B" |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
292 |
using that by (simp add: kernel_def singleton_group_def epi_def) |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
293 |
moreover have "kernel C B g = {\<one>\<^bsub>C\<^esub>}" |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
294 |
using that group_hom.inj_iff_trivial_ker mon_def by fastforce |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
295 |
ultimately show "exact_seq ([singleton_group (one A), A, B, C, singleton_group (one C)], [\<lambda>x. \<one>\<^bsub>A\<^esub>, f, g, id])" |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
296 |
using that |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
297 |
by (simp add: group_hom_def group_hom_axioms_def group.id_hom_singleton) |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
298 |
qed auto |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
299 |
qed |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
300 |
then show ?thesis |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
301 |
using short_exact_sequenceD by blast |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
302 |
qed |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
303 |
|
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
304 |
lemma very_short_exact_sequence: |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
305 |
assumes "exact_seq ([D,C,B,A], [h,g,f])" "trivial_group A" "trivial_group D" |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
306 |
shows "g \<in> iso B C" |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
307 |
using assms |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
308 |
apply simp |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
309 |
by (metis (no_types, lifting) group_hom.image_from_trivial_group group_hom.iso_iff |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
310 |
group_hom.kernel_to_trivial_group group_hom.trivial_ker_imp_inj group_hom_axioms.intro group_hom_def hom_carrier inj_on_one_iff') |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
311 |
|
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
312 |
lemma splitting_sublemma_gen: |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
313 |
assumes ex: "exact_seq ([C,B,A], [g,f])" and fim: "f ` carrier A = H" |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
314 |
and "subgroup K B" and 1: "H \<inter> K \<subseteq> {one B}" and eq: "set_mult B H K = carrier B" |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
315 |
shows "g \<in> iso (subgroup_generated B K) (subgroup_generated C(g ` carrier B))" |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
316 |
proof - |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
317 |
interpret KB: subgroup K B |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
318 |
by (rule assms) |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
319 |
interpret fAB: group_hom A B f |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
320 |
using ex by simp |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
321 |
interpret gBC: group_hom B C g |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
322 |
using ex by (simp add: group_hom_def group_hom_axioms_def) |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
323 |
have "group A" "group B" "group C" and kerg: "kernel B C g = f ` carrier A" |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
324 |
using ex by (auto simp: group_hom_def group_hom_axioms_def) |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
325 |
have ker_eq: "kernel B C g = H" |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
326 |
using ex by (simp add: fim) |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
327 |
then have "subgroup H B" |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
328 |
using ex by (simp add: group_hom.img_is_subgroup) |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
329 |
show ?thesis |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
330 |
unfolding iso_iff |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
331 |
proof (intro conjI) |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
332 |
show "g \<in> hom (subgroup_generated B K) (subgroup_generated C(g ` carrier B))" |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
333 |
by (metis ker_eq \<open>subgroup K B\<close> eq gBC.hom_between_subgroups gBC.set_mult_ker_hom(2) order_refl subgroup.subset) |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
334 |
show "g ` carrier (subgroup_generated B K) = carrier (subgroup_generated C(g ` carrier B))" |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
335 |
by (metis assms(3) eq fAB.H.subgroupE(1) gBC.img_is_subgroup gBC.set_mult_ker_hom(2) ker_eq subgroup.carrier_subgroup_generated_subgroup) |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
336 |
interpret gKBC: group_hom "subgroup_generated B K" C g |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
337 |
apply (auto simp: group_hom_def group_hom_axioms_def \<open>group C\<close>) |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
338 |
by (simp add: fAB.H.hom_from_subgroup_generated gBC.homh) |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
339 |
have *: "x = \<one>\<^bsub>B\<^esub>" |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
340 |
if x: "x \<in> carrier (subgroup_generated B K)" and "g x = \<one>\<^bsub>C\<^esub>" for x |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
341 |
proof - |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
342 |
have x': "x \<in> carrier B" |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
343 |
using that fAB.H.carrier_subgroup_generated_subset by blast |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
344 |
moreover have "x \<in> H" |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
345 |
using kerg fim x' that by (auto simp: kernel_def set_eq_iff) |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
346 |
ultimately show ?thesis |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
347 |
by (metis "1" x Int_iff singletonD KB.carrier_subgroup_generated_subgroup subsetCE) |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
348 |
qed |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
349 |
show "inj_on g (carrier (subgroup_generated B K))" |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
350 |
using "*" gKBC.inj_on_one_iff by auto |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
351 |
qed |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
352 |
qed |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
353 |
|
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
354 |
lemma splitting_sublemma: |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
355 |
assumes ex: "short_exact_sequence C B A g f" and fim: "f ` carrier A = H" |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
356 |
and "subgroup K B" and 1: "H \<inter> K \<subseteq> {one B}" and eq: "set_mult B H K = carrier B" |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
357 |
shows "f \<in> iso A (subgroup_generated B H)" (is ?f) |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
358 |
"g \<in> iso (subgroup_generated B K) C" (is ?g) |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
359 |
proof - |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
360 |
show ?f |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
361 |
using short_exact_sequenceD [OF ex] |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
362 |
apply (clarsimp simp add: group_hom_def group.iso_onto_image) |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
363 |
using fim group.iso_onto_image by blast |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
364 |
have "C = subgroup_generated C(g ` carrier B)" |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
365 |
using short_exact_sequenceD [OF ex] |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
366 |
apply simp |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
367 |
by (metis epi_iff_subset group.subgroup_generated_group_carrier hom_carrier subset_antisym) |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
368 |
then show ?g |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
369 |
using short_exact_sequenceD [OF ex] |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
370 |
by (metis "1" \<open>subgroup K B\<close> eq fim splitting_sublemma_gen) |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
371 |
qed |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
372 |
|
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
373 |
lemma splitting_lemma_left_gen: |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
374 |
assumes ex: "exact_seq ([C,B,A], [g,f])" and f': "f' \<in> hom B A" and iso: "(f' \<circ> f) \<in> iso A A" |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
375 |
and injf: "inj_on f (carrier A)" and surj: "g ` carrier B = carrier C" |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
376 |
obtains H K where "H \<lhd> B" "K \<lhd> B" "H \<inter> K \<subseteq> {one B}" "set_mult B H K = carrier B" |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
377 |
"f \<in> iso A (subgroup_generated B H)" "g \<in> iso (subgroup_generated B K) C" |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
378 |
proof - |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
379 |
interpret gBC: group_hom B C g |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
380 |
using ex by (simp add: group_hom_def group_hom_axioms_def) |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
381 |
have "group A" "group B" "group C" and kerg: "kernel B C g = f ` carrier A" |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
382 |
using ex by (auto simp: group_hom_def group_hom_axioms_def) |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
383 |
then have *: "f ` carrier A \<inter> kernel B A f' = {\<one>\<^bsub>B\<^esub>} \<and> f ` carrier A <#>\<^bsub>B\<^esub> kernel B A f' = carrier B" |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
384 |
using group_semidirect_sum_image_ker [of f A B f' A] assms by auto |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
385 |
interpret f'AB: group_hom B A f' |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
386 |
using assms by (auto simp: group_hom_def group_hom_axioms_def) |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
387 |
let ?H = "f ` carrier A" |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
388 |
let ?K = "kernel B A f'" |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
389 |
show thesis |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
390 |
proof |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
391 |
show "?H \<lhd> B" |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
392 |
by (simp add: gBC.normal_kernel flip: kerg) |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
393 |
show "?K \<lhd> B" |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
394 |
by (rule f'AB.normal_kernel) |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
395 |
show "?H \<inter> ?K \<subseteq> {\<one>\<^bsub>B\<^esub>}" "?H <#>\<^bsub>B\<^esub> ?K = carrier B" |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
396 |
using * by auto |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
397 |
show "f \<in> Group.iso A (subgroup_generated B ?H)" |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
398 |
using ex by (simp add: injf iso_onto_image group_hom_def group_hom_axioms_def) |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
399 |
have C: "C = subgroup_generated C(g ` carrier B)" |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
400 |
using surj by (simp add: gBC.subgroup_generated_group_carrier) |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
401 |
show "g \<in> Group.iso (subgroup_generated B ?K) C" |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
402 |
apply (subst C) |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
403 |
apply (rule splitting_sublemma_gen [OF ex refl]) |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
404 |
using * by (auto simp: f'AB.subgroup_kernel) |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
405 |
qed |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
406 |
qed |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
407 |
|
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
408 |
lemma splitting_lemma_left: |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
409 |
assumes ex: "exact_seq ([C,B,A], [g,f])" and f': "f' \<in> hom B A" |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
410 |
and inv: "(\<And>x. x \<in> carrier A \<Longrightarrow> f'(f x) = x)" |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
411 |
and injf: "inj_on f (carrier A)" and surj: "g ` carrier B = carrier C" |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
412 |
obtains H K where "H \<lhd> B" "K \<lhd> B" "H \<inter> K \<subseteq> {one B}" "set_mult B H K = carrier B" |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
413 |
"f \<in> iso A (subgroup_generated B H)" "g \<in> iso (subgroup_generated B K) C" |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
414 |
proof - |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
415 |
interpret fAB: group_hom A B f |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
416 |
using ex by simp |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
417 |
interpret gBC: group_hom B C g |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
418 |
using ex by (simp add: group_hom_def group_hom_axioms_def) |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
419 |
have "group A" "group B" "group C" and kerg: "kernel B C g = f ` carrier A" |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
420 |
using ex by (auto simp: group_hom_def group_hom_axioms_def) |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
421 |
have iso: "f' \<circ> f \<in> Group.iso A A" |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
422 |
using ex by (auto simp: inv intro: group.iso_eq [OF \<open>group A\<close> id_iso]) |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
423 |
show thesis |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
424 |
by (metis that splitting_lemma_left_gen [OF ex f' iso injf surj]) |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
425 |
qed |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
426 |
|
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
427 |
lemma splitting_lemma_right_gen: |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
428 |
assumes ex: "short_exact_sequence C B A g f" and g': "g' \<in> hom C B" and iso: "(g \<circ> g') \<in> iso C C" |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
429 |
obtains H K where "H \<lhd> B" "subgroup K B" "H \<inter> K \<subseteq> {one B}" "set_mult B H K = carrier B" |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
430 |
"f \<in> iso A (subgroup_generated B H)" "g \<in> iso (subgroup_generated B K) C" |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
431 |
proof |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
432 |
interpret fAB: group_hom A B f |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
433 |
using short_exact_sequenceD [OF ex] by (simp add: group_hom_def group_hom_axioms_def) |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
434 |
interpret gBC: group_hom B C g |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
435 |
using short_exact_sequenceD [OF ex] by (simp add: group_hom_def group_hom_axioms_def) |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
436 |
have *: "f ` carrier A \<inter> g' ` carrier C = {\<one>\<^bsub>B\<^esub>}" |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
437 |
"f ` carrier A <#>\<^bsub>B\<^esub> g' ` carrier C = carrier B" |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
438 |
"group A" "group B" "group C" |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
439 |
"kernel B C g = f ` carrier A" |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
440 |
using group_semidirect_sum_ker_image [of g g' C C B] short_exact_sequenceD [OF ex] |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
441 |
by (simp_all add: g' iso group_hom_def) |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
442 |
show "kernel B C g \<lhd> B" |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
443 |
by (simp add: gBC.normal_kernel) |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
444 |
show "(kernel B C g) \<inter> (g' ` carrier C) \<subseteq> {\<one>\<^bsub>B\<^esub>}" "(kernel B C g) <#>\<^bsub>B\<^esub> (g' ` carrier C) = carrier B" |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
445 |
by (auto simp: *) |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
446 |
show "f \<in> Group.iso A (subgroup_generated B (kernel B C g))" |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
447 |
by (metis "*"(6) fAB.group_hom_axioms group.iso_onto_image group_hom_def short_exact_sequenceD [OF ex]) |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
448 |
show "subgroup (g' ` carrier C) B" |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
449 |
using splitting_sublemma |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
450 |
by (simp add: fAB.H.is_group g' gBC.is_group group_hom.img_is_subgroup group_hom_axioms_def group_hom_def) |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
451 |
then show "g \<in> Group.iso (subgroup_generated B (g' ` carrier C)) C" |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
452 |
by (metis (no_types, lifting) iso_iff fAB.H.hom_from_subgroup_generated gBC.homh image_comp inj_on_imageI iso subgroup.carrier_subgroup_generated_subgroup) |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
453 |
qed |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
454 |
|
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
455 |
lemma splitting_lemma_right: |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
456 |
assumes ex: "short_exact_sequence C B A g f" and g': "g' \<in> hom C B" and gg': "\<And>z. z \<in> carrier C \<Longrightarrow> g(g' z) = z" |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
457 |
obtains H K where "H \<lhd> B" "subgroup K B" "H \<inter> K \<subseteq> {one B}" "set_mult B H K = carrier B" |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
458 |
"f \<in> iso A (subgroup_generated B H)" "g \<in> iso (subgroup_generated B K) C" |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
459 |
proof - |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
460 |
have *: "group A" "group B" "group C" |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
461 |
using group_semidirect_sum_ker_image [of g g' C C B] short_exact_sequenceD [OF ex] |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
462 |
by (simp_all add: g' group_hom_def) |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
463 |
show thesis |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
464 |
apply (rule splitting_lemma_right_gen [OF ex g' group.iso_eq [OF _ id_iso]]) |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
465 |
using * apply (auto simp: gg' intro: that) |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
466 |
done |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
467 |
qed |
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
468 |
|
2b23dd163c7f
Material concerning exact sequences of groups
paulson <lp15@cam.ac.uk>
parents:
68582
diff
changeset
|
469 |
|
68578 | 470 |
end |