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

Theorem mulcand 11879
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 (𝜑𝐴 ∈ ℂ)
mulcand.2 (𝜑𝐵 ∈ ℂ)
mulcand.3 (𝜑𝐶 ∈ ℂ)
mulcand.4 (𝜑𝐶 ≠ 0)
Assertion
Ref Expression
mulcand (𝜑 → ((𝐶 · 𝐴) = (𝐶 · 𝐵) ↔ 𝐴 = 𝐵))

Proof of Theorem mulcand
Dummy variable 𝑥 is distinct from all other variables.
StepHypRef Expression
1 mulcand.3 . . . 4 (𝜑𝐶 ∈ ℂ)
2 mulcand.4 . . . 4 (𝜑𝐶 ≠ 0)
3 recex 11878 . . . 4 ((𝐶 ∈ ℂ ∧ 𝐶 ≠ 0) → ∃𝑥 ∈ ℂ (𝐶 · 𝑥) = 1)
41, 2, 3syl2anc 582 . . 3 (𝜑 → ∃𝑥 ∈ ℂ (𝐶 · 𝑥) = 1)
5 oveq2 7427 . . . 4 ((𝐶 · 𝐴) = (𝐶 · 𝐵) → (𝑥 · (𝐶 · 𝐴)) = (𝑥 · (𝐶 · 𝐵)))
6 simprl 769 . . . . . . . . 9 ((𝜑 ∧ (𝑥 ∈ ℂ ∧ (𝐶 · 𝑥) = 1)) → 𝑥 ∈ ℂ)
71adantr 479 . . . . . . . . 9 ((𝜑 ∧ (𝑥 ∈ ℂ ∧ (𝐶 · 𝑥) = 1)) → 𝐶 ∈ ℂ)
86, 7mulcomd 11267 . . . . . . . 8 ((𝜑 ∧ (𝑥 ∈ ℂ ∧ (𝐶 · 𝑥) = 1)) → (𝑥 · 𝐶) = (𝐶 · 𝑥))
9 simprr 771 . . . . . . . 8 ((𝜑 ∧ (𝑥 ∈ ℂ ∧ (𝐶 · 𝑥) = 1)) → (𝐶 · 𝑥) = 1)
108, 9eqtrd 2765 . . . . . . 7 ((𝜑 ∧ (𝑥 ∈ ℂ ∧ (𝐶 · 𝑥) = 1)) → (𝑥 · 𝐶) = 1)
1110oveq1d 7434 . . . . . 6 ((𝜑 ∧ (𝑥 ∈ ℂ ∧ (𝐶 · 𝑥) = 1)) → ((𝑥 · 𝐶) · 𝐴) = (1 · 𝐴))
12 mulcand.1 . . . . . . . 8 (𝜑𝐴 ∈ ℂ)
1312adantr 479 . . . . . . 7 ((𝜑 ∧ (𝑥 ∈ ℂ ∧ (𝐶 · 𝑥) = 1)) → 𝐴 ∈ ℂ)
146, 7, 13mulassd 11269 . . . . . 6 ((𝜑 ∧ (𝑥 ∈ ℂ ∧ (𝐶 · 𝑥) = 1)) → ((𝑥 · 𝐶) · 𝐴) = (𝑥 · (𝐶 · 𝐴)))
1513mullidd 11264 . . . . . 6 ((𝜑 ∧ (𝑥 ∈ ℂ ∧ (𝐶 · 𝑥) = 1)) → (1 · 𝐴) = 𝐴)
1611, 14, 153eqtr3d 2773 . . . . 5 ((𝜑 ∧ (𝑥 ∈ ℂ ∧ (𝐶 · 𝑥) = 1)) → (𝑥 · (𝐶 · 𝐴)) = 𝐴)
1710oveq1d 7434 . . . . . 6 ((𝜑 ∧ (𝑥 ∈ ℂ ∧ (𝐶 · 𝑥) = 1)) → ((𝑥 · 𝐶) · 𝐵) = (1 · 𝐵))
18 mulcand.2 . . . . . . . 8 (𝜑𝐵 ∈ ℂ)
1918adantr 479 . . . . . . 7 ((𝜑 ∧ (𝑥 ∈ ℂ ∧ (𝐶 · 𝑥) = 1)) → 𝐵 ∈ ℂ)
206, 7, 19mulassd 11269 . . . . . 6 ((𝜑 ∧ (𝑥 ∈ ℂ ∧ (𝐶 · 𝑥) = 1)) → ((𝑥 · 𝐶) · 𝐵) = (𝑥 · (𝐶 · 𝐵)))
2119mullidd 11264 . . . . . 6 ((𝜑 ∧ (𝑥 ∈ ℂ ∧ (𝐶 · 𝑥) = 1)) → (1 · 𝐵) = 𝐵)
2217, 20, 213eqtr3d 2773 . . . . 5 ((𝜑 ∧ (𝑥 ∈ ℂ ∧ (𝐶 · 𝑥) = 1)) → (𝑥 · (𝐶 · 𝐵)) = 𝐵)
2316, 22eqeq12d 2741 . . . 4 ((𝜑 ∧ (𝑥 ∈ ℂ ∧ (𝐶 · 𝑥) = 1)) → ((𝑥 · (𝐶 · 𝐴)) = (𝑥 · (𝐶 · 𝐵)) ↔ 𝐴 = 𝐵))
245, 23imbitrid 243 . . 3 ((𝜑 ∧ (𝑥 ∈ ℂ ∧ (𝐶 · 𝑥) = 1)) → ((𝐶 · 𝐴) = (𝐶 · 𝐵) → 𝐴 = 𝐵))
254, 24rexlimddv 3150 . 2 (𝜑 → ((𝐶 · 𝐴) = (𝐶 · 𝐵) → 𝐴 = 𝐵))
26 oveq2 7427 . 2 (𝐴 = 𝐵 → (𝐶 · 𝐴) = (𝐶 · 𝐵))
2725, 26impbid1 224 1 (𝜑 → ((𝐶 · 𝐴) = (𝐶 · 𝐵) ↔ 𝐴 = 𝐵))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 394   = wceq 1533  wcel 2098  wne 2929  wrex 3059  (class class class)co 7419  cc 11138  0cc0 11140  1c1 11141   · cmul 11145
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1789  ax-4 1803  ax-5 1905  ax-6 1963  ax-7 2003  ax-8 2100  ax-9 2108  ax-10 2129  ax-11 2146  ax-12 2166  ax-ext 2696  ax-sep 5300  ax-nul 5307  ax-pow 5365  ax-pr 5429  ax-un 7741  ax-resscn 11197  ax-1cn 11198  ax-icn 11199  ax-addcl 11200  ax-addrcl 11201  ax-mulcl 11202  ax-mulrcl 11203  ax-mulcom 11204  ax-addass 11205  ax-mulass 11206  ax-distr 11207  ax-i2m1 11208  ax-1ne0 11209  ax-1rid 11210  ax-rnegex 11211  ax-rrecex 11212  ax-cnre 11213  ax-pre-lttri 11214  ax-pre-lttrn 11215  ax-pre-ltadd 11216  ax-pre-mulgt0 11217
This theorem depends on definitions:  df-bi 206  df-an 395  df-or 846  df-3or 1085  df-3an 1086  df-tru 1536  df-fal 1546  df-ex 1774  df-nf 1778  df-sb 2060  df-mo 2528  df-eu 2557  df-clab 2703  df-cleq 2717  df-clel 2802  df-nfc 2877  df-ne 2930  df-nel 3036  df-ral 3051  df-rex 3060  df-reu 3364  df-rab 3419  df-v 3463  df-sbc 3774  df-csb 3890  df-dif 3947  df-un 3949  df-in 3951  df-ss 3961  df-nul 4323  df-if 4531  df-pw 4606  df-sn 4631  df-pr 4633  df-op 4637  df-uni 4910  df-br 5150  df-opab 5212  df-mpt 5233  df-id 5576  df-po 5590  df-so 5591  df-xp 5684  df-rel 5685  df-cnv 5686  df-co 5687  df-dm 5688  df-rn 5689  df-res 5690  df-ima 5691  df-iota 6501  df-fun 6551  df-fn 6552  df-f 6553  df-f1 6554  df-fo 6555  df-f1o 6556  df-fv 6557  df-riota 7375  df-ov 7422  df-oprab 7423  df-mpo 7424  df-er 8725  df-en 8965  df-dom 8966  df-sdom 8967  df-pnf 11282  df-mnf 11283  df-xr 11284  df-ltxr 11285  df-le 11286  df-sub 11478  df-neg 11479
This theorem is referenced by:  mulcan2d  11880  mulcanad  11881  mulcan  11883  div11  11933  eqneg  11967  qredeq  16631  cncongr1  16641  prmirredlem  21415  tanarg  26598  quad2  26816  atandm2  26854  lgseisenlem2  27354  frrusgrord0  30222  fpprwppr  47216  affinecomb2  47962  rrx2linest  48001  itscnhlc0yqe  48018  itsclquadeu  48036
  Copyright terms: Public domain W3C validator