Metamath Proof Explorer


Theorem reim0b

Description: A number is real iff its imaginary part is 0. (Contributed by NM, 26-Sep-2005)

Ref Expression
Assertion reim0b A A A = 0

Proof

Step Hyp Ref Expression
1 reim0 A A = 0
2 replim A A = A + i A
3 2 adantr A A = 0 A = A + i A
4 oveq2 A = 0 i A = i 0
5 it0e0 i 0 = 0
6 4 5 eqtrdi A = 0 i A = 0
7 6 oveq2d A = 0 A + i A = A + 0
8 recl A A
9 8 recnd A A
10 9 addid1d A A + 0 = A
11 7 10 sylan9eqr A A = 0 A + i A = A
12 3 11 eqtrd A A = 0 A = A
13 8 adantr A A = 0 A
14 12 13 eqeltrd A A = 0 A
15 14 ex A A = 0 A
16 1 15 impbid2 A A A = 0