MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  adderpqlem Structured version   Unicode version

Theorem adderpqlem 8821
Description: Lemma for adderpq 8823. (Contributed by Mario Carneiro, 8-May-2013.) (New usage is discouraged.)
Assertion
Ref Expression
adderpqlem  |-  ( ( A  e.  ( N. 
X.  N. )  /\  B  e.  ( N.  X.  N. )  /\  C  e.  ( N.  X.  N. )
)  ->  ( A  ~Q  B  <->  ( A  +pQ  C )  ~Q  ( B 
+pQ  C ) ) )

Proof of Theorem adderpqlem
Dummy variables  x  y  z are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 xp1st 6368 . . . . . 6  |-  ( A  e.  ( N.  X.  N. )  ->  ( 1st `  A )  e.  N. )
213ad2ant1 978 . . . . 5  |-  ( ( A  e.  ( N. 
X.  N. )  /\  B  e.  ( N.  X.  N. )  /\  C  e.  ( N.  X.  N. )
)  ->  ( 1st `  A )  e.  N. )
3 xp2nd 6369 . . . . . 6  |-  ( C  e.  ( N.  X.  N. )  ->  ( 2nd `  C )  e.  N. )
433ad2ant3 980 . . . . 5  |-  ( ( A  e.  ( N. 
X.  N. )  /\  B  e.  ( N.  X.  N. )  /\  C  e.  ( N.  X.  N. )
)  ->  ( 2nd `  C )  e.  N. )
5 mulclpi 8760 . . . . 5  |-  ( ( ( 1st `  A
)  e.  N.  /\  ( 2nd `  C )  e.  N. )  -> 
( ( 1st `  A
)  .N  ( 2nd `  C ) )  e. 
N. )
62, 4, 5syl2anc 643 . . . 4  |-  ( ( A  e.  ( N. 
X.  N. )  /\  B  e.  ( N.  X.  N. )  /\  C  e.  ( N.  X.  N. )
)  ->  ( ( 1st `  A )  .N  ( 2nd `  C
) )  e.  N. )
7 xp1st 6368 . . . . . 6  |-  ( C  e.  ( N.  X.  N. )  ->  ( 1st `  C )  e.  N. )
873ad2ant3 980 . . . . 5  |-  ( ( A  e.  ( N. 
X.  N. )  /\  B  e.  ( N.  X.  N. )  /\  C  e.  ( N.  X.  N. )
)  ->  ( 1st `  C )  e.  N. )
9 xp2nd 6369 . . . . . 6  |-  ( A  e.  ( N.  X.  N. )  ->  ( 2nd `  A )  e.  N. )
1093ad2ant1 978 . . . . 5  |-  ( ( A  e.  ( N. 
X.  N. )  /\  B  e.  ( N.  X.  N. )  /\  C  e.  ( N.  X.  N. )
)  ->  ( 2nd `  A )  e.  N. )
11 mulclpi 8760 . . . . 5  |-  ( ( ( 1st `  C
)  e.  N.  /\  ( 2nd `  A )  e.  N. )  -> 
( ( 1st `  C
)  .N  ( 2nd `  A ) )  e. 
N. )
128, 10, 11syl2anc 643 . . . 4  |-  ( ( A  e.  ( N. 
X.  N. )  /\  B  e.  ( N.  X.  N. )  /\  C  e.  ( N.  X.  N. )
)  ->  ( ( 1st `  C )  .N  ( 2nd `  A
) )  e.  N. )
13 addclpi 8759 . . . 4  |-  ( ( ( ( 1st `  A
)  .N  ( 2nd `  C ) )  e. 
N.  /\  ( ( 1st `  C )  .N  ( 2nd `  A
) )  e.  N. )  ->  ( ( ( 1st `  A )  .N  ( 2nd `  C
) )  +N  (
( 1st `  C
)  .N  ( 2nd `  A ) ) )  e.  N. )
146, 12, 13syl2anc 643 . . 3  |-  ( ( A  e.  ( N. 
X.  N. )  /\  B  e.  ( N.  X.  N. )  /\  C  e.  ( N.  X.  N. )
)  ->  ( (
( 1st `  A
)  .N  ( 2nd `  C ) )  +N  ( ( 1st `  C
)  .N  ( 2nd `  A ) ) )  e.  N. )
15 mulclpi 8760 . . . 4  |-  ( ( ( 2nd `  A
)  e.  N.  /\  ( 2nd `  C )  e.  N. )  -> 
( ( 2nd `  A
)  .N  ( 2nd `  C ) )  e. 
N. )
1610, 4, 15syl2anc 643 . . 3  |-  ( ( A  e.  ( N. 
X.  N. )  /\  B  e.  ( N.  X.  N. )  /\  C  e.  ( N.  X.  N. )
)  ->  ( ( 2nd `  A )  .N  ( 2nd `  C
) )  e.  N. )
17 xp1st 6368 . . . . . 6  |-  ( B  e.  ( N.  X.  N. )  ->  ( 1st `  B )  e.  N. )
18173ad2ant2 979 . . . . 5  |-  ( ( A  e.  ( N. 
X.  N. )  /\  B  e.  ( N.  X.  N. )  /\  C  e.  ( N.  X.  N. )
)  ->  ( 1st `  B )  e.  N. )
19 mulclpi 8760 . . . . 5  |-  ( ( ( 1st `  B
)  e.  N.  /\  ( 2nd `  C )  e.  N. )  -> 
( ( 1st `  B
)  .N  ( 2nd `  C ) )  e. 
N. )
2018, 4, 19syl2anc 643 . . . 4  |-  ( ( A  e.  ( N. 
X.  N. )  /\  B  e.  ( N.  X.  N. )  /\  C  e.  ( N.  X.  N. )
)  ->  ( ( 1st `  B )  .N  ( 2nd `  C
) )  e.  N. )
21 xp2nd 6369 . . . . . 6  |-  ( B  e.  ( N.  X.  N. )  ->  ( 2nd `  B )  e.  N. )
22213ad2ant2 979 . . . . 5  |-  ( ( A  e.  ( N. 
X.  N. )  /\  B  e.  ( N.  X.  N. )  /\  C  e.  ( N.  X.  N. )
)  ->  ( 2nd `  B )  e.  N. )
23 mulclpi 8760 . . . . 5  |-  ( ( ( 1st `  C
)  e.  N.  /\  ( 2nd `  B )  e.  N. )  -> 
( ( 1st `  C
)  .N  ( 2nd `  B ) )  e. 
N. )
248, 22, 23syl2anc 643 . . . 4  |-  ( ( A  e.  ( N. 
X.  N. )  /\  B  e.  ( N.  X.  N. )  /\  C  e.  ( N.  X.  N. )
)  ->  ( ( 1st `  C )  .N  ( 2nd `  B
) )  e.  N. )
25 addclpi 8759 . . . 4  |-  ( ( ( ( 1st `  B
)  .N  ( 2nd `  C ) )  e. 
N.  /\  ( ( 1st `  C )  .N  ( 2nd `  B
) )  e.  N. )  ->  ( ( ( 1st `  B )  .N  ( 2nd `  C
) )  +N  (
( 1st `  C
)  .N  ( 2nd `  B ) ) )  e.  N. )
2620, 24, 25syl2anc 643 . . 3  |-  ( ( A  e.  ( N. 
X.  N. )  /\  B  e.  ( N.  X.  N. )  /\  C  e.  ( N.  X.  N. )
)  ->  ( (
( 1st `  B
)  .N  ( 2nd `  C ) )  +N  ( ( 1st `  C
)  .N  ( 2nd `  B ) ) )  e.  N. )
27 mulclpi 8760 . . . 4  |-  ( ( ( 2nd `  B
)  e.  N.  /\  ( 2nd `  C )  e.  N. )  -> 
( ( 2nd `  B
)  .N  ( 2nd `  C ) )  e. 
N. )
2822, 4, 27syl2anc 643 . . 3  |-  ( ( A  e.  ( N. 
X.  N. )  /\  B  e.  ( N.  X.  N. )  /\  C  e.  ( N.  X.  N. )
)  ->  ( ( 2nd `  B )  .N  ( 2nd `  C
) )  e.  N. )
29 enqbreq 8786 . . 3  |-  ( ( ( ( ( ( 1st `  A )  .N  ( 2nd `  C
) )  +N  (
( 1st `  C
)  .N  ( 2nd `  A ) ) )  e.  N.  /\  (
( 2nd `  A
)  .N  ( 2nd `  C ) )  e. 
N. )  /\  (
( ( ( 1st `  B )  .N  ( 2nd `  C ) )  +N  ( ( 1st `  C )  .N  ( 2nd `  B ) ) )  e.  N.  /\  ( ( 2nd `  B
)  .N  ( 2nd `  C ) )  e. 
N. ) )  -> 
( <. ( ( ( 1st `  A )  .N  ( 2nd `  C
) )  +N  (
( 1st `  C
)  .N  ( 2nd `  A ) ) ) ,  ( ( 2nd `  A )  .N  ( 2nd `  C ) )
>.  ~Q  <. ( ( ( 1st `  B )  .N  ( 2nd `  C
) )  +N  (
( 1st `  C
)  .N  ( 2nd `  B ) ) ) ,  ( ( 2nd `  B )  .N  ( 2nd `  C ) )
>. 
<->  ( ( ( ( 1st `  A )  .N  ( 2nd `  C
) )  +N  (
( 1st `  C
)  .N  ( 2nd `  A ) ) )  .N  ( ( 2nd `  B )  .N  ( 2nd `  C ) ) )  =  ( ( ( 2nd `  A
)  .N  ( 2nd `  C ) )  .N  ( ( ( 1st `  B )  .N  ( 2nd `  C ) )  +N  ( ( 1st `  C )  .N  ( 2nd `  B ) ) ) ) ) )
3014, 16, 26, 28, 29syl22anc 1185 . 2  |-  ( ( A  e.  ( N. 
X.  N. )  /\  B  e.  ( N.  X.  N. )  /\  C  e.  ( N.  X.  N. )
)  ->  ( <. ( ( ( 1st `  A
)  .N  ( 2nd `  C ) )  +N  ( ( 1st `  C
)  .N  ( 2nd `  A ) ) ) ,  ( ( 2nd `  A )  .N  ( 2nd `  C ) )
>.  ~Q  <. ( ( ( 1st `  B )  .N  ( 2nd `  C
) )  +N  (
( 1st `  C
)  .N  ( 2nd `  B ) ) ) ,  ( ( 2nd `  B )  .N  ( 2nd `  C ) )
>. 
<->  ( ( ( ( 1st `  A )  .N  ( 2nd `  C
) )  +N  (
( 1st `  C
)  .N  ( 2nd `  A ) ) )  .N  ( ( 2nd `  B )  .N  ( 2nd `  C ) ) )  =  ( ( ( 2nd `  A
)  .N  ( 2nd `  C ) )  .N  ( ( ( 1st `  B )  .N  ( 2nd `  C ) )  +N  ( ( 1st `  C )  .N  ( 2nd `  B ) ) ) ) ) )
31 addpipq2 8803 . . . 4  |-  ( ( A  e.  ( N. 
X.  N. )  /\  C  e.  ( N.  X.  N. ) )  ->  ( A  +pQ  C )  = 
<. ( ( ( 1st `  A )  .N  ( 2nd `  C ) )  +N  ( ( 1st `  C )  .N  ( 2nd `  A ) ) ) ,  ( ( 2nd `  A )  .N  ( 2nd `  C
) ) >. )
32313adant2 976 . . 3  |-  ( ( A  e.  ( N. 
X.  N. )  /\  B  e.  ( N.  X.  N. )  /\  C  e.  ( N.  X.  N. )
)  ->  ( A  +pQ  C )  =  <. ( ( ( 1st `  A
)  .N  ( 2nd `  C ) )  +N  ( ( 1st `  C
)  .N  ( 2nd `  A ) ) ) ,  ( ( 2nd `  A )  .N  ( 2nd `  C ) )
>. )
33 addpipq2 8803 . . . 4  |-  ( ( B  e.  ( N. 
X.  N. )  /\  C  e.  ( N.  X.  N. ) )  ->  ( B  +pQ  C )  = 
<. ( ( ( 1st `  B )  .N  ( 2nd `  C ) )  +N  ( ( 1st `  C )  .N  ( 2nd `  B ) ) ) ,  ( ( 2nd `  B )  .N  ( 2nd `  C
) ) >. )
34333adant1 975 . . 3  |-  ( ( A  e.  ( N. 
X.  N. )  /\  B  e.  ( N.  X.  N. )  /\  C  e.  ( N.  X.  N. )
)  ->  ( B  +pQ  C )  =  <. ( ( ( 1st `  B
)  .N  ( 2nd `  C ) )  +N  ( ( 1st `  C
)  .N  ( 2nd `  B ) ) ) ,  ( ( 2nd `  B )  .N  ( 2nd `  C ) )
>. )
3532, 34breq12d 4217 . 2  |-  ( ( A  e.  ( N. 
X.  N. )  /\  B  e.  ( N.  X.  N. )  /\  C  e.  ( N.  X.  N. )
)  ->  ( ( A  +pQ  C )  ~Q  ( B  +pQ  C )  <->  <. ( ( ( 1st `  A )  .N  ( 2nd `  C ) )  +N  ( ( 1st `  C )  .N  ( 2nd `  A ) ) ) ,  ( ( 2nd `  A )  .N  ( 2nd `  C
) ) >.  ~Q  <. ( ( ( 1st `  B
)  .N  ( 2nd `  C ) )  +N  ( ( 1st `  C
)  .N  ( 2nd `  B ) ) ) ,  ( ( 2nd `  B )  .N  ( 2nd `  C ) )
>. ) )
36 enqbreq2 8787 . . . 4  |-  ( ( A  e.  ( N. 
X.  N. )  /\  B  e.  ( N.  X.  N. ) )  ->  ( A  ~Q  B  <->  ( ( 1st `  A )  .N  ( 2nd `  B
) )  =  ( ( 1st `  B
)  .N  ( 2nd `  A ) ) ) )
37363adant3 977 . . 3  |-  ( ( A  e.  ( N. 
X.  N. )  /\  B  e.  ( N.  X.  N. )  /\  C  e.  ( N.  X.  N. )
)  ->  ( A  ~Q  B  <->  ( ( 1st `  A )  .N  ( 2nd `  B ) )  =  ( ( 1st `  B )  .N  ( 2nd `  A ) ) ) )
38 mulclpi 8760 . . . . 5  |-  ( ( ( 2nd `  C
)  e.  N.  /\  ( 2nd `  C )  e.  N. )  -> 
( ( 2nd `  C
)  .N  ( 2nd `  C ) )  e. 
N. )
394, 4, 38syl2anc 643 . . . 4  |-  ( ( A  e.  ( N. 
X.  N. )  /\  B  e.  ( N.  X.  N. )  /\  C  e.  ( N.  X.  N. )
)  ->  ( ( 2nd `  C )  .N  ( 2nd `  C
) )  e.  N. )
40 mulclpi 8760 . . . . 5  |-  ( ( ( 1st `  A
)  e.  N.  /\  ( 2nd `  B )  e.  N. )  -> 
( ( 1st `  A
)  .N  ( 2nd `  B ) )  e. 
N. )
412, 22, 40syl2anc 643 . . . 4  |-  ( ( A  e.  ( N. 
X.  N. )  /\  B  e.  ( N.  X.  N. )  /\  C  e.  ( N.  X.  N. )
)  ->  ( ( 1st `  A )  .N  ( 2nd `  B
) )  e.  N. )
42 mulcanpi 8767 . . . 4  |-  ( ( ( ( 2nd `  C
)  .N  ( 2nd `  C ) )  e. 
N.  /\  ( ( 1st `  A )  .N  ( 2nd `  B
) )  e.  N. )  ->  ( ( ( ( 2nd `  C
)  .N  ( 2nd `  C ) )  .N  ( ( 1st `  A
)  .N  ( 2nd `  B ) ) )  =  ( ( ( 2nd `  C )  .N  ( 2nd `  C
) )  .N  (
( 1st `  B
)  .N  ( 2nd `  A ) ) )  <-> 
( ( 1st `  A
)  .N  ( 2nd `  B ) )  =  ( ( 1st `  B
)  .N  ( 2nd `  A ) ) ) )
4339, 41, 42syl2anc 643 . . 3  |-  ( ( A  e.  ( N. 
X.  N. )  /\  B  e.  ( N.  X.  N. )  /\  C  e.  ( N.  X.  N. )
)  ->  ( (
( ( 2nd `  C
)  .N  ( 2nd `  C ) )  .N  ( ( 1st `  A
)  .N  ( 2nd `  B ) ) )  =  ( ( ( 2nd `  C )  .N  ( 2nd `  C
) )  .N  (
( 1st `  B
)  .N  ( 2nd `  A ) ) )  <-> 
( ( 1st `  A
)  .N  ( 2nd `  B ) )  =  ( ( 1st `  B
)  .N  ( 2nd `  A ) ) ) )
44 mulcompi 8763 . . . . . . . 8  |-  ( ( ( 2nd `  C
)  .N  ( 2nd `  C ) )  .N  ( ( 1st `  A
)  .N  ( 2nd `  B ) ) )  =  ( ( ( 1st `  A )  .N  ( 2nd `  B
) )  .N  (
( 2nd `  C
)  .N  ( 2nd `  C ) ) )
45 fvex 5734 . . . . . . . . 9  |-  ( 1st `  A )  e.  _V
46 fvex 5734 . . . . . . . . 9  |-  ( 2nd `  B )  e.  _V
47 fvex 5734 . . . . . . . . 9  |-  ( 2nd `  C )  e.  _V
48 mulcompi 8763 . . . . . . . . 9  |-  ( x  .N  y )  =  ( y  .N  x
)
49 mulasspi 8764 . . . . . . . . 9  |-  ( ( x  .N  y )  .N  z )  =  ( x  .N  (
y  .N  z ) )
5045, 46, 47, 48, 49, 47caov4 6270 . . . . . . . 8  |-  ( ( ( 1st `  A
)  .N  ( 2nd `  B ) )  .N  ( ( 2nd `  C
)  .N  ( 2nd `  C ) ) )  =  ( ( ( 1st `  A )  .N  ( 2nd `  C
) )  .N  (
( 2nd `  B
)  .N  ( 2nd `  C ) ) )
5144, 50eqtri 2455 . . . . . . 7  |-  ( ( ( 2nd `  C
)  .N  ( 2nd `  C ) )  .N  ( ( 1st `  A
)  .N  ( 2nd `  B ) ) )  =  ( ( ( 1st `  A )  .N  ( 2nd `  C
) )  .N  (
( 2nd `  B
)  .N  ( 2nd `  C ) ) )
52 fvex 5734 . . . . . . . . 9  |-  ( 2nd `  A )  e.  _V
53 fvex 5734 . . . . . . . . 9  |-  ( 1st `  C )  e.  _V
5452, 47, 53, 48, 49, 46caov4 6270 . . . . . . . 8  |-  ( ( ( 2nd `  A
)  .N  ( 2nd `  C ) )  .N  ( ( 1st `  C
)  .N  ( 2nd `  B ) ) )  =  ( ( ( 2nd `  A )  .N  ( 1st `  C
) )  .N  (
( 2nd `  C
)  .N  ( 2nd `  B ) ) )
55 mulcompi 8763 . . . . . . . . 9  |-  ( ( 2nd `  A )  .N  ( 1st `  C
) )  =  ( ( 1st `  C
)  .N  ( 2nd `  A ) )
56 mulcompi 8763 . . . . . . . . 9  |-  ( ( 2nd `  C )  .N  ( 2nd `  B
) )  =  ( ( 2nd `  B
)  .N  ( 2nd `  C ) )
5755, 56oveq12i 6085 . . . . . . . 8  |-  ( ( ( 2nd `  A
)  .N  ( 1st `  C ) )  .N  ( ( 2nd `  C
)  .N  ( 2nd `  B ) ) )  =  ( ( ( 1st `  C )  .N  ( 2nd `  A
) )  .N  (
( 2nd `  B
)  .N  ( 2nd `  C ) ) )
5854, 57eqtri 2455 . . . . . . 7  |-  ( ( ( 2nd `  A
)  .N  ( 2nd `  C ) )  .N  ( ( 1st `  C
)  .N  ( 2nd `  B ) ) )  =  ( ( ( 1st `  C )  .N  ( 2nd `  A
) )  .N  (
( 2nd `  B
)  .N  ( 2nd `  C ) ) )
5951, 58oveq12i 6085 . . . . . 6  |-  ( ( ( ( 2nd `  C
)  .N  ( 2nd `  C ) )  .N  ( ( 1st `  A
)  .N  ( 2nd `  B ) ) )  +N  ( ( ( 2nd `  A )  .N  ( 2nd `  C
) )  .N  (
( 1st `  C
)  .N  ( 2nd `  B ) ) ) )  =  ( ( ( ( 1st `  A
)  .N  ( 2nd `  C ) )  .N  ( ( 2nd `  B
)  .N  ( 2nd `  C ) ) )  +N  ( ( ( 1st `  C )  .N  ( 2nd `  A
) )  .N  (
( 2nd `  B
)  .N  ( 2nd `  C ) ) ) )
60 addcompi 8761 . . . . . 6  |-  ( ( ( ( 2nd `  A
)  .N  ( 2nd `  C ) )  .N  ( ( 1st `  C
)  .N  ( 2nd `  B ) ) )  +N  ( ( ( 2nd `  C )  .N  ( 2nd `  C
) )  .N  (
( 1st `  A
)  .N  ( 2nd `  B ) ) ) )  =  ( ( ( ( 2nd `  C
)  .N  ( 2nd `  C ) )  .N  ( ( 1st `  A
)  .N  ( 2nd `  B ) ) )  +N  ( ( ( 2nd `  A )  .N  ( 2nd `  C
) )  .N  (
( 1st `  C
)  .N  ( 2nd `  B ) ) ) )
61 ovex 6098 . . . . . . 7  |-  ( ( 1st `  A )  .N  ( 2nd `  C
) )  e.  _V
62 ovex 6098 . . . . . . 7  |-  ( ( 1st `  C )  .N  ( 2nd `  A
) )  e.  _V
63 ovex 6098 . . . . . . 7  |-  ( ( 2nd `  B )  .N  ( 2nd `  C
) )  e.  _V
64 distrpi 8765 . . . . . . 7  |-  ( x  .N  ( y  +N  z ) )  =  ( ( x  .N  y )  +N  (
x  .N  z ) )
6561, 62, 63, 48, 64caovdir 6273 . . . . . 6  |-  ( ( ( ( 1st `  A
)  .N  ( 2nd `  C ) )  +N  ( ( 1st `  C
)  .N  ( 2nd `  A ) ) )  .N  ( ( 2nd `  B )  .N  ( 2nd `  C ) ) )  =  ( ( ( ( 1st `  A
)  .N  ( 2nd `  C ) )  .N  ( ( 2nd `  B
)  .N  ( 2nd `  C ) ) )  +N  ( ( ( 1st `  C )  .N  ( 2nd `  A
) )  .N  (
( 2nd `  B
)  .N  ( 2nd `  C ) ) ) )
6659, 60, 653eqtr4i 2465 . . . . 5  |-  ( ( ( ( 2nd `  A
)  .N  ( 2nd `  C ) )  .N  ( ( 1st `  C
)  .N  ( 2nd `  B ) ) )  +N  ( ( ( 2nd `  C )  .N  ( 2nd `  C
) )  .N  (
( 1st `  A
)  .N  ( 2nd `  B ) ) ) )  =  ( ( ( ( 1st `  A
)  .N  ( 2nd `  C ) )  +N  ( ( 1st `  C
)  .N  ( 2nd `  A ) ) )  .N  ( ( 2nd `  B )  .N  ( 2nd `  C ) ) )
67 addcompi 8761 . . . . . 6  |-  ( ( ( ( 2nd `  A
)  .N  ( 2nd `  C ) )  .N  ( ( 1st `  C
)  .N  ( 2nd `  B ) ) )  +N  ( ( ( 2nd `  A )  .N  ( 2nd `  C
) )  .N  (
( 1st `  B
)  .N  ( 2nd `  C ) ) ) )  =  ( ( ( ( 2nd `  A
)  .N  ( 2nd `  C ) )  .N  ( ( 1st `  B
)  .N  ( 2nd `  C ) ) )  +N  ( ( ( 2nd `  A )  .N  ( 2nd `  C
) )  .N  (
( 1st `  C
)  .N  ( 2nd `  B ) ) ) )
68 mulasspi 8764 . . . . . . . 8  |-  ( ( ( 2nd `  C
)  .N  ( 2nd `  C ) )  .N  ( ( 1st `  B
)  .N  ( 2nd `  A ) ) )  =  ( ( 2nd `  C )  .N  (
( 2nd `  C
)  .N  ( ( 1st `  B )  .N  ( 2nd `  A
) ) ) )
69 mulcompi 8763 . . . . . . . . . 10  |-  ( ( 2nd `  C )  .N  ( ( 2nd `  C )  .N  (
( 1st `  B
)  .N  ( 2nd `  A ) ) ) )  =  ( ( ( 2nd `  C
)  .N  ( ( 1st `  B )  .N  ( 2nd `  A
) ) )  .N  ( 2nd `  C
) )
70 mulasspi 8764 . . . . . . . . . . . 12  |-  ( ( ( 2nd `  A
)  .N  ( 2nd `  C ) )  .N  ( 1st `  B
) )  =  ( ( 2nd `  A
)  .N  ( ( 2nd `  C )  .N  ( 1st `  B
) ) )
71 mulcompi 8763 . . . . . . . . . . . 12  |-  ( ( 2nd `  A )  .N  ( ( 2nd `  C )  .N  ( 1st `  B ) ) )  =  ( ( ( 2nd `  C
)  .N  ( 1st `  B ) )  .N  ( 2nd `  A
) )
72 mulasspi 8764 . . . . . . . . . . . 12  |-  ( ( ( 2nd `  C
)  .N  ( 1st `  B ) )  .N  ( 2nd `  A
) )  =  ( ( 2nd `  C
)  .N  ( ( 1st `  B )  .N  ( 2nd `  A
) ) )
7370, 71, 723eqtrri 2460 . . . . . . . . . . 11  |-  ( ( 2nd `  C )  .N  ( ( 1st `  B )  .N  ( 2nd `  A ) ) )  =  ( ( ( 2nd `  A
)  .N  ( 2nd `  C ) )  .N  ( 1st `  B
) )
7473oveq1i 6083 . . . . . . . . . 10  |-  ( ( ( 2nd `  C
)  .N  ( ( 1st `  B )  .N  ( 2nd `  A
) ) )  .N  ( 2nd `  C
) )  =  ( ( ( ( 2nd `  A )  .N  ( 2nd `  C ) )  .N  ( 1st `  B
) )  .N  ( 2nd `  C ) )
7569, 74eqtri 2455 . . . . . . . . 9  |-  ( ( 2nd `  C )  .N  ( ( 2nd `  C )  .N  (
( 1st `  B
)  .N  ( 2nd `  A ) ) ) )  =  ( ( ( ( 2nd `  A
)  .N  ( 2nd `  C ) )  .N  ( 1st `  B
) )  .N  ( 2nd `  C ) )
76 mulasspi 8764 . . . . . . . . 9  |-  ( ( ( ( 2nd `  A
)  .N  ( 2nd `  C ) )  .N  ( 1st `  B
) )  .N  ( 2nd `  C ) )  =  ( ( ( 2nd `  A )  .N  ( 2nd `  C
) )  .N  (
( 1st `  B
)  .N  ( 2nd `  C ) ) )
7775, 76eqtri 2455 . . . . . . . 8  |-  ( ( 2nd `  C )  .N  ( ( 2nd `  C )  .N  (
( 1st `  B
)  .N  ( 2nd `  A ) ) ) )  =  ( ( ( 2nd `  A
)  .N  ( 2nd `  C ) )  .N  ( ( 1st `  B
)  .N  ( 2nd `  C ) ) )
7868, 77eqtri 2455 . . . . . . 7  |-  ( ( ( 2nd `  C
)  .N  ( 2nd `  C ) )  .N  ( ( 1st `  B
)  .N  ( 2nd `  A ) ) )  =  ( ( ( 2nd `  A )  .N  ( 2nd `  C
) )  .N  (
( 1st `  B
)  .N  ( 2nd `  C ) ) )
7978oveq2i 6084 . . . . . 6  |-  ( ( ( ( 2nd `  A
)  .N  ( 2nd `  C ) )  .N  ( ( 1st `  C
)  .N  ( 2nd `  B ) ) )  +N  ( ( ( 2nd `  C )  .N  ( 2nd `  C
) )  .N  (
( 1st `  B
)  .N  ( 2nd `  A ) ) ) )  =  ( ( ( ( 2nd `  A
)  .N  ( 2nd `  C ) )  .N  ( ( 1st `  C
)  .N  ( 2nd `  B ) ) )  +N  ( ( ( 2nd `  A )  .N  ( 2nd `  C
) )  .N  (
( 1st `  B
)  .N  ( 2nd `  C ) ) ) )
80 distrpi 8765 . . . . . 6  |-  ( ( ( 2nd `  A
)  .N  ( 2nd `  C ) )  .N  ( ( ( 1st `  B )  .N  ( 2nd `  C ) )  +N  ( ( 1st `  C )  .N  ( 2nd `  B ) ) ) )  =  ( ( ( ( 2nd `  A )  .N  ( 2nd `  C ) )  .N  ( ( 1st `  B )  .N  ( 2nd `  C ) ) )  +N  ( ( ( 2nd `  A
)  .N  ( 2nd `  C ) )  .N  ( ( 1st `  C
)  .N  ( 2nd `  B ) ) ) )
8167, 79, 803eqtr4i 2465 . . . . 5  |-  ( ( ( ( 2nd `  A
)  .N  ( 2nd `  C ) )  .N  ( ( 1st `  C
)  .N  ( 2nd `  B ) ) )  +N  ( ( ( 2nd `  C )  .N  ( 2nd `  C
) )  .N  (
( 1st `  B
)  .N  ( 2nd `  A ) ) ) )  =  ( ( ( 2nd `  A
)  .N  ( 2nd `  C ) )  .N  ( ( ( 1st `  B )  .N  ( 2nd `  C ) )  +N  ( ( 1st `  C )  .N  ( 2nd `  B ) ) ) )
8266, 81eqeq12i 2448 . . . 4  |-  ( ( ( ( ( 2nd `  A )  .N  ( 2nd `  C ) )  .N  ( ( 1st `  C )  .N  ( 2nd `  B ) ) )  +N  ( ( ( 2nd `  C
)  .N  ( 2nd `  C ) )  .N  ( ( 1st `  A
)  .N  ( 2nd `  B ) ) ) )  =  ( ( ( ( 2nd `  A
)  .N  ( 2nd `  C ) )  .N  ( ( 1st `  C
)  .N  ( 2nd `  B ) ) )  +N  ( ( ( 2nd `  C )  .N  ( 2nd `  C
) )  .N  (
( 1st `  B
)  .N  ( 2nd `  A ) ) ) )  <->  ( ( ( ( 1st `  A
)  .N  ( 2nd `  C ) )  +N  ( ( 1st `  C
)  .N  ( 2nd `  A ) ) )  .N  ( ( 2nd `  B )  .N  ( 2nd `  C ) ) )  =  ( ( ( 2nd `  A
)  .N  ( 2nd `  C ) )  .N  ( ( ( 1st `  B )  .N  ( 2nd `  C ) )  +N  ( ( 1st `  C )  .N  ( 2nd `  B ) ) ) ) )
83 mulclpi 8760 . . . . . 6  |-  ( ( ( ( 2nd `  A
)  .N  ( 2nd `  C ) )  e. 
N.  /\  ( ( 1st `  C )  .N  ( 2nd `  B
) )  e.  N. )  ->  ( ( ( 2nd `  A )  .N  ( 2nd `  C
) )  .N  (
( 1st `  C
)  .N  ( 2nd `  B ) ) )  e.  N. )
8416, 24, 83syl2anc 643 . . . . 5  |-  ( ( A  e.  ( N. 
X.  N. )  /\  B  e.  ( N.  X.  N. )  /\  C  e.  ( N.  X.  N. )
)  ->  ( (
( 2nd `  A
)  .N  ( 2nd `  C ) )  .N  ( ( 1st `  C
)  .N  ( 2nd `  B ) ) )  e.  N. )
85 mulclpi 8760 . . . . . 6  |-  ( ( ( ( 2nd `  C
)  .N  ( 2nd `  C ) )  e. 
N.  /\  ( ( 1st `  A )  .N  ( 2nd `  B
) )  e.  N. )  ->  ( ( ( 2nd `  C )  .N  ( 2nd `  C
) )  .N  (
( 1st `  A
)  .N  ( 2nd `  B ) ) )  e.  N. )
8639, 41, 85syl2anc 643 . . . . 5  |-  ( ( A  e.  ( N. 
X.  N. )  /\  B  e.  ( N.  X.  N. )  /\  C  e.  ( N.  X.  N. )
)  ->  ( (
( 2nd `  C
)  .N  ( 2nd `  C ) )  .N  ( ( 1st `  A
)  .N  ( 2nd `  B ) ) )  e.  N. )
87 addcanpi 8766 . . . . 5  |-  ( ( ( ( ( 2nd `  A )  .N  ( 2nd `  C ) )  .N  ( ( 1st `  C )  .N  ( 2nd `  B ) ) )  e.  N.  /\  ( ( ( 2nd `  C )  .N  ( 2nd `  C ) )  .N  ( ( 1st `  A )  .N  ( 2nd `  B ) ) )  e.  N. )  ->  ( ( ( ( ( 2nd `  A
)  .N  ( 2nd `  C ) )  .N  ( ( 1st `  C
)  .N  ( 2nd `  B ) ) )  +N  ( ( ( 2nd `  C )  .N  ( 2nd `  C
) )  .N  (
( 1st `  A
)  .N  ( 2nd `  B ) ) ) )  =  ( ( ( ( 2nd `  A
)  .N  ( 2nd `  C ) )  .N  ( ( 1st `  C
)  .N  ( 2nd `  B ) ) )  +N  ( ( ( 2nd `  C )  .N  ( 2nd `  C
) )  .N  (
( 1st `  B
)  .N  ( 2nd `  A ) ) ) )  <->  ( ( ( 2nd `  C )  .N  ( 2nd `  C
) )  .N  (
( 1st `  A
)  .N  ( 2nd `  B ) ) )  =  ( ( ( 2nd `  C )  .N  ( 2nd `  C
) )  .N  (
( 1st `  B
)  .N  ( 2nd `  A ) ) ) ) )
8884, 86, 87syl2anc 643 . . . 4  |-  ( ( A  e.  ( N. 
X.  N. )  /\  B  e.  ( N.  X.  N. )  /\  C  e.  ( N.  X.  N. )
)  ->  ( (
( ( ( 2nd `  A )  .N  ( 2nd `  C ) )  .N  ( ( 1st `  C )  .N  ( 2nd `  B ) ) )  +N  ( ( ( 2nd `  C
)  .N  ( 2nd `  C ) )  .N  ( ( 1st `  A
)  .N  ( 2nd `  B ) ) ) )  =  ( ( ( ( 2nd `  A
)  .N  ( 2nd `  C ) )  .N  ( ( 1st `  C
)  .N  ( 2nd `  B ) ) )  +N  ( ( ( 2nd `  C )  .N  ( 2nd `  C
) )  .N  (
( 1st `  B
)  .N  ( 2nd `  A ) ) ) )  <->  ( ( ( 2nd `  C )  .N  ( 2nd `  C
) )  .N  (
( 1st `  A
)  .N  ( 2nd `  B ) ) )  =  ( ( ( 2nd `  C )  .N  ( 2nd `  C
) )  .N  (
( 1st `  B
)  .N  ( 2nd `  A ) ) ) ) )
8982, 88syl5rbbr 252 . . 3  |-  ( ( A  e.  ( N. 
X.  N. )  /\  B  e.  ( N.  X.  N. )  /\  C  e.  ( N.  X.  N. )
)  ->  ( (
( ( 2nd `  C
)  .N  ( 2nd `  C ) )  .N  ( ( 1st `  A
)  .N  ( 2nd `  B ) ) )  =  ( ( ( 2nd `  C )  .N  ( 2nd `  C
) )  .N  (
( 1st `  B
)  .N  ( 2nd `  A ) ) )  <-> 
( ( ( ( 1st `  A )  .N  ( 2nd `  C
) )  +N  (
( 1st `  C
)  .N  ( 2nd `  A ) ) )  .N  ( ( 2nd `  B )  .N  ( 2nd `  C ) ) )  =  ( ( ( 2nd `  A
)  .N  ( 2nd `  C ) )  .N  ( ( ( 1st `  B )  .N  ( 2nd `  C ) )  +N  ( ( 1st `  C )  .N  ( 2nd `  B ) ) ) ) ) )
9037, 43, 893bitr2d 273 . 2  |-  ( ( A  e.  ( N. 
X.  N. )  /\  B  e.  ( N.  X.  N. )  /\  C  e.  ( N.  X.  N. )
)  ->  ( A  ~Q  B  <->  ( ( ( ( 1st `  A
)  .N  ( 2nd `  C ) )  +N  ( ( 1st `  C
)  .N  ( 2nd `  A ) ) )  .N  ( ( 2nd `  B )  .N  ( 2nd `  C ) ) )  =  ( ( ( 2nd `  A
)  .N  ( 2nd `  C ) )  .N  ( ( ( 1st `  B )  .N  ( 2nd `  C ) )  +N  ( ( 1st `  C )  .N  ( 2nd `  B ) ) ) ) ) )
9130, 35, 903bitr4rd 278 1  |-  ( ( A  e.  ( N. 
X.  N. )  /\  B  e.  ( N.  X.  N. )  /\  C  e.  ( N.  X.  N. )
)  ->  ( A  ~Q  B  <->  ( A  +pQ  C )  ~Q  ( B 
+pQ  C ) ) )
Colors of variables: wff set class
Syntax hints:    -> wi 4    <-> wb 177    /\ w3a 936    = wceq 1652    e. wcel 1725   <.cop 3809   class class class wbr 4204    X. cxp 4868   ` cfv 5446  (class class class)co 6073   1stc1st 6339   2ndc2nd 6340   N.cnpi 8709    +N cpli 8710    .N cmi 8711    +pQ cplpq 8713    ~Q ceq 8716
This theorem is referenced by:  adderpq  8823
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1555  ax-5 1566  ax-17 1626  ax-9 1666  ax-8 1687  ax-13 1727  ax-14 1729  ax-6 1744  ax-7 1749  ax-11 1761  ax-12 1950  ax-ext 2416  ax-sep 4322  ax-nul 4330  ax-pow 4369  ax-pr 4395  ax-un 4693
This theorem depends on definitions:  df-bi 178  df-or 360  df-an 361  df-3or 937  df-3an 938  df-tru 1328  df-ex 1551  df-nf 1554  df-sb 1659  df-eu 2284  df-mo 2285  df-clab 2422  df-cleq 2428  df-clel 2431  df-nfc 2560  df-ne 2600  df-ral 2702  df-rex 2703  df-reu 2704  df-rab 2706  df-v 2950  df-sbc 3154  df-csb 3244  df-dif 3315  df-un 3317  df-in 3319  df-ss 3326  df-pss 3328  df-nul 3621  df-if 3732  df-pw 3793  df-sn 3812  df-pr 3813  df-tp 3814  df-op 3815  df-uni 4008  df-iun 4087  df-br 4205  df-opab 4259  df-mpt 4260  df-tr 4295  df-eprel 4486  df-id 4490  df-po 4495  df-so 4496  df-fr 4533  df-we 4535  df-ord 4576  df-on 4577  df-lim 4578  df-suc 4579  df-om 4838  df-xp 4876  df-rel 4877  df-cnv 4878  df-co 4879  df-dm 4880  df-rn 4881  df-res 4882  df-ima 4883  df-iota 5410  df-fun 5448  df-fn 5449  df-f 5450  df-f1 5451  df-fo 5452  df-f1o 5453  df-fv 5454  df-ov 6076  df-oprab 6077  df-mpt2 6078  df-1st 6341  df-2nd 6342  df-recs 6625  df-rdg 6660  df-oadd 6720  df-omul 6721  df-ni 8739  df-pli 8740  df-mi 8741  df-plpq 8775  df-enq 8778
  Copyright terms: Public domain W3C validator