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

Theorem divadddiv 9470
Description: Addition of two ratios. Theorem I.13 of [Apostol] p. 18. (Contributed by NM, 1-Aug-2004.) (Revised by Mario Carneiro, 2-May-2016.)
Assertion
Ref Expression
divadddiv  |-  ( ( ( A  e.  CC  /\  B  e.  CC )  /\  ( ( C  e.  CC  /\  C  =/=  0 )  /\  ( D  e.  CC  /\  D  =/=  0 ) ) )  ->  ( ( A  /  C )  +  ( B  /  D
) )  =  ( ( ( A  x.  D )  +  ( B  x.  C ) )  /  ( C  x.  D ) ) )

Proof of Theorem divadddiv
StepHypRef Expression
1 mulcl 8816 . . . . 5  |-  ( ( A  e.  CC  /\  D  e.  CC )  ->  ( A  x.  D
)  e.  CC )
21ad2ant2r 729 . . . 4  |-  ( ( ( A  e.  CC  /\  B  e.  CC )  /\  ( D  e.  CC  /\  D  =/=  0 ) )  -> 
( A  x.  D
)  e.  CC )
32adantrl 698 . . 3  |-  ( ( ( A  e.  CC  /\  B  e.  CC )  /\  ( ( C  e.  CC  /\  C  =/=  0 )  /\  ( D  e.  CC  /\  D  =/=  0 ) ) )  ->  ( A  x.  D )  e.  CC )
4 mulcl 8816 . . . . 5  |-  ( ( B  e.  CC  /\  C  e.  CC )  ->  ( B  x.  C
)  e.  CC )
54adantrr 699 . . . 4  |-  ( ( B  e.  CC  /\  ( C  e.  CC  /\  C  =/=  0 ) )  ->  ( B  x.  C )  e.  CC )
65ad2ant2lr 730 . . 3  |-  ( ( ( A  e.  CC  /\  B  e.  CC )  /\  ( ( C  e.  CC  /\  C  =/=  0 )  /\  ( D  e.  CC  /\  D  =/=  0 ) ) )  ->  ( B  x.  C )  e.  CC )
7 mulcl 8816 . . . . . 6  |-  ( ( C  e.  CC  /\  D  e.  CC )  ->  ( C  x.  D
)  e.  CC )
87ad2ant2r 729 . . . . 5  |-  ( ( ( C  e.  CC  /\  C  =/=  0 )  /\  ( D  e.  CC  /\  D  =/=  0 ) )  -> 
( C  x.  D
)  e.  CC )
9 mulne0 9405 . . . . 5  |-  ( ( ( C  e.  CC  /\  C  =/=  0 )  /\  ( D  e.  CC  /\  D  =/=  0 ) )  -> 
( C  x.  D
)  =/=  0 )
108, 9jca 520 . . . 4  |-  ( ( ( C  e.  CC  /\  C  =/=  0 )  /\  ( D  e.  CC  /\  D  =/=  0 ) )  -> 
( ( C  x.  D )  e.  CC  /\  ( C  x.  D
)  =/=  0 ) )
1110adantl 454 . . 3  |-  ( ( ( A  e.  CC  /\  B  e.  CC )  /\  ( ( C  e.  CC  /\  C  =/=  0 )  /\  ( D  e.  CC  /\  D  =/=  0 ) ) )  ->  ( ( C  x.  D )  e.  CC  /\  ( C  x.  D )  =/=  0 ) )
12 divdir 9442 . . 3  |-  ( ( ( A  x.  D
)  e.  CC  /\  ( B  x.  C
)  e.  CC  /\  ( ( C  x.  D )  e.  CC  /\  ( C  x.  D
)  =/=  0 ) )  ->  ( (
( A  x.  D
)  +  ( B  x.  C ) )  /  ( C  x.  D ) )  =  ( ( ( A  x.  D )  / 
( C  x.  D
) )  +  ( ( B  x.  C
)  /  ( C  x.  D ) ) ) )
133, 6, 11, 12syl3anc 1184 . 2  |-  ( ( ( A  e.  CC  /\  B  e.  CC )  /\  ( ( C  e.  CC  /\  C  =/=  0 )  /\  ( D  e.  CC  /\  D  =/=  0 ) ) )  ->  ( ( ( A  x.  D )  +  ( B  x.  C ) )  / 
( C  x.  D
) )  =  ( ( ( A  x.  D )  /  ( C  x.  D )
)  +  ( ( B  x.  C )  /  ( C  x.  D ) ) ) )
14 simpll 732 . . . . . 6  |-  ( ( ( A  e.  CC  /\  B  e.  CC )  /\  ( ( C  e.  CC  /\  C  =/=  0 )  /\  ( D  e.  CC  /\  D  =/=  0 ) ) )  ->  A  e.  CC )
15 simprr 735 . . . . . . 7  |-  ( ( ( A  e.  CC  /\  B  e.  CC )  /\  ( ( C  e.  CC  /\  C  =/=  0 )  /\  ( D  e.  CC  /\  D  =/=  0 ) ) )  ->  ( D  e.  CC  /\  D  =/=  0 ) )
1615simpld 447 . . . . . 6  |-  ( ( ( A  e.  CC  /\  B  e.  CC )  /\  ( ( C  e.  CC  /\  C  =/=  0 )  /\  ( D  e.  CC  /\  D  =/=  0 ) ) )  ->  D  e.  CC )
1714, 16mulcomd 8851 . . . . 5  |-  ( ( ( A  e.  CC  /\  B  e.  CC )  /\  ( ( C  e.  CC  /\  C  =/=  0 )  /\  ( D  e.  CC  /\  D  =/=  0 ) ) )  ->  ( A  x.  D )  =  ( D  x.  A ) )
18 simprll 740 . . . . . 6  |-  ( ( ( A  e.  CC  /\  B  e.  CC )  /\  ( ( C  e.  CC  /\  C  =/=  0 )  /\  ( D  e.  CC  /\  D  =/=  0 ) ) )  ->  C  e.  CC )
1918, 16mulcomd 8851 . . . . 5  |-  ( ( ( A  e.  CC  /\  B  e.  CC )  /\  ( ( C  e.  CC  /\  C  =/=  0 )  /\  ( D  e.  CC  /\  D  =/=  0 ) ) )  ->  ( C  x.  D )  =  ( D  x.  C ) )
2017, 19oveq12d 5837 . . . 4  |-  ( ( ( A  e.  CC  /\  B  e.  CC )  /\  ( ( C  e.  CC  /\  C  =/=  0 )  /\  ( D  e.  CC  /\  D  =/=  0 ) ) )  ->  ( ( A  x.  D )  / 
( C  x.  D
) )  =  ( ( D  x.  A
)  /  ( D  x.  C ) ) )
21 simprl 734 . . . . 5  |-  ( ( ( A  e.  CC  /\  B  e.  CC )  /\  ( ( C  e.  CC  /\  C  =/=  0 )  /\  ( D  e.  CC  /\  D  =/=  0 ) ) )  ->  ( C  e.  CC  /\  C  =/=  0 ) )
22 divcan5 9457 . . . . 5  |-  ( ( A  e.  CC  /\  ( C  e.  CC  /\  C  =/=  0 )  /\  ( D  e.  CC  /\  D  =/=  0 ) )  -> 
( ( D  x.  A )  /  ( D  x.  C )
)  =  ( A  /  C ) )
2314, 21, 15, 22syl3anc 1184 . . . 4  |-  ( ( ( A  e.  CC  /\  B  e.  CC )  /\  ( ( C  e.  CC  /\  C  =/=  0 )  /\  ( D  e.  CC  /\  D  =/=  0 ) ) )  ->  ( ( D  x.  A )  / 
( D  x.  C
) )  =  ( A  /  C ) )
2420, 23eqtrd 2316 . . 3  |-  ( ( ( A  e.  CC  /\  B  e.  CC )  /\  ( ( C  e.  CC  /\  C  =/=  0 )  /\  ( D  e.  CC  /\  D  =/=  0 ) ) )  ->  ( ( A  x.  D )  / 
( C  x.  D
) )  =  ( A  /  C ) )
25 simplr 733 . . . . . 6  |-  ( ( ( A  e.  CC  /\  B  e.  CC )  /\  ( ( C  e.  CC  /\  C  =/=  0 )  /\  ( D  e.  CC  /\  D  =/=  0 ) ) )  ->  B  e.  CC )
2625, 18mulcomd 8851 . . . . 5  |-  ( ( ( A  e.  CC  /\  B  e.  CC )  /\  ( ( C  e.  CC  /\  C  =/=  0 )  /\  ( D  e.  CC  /\  D  =/=  0 ) ) )  ->  ( B  x.  C )  =  ( C  x.  B ) )
2726oveq1d 5834 . . . 4  |-  ( ( ( A  e.  CC  /\  B  e.  CC )  /\  ( ( C  e.  CC  /\  C  =/=  0 )  /\  ( D  e.  CC  /\  D  =/=  0 ) ) )  ->  ( ( B  x.  C )  / 
( C  x.  D
) )  =  ( ( C  x.  B
)  /  ( C  x.  D ) ) )
28 divcan5 9457 . . . . 5  |-  ( ( B  e.  CC  /\  ( D  e.  CC  /\  D  =/=  0 )  /\  ( C  e.  CC  /\  C  =/=  0 ) )  -> 
( ( C  x.  B )  /  ( C  x.  D )
)  =  ( B  /  D ) )
2925, 15, 21, 28syl3anc 1184 . . . 4  |-  ( ( ( A  e.  CC  /\  B  e.  CC )  /\  ( ( C  e.  CC  /\  C  =/=  0 )  /\  ( D  e.  CC  /\  D  =/=  0 ) ) )  ->  ( ( C  x.  B )  / 
( C  x.  D
) )  =  ( B  /  D ) )
3027, 29eqtrd 2316 . . 3  |-  ( ( ( A  e.  CC  /\  B  e.  CC )  /\  ( ( C  e.  CC  /\  C  =/=  0 )  /\  ( D  e.  CC  /\  D  =/=  0 ) ) )  ->  ( ( B  x.  C )  / 
( C  x.  D
) )  =  ( B  /  D ) )
3124, 30oveq12d 5837 . 2  |-  ( ( ( A  e.  CC  /\  B  e.  CC )  /\  ( ( C  e.  CC  /\  C  =/=  0 )  /\  ( D  e.  CC  /\  D  =/=  0 ) ) )  ->  ( ( ( A  x.  D )  /  ( C  x.  D ) )  +  ( ( B  x.  C )  /  ( C  x.  D )
) )  =  ( ( A  /  C
)  +  ( B  /  D ) ) )
3213, 31eqtr2d 2317 1  |-  ( ( ( A  e.  CC  /\  B  e.  CC )  /\  ( ( C  e.  CC  /\  C  =/=  0 )  /\  ( D  e.  CC  /\  D  =/=  0 ) ) )  ->  ( ( A  /  C )  +  ( B  /  D
) )  =  ( ( ( A  x.  D )  +  ( B  x.  C ) )  /  ( C  x.  D ) ) )
Colors of variables: wff set class
Syntax hints:    -> wi 6    /\ wa 360    = wceq 1624    e. wcel 1685    =/= wne 2447  (class class class)co 5819   CCcc 8730   0cc0 8732    + caddc 8735    x. cmul 8737    / cdiv 9418
This theorem is referenced by:  divsubdiv  9471  divadddivi  9517  divadddivd  9575  qaddcl  10327
This theorem was proved from axioms:  ax-1 7  ax-2 8  ax-3 9  ax-mp 10  ax-gen 1534  ax-5 1545  ax-17 1604  ax-9 1637  ax-8 1645  ax-13 1687  ax-14 1689  ax-6 1704  ax-7 1709  ax-11 1716  ax-12 1867  ax-ext 2265  ax-sep 4142  ax-nul 4150  ax-pow 4187  ax-pr 4213  ax-un 4511  ax-resscn 8789  ax-1cn 8790  ax-icn 8791  ax-addcl 8792  ax-addrcl 8793  ax-mulcl 8794  ax-mulrcl 8795  ax-mulcom 8796  ax-addass 8797  ax-mulass 8798  ax-distr 8799  ax-i2m1 8800  ax-1ne0 8801  ax-1rid 8802  ax-rnegex 8803  ax-rrecex 8804  ax-cnre 8805  ax-pre-lttri 8806  ax-pre-lttrn 8807  ax-pre-ltadd 8808  ax-pre-mulgt0 8809
This theorem depends on definitions:  df-bi 179  df-or 361  df-an 362  df-3or 937  df-3an 938  df-tru 1312  df-ex 1530  df-nf 1533  df-sb 1632  df-eu 2148  df-mo 2149  df-clab 2271  df-cleq 2277  df-clel 2280  df-nfc 2409  df-ne 2449  df-nel 2450  df-ral 2549  df-rex 2550  df-reu 2551  df-rmo 2552  df-rab 2553  df-v 2791  df-sbc 2993  df-csb 3083  df-dif 3156  df-un 3158  df-in 3160  df-ss 3167  df-nul 3457  df-if 3567  df-pw 3628  df-sn 3647  df-pr 3648  df-op 3650  df-uni 3829  df-br 4025  df-opab 4079  df-mpt 4080  df-id 4308  df-po 4313  df-so 4314  df-xp 4694  df-rel 4695  df-cnv 4696  df-co 4697  df-dm 4698  df-rn 4699  df-res 4700  df-ima 4701  df-fun 5223  df-fn 5224  df-f 5225  df-f1 5226  df-fo 5227  df-f1o 5228  df-fv 5229  df-ov 5822  df-oprab 5823  df-mpt2 5824  df-iota 6252  df-riota 6299  df-er 6655  df-en 6859  df-dom 6860  df-sdom 6861  df-pnf 8864  df-mnf 8865  df-xr 8866  df-ltxr 8867  df-le 8868  df-sub 9034  df-neg 9035  df-div 9419
  Copyright terms: Public domain W3C validator