Metamath Proof Explorer


Theorem lnopeq0lem2

Description: Lemma for lnopeq0i . (Contributed by NM, 26-Jul-2006) (New usage is discouraged.)

Ref Expression
Hypothesis lnopeq0.1 T LinOp
Assertion lnopeq0lem2 A B T A ih B = T A + B ih A + B - T A - B ih A - B + i T A + i B ih A + i B T A - i B ih A - i B 4

Proof

Step Hyp Ref Expression
1 lnopeq0.1 T LinOp
2 fveq2 A = if A A 0 T A = T if A A 0
3 2 oveq1d A = if A A 0 T A ih B = T if A A 0 ih B
4 fvoveq1 A = if A A 0 T A + B = T if A A 0 + B
5 oveq1 A = if A A 0 A + B = if A A 0 + B
6 4 5 oveq12d A = if A A 0 T A + B ih A + B = T if A A 0 + B ih if A A 0 + B
7 fvoveq1 A = if A A 0 T A - B = T if A A 0 - B
8 oveq1 A = if A A 0 A - B = if A A 0 - B
9 7 8 oveq12d A = if A A 0 T A - B ih A - B = T if A A 0 - B ih if A A 0 - B
10 6 9 oveq12d A = if A A 0 T A + B ih A + B T A - B ih A - B = T if A A 0 + B ih if A A 0 + B T if A A 0 - B ih if A A 0 - B
11 fvoveq1 A = if A A 0 T A + i B = T if A A 0 + i B
12 oveq1 A = if A A 0 A + i B = if A A 0 + i B
13 11 12 oveq12d A = if A A 0 T A + i B ih A + i B = T if A A 0 + i B ih if A A 0 + i B
14 fvoveq1 A = if A A 0 T A - i B = T if A A 0 - i B
15 oveq1 A = if A A 0 A - i B = if A A 0 - i B
16 14 15 oveq12d A = if A A 0 T A - i B ih A - i B = T if A A 0 - i B ih if A A 0 - i B
17 13 16 oveq12d A = if A A 0 T A + i B ih A + i B T A - i B ih A - i B = T if A A 0 + i B ih if A A 0 + i B T if A A 0 - i B ih if A A 0 - i B
18 17 oveq2d A = if A A 0 i T A + i B ih A + i B T A - i B ih A - i B = i T if A A 0 + i B ih if A A 0 + i B T if A A 0 - i B ih if A A 0 - i B
19 10 18 oveq12d A = if A A 0 T A + B ih A + B - T A - B ih A - B + i T A + i B ih A + i B T A - i B ih A - i B = T if A A 0 + B ih if A A 0 + B - T if A A 0 - B ih if A A 0 - B + i T if A A 0 + i B ih if A A 0 + i B T if A A 0 - i B ih if A A 0 - i B
20 19 oveq1d A = if A A 0 T A + B ih A + B - T A - B ih A - B + i T A + i B ih A + i B T A - i B ih A - i B 4 = T if A A 0 + B ih if A A 0 + B - T if A A 0 - B ih if A A 0 - B + i T if A A 0 + i B ih if A A 0 + i B T if A A 0 - i B ih if A A 0 - i B 4
21 3 20 eqeq12d A = if A A 0 T A ih B = T A + B ih A + B - T A - B ih A - B + i T A + i B ih A + i B T A - i B ih A - i B 4 T if A A 0 ih B = T if A A 0 + B ih if A A 0 + B - T if A A 0 - B ih if A A 0 - B + i T if A A 0 + i B ih if A A 0 + i B T if A A 0 - i B ih if A A 0 - i B 4
22 oveq2 B = if B B 0 T if A A 0 ih B = T if A A 0 ih if B B 0
23 oveq2 B = if B B 0 if A A 0 + B = if A A 0 + if B B 0
24 23 fveq2d B = if B B 0 T if A A 0 + B = T if A A 0 + if B B 0
25 24 23 oveq12d B = if B B 0 T if A A 0 + B ih if A A 0 + B = T if A A 0 + if B B 0 ih if A A 0 + if B B 0
26 oveq2 B = if B B 0 if A A 0 - B = if A A 0 - if B B 0
27 26 fveq2d B = if B B 0 T if A A 0 - B = T if A A 0 - if B B 0
28 27 26 oveq12d B = if B B 0 T if A A 0 - B ih if A A 0 - B = T if A A 0 - if B B 0 ih if A A 0 - if B B 0
29 25 28 oveq12d B = if B B 0 T if A A 0 + B ih if A A 0 + B T if A A 0 - B ih if A A 0 - B = T if A A 0 + if B B 0 ih if A A 0 + if B B 0 T if A A 0 - if B B 0 ih if A A 0 - if B B 0
30 oveq2 B = if B B 0 i B = i if B B 0
31 30 oveq2d B = if B B 0 if A A 0 + i B = if A A 0 + i if B B 0
32 31 fveq2d B = if B B 0 T if A A 0 + i B = T if A A 0 + i if B B 0
33 32 31 oveq12d B = if B B 0 T if A A 0 + i B ih if A A 0 + i B = T if A A 0 + i if B B 0 ih if A A 0 + i if B B 0
34 30 oveq2d B = if B B 0 if A A 0 - i B = if A A 0 - i if B B 0
35 34 fveq2d B = if B B 0 T if A A 0 - i B = T if A A 0 - i if B B 0
36 35 34 oveq12d B = if B B 0 T if A A 0 - i B ih if A A 0 - i B = T if A A 0 - i if B B 0 ih if A A 0 - i if B B 0
37 33 36 oveq12d B = if B B 0 T if A A 0 + i B ih if A A 0 + i B T if A A 0 - i B ih if A A 0 - i B = T if A A 0 + i if B B 0 ih if A A 0 + i if B B 0 T if A A 0 - i if B B 0 ih if A A 0 - i if B B 0
38 37 oveq2d B = if B B 0 i T if A A 0 + i B ih if A A 0 + i B T if A A 0 - i B ih if A A 0 - i B = i T if A A 0 + i if B B 0 ih if A A 0 + i if B B 0 T if A A 0 - i if B B 0 ih if A A 0 - i if B B 0
39 29 38 oveq12d B = if B B 0 T if A A 0 + B ih if A A 0 + B - T if A A 0 - B ih if A A 0 - B + i T if A A 0 + i B ih if A A 0 + i B T if A A 0 - i B ih if A A 0 - i B = T if A A 0 + if B B 0 ih if A A 0 + if B B 0 - T if A A 0 - if B B 0 ih if A A 0 - if B B 0 + i T if A A 0 + i if B B 0 ih if A A 0 + i if B B 0 T if A A 0 - i if B B 0 ih if A A 0 - i if B B 0
40 39 oveq1d B = if B B 0 T if A A 0 + B ih if A A 0 + B - T if A A 0 - B ih if A A 0 - B + i T if A A 0 + i B ih if A A 0 + i B T if A A 0 - i B ih if A A 0 - i B 4 = T if A A 0 + if B B 0 ih if A A 0 + if B B 0 - T if A A 0 - if B B 0 ih if A A 0 - if B B 0 + i T if A A 0 + i if B B 0 ih if A A 0 + i if B B 0 T if A A 0 - i if B B 0 ih if A A 0 - i if B B 0 4
41 22 40 eqeq12d B = if B B 0 T if A A 0 ih B = T if A A 0 + B ih if A A 0 + B - T if A A 0 - B ih if A A 0 - B + i T if A A 0 + i B ih if A A 0 + i B T if A A 0 - i B ih if A A 0 - i B 4 T if A A 0 ih if B B 0 = T if A A 0 + if B B 0 ih if A A 0 + if B B 0 - T if A A 0 - if B B 0 ih if A A 0 - if B B 0 + i T if A A 0 + i if B B 0 ih if A A 0 + i if B B 0 T if A A 0 - i if B B 0 ih if A A 0 - i if B B 0 4
42 ifhvhv0 if A A 0
43 ifhvhv0 if B B 0
44 1 42 43 lnopeq0lem1 T if A A 0 ih if B B 0 = T if A A 0 + if B B 0 ih if A A 0 + if B B 0 - T if A A 0 - if B B 0 ih if A A 0 - if B B 0 + i T if A A 0 + i if B B 0 ih if A A 0 + i if B B 0 T if A A 0 - i if B B 0 ih if A A 0 - i if B B 0 4
45 21 41 44 dedth2h A B T A ih B = T A + B ih A + B - T A - B ih A - B + i T A + i B ih A + i B T A - i B ih A - i B 4