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

Theorem mulcanenq 10744
Description: Lemma for distributive law: cancellation of common factor. (Contributed by NM, 2-Sep-1995.) (Revised by Mario Carneiro, 8-May-2013.) (New usage is discouraged.)
Assertion
Ref Expression
mulcanenq ((𝐴N𝐵N𝐶N) → ⟨(𝐴 ·N 𝐵), (𝐴 ·N 𝐶)⟩ ~Q𝐵, 𝐶⟩)

Proof of Theorem mulcanenq
Dummy variables 𝑏 𝑐 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 oveq2 7303 . . . . . . 7 (𝑏 = 𝐵 → (𝐴 ·N 𝑏) = (𝐴 ·N 𝐵))
21opeq1d 4812 . . . . . 6 (𝑏 = 𝐵 → ⟨(𝐴 ·N 𝑏), (𝐴 ·N 𝑐)⟩ = ⟨(𝐴 ·N 𝐵), (𝐴 ·N 𝑐)⟩)
3 opeq1 4806 . . . . . 6 (𝑏 = 𝐵 → ⟨𝑏, 𝑐⟩ = ⟨𝐵, 𝑐⟩)
42, 3breq12d 5090 . . . . 5 (𝑏 = 𝐵 → (⟨(𝐴 ·N 𝑏), (𝐴 ·N 𝑐)⟩ ~Q𝑏, 𝑐⟩ ↔ ⟨(𝐴 ·N 𝐵), (𝐴 ·N 𝑐)⟩ ~Q𝐵, 𝑐⟩))
54imbi2d 340 . . . 4 (𝑏 = 𝐵 → ((𝐴N → ⟨(𝐴 ·N 𝑏), (𝐴 ·N 𝑐)⟩ ~Q𝑏, 𝑐⟩) ↔ (𝐴N → ⟨(𝐴 ·N 𝐵), (𝐴 ·N 𝑐)⟩ ~Q𝐵, 𝑐⟩)))
6 oveq2 7303 . . . . . . 7 (𝑐 = 𝐶 → (𝐴 ·N 𝑐) = (𝐴 ·N 𝐶))
76opeq2d 4813 . . . . . 6 (𝑐 = 𝐶 → ⟨(𝐴 ·N 𝐵), (𝐴 ·N 𝑐)⟩ = ⟨(𝐴 ·N 𝐵), (𝐴 ·N 𝐶)⟩)
8 opeq2 4807 . . . . . 6 (𝑐 = 𝐶 → ⟨𝐵, 𝑐⟩ = ⟨𝐵, 𝐶⟩)
97, 8breq12d 5090 . . . . 5 (𝑐 = 𝐶 → (⟨(𝐴 ·N 𝐵), (𝐴 ·N 𝑐)⟩ ~Q𝐵, 𝑐⟩ ↔ ⟨(𝐴 ·N 𝐵), (𝐴 ·N 𝐶)⟩ ~Q𝐵, 𝐶⟩))
109imbi2d 340 . . . 4 (𝑐 = 𝐶 → ((𝐴N → ⟨(𝐴 ·N 𝐵), (𝐴 ·N 𝑐)⟩ ~Q𝐵, 𝑐⟩) ↔ (𝐴N → ⟨(𝐴 ·N 𝐵), (𝐴 ·N 𝐶)⟩ ~Q𝐵, 𝐶⟩)))
11 mulcompi 10680 . . . . . . . . 9 (𝑏 ·N 𝑐) = (𝑐 ·N 𝑏)
1211oveq2i 7306 . . . . . . . 8 (𝐴 ·N (𝑏 ·N 𝑐)) = (𝐴 ·N (𝑐 ·N 𝑏))
13 mulasspi 10681 . . . . . . . 8 ((𝐴 ·N 𝑏) ·N 𝑐) = (𝐴 ·N (𝑏 ·N 𝑐))
14 mulasspi 10681 . . . . . . . 8 ((𝐴 ·N 𝑐) ·N 𝑏) = (𝐴 ·N (𝑐 ·N 𝑏))
1512, 13, 143eqtr4i 2771 . . . . . . 7 ((𝐴 ·N 𝑏) ·N 𝑐) = ((𝐴 ·N 𝑐) ·N 𝑏)
16 mulclpi 10677 . . . . . . . . 9 ((𝐴N𝑏N) → (𝐴 ·N 𝑏) ∈ N)
17163adant3 1130 . . . . . . . 8 ((𝐴N𝑏N𝑐N) → (𝐴 ·N 𝑏) ∈ N)
18 mulclpi 10677 . . . . . . . . 9 ((𝐴N𝑐N) → (𝐴 ·N 𝑐) ∈ N)
19183adant2 1129 . . . . . . . 8 ((𝐴N𝑏N𝑐N) → (𝐴 ·N 𝑐) ∈ N)
20 3simpc 1148 . . . . . . . 8 ((𝐴N𝑏N𝑐N) → (𝑏N𝑐N))
21 enqbreq 10703 . . . . . . . 8 ((((𝐴 ·N 𝑏) ∈ N ∧ (𝐴 ·N 𝑐) ∈ N) ∧ (𝑏N𝑐N)) → (⟨(𝐴 ·N 𝑏), (𝐴 ·N 𝑐)⟩ ~Q𝑏, 𝑐⟩ ↔ ((𝐴 ·N 𝑏) ·N 𝑐) = ((𝐴 ·N 𝑐) ·N 𝑏)))
2217, 19, 20, 21syl21anc 834 . . . . . . 7 ((𝐴N𝑏N𝑐N) → (⟨(𝐴 ·N 𝑏), (𝐴 ·N 𝑐)⟩ ~Q𝑏, 𝑐⟩ ↔ ((𝐴 ·N 𝑏) ·N 𝑐) = ((𝐴 ·N 𝑐) ·N 𝑏)))
2315, 22mpbiri 257 . . . . . 6 ((𝐴N𝑏N𝑐N) → ⟨(𝐴 ·N 𝑏), (𝐴 ·N 𝑐)⟩ ~Q𝑏, 𝑐⟩)
24233expb 1118 . . . . 5 ((𝐴N ∧ (𝑏N𝑐N)) → ⟨(𝐴 ·N 𝑏), (𝐴 ·N 𝑐)⟩ ~Q𝑏, 𝑐⟩)
2524expcom 413 . . . 4 ((𝑏N𝑐N) → (𝐴N → ⟨(𝐴 ·N 𝑏), (𝐴 ·N 𝑐)⟩ ~Q𝑏, 𝑐⟩))
265, 10, 25vtocl2ga 3516 . . 3 ((𝐵N𝐶N) → (𝐴N → ⟨(𝐴 ·N 𝐵), (𝐴 ·N 𝐶)⟩ ~Q𝐵, 𝐶⟩))
2726impcom 407 . 2 ((𝐴N ∧ (𝐵N𝐶N)) → ⟨(𝐴 ·N 𝐵), (𝐴 ·N 𝐶)⟩ ~Q𝐵, 𝐶⟩)
28273impb 1113 1 ((𝐴N𝐵N𝐶N) → ⟨(𝐴 ·N 𝐵), (𝐴 ·N 𝐶)⟩ ~Q𝐵, 𝐶⟩)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 395  w3a 1085   = wceq 1537  wcel 2101  cop 4570   class class class wbr 5077  (class class class)co 7295  Ncnpi 10628   ·N cmi 10630   ~Q ceq 10635
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1793  ax-4 1807  ax-5 1909  ax-6 1967  ax-7 2007  ax-8 2103  ax-9 2111  ax-10 2132  ax-11 2149  ax-12 2166  ax-ext 2704  ax-sep 5226  ax-nul 5233  ax-pr 5355  ax-un 7608
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3or 1086  df-3an 1087  df-tru 1540  df-fal 1550  df-ex 1778  df-nf 1782  df-sb 2063  df-mo 2535  df-eu 2564  df-clab 2711  df-cleq 2725  df-clel 2811  df-nfc 2884  df-ne 2939  df-ral 3060  df-rex 3069  df-reu 3223  df-rab 3224  df-v 3436  df-sbc 3719  df-csb 3835  df-dif 3892  df-un 3894  df-in 3896  df-ss 3906  df-pss 3908  df-nul 4260  df-if 4463  df-pw 4538  df-sn 4565  df-pr 4567  df-op 4571  df-uni 4842  df-iun 4929  df-br 5078  df-opab 5140  df-mpt 5161  df-tr 5195  df-id 5491  df-eprel 5497  df-po 5505  df-so 5506  df-fr 5546  df-we 5548  df-xp 5597  df-rel 5598  df-cnv 5599  df-co 5600  df-dm 5601  df-rn 5602  df-res 5603  df-ima 5604  df-pred 6206  df-ord 6273  df-on 6274  df-lim 6275  df-suc 6276  df-iota 6399  df-fun 6449  df-fn 6450  df-f 6451  df-f1 6452  df-fo 6453  df-f1o 6454  df-fv 6455  df-ov 7298  df-oprab 7299  df-mpo 7300  df-om 7733  df-1st 7851  df-2nd 7852  df-frecs 8117  df-wrecs 8148  df-recs 8222  df-rdg 8261  df-oadd 8321  df-omul 8322  df-ni 10656  df-mi 10658  df-enq 10695
This theorem is referenced by:  distrnq  10745  1nqenq  10746  ltexnq  10759
  Copyright terms: Public domain W3C validator