equal
deleted
inserted
replaced
346 lemma abs_Im_le_cmod: "\<bar>Im x\<bar> \<le> cmod x" |
346 lemma abs_Im_le_cmod: "\<bar>Im x\<bar> \<le> cmod x" |
347 by (cases x) simp |
347 by (cases x) simp |
348 |
348 |
349 subsection {* Completeness of the Complexes *} |
349 subsection {* Completeness of the Complexes *} |
350 |
350 |
351 interpretation Re!: bounded_linear "Re" |
351 interpretation Re: bounded_linear "Re" |
352 apply (unfold_locales, simp, simp) |
352 apply (unfold_locales, simp, simp) |
353 apply (rule_tac x=1 in exI) |
353 apply (rule_tac x=1 in exI) |
354 apply (simp add: complex_norm_def) |
354 apply (simp add: complex_norm_def) |
355 done |
355 done |
356 |
356 |
357 interpretation Im!: bounded_linear "Im" |
357 interpretation Im: bounded_linear "Im" |
358 apply (unfold_locales, simp, simp) |
358 apply (unfold_locales, simp, simp) |
359 apply (rule_tac x=1 in exI) |
359 apply (rule_tac x=1 in exI) |
360 apply (simp add: complex_norm_def) |
360 apply (simp add: complex_norm_def) |
361 done |
361 done |
362 |
362 |
514 by (simp add: expand_complex_eq power2_eq_square) |
514 by (simp add: expand_complex_eq power2_eq_square) |
515 |
515 |
516 lemma complex_mod_mult_cnj: "cmod (z * cnj z) = (cmod z)\<twosuperior>" |
516 lemma complex_mod_mult_cnj: "cmod (z * cnj z) = (cmod z)\<twosuperior>" |
517 by (simp add: norm_mult power2_eq_square) |
517 by (simp add: norm_mult power2_eq_square) |
518 |
518 |
519 interpretation cnj!: bounded_linear "cnj" |
519 interpretation cnj: bounded_linear "cnj" |
520 apply (unfold_locales) |
520 apply (unfold_locales) |
521 apply (rule complex_cnj_add) |
521 apply (rule complex_cnj_add) |
522 apply (rule complex_cnj_scaleR) |
522 apply (rule complex_cnj_scaleR) |
523 apply (rule_tac x=1 in exI, simp) |
523 apply (rule_tac x=1 in exI, simp) |
524 done |
524 done |