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

Theorem mulcanenq 11055
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 7435 . . . . . . 7 (𝑏 = 𝐵 → (𝐴 ·N 𝑏) = (𝐴 ·N 𝐵))
21opeq1d 4848 . . . . . 6 (𝑏 = 𝐵 → ⟨(𝐴 ·N 𝑏), (𝐴 ·N 𝑐)⟩ = ⟨(𝐴 ·N 𝐵), (𝐴 ·N 𝑐)⟩)
3 opeq1 4842 . . . . . 6 (𝑏 = 𝐵 → ⟨𝑏, 𝑐⟩ = ⟨𝐵, 𝑐⟩)
42, 3breq12d 5118 . . . . 5 (𝑏 = 𝐵 → (⟨(𝐴 ·N 𝑏), (𝐴 ·N 𝑐)⟩ ~Q ⟨𝑏, 𝑐⟩ ↔ ⟨(𝐴 ·N 𝐵), (𝐴 ·N 𝑐)⟩ ~Q ⟨𝐵, 𝑐⟩))
54imbi2d 343 . . . 4 (𝑏 = 𝐵 → ((𝐴 ∈ N → ⟨(𝐴 ·N 𝑏), (𝐴 ·N 𝑐)⟩ ~Q ⟨𝑏, 𝑐⟩) ↔ (𝐴 ∈ N → ⟨(𝐴 ·N 𝐵), (𝐴 ·N 𝑐)⟩ ~Q ⟨𝐵, 𝑐⟩)))
6 oveq2 7435 . . . . . . 7 (𝑐 = 𝐶 → (𝐴 ·N 𝑐) = (𝐴 ·N 𝐶))
76opeq2d 4849 . . . . . 6 (𝑐 = 𝐶 → ⟨(𝐴 ·N 𝐵), (𝐴 ·N 𝑐)⟩ = ⟨(𝐴 ·N 𝐵), (𝐴 ·N 𝐶)⟩)
8 opeq2 4843 . . . . . 6 (𝑐 = 𝐶 → ⟨𝐵, 𝑐⟩ = ⟨𝐵, 𝐶⟩)
97, 8breq12d 5118 . . . . 5 (𝑐 = 𝐶 → (⟨(𝐴 ·N 𝐵), (𝐴 ·N 𝑐)⟩ ~Q ⟨𝐵, 𝑐⟩ ↔ ⟨(𝐴 ·N 𝐵), (𝐴 ·N 𝐶)⟩ ~Q ⟨𝐵, 𝐶⟩))
109imbi2d 343 . . . 4 (𝑐 = 𝐶 → ((𝐴 ∈ N → ⟨(𝐴 ·N 𝐵), (𝐴 ·N 𝑐)⟩ ~Q ⟨𝐵, 𝑐⟩) ↔ (𝐴 ∈ N → ⟨(𝐴 ·N 𝐵), (𝐴 ·N 𝐶)⟩ ~Q ⟨𝐵, 𝐶⟩)))
11 mulcompi 10991 . . . . . . . . 9 (𝑏 ·N 𝑐) = (𝑐 ·N 𝑏)
1211oveq2i 7438 . . . . . . . 8 (𝐴 ·N (𝑏 ·N 𝑐)) = (𝐴 ·N (𝑐 ·N 𝑏))
13 mulasspi 10992 . . . . . . . 8 ((𝐴 ·N 𝑏) ·N 𝑐) = (𝐴 ·N (𝑏 ·N 𝑐))
14 mulasspi 10992 . . . . . . . 8 ((𝐴 ·N 𝑐) ·N 𝑏) = (𝐴 ·N (𝑐 ·N 𝑏))
1512, 13, 143eqtr4i 2796 . . . . . . 7 ((𝐴 ·N 𝑏) ·N 𝑐) = ((𝐴 ·N 𝑐) ·N 𝑏)
16 mulclpi 10988 . . . . . . . . 9 ((𝐴 ∈ N ∧ 𝑏 ∈ N) → (𝐴 ·N 𝑏) ∈ N)
17163adant3 1150 . . . . . . . 8 ((𝐴 ∈ N ∧ 𝑏 ∈ N ∧ 𝑐 ∈ N) → (𝐴 ·N 𝑏) ∈ N)
18 mulclpi 10988 . . . . . . . . 9 ((𝐴 ∈ N ∧ 𝑐 ∈ N) → (𝐴 ·N 𝑐) ∈ N)
19183adant2 1149 . . . . . . . 8 ((𝐴 ∈ N ∧ 𝑏 ∈ N ∧ 𝑐 ∈ N) → (𝐴 ·N 𝑐) ∈ N)
20 3simpc 1168 . . . . . . . 8 ((𝐴 ∈ N ∧ 𝑏 ∈ N ∧ 𝑐 ∈ N) → (𝑏 ∈ N ∧ 𝑐 ∈ N))
21 enqbreq 11014 . . . . . . . 8 ((((𝐴 ·N 𝑏) ∈ N ∧ (𝐴 ·N 𝑐) ∈ N) ∧ (𝑏 ∈ N ∧ 𝑐 ∈ N)) → (⟨(𝐴 ·N 𝑏), (𝐴 ·N 𝑐)⟩ ~Q ⟨𝑏, 𝑐⟩ ↔ ((𝐴 ·N 𝑏) ·N 𝑐) = ((𝐴 ·N 𝑐) ·N 𝑏)))
2217, 19, 20, 21syl21anc 851 . . . . . . 7 ((𝐴 ∈ N ∧ 𝑏 ∈ N ∧ 𝑐 ∈ N) → (⟨(𝐴 ·N 𝑏), (𝐴 ·N 𝑐)⟩ ~Q ⟨𝑏, 𝑐⟩ ↔ ((𝐴 ·N 𝑏) ·N 𝑐) = ((𝐴 ·N 𝑐) ·N 𝑏)))
2315, 22mpbiri 261 . . . . . 6 ((𝐴 ∈ N ∧ 𝑏 ∈ N ∧ 𝑐 ∈ N) → ⟨(𝐴 ·N 𝑏), (𝐴 ·N 𝑐)⟩ ~Q ⟨𝑏, 𝑐⟩)
24233expb 1138 . . . . 5 ((𝐴 ∈ N ∧ (𝑏 ∈ N ∧ 𝑐 ∈ N)) → ⟨(𝐴 ·N 𝑏), (𝐴 ·N 𝑐)⟩ ~Q ⟨𝑏, 𝑐⟩)
2524expcom 419 . . . 4 ((𝑏 ∈ N ∧ 𝑐 ∈ N) → (𝐴 ∈ N → ⟨(𝐴 ·N 𝑏), (𝐴 ·N 𝑐)⟩ ~Q ⟨𝑏, 𝑐⟩))
265, 10, 25vtocl2ga 3540 . . 3 ((𝐵 ∈ N ∧ 𝐶 ∈ N) → (𝐴 ∈ N → ⟨(𝐴 ·N 𝐵), (𝐴 ·N 𝐶)⟩ ~Q ⟨𝐵, 𝐶⟩))
2726impcom 413 . 2 ((𝐴 ∈ N ∧ (𝐵 ∈ N ∧ 𝐶 ∈ N)) → ⟨(𝐴 ·N 𝐵), (𝐴 ·N 𝐶)⟩ ~Q ⟨𝐵, 𝐶⟩)
28273impb 1132 1 ((𝐴 ∈ N ∧ 𝐵 ∈ N ∧ 𝐶 ∈ N) → ⟨(𝐴 ·N 𝐵), (𝐴 ·N 𝐶)⟩ ~Q ⟨𝐵, 𝐶⟩)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   ∧ w3a 1103   = wceq 1569   ∈ wcel 2146  ⟨cop 4837   class class class wbr 5105  (class class class)co 7427  Ncnpi 10939   ·N cmi 10941   ~Q ceq 10946
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1944  ax-6 2001  ax-7 2042  ax-8 2148  ax-9 2156  ax-10 2179  ax-11 2196  ax-12 2215  ax-ext 2735  ax-sep 5251  ax-nul 5262  ax-pr 5394  ax-un 7758
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1104  df-3an 1105  df-tru 1572  df-fal 1582  df-ex 1812  df-nf 1816  df-sb 2101  df-mo 2567  df-eu 2597  df-clab 2742  df-cleq 2755  df-clel 2838  df-nfc 2912  df-ne 2959  df-ral 3080  df-rex 3090  df-reu 3369  df-rab 3416  df-v 3455  df-sbc 3742  df-csb 3851  df-ss 3900  df-pss 4016  df-dif 4049  df-in 4093  df-un 4153  df-nul 4281  df-if 4485  df-pw 4561  df-sn 4588  df-pr 4590  df-op 4838  df-uni 4870  df-iun 4955  df-br 5106  df-opab 5170  df-mpt 5189  df-tr 5215  df-id 5549  df-eprel 5554  df-po 5562  df-so 5563  df-fr 5607  df-we 5609  df-xp 5660  df-rel 5661  df-cnv 5662  df-co 5663  df-dm 5664  df-rn 5665  df-res 5666  df-ima 5667  df-pred 6310  df-ord 6371  df-on 6372  df-lim 6373  df-suc 6374  df-iota 6500  df-fun 6548  df-fn 6549  df-f 6550  df-f1 6551  df-fo 6552  df-f1o 6553  df-fv 6554  df-ov 7430  df-oprab 7431  df-mpo 7432  df-om 7885  df-1st 8008  df-2nd 8009  df-frecs 8310  df-wrecs 8341  df-recs 8390  df-rdg 8429  df-oadd 8491  df-omul 8492  df-ni 10967  df-mi 10969  df-enq 11006
This theorem is used by:  distrnq  11056  1nqenq  11057  ltexnq  11070
  Copyright terms: Public domain W3C validator