Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More lemmas about complex numbers: Re and Im intertwining with * and ^*. #43

Open
SnarkBoojum opened this issue May 17, 2022 · 0 comments

Comments

@SnarkBoojum
Copy link

Trying to play with trigonometry formulas, I found the following lemmas on complex numbers useful:

Lemma conjRe: forall z: CC, Re z^* = Re z.
Proof.
by move=> [a b].
Qed.

Lemma conjIm: forall z: CC, Im z^* = -Im z.
Proof.
by move=> [a b].
Qed.

Lemma mulRe: forall w z: CC, Re (w * z) = (Re w) * (Re z) - (Im w) * (Im z).
Proof.
by move=> [a b] [c d].
Qed.

Lemma mulIm: forall w z: CC, Im (w * z) = (Re w) * (Im z) + (Im w) * (Re z).
Proof.
by move=> [a b] [c d].
Qed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant