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

Theorem divadddiv 9713
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 9058 . . . . 5  |-  ( ( A  e.  CC  /\  D  e.  CC )  ->  ( A  x.  D
)  e.  CC )
21ad2ant2r 728 . . . 4  |-  ( ( ( A  e.  CC  /\  B  e.  CC )  /\  ( D  e.  CC  /\  D  =/=  0 ) )  -> 
( A  x.  D
)  e.  CC )
32adantrl 697 . . 3  |-  ( ( ( A  e.  CC  /\  B  e.  CC )  /\  ( ( C  e.  CC  /\  C  =/=  0 )  /\  ( D  e.  CC  /\  D  =/=  0 ) ) )  ->  ( A  x.  D )  e.  CC )
4 mulcl 9058 . . . . 5  |-  ( ( B  e.  CC  /\  C  e.  CC )  ->  ( B  x.  C
)  e.  CC )
54adantrr 698 . . . 4  |-  ( ( B  e.  CC  /\  ( C  e.  CC  /\  C  =/=  0 ) )  ->  ( B  x.  C )  e.  CC )
65ad2ant2lr 729 . . 3  |-  ( ( ( A  e.  CC  /\  B  e.  CC )  /\  ( ( C  e.  CC  /\  C  =/=  0 )  /\  ( D  e.  CC  /\  D  =/=  0 ) ) )  ->  ( B  x.  C )  e.  CC )
7 mulcl 9058 . . . . . 6  |-  ( ( C  e.  CC  /\  D  e.  CC )  ->  ( C  x.  D
)  e.  CC )
87ad2ant2r 728 . . . . 5  |-  ( ( ( C  e.  CC  /\  C  =/=  0 )  /\  ( D  e.  CC  /\  D  =/=  0 ) )  -> 
( C  x.  D
)  e.  CC )
9 mulne0 9648 . . . . 5  |-  ( ( ( C  e.  CC  /\  C  =/=  0 )  /\  ( D  e.  CC  /\  D  =/=  0 ) )  -> 
( C  x.  D
)  =/=  0 )
108, 9jca 519 . . . 4  |-  ( ( ( C  e.  CC  /\  C  =/=  0 )  /\  ( D  e.  CC  /\  D  =/=  0 ) )  -> 
( ( C  x.  D )  e.  CC  /\  ( C  x.  D
)  =/=  0 ) )
1110adantl 453 . . 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 9685 . . 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 731 . . . . . 6  |-  ( ( ( A  e.  CC  /\  B  e.  CC )  /\  ( ( C  e.  CC  /\  C  =/=  0 )  /\  ( D  e.  CC  /\  D  =/=  0 ) ) )  ->  A  e.  CC )
15 simprr 734 . . . . . . 7  |-  ( ( ( A  e.  CC  /\  B  e.  CC )  /\  ( ( C  e.  CC  /\  C  =/=  0 )  /\  ( D  e.  CC  /\  D  =/=  0 ) ) )  ->  ( D  e.  CC  /\  D  =/=  0 ) )
1615simpld 446 . . . . . 6  |-  ( ( ( A  e.  CC  /\  B  e.  CC )  /\  ( ( C  e.  CC  /\  C  =/=  0 )  /\  ( D  e.  CC  /\  D  =/=  0 ) ) )  ->  D  e.  CC )
1714, 16mulcomd 9093 . . . . 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 739 . . . . . 6  |-  ( ( ( A  e.  CC  /\  B  e.  CC )  /\  ( ( C  e.  CC  /\  C  =/=  0 )  /\  ( D  e.  CC  /\  D  =/=  0 ) ) )  ->  C  e.  CC )
1918, 16mulcomd 9093 . . . . 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 6085 . . . 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 733 . . . . 5  |-  ( ( ( A  e.  CC  /\  B  e.  CC )  /\  ( ( C  e.  CC  /\  C  =/=  0 )  /\  ( D  e.  CC  /\  D  =/=  0 ) ) )  ->  ( C  e.  CC  /\  C  =/=  0 ) )
22 divcan5 9700 . . . . 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 2462 . . 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 732 . . . . . 6  |-  ( ( ( A  e.  CC  /\  B  e.  CC )  /\  ( ( C  e.  CC  /\  C  =/=  0 )  /\  ( D  e.  CC  /\  D  =/=  0 ) ) )  ->  B  e.  CC )
2625, 18mulcomd 9093 . . . . 5  |-  ( ( ( A  e.  CC  /\  B  e.  CC )  /\  ( ( C  e.  CC  /\  C  =/=  0 )  /\  ( D  e.  CC  /\  D  =/=  0 ) ) )  ->  ( B  x.  C )  =  ( C  x.  B ) )
2726oveq1d 6082 . . . 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 9700 . . . . 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 2462 . . 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 6085 . 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 2463 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 4    /\ wa 359    = wceq 1652    e. wcel 1725    =/= wne 2593  (class class class)co 6067   CCcc 8972   0cc0 8974    + caddc 8977    x. cmul 8979    / cdiv 9661
This theorem is referenced by:  divsubdiv  9714  divadddivi  9760  divadddivd  9818  qaddcl  10574
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 2411  ax-sep 4317  ax-nul 4325  ax-pow 4364  ax-pr 4390  ax-un 4687  ax-resscn 9031  ax-1cn 9032  ax-icn 9033  ax-addcl 9034  ax-addrcl 9035  ax-mulcl 9036  ax-mulrcl 9037  ax-mulcom 9038  ax-addass 9039  ax-mulass 9040  ax-distr 9041  ax-i2m1 9042  ax-1ne0 9043  ax-1rid 9044  ax-rnegex 9045  ax-rrecex 9046  ax-cnre 9047  ax-pre-lttri 9048  ax-pre-lttrn 9049  ax-pre-ltadd 9050  ax-pre-mulgt0 9051
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 2417  df-cleq 2423  df-clel 2426  df-nfc 2555  df-ne 2595  df-nel 2596  df-ral 2697  df-rex 2698  df-reu 2699  df-rmo 2700  df-rab 2701  df-v 2945  df-sbc 3149  df-csb 3239  df-dif 3310  df-un 3312  df-in 3314  df-ss 3321  df-nul 3616  df-if 3727  df-pw 3788  df-sn 3807  df-pr 3808  df-op 3810  df-uni 4003  df-br 4200  df-opab 4254  df-mpt 4255  df-id 4485  df-po 4490  df-so 4491  df-xp 4870  df-rel 4871  df-cnv 4872  df-co 4873  df-dm 4874  df-rn 4875  df-res 4876  df-ima 4877  df-iota 5404  df-fun 5442  df-fn 5443  df-f 5444  df-f1 5445  df-fo 5446  df-f1o 5447  df-fv 5448  df-ov 6070  df-oprab 6071  df-mpt2 6072  df-riota 6535  df-er 6891  df-en 7096  df-dom 7097  df-sdom 7098  df-pnf 9106  df-mnf 9107  df-xr 9108  df-ltxr 9109  df-le 9110  df-sub 9277  df-neg 9278  df-div 9662
  Copyright terms: Public domain W3C validator