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

Theorem mulerpqlem 11033
Description: Lemma for mulerpq 11035. (Contributed by Mario Carneiro, 8-May-2013.) (New usage is discouraged.)
Assertion
Ref Expression
mulerpqlem ((𝐴 ∈ (N × N) ∧ 𝐵 ∈ (N × N) ∧ 𝐶 ∈ (N × N)) → (𝐴 ~Q 𝐵 ↔ (𝐴 ·pQ 𝐶) ~Q (𝐵 ·pQ 𝐶)))

Proof of Theorem mulerpqlem
Dummy variables 𝑥 𝑦 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 xp1st 8031 . . . . 5 (𝐴 ∈ (N × N) → (1st ‘𝐴) ∈ N)
213ad2ant1 1151 . . . 4 ((𝐴 ∈ (N × N) ∧ 𝐵 ∈ (N × N) ∧ 𝐶 ∈ (N × N)) → (1st ‘𝐴) ∈ N)
3 xp1st 8031 . . . . 5 (𝐶 ∈ (N × N) → (1st ‘𝐶) ∈ N)
433ad2ant3 1153 . . . 4 ((𝐴 ∈ (N × N) ∧ 𝐵 ∈ (N × N) ∧ 𝐶 ∈ (N × N)) → (1st ‘𝐶) ∈ N)
5 mulclpi 10971 . . . 4 (((1st ‘𝐴) ∈ N ∧ (1st ‘𝐶) ∈ N) → ((1st ‘𝐴) ·N (1st ‘𝐶)) ∈ N)
62, 4, 5syl2anc 596 . . 3 ((𝐴 ∈ (N × N) ∧ 𝐵 ∈ (N × N) ∧ 𝐶 ∈ (N × N)) → ((1st ‘𝐴) ·N (1st ‘𝐶)) ∈ N)
7 xp2nd 8032 . . . . 5 (𝐴 ∈ (N × N) → (2nd ‘𝐴) ∈ N)
873ad2ant1 1151 . . . 4 ((𝐴 ∈ (N × N) ∧ 𝐵 ∈ (N × N) ∧ 𝐶 ∈ (N × N)) → (2nd ‘𝐴) ∈ N)
9 xp2nd 8032 . . . . 5 (𝐶 ∈ (N × N) → (2nd ‘𝐶) ∈ N)
1093ad2ant3 1153 . . . 4 ((𝐴 ∈ (N × N) ∧ 𝐵 ∈ (N × N) ∧ 𝐶 ∈ (N × N)) → (2nd ‘𝐶) ∈ N)
11 mulclpi 10971 . . . 4 (((2nd ‘𝐴) ∈ N ∧ (2nd ‘𝐶) ∈ N) → ((2nd ‘𝐴) ·N (2nd ‘𝐶)) ∈ N)
128, 10, 11syl2anc 596 . . 3 ((𝐴 ∈ (N × N) ∧ 𝐵 ∈ (N × N) ∧ 𝐶 ∈ (N × N)) → ((2nd ‘𝐴) ·N (2nd ‘𝐶)) ∈ N)
13 xp1st 8031 . . . . 5 (𝐵 ∈ (N × N) → (1st ‘𝐵) ∈ N)
14133ad2ant2 1152 . . . 4 ((𝐴 ∈ (N × N) ∧ 𝐵 ∈ (N × N) ∧ 𝐶 ∈ (N × N)) → (1st ‘𝐵) ∈ N)
15 mulclpi 10971 . . . 4 (((1st ‘𝐵) ∈ N ∧ (1st ‘𝐶) ∈ N) → ((1st ‘𝐵) ·N (1st ‘𝐶)) ∈ N)
1614, 4, 15syl2anc 596 . . 3 ((𝐴 ∈ (N × N) ∧ 𝐵 ∈ (N × N) ∧ 𝐶 ∈ (N × N)) → ((1st ‘𝐵) ·N (1st ‘𝐶)) ∈ N)
17 xp2nd 8032 . . . . 5 (𝐵 ∈ (N × N) → (2nd ‘𝐵) ∈ N)
18173ad2ant2 1152 . . . 4 ((𝐴 ∈ (N × N) ∧ 𝐵 ∈ (N × N) ∧ 𝐶 ∈ (N × N)) → (2nd ‘𝐵) ∈ N)
19 mulclpi 10971 . . . 4 (((2nd ‘𝐵) ∈ N ∧ (2nd ‘𝐶) ∈ N) → ((2nd ‘𝐵) ·N (2nd ‘𝐶)) ∈ N)
2018, 10, 19syl2anc 596 . . 3 ((𝐴 ∈ (N × N) ∧ 𝐵 ∈ (N × N) ∧ 𝐶 ∈ (N × N)) → ((2nd ‘𝐵) ·N (2nd ‘𝐶)) ∈ N)
21 enqbreq 10997 . . 3 (((((1st ‘𝐴) ·N (1st ‘𝐶)) ∈ N ∧ ((2nd ‘𝐴) ·N (2nd ‘𝐶)) ∈ N) ∧ (((1st ‘𝐵) ·N (1st ‘𝐶)) ∈ N ∧ ((2nd ‘𝐵) ·N (2nd ‘𝐶)) ∈ N)) → (⟨((1st ‘𝐴) ·N (1st ‘𝐶)), ((2nd ‘𝐴) ·N (2nd ‘𝐶))⟩ ~Q ⟨((1st ‘𝐵) ·N (1st ‘𝐶)), ((2nd ‘𝐵) ·N (2nd ‘𝐶))⟩ ↔ (((1st ‘𝐴) ·N (1st ‘𝐶)) ·N ((2nd ‘𝐵) ·N (2nd ‘𝐶))) = (((2nd ‘𝐴) ·N (2nd ‘𝐶)) ·N ((1st ‘𝐵) ·N (1st ‘𝐶)))))
226, 12, 16, 20, 21syl22anc 852 . 2 ((𝐴 ∈ (N × N) ∧ 𝐵 ∈ (N × N) ∧ 𝐶 ∈ (N × N)) → (⟨((1st ‘𝐴) ·N (1st ‘𝐶)), ((2nd ‘𝐴) ·N (2nd ‘𝐶))⟩ ~Q ⟨((1st ‘𝐵) ·N (1st ‘𝐶)), ((2nd ‘𝐵) ·N (2nd ‘𝐶))⟩ ↔ (((1st ‘𝐴) ·N (1st ‘𝐶)) ·N ((2nd ‘𝐵) ·N (2nd ‘𝐶))) = (((2nd ‘𝐴) ·N (2nd ‘𝐶)) ·N ((1st ‘𝐵) ·N (1st ‘𝐶)))))
23 mulpipq2 11017 . . . 4 ((𝐴 ∈ (N × N) ∧ 𝐶 ∈ (N × N)) → (𝐴 ·pQ 𝐶) = ⟨((1st ‘𝐴) ·N (1st ‘𝐶)), ((2nd ‘𝐴) ·N (2nd ‘𝐶))⟩)
24233adant2 1149 . . 3 ((𝐴 ∈ (N × N) ∧ 𝐵 ∈ (N × N) ∧ 𝐶 ∈ (N × N)) → (𝐴 ·pQ 𝐶) = ⟨((1st ‘𝐴) ·N (1st ‘𝐶)), ((2nd ‘𝐴) ·N (2nd ‘𝐶))⟩)
25 mulpipq2 11017 . . . 4 ((𝐵 ∈ (N × N) ∧ 𝐶 ∈ (N × N)) → (𝐵 ·pQ 𝐶) = ⟨((1st ‘𝐵) ·N (1st ‘𝐶)), ((2nd ‘𝐵) ·N (2nd ‘𝐶))⟩)
26253adant1 1148 . . 3 ((𝐴 ∈ (N × N) ∧ 𝐵 ∈ (N × N) ∧ 𝐶 ∈ (N × N)) → (𝐵 ·pQ 𝐶) = ⟨((1st ‘𝐵) ·N (1st ‘𝐶)), ((2nd ‘𝐵) ·N (2nd ‘𝐶))⟩)
2724, 26breq12d 5116 . 2 ((𝐴 ∈ (N × N) ∧ 𝐵 ∈ (N × N) ∧ 𝐶 ∈ (N × N)) → ((𝐴 ·pQ 𝐶) ~Q (𝐵 ·pQ 𝐶) ↔ ⟨((1st ‘𝐴) ·N (1st ‘𝐶)), ((2nd ‘𝐴) ·N (2nd ‘𝐶))⟩ ~Q ⟨((1st ‘𝐵) ·N (1st ‘𝐶)), ((2nd ‘𝐵) ·N (2nd ‘𝐶))⟩))
28 enqbreq2 10998 . . . 4 ((𝐴 ∈ (N × N) ∧ 𝐵 ∈ (N × N)) → (𝐴 ~Q 𝐵 ↔ ((1st ‘𝐴) ·N (2nd ‘𝐵)) = ((1st ‘𝐵) ·N (2nd ‘𝐴))))
29283adant3 1150 . . 3 ((𝐴 ∈ (N × N) ∧ 𝐵 ∈ (N × N) ∧ 𝐶 ∈ (N × N)) → (𝐴 ~Q 𝐵 ↔ ((1st ‘𝐴) ·N (2nd ‘𝐵)) = ((1st ‘𝐵) ·N (2nd ‘𝐴))))
30 mulclpi 10971 . . . . 5 (((1st ‘𝐶) ∈ N ∧ (2nd ‘𝐶) ∈ N) → ((1st ‘𝐶) ·N (2nd ‘𝐶)) ∈ N)
314, 10, 30syl2anc 596 . . . 4 ((𝐴 ∈ (N × N) ∧ 𝐵 ∈ (N × N) ∧ 𝐶 ∈ (N × N)) → ((1st ‘𝐶) ·N (2nd ‘𝐶)) ∈ N)
32 mulclpi 10971 . . . . 5 (((1st ‘𝐴) ∈ N ∧ (2nd ‘𝐵) ∈ N) → ((1st ‘𝐴) ·N (2nd ‘𝐵)) ∈ N)
332, 18, 32syl2anc 596 . . . 4 ((𝐴 ∈ (N × N) ∧ 𝐵 ∈ (N × N) ∧ 𝐶 ∈ (N × N)) → ((1st ‘𝐴) ·N (2nd ‘𝐵)) ∈ N)
34 mulcanpi 10978 . . . 4 ((((1st ‘𝐶) ·N (2nd ‘𝐶)) ∈ N ∧ ((1st ‘𝐴) ·N (2nd ‘𝐵)) ∈ N) → ((((1st ‘𝐶) ·N (2nd ‘𝐶)) ·N ((1st ‘𝐴) ·N (2nd ‘𝐵))) = (((1st ‘𝐶) ·N (2nd ‘𝐶)) ·N ((1st ‘𝐵) ·N (2nd ‘𝐴))) ↔ ((1st ‘𝐴) ·N (2nd ‘𝐵)) = ((1st ‘𝐵) ·N (2nd ‘𝐴))))
3531, 33, 34syl2anc 596 . . 3 ((𝐴 ∈ (N × N) ∧ 𝐵 ∈ (N × N) ∧ 𝐶 ∈ (N × N)) → ((((1st ‘𝐶) ·N (2nd ‘𝐶)) ·N ((1st ‘𝐴) ·N (2nd ‘𝐵))) = (((1st ‘𝐶) ·N (2nd ‘𝐶)) ·N ((1st ‘𝐵) ·N (2nd ‘𝐴))) ↔ ((1st ‘𝐴) ·N (2nd ‘𝐵)) = ((1st ‘𝐵) ·N (2nd ‘𝐴))))
36 mulcompi 10974 . . . . . 6 (((1st ‘𝐶) ·N (2nd ‘𝐶)) ·N ((1st ‘𝐴) ·N (2nd ‘𝐵))) = (((1st ‘𝐴) ·N (2nd ‘𝐵)) ·N ((1st ‘𝐶) ·N (2nd ‘𝐶)))
37 fvex 6896 . . . . . . 7 (1st ‘𝐴) ∈ V
38 fvex 6896 . . . . . . 7 (2nd ‘𝐵) ∈ V
39 fvex 6896 . . . . . . 7 (1st ‘𝐶) ∈ V
40 mulcompi 10974 . . . . . . 7 (𝑥 ·N 𝑦) = (𝑦 ·N 𝑥)
41 mulasspi 10975 . . . . . . 7 ((𝑥 ·N 𝑦) ·N 𝑧) = (𝑥 ·N (𝑦 ·N 𝑧))
42 fvex 6896 . . . . . . 7 (2nd ‘𝐶) ∈ V
4337, 38, 39, 40, 41, 42caov4 7650 . . . . . 6 (((1st ‘𝐴) ·N (2nd ‘𝐵)) ·N ((1st ‘𝐶) ·N (2nd ‘𝐶))) = (((1st ‘𝐴) ·N (1st ‘𝐶)) ·N ((2nd ‘𝐵) ·N (2nd ‘𝐶)))
4436, 43eqtri 2784 . . . . 5 (((1st ‘𝐶) ·N (2nd ‘𝐶)) ·N ((1st ‘𝐴) ·N (2nd ‘𝐵))) = (((1st ‘𝐴) ·N (1st ‘𝐶)) ·N ((2nd ‘𝐵) ·N (2nd ‘𝐶)))
45 mulcompi 10974 . . . . . 6 (((1st ‘𝐶) ·N (2nd ‘𝐶)) ·N ((1st ‘𝐵) ·N (2nd ‘𝐴))) = (((1st ‘𝐵) ·N (2nd ‘𝐴)) ·N ((1st ‘𝐶) ·N (2nd ‘𝐶)))
46 fvex 6896 . . . . . . 7 (1st ‘𝐵) ∈ V
47 fvex 6896 . . . . . . 7 (2nd ‘𝐴) ∈ V
4846, 47, 39, 40, 41, 42caov4 7650 . . . . . 6 (((1st ‘𝐵) ·N (2nd ‘𝐴)) ·N ((1st ‘𝐶) ·N (2nd ‘𝐶))) = (((1st ‘𝐵) ·N (1st ‘𝐶)) ·N ((2nd ‘𝐴) ·N (2nd ‘𝐶)))
49 mulcompi 10974 . . . . . 6 (((1st ‘𝐵) ·N (1st ‘𝐶)) ·N ((2nd ‘𝐴) ·N (2nd ‘𝐶))) = (((2nd ‘𝐴) ·N (2nd ‘𝐶)) ·N ((1st ‘𝐵) ·N (1st ‘𝐶)))
5045, 48, 493eqtri 2788 . . . . 5 (((1st ‘𝐶) ·N (2nd ‘𝐶)) ·N ((1st ‘𝐵) ·N (2nd ‘𝐴))) = (((2nd ‘𝐴) ·N (2nd ‘𝐶)) ·N ((1st ‘𝐵) ·N (1st ‘𝐶)))
5144, 50eqeq12i 2779 . . . 4 ((((1st ‘𝐶) ·N (2nd ‘𝐶)) ·N ((1st ‘𝐴) ·N (2nd ‘𝐵))) = (((1st ‘𝐶) ·N (2nd ‘𝐶)) ·N ((1st ‘𝐵) ·N (2nd ‘𝐴))) ↔ (((1st ‘𝐴) ·N (1st ‘𝐶)) ·N ((2nd ‘𝐵) ·N (2nd ‘𝐶))) = (((2nd ‘𝐴) ·N (2nd ‘𝐶)) ·N ((1st ‘𝐵) ·N (1st ‘𝐶))))
5251a1i 11 . . 3 ((𝐴 ∈ (N × N) ∧ 𝐵 ∈ (N × N) ∧ 𝐶 ∈ (N × N)) → ((((1st ‘𝐶) ·N (2nd ‘𝐶)) ·N ((1st ‘𝐴) ·N (2nd ‘𝐵))) = (((1st ‘𝐶) ·N (2nd ‘𝐶)) ·N ((1st ‘𝐵) ·N (2nd ‘𝐴))) ↔ (((1st ‘𝐴) ·N (1st ‘𝐶)) ·N ((2nd ‘𝐵) ·N (2nd ‘𝐶))) = (((2nd ‘𝐴) ·N (2nd ‘𝐶)) ·N ((1st ‘𝐵) ·N (1st ‘𝐶)))))
5329, 35, 523bitr2d 310 . 2 ((𝐴 ∈ (N × N) ∧ 𝐵 ∈ (N × N) ∧ 𝐶 ∈ (N × N)) → (𝐴 ~Q 𝐵 ↔ (((1st ‘𝐴) ·N (1st ‘𝐶)) ·N ((2nd ‘𝐵) ·N (2nd ‘𝐶))) = (((2nd ‘𝐴) ·N (2nd ‘𝐶)) ·N ((1st ‘𝐵) ·N (1st ‘𝐶)))))
5422, 27, 533bitr4rd 315 1 ((𝐴 ∈ (N × N) ∧ 𝐵 ∈ (N × N) ∧ 𝐶 ∈ (N × N)) → (𝐴 ~Q 𝐵 ↔ (𝐴 ·pQ 𝐶) ~Q (𝐵 ·pQ 𝐶)))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ w3a 1103   = wceq 1570   ∈ wcel 2145  ⟨cop 4590   class class class wbr 5103   × cxp 5649  ‘cfv 6537  (class class class)co 7418  1st c1st 7997  2nd c2nd 7998  Ncnpi 10922   ·N cmi 10924   ·pQ cmpq 10927   ~Q ceq 10929
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1943  ax-6 2000  ax-7 2041  ax-8 2147  ax-9 2155  ax-10 2178  ax-11 2194  ax-12 2213  ax-ext 2733  ax-sep 5249  ax-nul 5260  ax-pr 5391  ax-un 7749
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1104  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2100  df-mo 2565  df-eu 2595  df-clab 2740  df-cleq 2753  df-clel 2836  df-nfc 2910  df-ne 2957  df-ral 3078  df-rex 3088  df-reu 3367  df-rab 3414  df-v 3453  df-sbc 3740  df-csb 3848  df-dif 3902  df-un 3904  df-in 3906  df-ss 3916  df-pss 3919  df-nul 4280  df-if 4483  df-pw 4559  df-sn 4585  df-pr 4587  df-op 4591  df-uni 4868  df-iun 4953  df-br 5104  df-opab 5168  df-mpt 5187  df-tr 5213  df-id 5546  df-eprel 5551  df-po 5559  df-so 5560  df-fr 5604  df-we 5606  df-xp 5657  df-rel 5658  df-cnv 5659  df-co 5660  df-dm 5661  df-rn 5662  df-res 5663  df-ima 5664  df-pred 6303  df-ord 6364  df-on 6365  df-lim 6366  df-suc 6367  df-iota 6493  df-fun 6539  df-fn 6540  df-f 6541  df-f1 6542  df-fo 6543  df-f1o 6544  df-fv 6545  df-ov 7421  df-oprab 7422  df-mpo 7423  df-om 7876  df-1st 7999  df-2nd 8000  df-frecs 8292  df-wrecs 8323  df-recs 8372  df-rdg 8411  df-oadd 8473  df-omul 8474  df-ni 10950  df-mi 10952  df-mpq 10987  df-enq 10989
This theorem is used by:  mulerpq  11035
  Copyright terms: Public domain W3C validator