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

Theorem addassnq 9123
Description: Addition of positive fractions is associative. (Contributed by NM, 2-Sep-1995.) (Revised by Mario Carneiro, 28-Apr-2013.) (New usage is discouraged.)
Assertion
Ref Expression
addassnq  |-  ( ( A  +Q  B )  +Q  C )  =  ( A  +Q  ( B  +Q  C ) )

Proof of Theorem addassnq
Dummy variables  x  y  z are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 addasspi 9060 . . . . . . . 8  |-  ( ( ( ( 1st `  A
)  .N  ( ( 2nd `  B )  .N  ( 2nd `  C
) ) )  +N  ( ( ( 1st `  B )  .N  ( 2nd `  A ) )  .N  ( 2nd `  C
) ) )  +N  ( ( 1st `  C
)  .N  ( ( 2nd `  A )  .N  ( 2nd `  B
) ) ) )  =  ( ( ( 1st `  A )  .N  ( ( 2nd `  B )  .N  ( 2nd `  C ) ) )  +N  ( ( ( ( 1st `  B
)  .N  ( 2nd `  A ) )  .N  ( 2nd `  C
) )  +N  (
( 1st `  C
)  .N  ( ( 2nd `  A )  .N  ( 2nd `  B
) ) ) ) )
2 ovex 6115 . . . . . . . . . . 11  |-  ( ( 1st `  A )  .N  ( 2nd `  B
) )  e.  _V
3 ovex 6115 . . . . . . . . . . 11  |-  ( ( 1st `  B )  .N  ( 2nd `  A
) )  e.  _V
4 fvex 5698 . . . . . . . . . . 11  |-  ( 2nd `  C )  e.  _V
5 mulcompi 9061 . . . . . . . . . . 11  |-  ( x  .N  y )  =  ( y  .N  x
)
6 distrpi 9063 . . . . . . . . . . 11  |-  ( x  .N  ( y  +N  z ) )  =  ( ( x  .N  y )  +N  (
x  .N  z ) )
72, 3, 4, 5, 6caovdir 6296 . . . . . . . . . 10  |-  ( ( ( ( 1st `  A
)  .N  ( 2nd `  B ) )  +N  ( ( 1st `  B
)  .N  ( 2nd `  A ) ) )  .N  ( 2nd `  C
) )  =  ( ( ( ( 1st `  A )  .N  ( 2nd `  B ) )  .N  ( 2nd `  C
) )  +N  (
( ( 1st `  B
)  .N  ( 2nd `  A ) )  .N  ( 2nd `  C
) ) )
8 mulasspi 9062 . . . . . . . . . . 11  |-  ( ( ( 1st `  A
)  .N  ( 2nd `  B ) )  .N  ( 2nd `  C
) )  =  ( ( 1st `  A
)  .N  ( ( 2nd `  B )  .N  ( 2nd `  C
) ) )
98oveq1i 6100 . . . . . . . . . 10  |-  ( ( ( ( 1st `  A
)  .N  ( 2nd `  B ) )  .N  ( 2nd `  C
) )  +N  (
( ( 1st `  B
)  .N  ( 2nd `  A ) )  .N  ( 2nd `  C
) ) )  =  ( ( ( 1st `  A )  .N  (
( 2nd `  B
)  .N  ( 2nd `  C ) ) )  +N  ( ( ( 1st `  B )  .N  ( 2nd `  A
) )  .N  ( 2nd `  C ) ) )
107, 9eqtri 2461 . . . . . . . . 9  |-  ( ( ( ( 1st `  A
)  .N  ( 2nd `  B ) )  +N  ( ( 1st `  B
)  .N  ( 2nd `  A ) ) )  .N  ( 2nd `  C
) )  =  ( ( ( 1st `  A
)  .N  ( ( 2nd `  B )  .N  ( 2nd `  C
) ) )  +N  ( ( ( 1st `  B )  .N  ( 2nd `  A ) )  .N  ( 2nd `  C
) ) )
1110oveq1i 6100 . . . . . . . 8  |-  ( ( ( ( ( 1st `  A )  .N  ( 2nd `  B ) )  +N  ( ( 1st `  B )  .N  ( 2nd `  A ) ) )  .N  ( 2nd `  C ) )  +N  ( ( 1st `  C
)  .N  ( ( 2nd `  A )  .N  ( 2nd `  B
) ) ) )  =  ( ( ( ( 1st `  A
)  .N  ( ( 2nd `  B )  .N  ( 2nd `  C
) ) )  +N  ( ( ( 1st `  B )  .N  ( 2nd `  A ) )  .N  ( 2nd `  C
) ) )  +N  ( ( 1st `  C
)  .N  ( ( 2nd `  A )  .N  ( 2nd `  B
) ) ) )
12 ovex 6115 . . . . . . . . . . 11  |-  ( ( 1st `  B )  .N  ( 2nd `  C
) )  e.  _V
13 ovex 6115 . . . . . . . . . . 11  |-  ( ( 1st `  C )  .N  ( 2nd `  B
) )  e.  _V
14 fvex 5698 . . . . . . . . . . 11  |-  ( 2nd `  A )  e.  _V
1512, 13, 14, 5, 6caovdir 6296 . . . . . . . . . 10  |-  ( ( ( ( 1st `  B
)  .N  ( 2nd `  C ) )  +N  ( ( 1st `  C
)  .N  ( 2nd `  B ) ) )  .N  ( 2nd `  A
) )  =  ( ( ( ( 1st `  B )  .N  ( 2nd `  C ) )  .N  ( 2nd `  A
) )  +N  (
( ( 1st `  C
)  .N  ( 2nd `  B ) )  .N  ( 2nd `  A
) ) )
16 fvex 5698 . . . . . . . . . . . 12  |-  ( 1st `  B )  e.  _V
17 mulasspi 9062 . . . . . . . . . . . 12  |-  ( ( x  .N  y )  .N  z )  =  ( x  .N  (
y  .N  z ) )
1816, 4, 14, 5, 17caov32 6289 . . . . . . . . . . 11  |-  ( ( ( 1st `  B
)  .N  ( 2nd `  C ) )  .N  ( 2nd `  A
) )  =  ( ( ( 1st `  B
)  .N  ( 2nd `  A ) )  .N  ( 2nd `  C
) )
19 mulasspi 9062 . . . . . . . . . . . 12  |-  ( ( ( 1st `  C
)  .N  ( 2nd `  B ) )  .N  ( 2nd `  A
) )  =  ( ( 1st `  C
)  .N  ( ( 2nd `  B )  .N  ( 2nd `  A
) ) )
20 mulcompi 9061 . . . . . . . . . . . . 13  |-  ( ( 2nd `  B )  .N  ( 2nd `  A
) )  =  ( ( 2nd `  A
)  .N  ( 2nd `  B ) )
2120oveq2i 6101 . . . . . . . . . . . 12  |-  ( ( 1st `  C )  .N  ( ( 2nd `  B )  .N  ( 2nd `  A ) ) )  =  ( ( 1st `  C )  .N  ( ( 2nd `  A )  .N  ( 2nd `  B ) ) )
2219, 21eqtri 2461 . . . . . . . . . . 11  |-  ( ( ( 1st `  C
)  .N  ( 2nd `  B ) )  .N  ( 2nd `  A
) )  =  ( ( 1st `  C
)  .N  ( ( 2nd `  A )  .N  ( 2nd `  B
) ) )
2318, 22oveq12i 6102 . . . . . . . . . 10  |-  ( ( ( ( 1st `  B
)  .N  ( 2nd `  C ) )  .N  ( 2nd `  A
) )  +N  (
( ( 1st `  C
)  .N  ( 2nd `  B ) )  .N  ( 2nd `  A
) ) )  =  ( ( ( ( 1st `  B )  .N  ( 2nd `  A
) )  .N  ( 2nd `  C ) )  +N  ( ( 1st `  C )  .N  (
( 2nd `  A
)  .N  ( 2nd `  B ) ) ) )
2415, 23eqtri 2461 . . . . . . . . 9  |-  ( ( ( ( 1st `  B
)  .N  ( 2nd `  C ) )  +N  ( ( 1st `  C
)  .N  ( 2nd `  B ) ) )  .N  ( 2nd `  A
) )  =  ( ( ( ( 1st `  B )  .N  ( 2nd `  A ) )  .N  ( 2nd `  C
) )  +N  (
( 1st `  C
)  .N  ( ( 2nd `  A )  .N  ( 2nd `  B
) ) ) )
2524oveq2i 6101 . . . . . . . 8  |-  ( ( ( 1st `  A
)  .N  ( ( 2nd `  B )  .N  ( 2nd `  C
) ) )  +N  ( ( ( ( 1st `  B )  .N  ( 2nd `  C
) )  +N  (
( 1st `  C
)  .N  ( 2nd `  B ) ) )  .N  ( 2nd `  A
) ) )  =  ( ( ( 1st `  A )  .N  (
( 2nd `  B
)  .N  ( 2nd `  C ) ) )  +N  ( ( ( ( 1st `  B
)  .N  ( 2nd `  A ) )  .N  ( 2nd `  C
) )  +N  (
( 1st `  C
)  .N  ( ( 2nd `  A )  .N  ( 2nd `  B
) ) ) ) )
261, 11, 253eqtr4i 2471 . . . . . . 7  |-  ( ( ( ( ( 1st `  A )  .N  ( 2nd `  B ) )  +N  ( ( 1st `  B )  .N  ( 2nd `  A ) ) )  .N  ( 2nd `  C ) )  +N  ( ( 1st `  C
)  .N  ( ( 2nd `  A )  .N  ( 2nd `  B
) ) ) )  =  ( ( ( 1st `  A )  .N  ( ( 2nd `  B )  .N  ( 2nd `  C ) ) )  +N  ( ( ( ( 1st `  B
)  .N  ( 2nd `  C ) )  +N  ( ( 1st `  C
)  .N  ( 2nd `  B ) ) )  .N  ( 2nd `  A
) ) )
27 mulasspi 9062 . . . . . . 7  |-  ( ( ( 2nd `  A
)  .N  ( 2nd `  B ) )  .N  ( 2nd `  C
) )  =  ( ( 2nd `  A
)  .N  ( ( 2nd `  B )  .N  ( 2nd `  C
) ) )
2826, 27opeq12i 4061 . . . . . 6  |-  <. (
( ( ( ( 1st `  A )  .N  ( 2nd `  B
) )  +N  (
( 1st `  B
)  .N  ( 2nd `  A ) ) )  .N  ( 2nd `  C
) )  +N  (
( 1st `  C
)  .N  ( ( 2nd `  A )  .N  ( 2nd `  B
) ) ) ) ,  ( ( ( 2nd `  A )  .N  ( 2nd `  B
) )  .N  ( 2nd `  C ) )
>.  =  <. ( ( ( 1st `  A
)  .N  ( ( 2nd `  B )  .N  ( 2nd `  C
) ) )  +N  ( ( ( ( 1st `  B )  .N  ( 2nd `  C
) )  +N  (
( 1st `  C
)  .N  ( 2nd `  B ) ) )  .N  ( 2nd `  A
) ) ) ,  ( ( 2nd `  A
)  .N  ( ( 2nd `  B )  .N  ( 2nd `  C
) ) ) >.
29 elpqn 9090 . . . . . . . . . 10  |-  ( A  e.  Q.  ->  A  e.  ( N.  X.  N. ) )
30293ad2ant1 1004 . . . . . . . . 9  |-  ( ( A  e.  Q.  /\  B  e.  Q.  /\  C  e.  Q. )  ->  A  e.  ( N.  X.  N. ) )
31 elpqn 9090 . . . . . . . . . 10  |-  ( B  e.  Q.  ->  B  e.  ( N.  X.  N. ) )
32313ad2ant2 1005 . . . . . . . . 9  |-  ( ( A  e.  Q.  /\  B  e.  Q.  /\  C  e.  Q. )  ->  B  e.  ( N.  X.  N. ) )
33 addpipq2 9101 . . . . . . . . 9  |-  ( ( A  e.  ( N. 
X.  N. )  /\  B  e.  ( N.  X.  N. ) )  ->  ( A  +pQ  B )  = 
<. ( ( ( 1st `  A )  .N  ( 2nd `  B ) )  +N  ( ( 1st `  B )  .N  ( 2nd `  A ) ) ) ,  ( ( 2nd `  A )  .N  ( 2nd `  B
) ) >. )
3430, 32, 33syl2anc 656 . . . . . . . 8  |-  ( ( A  e.  Q.  /\  B  e.  Q.  /\  C  e.  Q. )  ->  ( A  +pQ  B )  = 
<. ( ( ( 1st `  A )  .N  ( 2nd `  B ) )  +N  ( ( 1st `  B )  .N  ( 2nd `  A ) ) ) ,  ( ( 2nd `  A )  .N  ( 2nd `  B
) ) >. )
35 relxp 4943 . . . . . . . . 9  |-  Rel  ( N.  X.  N. )
36 elpqn 9090 . . . . . . . . . 10  |-  ( C  e.  Q.  ->  C  e.  ( N.  X.  N. ) )
37363ad2ant3 1006 . . . . . . . . 9  |-  ( ( A  e.  Q.  /\  B  e.  Q.  /\  C  e.  Q. )  ->  C  e.  ( N.  X.  N. ) )
38 1st2nd 6619 . . . . . . . . 9  |-  ( ( Rel  ( N.  X.  N. )  /\  C  e.  ( N.  X.  N. ) )  ->  C  =  <. ( 1st `  C
) ,  ( 2nd `  C ) >. )
3935, 37, 38sylancr 658 . . . . . . . 8  |-  ( ( A  e.  Q.  /\  B  e.  Q.  /\  C  e.  Q. )  ->  C  =  <. ( 1st `  C
) ,  ( 2nd `  C ) >. )
4034, 39oveq12d 6108 . . . . . . 7  |-  ( ( A  e.  Q.  /\  B  e.  Q.  /\  C  e.  Q. )  ->  (
( A  +pQ  B
)  +pQ  C )  =  ( <. (
( ( 1st `  A
)  .N  ( 2nd `  B ) )  +N  ( ( 1st `  B
)  .N  ( 2nd `  A ) ) ) ,  ( ( 2nd `  A )  .N  ( 2nd `  B ) )
>.  +pQ  <. ( 1st `  C
) ,  ( 2nd `  C ) >. )
)
41 xp1st 6605 . . . . . . . . . . 11  |-  ( A  e.  ( N.  X.  N. )  ->  ( 1st `  A )  e.  N. )
4230, 41syl 16 . . . . . . . . . 10  |-  ( ( A  e.  Q.  /\  B  e.  Q.  /\  C  e.  Q. )  ->  ( 1st `  A )  e. 
N. )
43 xp2nd 6606 . . . . . . . . . . 11  |-  ( B  e.  ( N.  X.  N. )  ->  ( 2nd `  B )  e.  N. )
4432, 43syl 16 . . . . . . . . . 10  |-  ( ( A  e.  Q.  /\  B  e.  Q.  /\  C  e.  Q. )  ->  ( 2nd `  B )  e. 
N. )
45 mulclpi 9058 . . . . . . . . . 10  |-  ( ( ( 1st `  A
)  e.  N.  /\  ( 2nd `  B )  e.  N. )  -> 
( ( 1st `  A
)  .N  ( 2nd `  B ) )  e. 
N. )
4642, 44, 45syl2anc 656 . . . . . . . . 9  |-  ( ( A  e.  Q.  /\  B  e.  Q.  /\  C  e.  Q. )  ->  (
( 1st `  A
)  .N  ( 2nd `  B ) )  e. 
N. )
47 xp1st 6605 . . . . . . . . . . 11  |-  ( B  e.  ( N.  X.  N. )  ->  ( 1st `  B )  e.  N. )
4832, 47syl 16 . . . . . . . . . 10  |-  ( ( A  e.  Q.  /\  B  e.  Q.  /\  C  e.  Q. )  ->  ( 1st `  B )  e. 
N. )
49 xp2nd 6606 . . . . . . . . . . 11  |-  ( A  e.  ( N.  X.  N. )  ->  ( 2nd `  A )  e.  N. )
5030, 49syl 16 . . . . . . . . . 10  |-  ( ( A  e.  Q.  /\  B  e.  Q.  /\  C  e.  Q. )  ->  ( 2nd `  A )  e. 
N. )
51 mulclpi 9058 . . . . . . . . . 10  |-  ( ( ( 1st `  B
)  e.  N.  /\  ( 2nd `  A )  e.  N. )  -> 
( ( 1st `  B
)  .N  ( 2nd `  A ) )  e. 
N. )
5248, 50, 51syl2anc 656 . . . . . . . . 9  |-  ( ( A  e.  Q.  /\  B  e.  Q.  /\  C  e.  Q. )  ->  (
( 1st `  B
)  .N  ( 2nd `  A ) )  e. 
N. )
53 addclpi 9057 . . . . . . . . 9  |-  ( ( ( ( 1st `  A
)  .N  ( 2nd `  B ) )  e. 
N.  /\  ( ( 1st `  B )  .N  ( 2nd `  A
) )  e.  N. )  ->  ( ( ( 1st `  A )  .N  ( 2nd `  B
) )  +N  (
( 1st `  B
)  .N  ( 2nd `  A ) ) )  e.  N. )
5446, 52, 53syl2anc 656 . . . . . . . 8  |-  ( ( A  e.  Q.  /\  B  e.  Q.  /\  C  e.  Q. )  ->  (
( ( 1st `  A
)  .N  ( 2nd `  B ) )  +N  ( ( 1st `  B
)  .N  ( 2nd `  A ) ) )  e.  N. )
55 mulclpi 9058 . . . . . . . . 9  |-  ( ( ( 2nd `  A
)  e.  N.  /\  ( 2nd `  B )  e.  N. )  -> 
( ( 2nd `  A
)  .N  ( 2nd `  B ) )  e. 
N. )
5650, 44, 55syl2anc 656 . . . . . . . 8  |-  ( ( A  e.  Q.  /\  B  e.  Q.  /\  C  e.  Q. )  ->  (
( 2nd `  A
)  .N  ( 2nd `  B ) )  e. 
N. )
57 xp1st 6605 . . . . . . . . 9  |-  ( C  e.  ( N.  X.  N. )  ->  ( 1st `  C )  e.  N. )
5837, 57syl 16 . . . . . . . 8  |-  ( ( A  e.  Q.  /\  B  e.  Q.  /\  C  e.  Q. )  ->  ( 1st `  C )  e. 
N. )
59 xp2nd 6606 . . . . . . . . 9  |-  ( C  e.  ( N.  X.  N. )  ->  ( 2nd `  C )  e.  N. )
6037, 59syl 16 . . . . . . . 8  |-  ( ( A  e.  Q.  /\  B  e.  Q.  /\  C  e.  Q. )  ->  ( 2nd `  C )  e. 
N. )
61 addpipq 9102 . . . . . . . 8  |-  ( ( ( ( ( ( 1st `  A )  .N  ( 2nd `  B
) )  +N  (
( 1st `  B
)  .N  ( 2nd `  A ) ) )  e.  N.  /\  (
( 2nd `  A
)  .N  ( 2nd `  B ) )  e. 
N. )  /\  (
( 1st `  C
)  e.  N.  /\  ( 2nd `  C )  e.  N. ) )  ->  ( <. (
( ( 1st `  A
)  .N  ( 2nd `  B ) )  +N  ( ( 1st `  B
)  .N  ( 2nd `  A ) ) ) ,  ( ( 2nd `  A )  .N  ( 2nd `  B ) )
>.  +pQ  <. ( 1st `  C
) ,  ( 2nd `  C ) >. )  =  <. ( ( ( ( ( 1st `  A
)  .N  ( 2nd `  B ) )  +N  ( ( 1st `  B
)  .N  ( 2nd `  A ) ) )  .N  ( 2nd `  C
) )  +N  (
( 1st `  C
)  .N  ( ( 2nd `  A )  .N  ( 2nd `  B
) ) ) ) ,  ( ( ( 2nd `  A )  .N  ( 2nd `  B
) )  .N  ( 2nd `  C ) )
>. )
6254, 56, 58, 60, 61syl22anc 1214 . . . . . . 7  |-  ( ( A  e.  Q.  /\  B  e.  Q.  /\  C  e.  Q. )  ->  ( <. ( ( ( 1st `  A )  .N  ( 2nd `  B ) )  +N  ( ( 1st `  B )  .N  ( 2nd `  A ) ) ) ,  ( ( 2nd `  A )  .N  ( 2nd `  B
) ) >.  +pQ  <. ( 1st `  C ) ,  ( 2nd `  C
) >. )  =  <. ( ( ( ( ( 1st `  A )  .N  ( 2nd `  B
) )  +N  (
( 1st `  B
)  .N  ( 2nd `  A ) ) )  .N  ( 2nd `  C
) )  +N  (
( 1st `  C
)  .N  ( ( 2nd `  A )  .N  ( 2nd `  B
) ) ) ) ,  ( ( ( 2nd `  A )  .N  ( 2nd `  B
) )  .N  ( 2nd `  C ) )
>. )
6340, 62eqtrd 2473 . . . . . 6  |-  ( ( A  e.  Q.  /\  B  e.  Q.  /\  C  e.  Q. )  ->  (
( A  +pQ  B
)  +pQ  C )  =  <. ( ( ( ( ( 1st `  A
)  .N  ( 2nd `  B ) )  +N  ( ( 1st `  B
)  .N  ( 2nd `  A ) ) )  .N  ( 2nd `  C
) )  +N  (
( 1st `  C
)  .N  ( ( 2nd `  A )  .N  ( 2nd `  B
) ) ) ) ,  ( ( ( 2nd `  A )  .N  ( 2nd `  B
) )  .N  ( 2nd `  C ) )
>. )
64 1st2nd 6619 . . . . . . . . 9  |-  ( ( Rel  ( N.  X.  N. )  /\  A  e.  ( N.  X.  N. ) )  ->  A  =  <. ( 1st `  A
) ,  ( 2nd `  A ) >. )
6535, 30, 64sylancr 658 . . . . . . . 8  |-  ( ( A  e.  Q.  /\  B  e.  Q.  /\  C  e.  Q. )  ->  A  =  <. ( 1st `  A
) ,  ( 2nd `  A ) >. )
66 addpipq2 9101 . . . . . . . . 9  |-  ( ( 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
) ) >. )
6732, 37, 66syl2anc 656 . . . . . . . 8  |-  ( ( A  e.  Q.  /\  B  e.  Q.  /\  C  e.  Q. )  ->  ( B  +pQ  C )  = 
<. ( ( ( 1st `  B )  .N  ( 2nd `  C ) )  +N  ( ( 1st `  C )  .N  ( 2nd `  B ) ) ) ,  ( ( 2nd `  B )  .N  ( 2nd `  C
) ) >. )
6865, 67oveq12d 6108 . . . . . . 7  |-  ( ( A  e.  Q.  /\  B  e.  Q.  /\  C  e.  Q. )  ->  ( A  +pQ  ( B  +pQ  C ) )  =  (
<. ( 1st `  A
) ,  ( 2nd `  A ) >.  +pQ  <. (
( ( 1st `  B
)  .N  ( 2nd `  C ) )  +N  ( ( 1st `  C
)  .N  ( 2nd `  B ) ) ) ,  ( ( 2nd `  B )  .N  ( 2nd `  C ) )
>. ) )
69 mulclpi 9058 . . . . . . . . . 10  |-  ( ( ( 1st `  B
)  e.  N.  /\  ( 2nd `  C )  e.  N. )  -> 
( ( 1st `  B
)  .N  ( 2nd `  C ) )  e. 
N. )
7048, 60, 69syl2anc 656 . . . . . . . . 9  |-  ( ( A  e.  Q.  /\  B  e.  Q.  /\  C  e.  Q. )  ->  (
( 1st `  B
)  .N  ( 2nd `  C ) )  e. 
N. )
71 mulclpi 9058 . . . . . . . . . 10  |-  ( ( ( 1st `  C
)  e.  N.  /\  ( 2nd `  B )  e.  N. )  -> 
( ( 1st `  C
)  .N  ( 2nd `  B ) )  e. 
N. )
7258, 44, 71syl2anc 656 . . . . . . . . 9  |-  ( ( A  e.  Q.  /\  B  e.  Q.  /\  C  e.  Q. )  ->  (
( 1st `  C
)  .N  ( 2nd `  B ) )  e. 
N. )
73 addclpi 9057 . . . . . . . . 9  |-  ( ( ( ( 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. )
7470, 72, 73syl2anc 656 . . . . . . . 8  |-  ( ( A  e.  Q.  /\  B  e.  Q.  /\  C  e.  Q. )  ->  (
( ( 1st `  B
)  .N  ( 2nd `  C ) )  +N  ( ( 1st `  C
)  .N  ( 2nd `  B ) ) )  e.  N. )
75 mulclpi 9058 . . . . . . . . 9  |-  ( ( ( 2nd `  B
)  e.  N.  /\  ( 2nd `  C )  e.  N. )  -> 
( ( 2nd `  B
)  .N  ( 2nd `  C ) )  e. 
N. )
7644, 60, 75syl2anc 656 . . . . . . . 8  |-  ( ( A  e.  Q.  /\  B  e.  Q.  /\  C  e.  Q. )  ->  (
( 2nd `  B
)  .N  ( 2nd `  C ) )  e. 
N. )
77 addpipq 9102 . . . . . . . 8  |-  ( ( ( ( 1st `  A
)  e.  N.  /\  ( 2nd `  A )  e.  N. )  /\  ( ( ( ( 1st `  B )  .N  ( 2nd `  C
) )  +N  (
( 1st `  C
)  .N  ( 2nd `  B ) ) )  e.  N.  /\  (
( 2nd `  B
)  .N  ( 2nd `  C ) )  e. 
N. ) )  -> 
( <. ( 1st `  A
) ,  ( 2nd `  A ) >.  +pQ  <. (
( ( 1st `  B
)  .N  ( 2nd `  C ) )  +N  ( ( 1st `  C
)  .N  ( 2nd `  B ) ) ) ,  ( ( 2nd `  B )  .N  ( 2nd `  C ) )
>. )  =  <. ( ( ( 1st `  A
)  .N  ( ( 2nd `  B )  .N  ( 2nd `  C
) ) )  +N  ( ( ( ( 1st `  B )  .N  ( 2nd `  C
) )  +N  (
( 1st `  C
)  .N  ( 2nd `  B ) ) )  .N  ( 2nd `  A
) ) ) ,  ( ( 2nd `  A
)  .N  ( ( 2nd `  B )  .N  ( 2nd `  C
) ) ) >.
)
7842, 50, 74, 76, 77syl22anc 1214 . . . . . . 7  |-  ( ( A  e.  Q.  /\  B  e.  Q.  /\  C  e.  Q. )  ->  ( <. ( 1st `  A
) ,  ( 2nd `  A ) >.  +pQ  <. (
( ( 1st `  B
)  .N  ( 2nd `  C ) )  +N  ( ( 1st `  C
)  .N  ( 2nd `  B ) ) ) ,  ( ( 2nd `  B )  .N  ( 2nd `  C ) )
>. )  =  <. ( ( ( 1st `  A
)  .N  ( ( 2nd `  B )  .N  ( 2nd `  C
) ) )  +N  ( ( ( ( 1st `  B )  .N  ( 2nd `  C
) )  +N  (
( 1st `  C
)  .N  ( 2nd `  B ) ) )  .N  ( 2nd `  A
) ) ) ,  ( ( 2nd `  A
)  .N  ( ( 2nd `  B )  .N  ( 2nd `  C
) ) ) >.
)
7968, 78eqtrd 2473 . . . . . 6  |-  ( ( A  e.  Q.  /\  B  e.  Q.  /\  C  e.  Q. )  ->  ( A  +pQ  ( B  +pQ  C ) )  =  <. ( ( ( 1st `  A
)  .N  ( ( 2nd `  B )  .N  ( 2nd `  C
) ) )  +N  ( ( ( ( 1st `  B )  .N  ( 2nd `  C
) )  +N  (
( 1st `  C
)  .N  ( 2nd `  B ) ) )  .N  ( 2nd `  A
) ) ) ,  ( ( 2nd `  A
)  .N  ( ( 2nd `  B )  .N  ( 2nd `  C
) ) ) >.
)
8028, 63, 793eqtr4a 2499 . . . . 5  |-  ( ( A  e.  Q.  /\  B  e.  Q.  /\  C  e.  Q. )  ->  (
( A  +pQ  B
)  +pQ  C )  =  ( A  +pQ  ( B  +pQ  C ) ) )
8180fveq2d 5692 . . . 4  |-  ( ( A  e.  Q.  /\  B  e.  Q.  /\  C  e.  Q. )  ->  ( /Q `  ( ( A 
+pQ  B )  +pQ  C ) )  =  ( /Q `  ( A 
+pQ  ( B  +pQ  C ) ) ) )
82 adderpq 9121 . . . 4  |-  ( ( /Q `  ( A 
+pQ  B ) )  +Q  ( /Q `  C ) )  =  ( /Q `  (
( A  +pQ  B
)  +pQ  C )
)
83 adderpq 9121 . . . 4  |-  ( ( /Q `  A )  +Q  ( /Q `  ( B  +pQ  C ) ) )  =  ( /Q `  ( A 
+pQ  ( B  +pQ  C ) ) )
8481, 82, 833eqtr4g 2498 . . 3  |-  ( ( A  e.  Q.  /\  B  e.  Q.  /\  C  e.  Q. )  ->  (
( /Q `  ( A  +pQ  B ) )  +Q  ( /Q `  C ) )  =  ( ( /Q `  A )  +Q  ( /Q `  ( B  +pQ  C ) ) ) )
85 addpqnq 9103 . . . . 5  |-  ( ( A  e.  Q.  /\  B  e.  Q. )  ->  ( A  +Q  B
)  =  ( /Q
`  ( A  +pQ  B ) ) )
86853adant3 1003 . . . 4  |-  ( ( A  e.  Q.  /\  B  e.  Q.  /\  C  e.  Q. )  ->  ( A  +Q  B )  =  ( /Q `  ( A  +pQ  B ) ) )
87 nqerid 9098 . . . . . 6  |-  ( C  e.  Q.  ->  ( /Q `  C )  =  C )
8887eqcomd 2446 . . . . 5  |-  ( C  e.  Q.  ->  C  =  ( /Q `  C ) )
89883ad2ant3 1006 . . . 4  |-  ( ( A  e.  Q.  /\  B  e.  Q.  /\  C  e.  Q. )  ->  C  =  ( /Q `  C ) )
9086, 89oveq12d 6108 . . 3  |-  ( ( A  e.  Q.  /\  B  e.  Q.  /\  C  e.  Q. )  ->  (
( A  +Q  B
)  +Q  C )  =  ( ( /Q
`  ( A  +pQ  B ) )  +Q  ( /Q `  C ) ) )
91 nqerid 9098 . . . . . 6  |-  ( A  e.  Q.  ->  ( /Q `  A )  =  A )
9291eqcomd 2446 . . . . 5  |-  ( A  e.  Q.  ->  A  =  ( /Q `  A ) )
93923ad2ant1 1004 . . . 4  |-  ( ( A  e.  Q.  /\  B  e.  Q.  /\  C  e.  Q. )  ->  A  =  ( /Q `  A ) )
94 addpqnq 9103 . . . . 5  |-  ( ( B  e.  Q.  /\  C  e.  Q. )  ->  ( B  +Q  C
)  =  ( /Q
`  ( B  +pQ  C ) ) )
95943adant1 1001 . . . 4  |-  ( ( A  e.  Q.  /\  B  e.  Q.  /\  C  e.  Q. )  ->  ( B  +Q  C )  =  ( /Q `  ( B  +pQ  C ) ) )
9693, 95oveq12d 6108 . . 3  |-  ( ( A  e.  Q.  /\  B  e.  Q.  /\  C  e.  Q. )  ->  ( A  +Q  ( B  +Q  C ) )  =  ( ( /Q `  A )  +Q  ( /Q `  ( B  +pQ  C ) ) ) )
9784, 90, 963eqtr4d 2483 . 2  |-  ( ( A  e.  Q.  /\  B  e.  Q.  /\  C  e.  Q. )  ->  (
( A  +Q  B
)  +Q  C )  =  ( A  +Q  ( B  +Q  C
) ) )
98 addnqf 9113 . . . 4  |-  +Q  :
( Q.  X.  Q. )
--> Q.
9998fdmi 5561 . . 3  |-  dom  +Q  =  ( Q.  X.  Q. )
100 0nnq 9089 . . 3  |-  -.  (/)  e.  Q.
10199, 100ndmovass 6250 . 2  |-  ( -.  ( A  e.  Q.  /\  B  e.  Q.  /\  C  e.  Q. )  ->  ( ( A  +Q  B )  +Q  C
)  =  ( A  +Q  ( B  +Q  C ) ) )
10297, 101pm2.61i 164 1  |-  ( ( A  +Q  B )  +Q  C )  =  ( A  +Q  ( B  +Q  C ) )
Colors of variables: wff setvar class
Syntax hints:    /\ w3a 960    = wceq 1364    e. wcel 1761   <.cop 3880    X. cxp 4834   Rel wrel 4841   ` cfv 5415  (class class class)co 6090   1stc1st 6574   2ndc2nd 6575   N.cnpi 9007    +N cpli 9008    .N cmi 9009    +pQ cplpq 9011   Q.cnq 9015   /Qcerq 9017    +Q cplq 9018
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1596  ax-4 1607  ax-5 1675  ax-6 1713  ax-7 1733  ax-8 1763  ax-9 1765  ax-10 1780  ax-11 1785  ax-12 1797  ax-13 1948  ax-ext 2422  ax-sep 4410  ax-nul 4418  ax-pow 4467  ax-pr 4528  ax-un 6371
This theorem depends on definitions:  df-bi 185  df-or 370  df-an 371  df-3or 961  df-3an 962  df-tru 1367  df-ex 1592  df-nf 1595  df-sb 1706  df-eu 2261  df-mo 2262  df-clab 2428  df-cleq 2434  df-clel 2437  df-nfc 2566  df-ne 2606  df-ral 2718  df-rex 2719  df-reu 2720  df-rmo 2721  df-rab 2722  df-v 2972  df-sbc 3184  df-csb 3286  df-dif 3328  df-un 3330  df-in 3332  df-ss 3339  df-pss 3341  df-nul 3635  df-if 3789  df-pw 3859  df-sn 3875  df-pr 3877  df-tp 3879  df-op 3881  df-uni 4089  df-iun 4170  df-br 4290  df-opab 4348  df-mpt 4349  df-tr 4383  df-eprel 4628  df-id 4632  df-po 4637  df-so 4638  df-fr 4675  df-we 4677  df-ord 4718  df-on 4719  df-lim 4720  df-suc 4721  df-xp 4842  df-rel 4843  df-cnv 4844  df-co 4845  df-dm 4846  df-rn 4847  df-res 4848  df-ima 4849  df-iota 5378  df-fun 5417  df-fn 5418  df-f 5419  df-f1 5420  df-fo 5421  df-f1o 5422  df-fv 5423  df-ov 6093  df-oprab 6094  df-mpt2 6095  df-om 6476  df-1st 6576  df-2nd 6577  df-recs 6828  df-rdg 6862  df-1o 6916  df-oadd 6920  df-omul 6921  df-er 7097  df-ni 9037  df-pli 9038  df-mi 9039  df-lti 9040  df-plpq 9073  df-enq 9076  df-nq 9077  df-erq 9078  df-plq 9079  df-1nq 9081
This theorem is referenced by:  ltaddnq  9139  addasspr  9187  prlem934  9198  ltexprlem7  9207
  Copyright terms: Public domain W3C validator