(**************************************************************************)
(* ___ *)
(* ||M|| *)
(* ||A|| A project by Andrea Asperti *)
(* ||T|| *)
(* ||I|| Developers: *)
(* ||T|| The HELM team. *)
(* ||A|| http://helm.cs.unibo.it *)
(* \ / *)
(* \ / This file is distributed under the terms of the *)
(* v GNU General Public License Version 2 *)
(* *)
(**************************************************************************)
(* This file was automatically generated: do not edit *********************)
include "CoRN.ma".
(* $Id: CComplex.v,v 1.8 2004/04/23 10:00:55 lcf Exp $ *)
(*#* printing Re %\ensuremath{\Re}% #ℜ# *)
(*#* printing Im %\ensuremath{\Im}% #ℑ# *)
(*#* printing CC %\ensuremath{\mathbb C}% #C# *)
(*#* printing II %\ensuremath{\imath}% #i# *)
(*#* printing [+I*] %\ensuremath{+\imath}% *)
(*#* printing AbsCC %\ensuremath{|\cdot|_{\mathbb C}}% *)
(*#* printing CCX %\ensuremath{\mathbb C[X]}% #C[X]# *)
include "reals/NRootIR.ma".
(*#* * Complex Numbers
** Algebraic structure
*)
(* UNEXPORTED
Section Complex_Numbers
*)
inline procedural "cic:/CoRN/complex/CComplex/CC_set.ind".
inline procedural "cic:/CoRN/complex/CComplex/cc_ap.con" as definition.
inline procedural "cic:/CoRN/complex/CComplex/cc_eq.con" as definition.
inline procedural "cic:/CoRN/complex/CComplex/cc_is_CSetoid.con" as lemma.
inline procedural "cic:/CoRN/complex/CComplex/cc_csetoid.con" as definition.
inline procedural "cic:/CoRN/complex/CComplex/cc_plus.con" as definition.
inline procedural "cic:/CoRN/complex/CComplex/cc_mult.con" as definition.
inline procedural "cic:/CoRN/complex/CComplex/cc_zero.con" as definition.
inline procedural "cic:/CoRN/complex/CComplex/cc_one.con" as definition.
inline procedural "cic:/CoRN/complex/CComplex/cc_i.con" as definition.
inline procedural "cic:/CoRN/complex/CComplex/cc_inv.con" as definition.
(* not needed anymore
Lemma cc_plus_op_proof : (bin_op_wd cc_csetoid cc_plus).
Unfold bin_op_wd. Unfold bin_fun_wd.
Intros x1 x2 y1 y2. Elim x1. Elim x2. Elim y1. Elim y2.
Simpl. Unfold cc_eq. Simpl. Intros.
Elim H. Clear H. Intros. Elim H0. Clear H0. Intros.
Split; Algebra.
Qed.
Lemma cc_mult_op_proof : (bin_op_wd cc_csetoid cc_mult).
Unfold bin_op_wd. Unfold bin_fun_wd.
Intros x1 x2 y1 y2. Elim x1. Elim x2. Elim y1. Elim y2.
Simpl. Unfold cc_eq. Simpl. Intros.
Elim H. Clear H. Intros. Elim H0. Clear H0. Intros.
Split; Algebra.
Qed.
Lemma cc_inv_op_proof : (un_op_wd cc_csetoid cc_inv).
Unfold un_op_wd. Unfold fun_wd.
Intros x y. Elim x. Elim y.
Simpl. Unfold cc_eq. Simpl. Intros.
Elim H. Clear H. Intros.
Split; Algebra.
Qed.
*)
inline procedural "cic:/CoRN/complex/CComplex/cc_inv_strext.con" as lemma.
inline procedural "cic:/CoRN/complex/CComplex/cc_plus_strext.con" as lemma.
inline procedural "cic:/CoRN/complex/CComplex/cc_mult_strext.con" as lemma.
inline procedural "cic:/CoRN/complex/CComplex/cc_inv_op.con" as definition.
inline procedural "cic:/CoRN/complex/CComplex/cc_plus_op.con" as definition.
inline procedural "cic:/CoRN/complex/CComplex/cc_mult_op.con" as definition.
inline procedural "cic:/CoRN/complex/CComplex/cc_csg_associative.con" as lemma.
inline procedural "cic:/CoRN/complex/CComplex/cc_cr_mult_associative.con" as lemma.
inline procedural "cic:/CoRN/complex/CComplex/cc_csemi_grp.con" as definition.
inline procedural "cic:/CoRN/complex/CComplex/cc_cm_proof.con" as lemma.
inline procedural "cic:/CoRN/complex/CComplex/cc_cmonoid.con" as definition.
inline procedural "cic:/CoRN/complex/CComplex/cc_cg_proof.con" as lemma.
inline procedural "cic:/CoRN/complex/CComplex/cc_cr_dist.con" as lemma.
inline procedural "cic:/CoRN/complex/CComplex/cc_cr_non_triv.con" as lemma.
inline procedural "cic:/CoRN/complex/CComplex/cc_cgroup.con" as definition.
inline procedural "cic:/CoRN/complex/CComplex/cc_cabgroup.con" as definition.
inline procedural "cic:/CoRN/complex/CComplex/cc_cr_mult_mon.con" as lemma.
inline procedural "cic:/CoRN/complex/CComplex/cc_mult_commutes.con" as lemma.
inline procedural "cic:/CoRN/complex/CComplex/cc_isCRing.con" as lemma.
inline procedural "cic:/CoRN/complex/CComplex/cc_cring.con" as definition.
inline procedural "cic:/CoRN/complex/CComplex/cc_ap_zero.con" as lemma.
inline procedural "cic:/CoRN/complex/CComplex/cc_inv_aid.con" as lemma.
(*#*
If [x [~=] Zero] or [y [~=] Zero], then [x [/] x[^]2 [+] y[^]2 [~=] Zero] or
[[--]y[/]x[^]2[+]y[^]2 [~=] Zero].
*)
inline procedural "cic:/CoRN/complex/CComplex/cc_inv_aid2.con" as lemma.
(*
REMARK KEPT FOR SENTIMENTAL REASONS...
This definition seems clever. Even though we *cannot* construct an
element of (NonZeros cc_cring) (a Set) by deciding which part of the
input (Re or Im) is NonZero (a Prop), we manage to construct the
actual function.
*)
inline procedural "cic:/CoRN/complex/CComplex/cc_recip.con" as definition.
inline procedural "cic:/CoRN/complex/CComplex/cc_cfield_proof.con" as lemma.
inline procedural "cic:/CoRN/complex/CComplex/cc_Recip_proof.con" as lemma.
(* UNEXPORTED
Opaque cc_recip.
*)
(* UNEXPORTED
Opaque cc_inv.
*)
inline procedural "cic:/CoRN/complex/CComplex/cc_cfield.con" as definition.
inline procedural "cic:/CoRN/complex/CComplex/CC.con" as definition.
(*#*
Maps from reals to complex and vice-versa are defined, as well as conjugate,
absolute value and the imaginary unit [I] *)
inline procedural "cic:/CoRN/complex/CComplex/cc_set_CC.con" as definition.
inline procedural "cic:/CoRN/complex/CComplex/cc_IR.con" as definition.
inline procedural "cic:/CoRN/complex/CComplex/CC_conj.con" as definition.
(* old def
Definition CC_conj' : CC->CC := [z:CC_set] (CC_set_rec [_:CC_set]CC_set [Re0,Im0:IR] (Build_CC_set Re0 [--]Im0) z).
*)
inline procedural "cic:/CoRN/complex/CComplex/AbsCC.con" as definition.
inline procedural "cic:/CoRN/complex/CComplex/TwoCC_ap_zero.con" as lemma.
(* UNEXPORTED
End Complex_Numbers
*)
(* begin hide *)
(* NOTATION
Notation CCX := (cpoly_cring CC).
*)
(* end hide *)
inline procedural "cic:/CoRN/complex/CComplex/II.con" as definition.
(* NOTATION
Infix "[+I*]" := cc_set_CC (at level 48, no associativity).
*)
(*#* ** Properties of [II] *)
(* UNEXPORTED
Section I_properties
*)
inline procedural "cic:/CoRN/complex/CComplex/I_square.con" as lemma.
(* UNEXPORTED
Hint Resolve I_square: algebra.
*)
inline procedural "cic:/CoRN/complex/CComplex/I_square'.con" as lemma.
inline procedural "cic:/CoRN/complex/CComplex/I_recip_lft.con" as lemma.
inline procedural "cic:/CoRN/complex/CComplex/I_recip_rht.con" as lemma.
inline procedural "cic:/CoRN/complex/CComplex/mult_I.con" as lemma.
inline procedural "cic:/CoRN/complex/CComplex/I_wd.con" as lemma.
(*#* ** Properties of [Re] and [Im] *)
inline procedural "cic:/CoRN/complex/CComplex/calculate_norm.con" as lemma.
inline procedural "cic:/CoRN/complex/CComplex/calculate_Re.con" as lemma.
inline procedural "cic:/CoRN/complex/CComplex/calculate_Im.con" as lemma.
inline procedural "cic:/CoRN/complex/CComplex/Re_wd.con" as lemma.
inline procedural "cic:/CoRN/complex/CComplex/Im_wd.con" as lemma.
inline procedural "cic:/CoRN/complex/CComplex/Re_resp_plus.con" as lemma.
inline procedural "cic:/CoRN/complex/CComplex/Re_resp_inv.con" as lemma.
inline procedural "cic:/CoRN/complex/CComplex/Im_resp_plus.con" as lemma.
inline procedural "cic:/CoRN/complex/CComplex/Im_resp_inv.con" as lemma.
inline procedural "cic:/CoRN/complex/CComplex/cc_calculate_square.con" as lemma.
(* UNEXPORTED
End I_properties
*)
(* UNEXPORTED
Hint Resolve I_square I_square' I_recip_lft I_recip_rht mult_I calculate_norm
cc_calculate_square: algebra.
*)
(* UNEXPORTED
Hint Resolve I_wd Re_wd Im_wd: algebra_c.
*)
(*#* ** Properties of conjugation *)
(* UNEXPORTED
Section Conj_properties
*)
inline procedural "cic:/CoRN/complex/CComplex/CC_conj_plus.con" as lemma.
inline procedural "cic:/CoRN/complex/CComplex/CC_conj_mult.con" as lemma.
(* UNEXPORTED
Hint Resolve CC_conj_mult: algebra.
*)
inline procedural "cic:/CoRN/complex/CComplex/CC_conj_strext.con" as lemma.
inline procedural "cic:/CoRN/complex/CComplex/CC_conj_conj.con" as lemma.
inline procedural "cic:/CoRN/complex/CComplex/CC_conj_zero.con" as lemma.
inline procedural "cic:/CoRN/complex/CComplex/CC_conj_one.con" as lemma.
(* UNEXPORTED
Hint Resolve CC_conj_one: algebra.
*)
inline procedural "cic:/CoRN/complex/CComplex/CC_conj_nexp.con" as lemma.
(* UNEXPORTED
End Conj_properties
*)
(* UNEXPORTED
Hint Resolve CC_conj_plus CC_conj_mult CC_conj_nexp CC_conj_conj
CC_conj_zero: algebra.
*)
(*#* ** Properties of the real axis *)
(* UNEXPORTED
Section cc_IR_properties
*)
inline procedural "cic:/CoRN/complex/CComplex/Re_cc_IR.con" as lemma.
inline procedural "cic:/CoRN/complex/CComplex/Im_cc_IR.con" as lemma.
inline procedural "cic:/CoRN/complex/CComplex/cc_IR_wd.con" as lemma.
(* UNEXPORTED
Hint Resolve cc_IR_wd: algebra_c.
*)
inline procedural "cic:/CoRN/complex/CComplex/cc_IR_resp_ap.con" as lemma.
inline procedural "cic:/CoRN/complex/CComplex/cc_IR_mult.con" as lemma.
(* UNEXPORTED
Hint Resolve cc_IR_mult: algebra.
*)
inline procedural "cic:/CoRN/complex/CComplex/cc_IR_mult_lft.con" as lemma.
inline procedural "cic:/CoRN/complex/CComplex/cc_IR_mult_rht.con" as lemma.
inline procedural "cic:/CoRN/complex/CComplex/cc_IR_plus.con" as lemma.
(* UNEXPORTED
Hint Resolve cc_IR_plus: algebra.
*)
inline procedural "cic:/CoRN/complex/CComplex/cc_IR_minus.con" as lemma.
inline procedural "cic:/CoRN/complex/CComplex/cc_IR_zero.con" as lemma.
(* UNEXPORTED
Hint Resolve cc_IR_zero: algebra.
*)
inline procedural "cic:/CoRN/complex/CComplex/cc_IR_one.con" as lemma.
(* UNEXPORTED
Hint Resolve cc_IR_one: algebra.
*)
inline procedural "cic:/CoRN/complex/CComplex/cc_IR_nring.con" as lemma.
inline procedural "cic:/CoRN/complex/CComplex/cc_IR_nexp.con" as lemma.
(* UNEXPORTED
End cc_IR_properties
*)
(* UNEXPORTED
Hint Resolve Re_cc_IR Im_cc_IR: algebra.
*)
(* UNEXPORTED
Hint Resolve cc_IR_wd: algebra_c.
*)
(* UNEXPORTED
Hint Resolve cc_IR_mult cc_IR_nexp cc_IR_mult_lft cc_IR_mult_rht cc_IR_plus
cc_IR_minus: algebra.
*)
(* UNEXPORTED
Hint Resolve cc_IR_nring cc_IR_zero: algebra.
*)
(*#* ** [CC] has characteristic zero *)
include "tactics/Transparent_algebra.ma".
inline procedural "cic:/CoRN/complex/CComplex/char0_CC.con" as lemma.
include "tactics/Opaque_algebra.ma".
inline procedural "cic:/CoRN/complex/CComplex/poly_apzero_CC.con" as lemma.
inline procedural "cic:/CoRN/complex/CComplex/poly_CC_extensional.con" as lemma.