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

Theorem mulerpqlem 11044
Description: Lemma for mulerpq 11046. (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 8034 . . . . 5 (𝐴 ∈ (N × N) → (1st ‘𝐴) ∈ N)
213ad2ant1 1151 . . . 4 ((𝐴 ∈ (N × N) ∧ 𝐵 ∈ (N × N) ∧ 𝐶 ∈ (N × N)) → (1st ‘𝐴) ∈ N)
3 xp1st 8034 . . . . 5 (𝐶 ∈ (N × N) → (1st ‘𝐶) ∈ N)
433ad2ant3 1153 . . . 4 ((𝐴 ∈ (N × N) ∧ 𝐵 ∈ (N × N) ∧ 𝐶 ∈ (N × N)) → (1st ‘𝐶) ∈ N)
5 mulclpi 10982 . . . 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 8035 . . . . 5 (𝐴 ∈ (N × N) → (2nd ‘𝐴) ∈ N)
873ad2ant1 1151 . . . 4 ((𝐴 ∈ (N × N) ∧ 𝐵 ∈ (N × N) ∧ 𝐶 ∈ (N × N)) → (2nd ‘𝐴) ∈ N)
9 xp2nd 8035 . . . . 5 (𝐶 ∈ (N × N) → (2nd ‘𝐶) ∈ N)
1093ad2ant3 1153 . . . 4 ((𝐴 ∈ (N × N) ∧ 𝐵 ∈ (N × N) ∧ 𝐶 ∈ (N × N)) → (2nd ‘𝐶) ∈ N)
11 mulclpi 10982 . . . 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 8034 . . . . 5 (𝐵 ∈ (N × N) → (1st ‘𝐵) ∈ N)
14133ad2ant2 1152 . . . 4 ((𝐴 ∈ (N × N) ∧ 𝐵 ∈ (N × N) ∧ 𝐶 ∈ (N × N)) → (1st ‘𝐵) ∈ N)
15 mulclpi 10982 . . . 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 8035 . . . . 5 (𝐵 ∈ (N × N) → (2nd ‘𝐵) ∈ N)
18173ad2ant2 1152 . . . 4 ((𝐴 ∈ (N × N) ∧ 𝐵 ∈ (N × N) ∧ 𝐶 ∈ (N × N)) → (2nd ‘𝐵) ∈ N)
19 mulclpi 10982 . . . 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 11008 . . 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 11028 . . . 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 11028 . . . 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 5115 . 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 11009 . . . 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 10982 . . . . 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 10982 . . . . 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 10989 . . . 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 10985 . . . . . 6 (((1st ‘𝐶) ·N (2nd ‘𝐶)) ·N ((1st ‘𝐴) ·N (2nd ‘𝐵))) = (((1st ‘𝐴) ·N (2nd ‘𝐵)) ·N ((1st ‘𝐶) ·N (2nd ‘𝐶)))
37 fvex 6899 . . . . . . 7 (1st ‘𝐴) ∈ V
38 fvex 6899 . . . . . . 7 (2nd ‘𝐵) ∈ V
39 fvex 6899 . . . . . . 7 (1st ‘𝐶) ∈ V
40 mulcompi 10985 . . . . . . 7 (𝑥 ·N 𝑦) = (𝑦 ·N 𝑥)
41 mulasspi 10986 . . . . . . 7 ((𝑥 ·N 𝑦) ·N 𝑧) = (𝑥 ·N (𝑦 ·N 𝑧))
42 fvex 6899 . . . . . . 7 (2nd ‘𝐶) ∈ V
4337, 38, 39, 40, 41, 42caov4 7653 . . . . . 6 (((1st ‘𝐴) ·N (2nd ‘𝐵)) ·N ((1st ‘𝐶) ·N (2nd ‘𝐶))) = (((1st ‘𝐴) ·N (1st ‘𝐶)) ·N ((2nd ‘𝐵) ·N (2nd ‘𝐶)))
4436, 43eqtri 2783 . . . . 5 (((1st ‘𝐶) ·N (2nd ‘𝐶)) ·N ((1st ‘𝐴) ·N (2nd ‘𝐵))) = (((1st ‘𝐴) ·N (1st ‘𝐶)) ·N ((2nd ‘𝐵) ·N (2nd ‘𝐶)))
45 mulcompi 10985 . . . . . 6 (((1st ‘𝐶) ·N (2nd ‘𝐶)) ·N ((1st ‘𝐵) ·N (2nd ‘𝐴))) = (((1st ‘𝐵) ·N (2nd ‘𝐴)) ·N ((1st ‘𝐶) ·N (2nd ‘𝐶)))
46 fvex 6899 . . . . . . 7 (1st ‘𝐵) ∈ V
47 fvex 6899 . . . . . . 7 (2nd ‘𝐴) ∈ V
4846, 47, 39, 40, 41, 42caov4 7653 . . . . . 6 (((1st ‘𝐵) ·N (2nd ‘𝐴)) ·N ((1st ‘𝐶) ·N (2nd ‘𝐶))) = (((1st ‘𝐵) ·N (1st ‘𝐶)) ·N ((2nd ‘𝐴) ·N (2nd ‘𝐶)))
49 mulcompi 10985 . . . . . 6 (((1st ‘𝐵) ·N (1st ‘𝐶)) ·N ((2nd ‘𝐴) ·N (2nd ‘𝐶))) = (((2nd ‘𝐴) ·N (2nd ‘𝐶)) ·N ((1st ‘𝐵) ·N (1st ‘𝐶)))
5045, 48, 493eqtri 2787 . . . . 5 (((1st ‘𝐶) ·N (2nd ‘𝐶)) ·N ((1st ‘𝐵) ·N (2nd ‘𝐴))) = (((2nd ‘𝐴) ·N (2nd ‘𝐶)) ·N ((1st ‘𝐵) ·N (1st ‘𝐶)))
5144, 50eqeq12i 2778 . . . 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 1569   ∈ wcel 2144  ⟨cop 4834   class class class wbr 5102   × cxp 5648  ‘cfv 6539  (class class class)co 7421  1st c1st 8000  2nd c2nd 8001  Ncnpi 10933   ·N cmi 10935   ·pQ cmpq 10938   ~Q ceq 10940
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 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-10 2177  ax-11 2193  ax-12 2212  ax-ext 2732  ax-sep 5248  ax-nul 5259  ax-pr 5390  ax-un 7752
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 2099  df-mo 2564  df-eu 2594  df-clab 2739  df-cleq 2752  df-clel 2835  df-nfc 2909  df-ne 2956  df-ral 3077  df-rex 3087  df-reu 3366  df-rab 3413  df-v 3452  df-sbc 3739  df-csb 3847  df-ss 3896  df-pss 4014  df-dif 4047  df-in 4091  df-un 4151  df-nul 4279  df-if 4482  df-pw 4558  df-sn 4585  df-pr 4587  df-op 4835  df-uni 4867  df-iun 4952  df-br 5103  df-opab 5167  df-mpt 5186  df-tr 5212  df-id 5545  df-eprel 5550  df-po 5558  df-so 5559  df-fr 5603  df-we 5605  df-xp 5656  df-rel 5657  df-cnv 5658  df-co 5659  df-dm 5660  df-rn 5661  df-res 5662  df-ima 5663  df-pred 6304  df-ord 6365  df-on 6366  df-lim 6367  df-suc 6368  df-iota 6494  df-fun 6541  df-fn 6542  df-f 6543  df-f1 6544  df-fo 6545  df-f1o 6546  df-fv 6547  df-ov 7424  df-oprab 7425  df-mpo 7426  df-om 7879  df-1st 8002  df-2nd 8003  df-frecs 8303  df-wrecs 8334  df-recs 8383  df-rdg 8422  df-oadd 8484  df-omul 8485  df-ni 10961  df-mi 10963  df-mpq 10998  df-enq 11000
This theorem is used by:  mulerpq  11046
  Copyright terms: Public domain W3C validator