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

Theorem mulerpqlem 11077
Description: Lemma for mulerpq 11079. (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 8065 . . . . 5 (𝐴 ∈ (N × N) → (1st ‘𝐴) ∈ N)
213ad2ant1 1151 . . . 4 ((𝐴 ∈ (N × N) ∧ 𝐵 ∈ (N × N) ∧ 𝐶 ∈ (N × N)) → (1st ‘𝐴) ∈ N)
3 xp1st 8065 . . . . 5 (𝐶 ∈ (N × N) → (1st ‘𝐶) ∈ N)
433ad2ant3 1153 . . . 4 ((𝐴 ∈ (N × N) ∧ 𝐵 ∈ (N × N) ∧ 𝐶 ∈ (N × N)) → (1st ‘𝐶) ∈ N)
5 mulclpi 11015 . . . 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 8066 . . . . 5 (𝐴 ∈ (N × N) → (2nd ‘𝐴) ∈ N)
873ad2ant1 1151 . . . 4 ((𝐴 ∈ (N × N) ∧ 𝐵 ∈ (N × N) ∧ 𝐶 ∈ (N × N)) → (2nd ‘𝐴) ∈ N)
9 xp2nd 8066 . . . . 5 (𝐶 ∈ (N × N) → (2nd ‘𝐶) ∈ N)
1093ad2ant3 1153 . . . 4 ((𝐴 ∈ (N × N) ∧ 𝐵 ∈ (N × N) ∧ 𝐶 ∈ (N × N)) → (2nd ‘𝐶) ∈ N)
11 mulclpi 11015 . . . 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 8065 . . . . 5 (𝐵 ∈ (N × N) → (1st ‘𝐵) ∈ N)
14133ad2ant2 1152 . . . 4 ((𝐴 ∈ (N × N) ∧ 𝐵 ∈ (N × N) ∧ 𝐶 ∈ (N × N)) → (1st ‘𝐵) ∈ N)
15 mulclpi 11015 . . . 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 8066 . . . . 5 (𝐵 ∈ (N × N) → (2nd ‘𝐵) ∈ N)
18173ad2ant2 1152 . . . 4 ((𝐴 ∈ (N × N) ∧ 𝐵 ∈ (N × N) ∧ 𝐶 ∈ (N × N)) → (2nd ‘𝐵) ∈ N)
19 mulclpi 11015 . . . 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 11041 . . 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 11061 . . . 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 11061 . . . 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 5119 . 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 11042 . . . 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 11015 . . . . 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 11015 . . . . 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 11022 . . . 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 11018 . . . . . 6 (((1st ‘𝐶) ·N (2nd ‘𝐶)) ·N ((1st ‘𝐴) ·N (2nd ‘𝐵))) = (((1st ‘𝐴) ·N (2nd ‘𝐵)) ·N ((1st ‘𝐶) ·N (2nd ‘𝐶)))
37 fvex 6927 . . . . . . 7 (1st ‘𝐴) ∈ V
38 fvex 6927 . . . . . . 7 (2nd ‘𝐵) ∈ V
39 fvex 6927 . . . . . . 7 (1st ‘𝐶) ∈ V
40 mulcompi 11018 . . . . . . 7 (𝑥 ·N 𝑦) = (𝑦 ·N 𝑥)
41 mulasspi 11019 . . . . . . 7 ((𝑥 ·N 𝑦) ·N 𝑧) = (𝑥 ·N (𝑦 ·N 𝑧))
42 fvex 6927 . . . . . . 7 (2nd ‘𝐶) ∈ V
4337, 38, 39, 40, 41, 42caov4 7682 . . . . . 6 (((1st ‘𝐴) ·N (2nd ‘𝐵)) ·N ((1st ‘𝐶) ·N (2nd ‘𝐶))) = (((1st ‘𝐴) ·N (1st ‘𝐶)) ·N ((2nd ‘𝐵) ·N (2nd ‘𝐶)))
4436, 43eqtri 2786 . . . . 5 (((1st ‘𝐶) ·N (2nd ‘𝐶)) ·N ((1st ‘𝐴) ·N (2nd ‘𝐵))) = (((1st ‘𝐴) ·N (1st ‘𝐶)) ·N ((2nd ‘𝐵) ·N (2nd ‘𝐶)))
45 mulcompi 11018 . . . . . 6 (((1st ‘𝐶) ·N (2nd ‘𝐶)) ·N ((1st ‘𝐵) ·N (2nd ‘𝐴))) = (((1st ‘𝐵) ·N (2nd ‘𝐴)) ·N ((1st ‘𝐶) ·N (2nd ‘𝐶)))
46 fvex 6927 . . . . . . 7 (1st ‘𝐵) ∈ V
47 fvex 6927 . . . . . . 7 (2nd ‘𝐴) ∈ V
4846, 47, 39, 40, 41, 42caov4 7682 . . . . . 6 (((1st ‘𝐵) ·N (2nd ‘𝐴)) ·N ((1st ‘𝐶) ·N (2nd ‘𝐶))) = (((1st ‘𝐵) ·N (1st ‘𝐶)) ·N ((2nd ‘𝐴) ·N (2nd ‘𝐶)))
49 mulcompi 11018 . . . . . 6 (((1st ‘𝐵) ·N (1st ‘𝐶)) ·N ((2nd ‘𝐴) ·N (2nd ‘𝐶))) = (((2nd ‘𝐴) ·N (2nd ‘𝐶)) ·N ((1st ‘𝐵) ·N (1st ‘𝐶)))
5045, 48, 493eqtri 2790 . . . . 5 (((1st ‘𝐶) ·N (2nd ‘𝐶)) ·N ((1st ‘𝐵) ·N (2nd ‘𝐴))) = (((2nd ‘𝐴) ·N (2nd ‘𝐶)) ·N ((1st ‘𝐵) ·N (1st ‘𝐶)))
5144, 50eqeq12i 2781 . . . 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 2147  ⟨cop 4838   class class class wbr 5106   × cxp 5654  ‘cfv 6564  (class class class)co 7449  1st c1st 8031  2nd c2nd 8032  Ncnpi 10966   ·N cmi 10968   ·pQ cmpq 10971   ~Q ceq 10973
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 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-10 2180  ax-11 2197  ax-12 2216  ax-ext 2735  ax-sep 5253  ax-nul 5264  ax-pr 5396  ax-un 7781
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 2102  df-mo 2567  df-eu 2597  df-clab 2742  df-cleq 2755  df-clel 2839  df-nfc 2913  df-ne 2960  df-ral 3081  df-rex 3091  df-reu 3370  df-rab 3417  df-v 3456  df-sbc 3743  df-csb 3852  df-ss 3901  df-pss 4017  df-dif 4050  df-in 4094  df-un 4154  df-nul 4282  df-if 4486  df-pw 4562  df-sn 4589  df-pr 4591  df-op 4839  df-uni 4871  df-iun 4956  df-br 5107  df-opab 5172  df-mpt 5191  df-tr 5217  df-id 5551  df-eprel 5556  df-po 5564  df-so 5565  df-fr 5609  df-we 5611  df-xp 5662  df-rel 5663  df-cnv 5664  df-co 5665  df-dm 5666  df-rn 5667  df-res 5668  df-ima 5669  df-pred 6328  df-ord 6389  df-on 6390  df-lim 6391  df-suc 6392  df-iota 6518  df-fun 6566  df-fn 6567  df-f 6568  df-f1 6569  df-fo 6570  df-f1o 6571  df-fv 6572  df-ov 7452  df-oprab 7453  df-mpo 7454  df-om 7910  df-1st 8033  df-2nd 8034  df-frecs 8335  df-wrecs 8366  df-recs 8415  df-rdg 8454  df-oadd 8516  df-omul 8517  df-ni 10994  df-mi 10996  df-mpq 11031  df-enq 11033
This theorem is used by:  mulerpq  11079
  Copyright terms: Public domain W3C validator