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

Theorem mulerpqlem 11090
Description: Lemma for mulerpq 11092. (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 8078 . . . . 5 (𝐴 ∈ (N × N) → (1st ‘𝐴) ∈ N)
213ad2ant1 1152 . . . 4 ((𝐴 ∈ (N × N) ∧ 𝐵 ∈ (N × N) ∧ 𝐶 ∈ (N × N)) → (1st ‘𝐴) ∈ N)
3 xp1st 8078 . . . . 5 (𝐶 ∈ (N × N) → (1st ‘𝐶) ∈ N)
433ad2ant3 1154 . . . 4 ((𝐴 ∈ (N × N) ∧ 𝐵 ∈ (N × N) ∧ 𝐶 ∈ (N × N)) → (1st ‘𝐶) ∈ N)
5 mulclpi 11028 . . . 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 8079 . . . . 5 (𝐴 ∈ (N × N) → (2nd ‘𝐴) ∈ N)
873ad2ant1 1152 . . . 4 ((𝐴 ∈ (N × N) ∧ 𝐵 ∈ (N × N) ∧ 𝐶 ∈ (N × N)) → (2nd ‘𝐴) ∈ N)
9 xp2nd 8079 . . . . 5 (𝐶 ∈ (N × N) → (2nd ‘𝐶) ∈ N)
1093ad2ant3 1154 . . . 4 ((𝐴 ∈ (N × N) ∧ 𝐵 ∈ (N × N) ∧ 𝐶 ∈ (N × N)) → (2nd ‘𝐶) ∈ N)
11 mulclpi 11028 . . . 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 8078 . . . . 5 (𝐵 ∈ (N × N) → (1st ‘𝐵) ∈ N)
14133ad2ant2 1153 . . . 4 ((𝐴 ∈ (N × N) ∧ 𝐵 ∈ (N × N) ∧ 𝐶 ∈ (N × N)) → (1st ‘𝐵) ∈ N)
15 mulclpi 11028 . . . 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 8079 . . . . 5 (𝐵 ∈ (N × N) → (2nd ‘𝐵) ∈ N)
18173ad2ant2 1153 . . . 4 ((𝐴 ∈ (N × N) ∧ 𝐵 ∈ (N × N) ∧ 𝐶 ∈ (N × N)) → (2nd ‘𝐵) ∈ N)
19 mulclpi 11028 . . . 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 11054 . . 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 11074 . . . 4 ((𝐴 ∈ (N × N) ∧ 𝐶 ∈ (N × N)) → (𝐴 ·pQ 𝐶) = ⟨((1st ‘𝐴) ·N (1st ‘𝐶)), ((2nd ‘𝐴) ·N (2nd ‘𝐶))⟩)
24233adant2 1150 . . 3 ((𝐴 ∈ (N × N) ∧ 𝐵 ∈ (N × N) ∧ 𝐶 ∈ (N × N)) → (𝐴 ·pQ 𝐶) = ⟨((1st ‘𝐴) ·N (1st ‘𝐶)), ((2nd ‘𝐴) ·N (2nd ‘𝐶))⟩)
25 mulpipq2 11074 . . . 4 ((𝐵 ∈ (N × N) ∧ 𝐶 ∈ (N × N)) → (𝐵 ·pQ 𝐶) = ⟨((1st ‘𝐵) ·N (1st ‘𝐶)), ((2nd ‘𝐵) ·N (2nd ‘𝐶))⟩)
26253adant1 1149 . . 3 ((𝐴 ∈ (N × N) ∧ 𝐵 ∈ (N × N) ∧ 𝐶 ∈ (N × N)) → (𝐵 ·pQ 𝐶) = ⟨((1st ‘𝐵) ·N (1st ‘𝐶)), ((2nd ‘𝐵) ·N (2nd ‘𝐶))⟩)
2724, 26breq12d 5124 . 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 11055 . . . 4 ((𝐴 ∈ (N × N) ∧ 𝐵 ∈ (N × N)) → (𝐴 ~Q 𝐵 ↔ ((1st ‘𝐴) ·N (2nd ‘𝐵)) = ((1st ‘𝐵) ·N (2nd ‘𝐴))))
29283adant3 1151 . . 3 ((𝐴 ∈ (N × N) ∧ 𝐵 ∈ (N × N) ∧ 𝐶 ∈ (N × N)) → (𝐴 ~Q 𝐵 ↔ ((1st ‘𝐴) ·N (2nd ‘𝐵)) = ((1st ‘𝐵) ·N (2nd ‘𝐴))))
30 mulclpi 11028 . . . . 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 11028 . . . . 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 11035 . . . 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 11031 . . . . . 6 (((1st ‘𝐶) ·N (2nd ‘𝐶)) ·N ((1st ‘𝐴) ·N (2nd ‘𝐵))) = (((1st ‘𝐴) ·N (2nd ‘𝐵)) ·N ((1st ‘𝐶) ·N (2nd ‘𝐶)))
37 fvex 6939 . . . . . . 7 (1st ‘𝐴) ∈ V
38 fvex 6939 . . . . . . 7 (2nd ‘𝐵) ∈ V
39 fvex 6939 . . . . . . 7 (1st ‘𝐶) ∈ V
40 mulcompi 11031 . . . . . . 7 (𝑥 ·N 𝑦) = (𝑦 ·N 𝑥)
41 mulasspi 11032 . . . . . . 7 ((𝑥 ·N 𝑦) ·N 𝑧) = (𝑥 ·N (𝑦 ·N 𝑧))
42 fvex 6939 . . . . . . 7 (2nd ‘𝐶) ∈ V
4337, 38, 39, 40, 41, 42caov4 7695 . . . . . 6 (((1st ‘𝐴) ·N (2nd ‘𝐵)) ·N ((1st ‘𝐶) ·N (2nd ‘𝐶))) = (((1st ‘𝐴) ·N (1st ‘𝐶)) ·N ((2nd ‘𝐵) ·N (2nd ‘𝐶)))
4436, 43eqtri 2792 . . . . 5 (((1st ‘𝐶) ·N (2nd ‘𝐶)) ·N ((1st ‘𝐴) ·N (2nd ‘𝐵))) = (((1st ‘𝐴) ·N (1st ‘𝐶)) ·N ((2nd ‘𝐵) ·N (2nd ‘𝐶)))
45 mulcompi 11031 . . . . . 6 (((1st ‘𝐶) ·N (2nd ‘𝐶)) ·N ((1st ‘𝐵) ·N (2nd ‘𝐴))) = (((1st ‘𝐵) ·N (2nd ‘𝐴)) ·N ((1st ‘𝐶) ·N (2nd ‘𝐶)))
46 fvex 6939 . . . . . . 7 (1st ‘𝐵) ∈ V
47 fvex 6939 . . . . . . 7 (2nd ‘𝐴) ∈ V
4846, 47, 39, 40, 41, 42caov4 7695 . . . . . 6 (((1st ‘𝐵) ·N (2nd ‘𝐴)) ·N ((1st ‘𝐶) ·N (2nd ‘𝐶))) = (((1st ‘𝐵) ·N (1st ‘𝐶)) ·N ((2nd ‘𝐴) ·N (2nd ‘𝐶)))
49 mulcompi 11031 . . . . . 6 (((1st ‘𝐵) ·N (1st ‘𝐶)) ·N ((2nd ‘𝐴) ·N (2nd ‘𝐶))) = (((2nd ‘𝐴) ·N (2nd ‘𝐶)) ·N ((1st ‘𝐵) ·N (1st ‘𝐶)))
5045, 48, 493eqtri 2796 . . . . 5 (((1st ‘𝐶) ·N (2nd ‘𝐶)) ·N ((1st ‘𝐵) ·N (2nd ‘𝐴))) = (((2nd ‘𝐴) ·N (2nd ‘𝐶)) ·N ((1st ‘𝐵) ·N (1st ‘𝐶)))
5144, 50eqeq12i 2787 . . . 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 1104   = wceq 1572   ∈ wcel 2151  ⟨cop 4843   class class class wbr 5111   × cxp 5659  ‘cfv 6573  (class class class)co 7462  1st c1st 8044  2nd c2nd 8045  Ncnpi 10979   ·N cmi 10981   ·pQ cmpq 10984   ~Q ceq 10986
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1830  ax-4 1844  ax-5 1947  ax-6 2004  ax-7 2045  ax-8 2153  ax-9 2161  ax-10 2184  ax-11 2201  ax-12 2220  ax-ext 2741  ax-sep 5258  ax-nul 5269  ax-pr 5401  ax-un 7794
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1105  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1815  df-nf 1819  df-sb 2105  df-mo 2571  df-eu 2601  df-clab 2748  df-cleq 2761  df-clel 2845  df-nfc 2919  df-ne 2966  df-ral 3087  df-rex 3097  df-reu 3372  df-rab 3419  df-v 3458  df-sbc 3745  df-csb 3854  df-ss 3903  df-pss 4019  df-dif 4052  df-in 4096  df-un 4156  df-nul 4284  df-if 4488  df-pw 4564  df-sn 4591  df-pr 4593  df-op 4844  df-uni 4876  df-iun 4961  df-br 5112  df-opab 5177  df-mpt 5196  df-tr 5222  df-id 5556  df-eprel 5561  df-po 5569  df-so 5570  df-fr 5614  df-we 5616  df-xp 5667  df-rel 5668  df-cnv 5669  df-co 5670  df-dm 5671  df-rn 5672  df-res 5673  df-ima 5674  df-pred 6337  df-ord 6398  df-on 6399  df-lim 6400  df-suc 6401  df-iota 6527  df-fun 6575  df-fn 6576  df-f 6577  df-f1 6578  df-fo 6579  df-f1o 6580  df-fv 6581  df-ov 7465  df-oprab 7466  df-mpo 7467  df-om 7923  df-1st 8046  df-2nd 8047  df-frecs 8348  df-wrecs 8379  df-recs 8428  df-rdg 8467  df-oadd 8529  df-omul 8530  df-ni 11007  df-mi 11009  df-mpq 11044  df-enq 11046
This theorem is used by:  mulerpq  11092
  Copyright terms: Public domain W3C validator