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

Theorem mulcand 9639
Description: Cancellation law for multiplication. Theorem I.7 of [Apostol] p. 18. (Contributed by NM, 26-Jan-1995.) (Revised by Mario Carneiro, 27-May-2016.)
Hypotheses
Ref Expression
mulcand.1  |-  ( ph  ->  A  e.  CC )
mulcand.2  |-  ( ph  ->  B  e.  CC )
mulcand.3  |-  ( ph  ->  C  e.  CC )
mulcand.4  |-  ( ph  ->  C  =/=  0 )
Assertion
Ref Expression
mulcand  |-  ( ph  ->  ( ( C  x.  A )  =  ( C  x.  B )  <-> 
A  =  B ) )

Proof of Theorem mulcand
Dummy variable  x is distinct from all other variables.
StepHypRef Expression
1 mulcand.3 . . . 4  |-  ( ph  ->  C  e.  CC )
2 mulcand.4 . . . 4  |-  ( ph  ->  C  =/=  0 )
3 recex 9638 . . . 4  |-  ( ( C  e.  CC  /\  C  =/=  0 )  ->  E. x  e.  CC  ( C  x.  x
)  =  1 )
41, 2, 3syl2anc 643 . . 3  |-  ( ph  ->  E. x  e.  CC  ( C  x.  x
)  =  1 )
5 oveq2 6075 . . . 4  |-  ( ( C  x.  A )  =  ( C  x.  B )  ->  (
x  x.  ( C  x.  A ) )  =  ( x  x.  ( C  x.  B
) ) )
6 simprl 733 . . . . . . . . 9  |-  ( (
ph  /\  ( x  e.  CC  /\  ( C  x.  x )  =  1 ) )  ->  x  e.  CC )
71adantr 452 . . . . . . . . 9  |-  ( (
ph  /\  ( x  e.  CC  /\  ( C  x.  x )  =  1 ) )  ->  C  e.  CC )
86, 7mulcomd 9093 . . . . . . . 8  |-  ( (
ph  /\  ( x  e.  CC  /\  ( C  x.  x )  =  1 ) )  -> 
( x  x.  C
)  =  ( C  x.  x ) )
9 simprr 734 . . . . . . . 8  |-  ( (
ph  /\  ( x  e.  CC  /\  ( C  x.  x )  =  1 ) )  -> 
( C  x.  x
)  =  1 )
108, 9eqtrd 2462 . . . . . . 7  |-  ( (
ph  /\  ( x  e.  CC  /\  ( C  x.  x )  =  1 ) )  -> 
( x  x.  C
)  =  1 )
1110oveq1d 6082 . . . . . 6  |-  ( (
ph  /\  ( x  e.  CC  /\  ( C  x.  x )  =  1 ) )  -> 
( ( x  x.  C )  x.  A
)  =  ( 1  x.  A ) )
12 mulcand.1 . . . . . . . 8  |-  ( ph  ->  A  e.  CC )
1312adantr 452 . . . . . . 7  |-  ( (
ph  /\  ( x  e.  CC  /\  ( C  x.  x )  =  1 ) )  ->  A  e.  CC )
146, 7, 13mulassd 9095 . . . . . 6  |-  ( (
ph  /\  ( x  e.  CC  /\  ( C  x.  x )  =  1 ) )  -> 
( ( x  x.  C )  x.  A
)  =  ( x  x.  ( C  x.  A ) ) )
1513mulid2d 9090 . . . . . 6  |-  ( (
ph  /\  ( x  e.  CC  /\  ( C  x.  x )  =  1 ) )  -> 
( 1  x.  A
)  =  A )
1611, 14, 153eqtr3d 2470 . . . . 5  |-  ( (
ph  /\  ( x  e.  CC  /\  ( C  x.  x )  =  1 ) )  -> 
( x  x.  ( C  x.  A )
)  =  A )
1710oveq1d 6082 . . . . . 6  |-  ( (
ph  /\  ( x  e.  CC  /\  ( C  x.  x )  =  1 ) )  -> 
( ( x  x.  C )  x.  B
)  =  ( 1  x.  B ) )
18 mulcand.2 . . . . . . . 8  |-  ( ph  ->  B  e.  CC )
1918adantr 452 . . . . . . 7  |-  ( (
ph  /\  ( x  e.  CC  /\  ( C  x.  x )  =  1 ) )  ->  B  e.  CC )
206, 7, 19mulassd 9095 . . . . . 6  |-  ( (
ph  /\  ( x  e.  CC  /\  ( C  x.  x )  =  1 ) )  -> 
( ( x  x.  C )  x.  B
)  =  ( x  x.  ( C  x.  B ) ) )
2119mulid2d 9090 . . . . . 6  |-  ( (
ph  /\  ( x  e.  CC  /\  ( C  x.  x )  =  1 ) )  -> 
( 1  x.  B
)  =  B )
2217, 20, 213eqtr3d 2470 . . . . 5  |-  ( (
ph  /\  ( x  e.  CC  /\  ( C  x.  x )  =  1 ) )  -> 
( x  x.  ( C  x.  B )
)  =  B )
2316, 22eqeq12d 2444 . . . 4  |-  ( (
ph  /\  ( x  e.  CC  /\  ( C  x.  x )  =  1 ) )  -> 
( ( x  x.  ( C  x.  A
) )  =  ( x  x.  ( C  x.  B ) )  <-> 
A  =  B ) )
245, 23syl5ib 211 . . 3  |-  ( (
ph  /\  ( x  e.  CC  /\  ( C  x.  x )  =  1 ) )  -> 
( ( C  x.  A )  =  ( C  x.  B )  ->  A  =  B ) )
254, 24rexlimddv 2821 . 2  |-  ( ph  ->  ( ( C  x.  A )  =  ( C  x.  B )  ->  A  =  B ) )
26 oveq2 6075 . 2  |-  ( A  =  B  ->  ( C  x.  A )  =  ( C  x.  B ) )
2725, 26impbid1 195 1  |-  ( ph  ->  ( ( C  x.  A )  =  ( C  x.  B )  <-> 
A  =  B ) )
Colors of variables: wff set class
Syntax hints:    -> wi 4    <-> wb 177    /\ wa 359    = wceq 1652    e. wcel 1725    =/= wne 2593   E.wrex 2693  (class class class)co 6067   CCcc 8972   0cc0 8974   1c1 8975    x. cmul 8979
This theorem is referenced by:  mulcan2d  9640  mulcanad  9641  mulcan  9643  div11  9688  eqneg  9718  qredeq  13089  prmirredlem  16756  tanarg  20497  quad2  20662  atandm2  20700  lgseisenlem2  21117  frgregordn0  28215
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-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
  Copyright terms: Public domain W3C validator