Step | Hyp | Ref
| Expression |
1 | | df-ltpq 10666 |
. . . 4
⊢
<pQ = {〈𝑥, 𝑦〉 ∣ ((𝑥 ∈ (N ×
N) ∧ 𝑦
∈ (N × N)) ∧ ((1st
‘𝑥)
·N (2nd ‘𝑦)) <N
((1st ‘𝑦)
·N (2nd ‘𝑥)))} |
2 | | opabssxp 5679 |
. . . 4
⊢
{〈𝑥, 𝑦〉 ∣ ((𝑥 ∈ (N ×
N) ∧ 𝑦
∈ (N × N)) ∧ ((1st
‘𝑥)
·N (2nd ‘𝑦)) <N
((1st ‘𝑦)
·N (2nd ‘𝑥)))} ⊆ ((N ×
N) × (N ×
N)) |
3 | 1, 2 | eqsstri 3955 |
. . 3
⊢
<pQ ⊆ ((N ×
N) × (N ×
N)) |
4 | 3 | brel 5652 |
. 2
⊢ (𝐴 <pQ
𝐵 → (𝐴 ∈ (N ×
N) ∧ 𝐵
∈ (N × N))) |
5 | | ltrelnq 10682 |
. . . 4
⊢
<Q ⊆ (Q ×
Q) |
6 | 5 | brel 5652 |
. . 3
⊢
(([Q]‘𝐴) <Q
([Q]‘𝐵)
→ (([Q]‘𝐴) ∈ Q ∧
([Q]‘𝐵)
∈ Q)) |
7 | | elpqn 10681 |
. . . 4
⊢
(([Q]‘𝐴) ∈ Q →
([Q]‘𝐴)
∈ (N × N)) |
8 | | elpqn 10681 |
. . . 4
⊢
(([Q]‘𝐵) ∈ Q →
([Q]‘𝐵)
∈ (N × N)) |
9 | | nqerf 10686 |
. . . . . . 7
⊢
[Q]:(N ×
N)⟶Q |
10 | 9 | fdmi 6612 |
. . . . . 6
⊢ dom
[Q] = (N × N) |
11 | | 0nelxp 5623 |
. . . . . 6
⊢ ¬
∅ ∈ (N × N) |
12 | 10, 11 | ndmfvrcl 6805 |
. . . . 5
⊢
(([Q]‘𝐴) ∈ (N ×
N) → 𝐴
∈ (N × N)) |
13 | 10, 11 | ndmfvrcl 6805 |
. . . . 5
⊢
(([Q]‘𝐵) ∈ (N ×
N) → 𝐵
∈ (N × N)) |
14 | 12, 13 | anim12i 613 |
. . . 4
⊢
((([Q]‘𝐴) ∈ (N ×
N) ∧ ([Q]‘𝐵) ∈ (N ×
N)) → (𝐴
∈ (N × N) ∧ 𝐵 ∈ (N ×
N))) |
15 | 7, 8, 14 | syl2an 596 |
. . 3
⊢
((([Q]‘𝐴) ∈ Q ∧
([Q]‘𝐵)
∈ Q) → (𝐴 ∈ (N ×
N) ∧ 𝐵
∈ (N × N))) |
16 | 6, 15 | syl 17 |
. 2
⊢
(([Q]‘𝐴) <Q
([Q]‘𝐵)
→ (𝐴 ∈
(N × N) ∧ 𝐵 ∈ (N ×
N))) |
17 | | xp1st 7863 |
. . . . 5
⊢ (𝐴 ∈ (N ×
N) → (1st ‘𝐴) ∈ N) |
18 | | xp2nd 7864 |
. . . . 5
⊢ (𝐵 ∈ (N ×
N) → (2nd ‘𝐵) ∈ N) |
19 | | mulclpi 10649 |
. . . . 5
⊢
(((1st ‘𝐴) ∈ N ∧
(2nd ‘𝐵)
∈ N) → ((1st ‘𝐴) ·N
(2nd ‘𝐵))
∈ N) |
20 | 17, 18, 19 | syl2an 596 |
. . . 4
⊢ ((𝐴 ∈ (N ×
N) ∧ 𝐵
∈ (N × N)) → ((1st
‘𝐴)
·N (2nd ‘𝐵)) ∈ N) |
21 | | ltmpi 10660 |
. . . 4
⊢
(((1st ‘𝐴) ·N
(2nd ‘𝐵))
∈ N → (((1st
‘([Q]‘𝐴)) ·N
(2nd ‘([Q]‘𝐵))) <N
((1st ‘([Q]‘𝐵)) ·N
(2nd ‘([Q]‘𝐴))) ↔ (((1st ‘𝐴)
·N (2nd ‘𝐵)) ·N
((1st ‘([Q]‘𝐴)) ·N
(2nd ‘([Q]‘𝐵)))) <N
(((1st ‘𝐴)
·N (2nd ‘𝐵)) ·N
((1st ‘([Q]‘𝐵)) ·N
(2nd ‘([Q]‘𝐴)))))) |
22 | 20, 21 | syl 17 |
. . 3
⊢ ((𝐴 ∈ (N ×
N) ∧ 𝐵
∈ (N × N)) → (((1st
‘([Q]‘𝐴)) ·N
(2nd ‘([Q]‘𝐵))) <N
((1st ‘([Q]‘𝐵)) ·N
(2nd ‘([Q]‘𝐴))) ↔ (((1st ‘𝐴)
·N (2nd ‘𝐵)) ·N
((1st ‘([Q]‘𝐴)) ·N
(2nd ‘([Q]‘𝐵)))) <N
(((1st ‘𝐴)
·N (2nd ‘𝐵)) ·N
((1st ‘([Q]‘𝐵)) ·N
(2nd ‘([Q]‘𝐴)))))) |
23 | | nqercl 10687 |
. . . 4
⊢ (𝐴 ∈ (N ×
N) → ([Q]‘𝐴) ∈ Q) |
24 | | nqercl 10687 |
. . . 4
⊢ (𝐵 ∈ (N ×
N) → ([Q]‘𝐵) ∈ Q) |
25 | | ordpinq 10699 |
. . . 4
⊢
((([Q]‘𝐴) ∈ Q ∧
([Q]‘𝐵)
∈ Q) → (([Q]‘𝐴) <Q
([Q]‘𝐵)
↔ ((1st ‘([Q]‘𝐴)) ·N
(2nd ‘([Q]‘𝐵))) <N
((1st ‘([Q]‘𝐵)) ·N
(2nd ‘([Q]‘𝐴))))) |
26 | 23, 24, 25 | syl2an 596 |
. . 3
⊢ ((𝐴 ∈ (N ×
N) ∧ 𝐵
∈ (N × N)) →
(([Q]‘𝐴) <Q
([Q]‘𝐵)
↔ ((1st ‘([Q]‘𝐴)) ·N
(2nd ‘([Q]‘𝐵))) <N
((1st ‘([Q]‘𝐵)) ·N
(2nd ‘([Q]‘𝐴))))) |
27 | | 1st2nd2 7870 |
. . . . . 6
⊢ (𝐴 ∈ (N ×
N) → 𝐴 =
〈(1st ‘𝐴), (2nd ‘𝐴)〉) |
28 | | 1st2nd2 7870 |
. . . . . 6
⊢ (𝐵 ∈ (N ×
N) → 𝐵 =
〈(1st ‘𝐵), (2nd ‘𝐵)〉) |
29 | 27, 28 | breqan12d 5090 |
. . . . 5
⊢ ((𝐴 ∈ (N ×
N) ∧ 𝐵
∈ (N × N)) → (𝐴 <pQ 𝐵 ↔ 〈(1st
‘𝐴), (2nd
‘𝐴)〉
<pQ 〈(1st ‘𝐵), (2nd ‘𝐵)〉)) |
30 | | ordpipq 10698 |
. . . . 5
⊢
(〈(1st ‘𝐴), (2nd ‘𝐴)〉 <pQ
〈(1st ‘𝐵), (2nd ‘𝐵)〉 ↔ ((1st ‘𝐴)
·N (2nd ‘𝐵)) <N
((1st ‘𝐵)
·N (2nd ‘𝐴))) |
31 | 29, 30 | bitrdi 287 |
. . . 4
⊢ ((𝐴 ∈ (N ×
N) ∧ 𝐵
∈ (N × N)) → (𝐴 <pQ 𝐵 ↔ ((1st
‘𝐴)
·N (2nd ‘𝐵)) <N
((1st ‘𝐵)
·N (2nd ‘𝐴)))) |
32 | | xp1st 7863 |
. . . . . . 7
⊢
(([Q]‘𝐴) ∈ (N ×
N) → (1st ‘([Q]‘𝐴)) ∈
N) |
33 | 23, 7, 32 | 3syl 18 |
. . . . . 6
⊢ (𝐴 ∈ (N ×
N) → (1st ‘([Q]‘𝐴)) ∈
N) |
34 | | xp2nd 7864 |
. . . . . . 7
⊢
(([Q]‘𝐵) ∈ (N ×
N) → (2nd ‘([Q]‘𝐵)) ∈
N) |
35 | 24, 8, 34 | 3syl 18 |
. . . . . 6
⊢ (𝐵 ∈ (N ×
N) → (2nd ‘([Q]‘𝐵)) ∈
N) |
36 | | mulclpi 10649 |
. . . . . 6
⊢
(((1st ‘([Q]‘𝐴)) ∈ N ∧
(2nd ‘([Q]‘𝐵)) ∈ N) →
((1st ‘([Q]‘𝐴)) ·N
(2nd ‘([Q]‘𝐵))) ∈ N) |
37 | 33, 35, 36 | syl2an 596 |
. . . . 5
⊢ ((𝐴 ∈ (N ×
N) ∧ 𝐵
∈ (N × N)) → ((1st
‘([Q]‘𝐴)) ·N
(2nd ‘([Q]‘𝐵))) ∈ N) |
38 | | ltmpi 10660 |
. . . . 5
⊢
(((1st ‘([Q]‘𝐴)) ·N
(2nd ‘([Q]‘𝐵))) ∈ N →
(((1st ‘𝐴)
·N (2nd ‘𝐵)) <N
((1st ‘𝐵)
·N (2nd ‘𝐴)) ↔ (((1st
‘([Q]‘𝐴)) ·N
(2nd ‘([Q]‘𝐵))) ·N
((1st ‘𝐴)
·N (2nd ‘𝐵))) <N
(((1st ‘([Q]‘𝐴)) ·N
(2nd ‘([Q]‘𝐵))) ·N
((1st ‘𝐵)
·N (2nd ‘𝐴))))) |
39 | 37, 38 | syl 17 |
. . . 4
⊢ ((𝐴 ∈ (N ×
N) ∧ 𝐵
∈ (N × N)) → (((1st
‘𝐴)
·N (2nd ‘𝐵)) <N
((1st ‘𝐵)
·N (2nd ‘𝐴)) ↔ (((1st
‘([Q]‘𝐴)) ·N
(2nd ‘([Q]‘𝐵))) ·N
((1st ‘𝐴)
·N (2nd ‘𝐵))) <N
(((1st ‘([Q]‘𝐴)) ·N
(2nd ‘([Q]‘𝐵))) ·N
((1st ‘𝐵)
·N (2nd ‘𝐴))))) |
40 | | mulcompi 10652 |
. . . . . 6
⊢
(((1st ‘([Q]‘𝐴)) ·N
(2nd ‘([Q]‘𝐵))) ·N
((1st ‘𝐴)
·N (2nd ‘𝐵))) = (((1st ‘𝐴)
·N (2nd ‘𝐵)) ·N
((1st ‘([Q]‘𝐴)) ·N
(2nd ‘([Q]‘𝐵)))) |
41 | 40 | a1i 11 |
. . . . 5
⊢ ((𝐴 ∈ (N ×
N) ∧ 𝐵
∈ (N × N)) → (((1st
‘([Q]‘𝐴)) ·N
(2nd ‘([Q]‘𝐵))) ·N
((1st ‘𝐴)
·N (2nd ‘𝐵))) = (((1st ‘𝐴)
·N (2nd ‘𝐵)) ·N
((1st ‘([Q]‘𝐴)) ·N
(2nd ‘([Q]‘𝐵))))) |
42 | | nqerrel 10688 |
. . . . . . . . 9
⊢ (𝐴 ∈ (N ×
N) → 𝐴
~Q ([Q]‘𝐴)) |
43 | 23, 7 | syl 17 |
. . . . . . . . . 10
⊢ (𝐴 ∈ (N ×
N) → ([Q]‘𝐴) ∈ (N ×
N)) |
44 | | enqbreq2 10676 |
. . . . . . . . . 10
⊢ ((𝐴 ∈ (N ×
N) ∧ ([Q]‘𝐴) ∈ (N ×
N)) → (𝐴
~Q ([Q]‘𝐴) ↔ ((1st ‘𝐴)
·N (2nd
‘([Q]‘𝐴))) = ((1st
‘([Q]‘𝐴)) ·N
(2nd ‘𝐴)))) |
45 | 43, 44 | mpdan 684 |
. . . . . . . . 9
⊢ (𝐴 ∈ (N ×
N) → (𝐴
~Q ([Q]‘𝐴) ↔ ((1st ‘𝐴)
·N (2nd
‘([Q]‘𝐴))) = ((1st
‘([Q]‘𝐴)) ·N
(2nd ‘𝐴)))) |
46 | 42, 45 | mpbid 231 |
. . . . . . . 8
⊢ (𝐴 ∈ (N ×
N) → ((1st ‘𝐴) ·N
(2nd ‘([Q]‘𝐴))) = ((1st
‘([Q]‘𝐴)) ·N
(2nd ‘𝐴))) |
47 | 46 | eqcomd 2744 |
. . . . . . 7
⊢ (𝐴 ∈ (N ×
N) → ((1st ‘([Q]‘𝐴))
·N (2nd ‘𝐴)) = ((1st ‘𝐴)
·N (2nd
‘([Q]‘𝐴)))) |
48 | | nqerrel 10688 |
. . . . . . . 8
⊢ (𝐵 ∈ (N ×
N) → 𝐵
~Q ([Q]‘𝐵)) |
49 | 24, 8 | syl 17 |
. . . . . . . . 9
⊢ (𝐵 ∈ (N ×
N) → ([Q]‘𝐵) ∈ (N ×
N)) |
50 | | enqbreq2 10676 |
. . . . . . . . 9
⊢ ((𝐵 ∈ (N ×
N) ∧ ([Q]‘𝐵) ∈ (N ×
N)) → (𝐵
~Q ([Q]‘𝐵) ↔ ((1st ‘𝐵)
·N (2nd
‘([Q]‘𝐵))) = ((1st
‘([Q]‘𝐵)) ·N
(2nd ‘𝐵)))) |
51 | 49, 50 | mpdan 684 |
. . . . . . . 8
⊢ (𝐵 ∈ (N ×
N) → (𝐵
~Q ([Q]‘𝐵) ↔ ((1st ‘𝐵)
·N (2nd
‘([Q]‘𝐵))) = ((1st
‘([Q]‘𝐵)) ·N
(2nd ‘𝐵)))) |
52 | 48, 51 | mpbid 231 |
. . . . . . 7
⊢ (𝐵 ∈ (N ×
N) → ((1st ‘𝐵) ·N
(2nd ‘([Q]‘𝐵))) = ((1st
‘([Q]‘𝐵)) ·N
(2nd ‘𝐵))) |
53 | 47, 52 | oveqan12d 7294 |
. . . . . 6
⊢ ((𝐴 ∈ (N ×
N) ∧ 𝐵
∈ (N × N)) → (((1st
‘([Q]‘𝐴)) ·N
(2nd ‘𝐴))
·N ((1st ‘𝐵) ·N
(2nd ‘([Q]‘𝐵)))) = (((1st ‘𝐴)
·N (2nd
‘([Q]‘𝐴))) ·N
((1st ‘([Q]‘𝐵)) ·N
(2nd ‘𝐵)))) |
54 | | mulcompi 10652 |
. . . . . . 7
⊢
(((1st ‘([Q]‘𝐴)) ·N
(2nd ‘([Q]‘𝐵))) ·N
((1st ‘𝐵)
·N (2nd ‘𝐴))) = (((1st ‘𝐵)
·N (2nd ‘𝐴)) ·N
((1st ‘([Q]‘𝐴)) ·N
(2nd ‘([Q]‘𝐵)))) |
55 | | fvex 6787 |
. . . . . . . 8
⊢
(1st ‘𝐵) ∈ V |
56 | | fvex 6787 |
. . . . . . . 8
⊢
(2nd ‘𝐴) ∈ V |
57 | | fvex 6787 |
. . . . . . . 8
⊢
(1st ‘([Q]‘𝐴)) ∈ V |
58 | | mulcompi 10652 |
. . . . . . . 8
⊢ (𝑥
·N 𝑦) = (𝑦 ·N 𝑥) |
59 | | mulasspi 10653 |
. . . . . . . 8
⊢ ((𝑥
·N 𝑦) ·N 𝑧) = (𝑥 ·N (𝑦
·N 𝑧)) |
60 | | fvex 6787 |
. . . . . . . 8
⊢
(2nd ‘([Q]‘𝐵)) ∈ V |
61 | 55, 56, 57, 58, 59, 60 | caov411 7504 |
. . . . . . 7
⊢
(((1st ‘𝐵) ·N
(2nd ‘𝐴))
·N ((1st
‘([Q]‘𝐴)) ·N
(2nd ‘([Q]‘𝐵)))) = (((1st
‘([Q]‘𝐴)) ·N
(2nd ‘𝐴))
·N ((1st ‘𝐵) ·N
(2nd ‘([Q]‘𝐵)))) |
62 | 54, 61 | eqtri 2766 |
. . . . . 6
⊢
(((1st ‘([Q]‘𝐴)) ·N
(2nd ‘([Q]‘𝐵))) ·N
((1st ‘𝐵)
·N (2nd ‘𝐴))) = (((1st
‘([Q]‘𝐴)) ·N
(2nd ‘𝐴))
·N ((1st ‘𝐵) ·N
(2nd ‘([Q]‘𝐵)))) |
63 | | mulcompi 10652 |
. . . . . . 7
⊢
(((1st ‘𝐴) ·N
(2nd ‘𝐵))
·N ((1st
‘([Q]‘𝐵)) ·N
(2nd ‘([Q]‘𝐴)))) = (((1st
‘([Q]‘𝐵)) ·N
(2nd ‘([Q]‘𝐴))) ·N
((1st ‘𝐴)
·N (2nd ‘𝐵))) |
64 | | fvex 6787 |
. . . . . . . 8
⊢
(1st ‘([Q]‘𝐵)) ∈ V |
65 | | fvex 6787 |
. . . . . . . 8
⊢
(2nd ‘([Q]‘𝐴)) ∈ V |
66 | | fvex 6787 |
. . . . . . . 8
⊢
(1st ‘𝐴) ∈ V |
67 | | fvex 6787 |
. . . . . . . 8
⊢
(2nd ‘𝐵) ∈ V |
68 | 64, 65, 66, 58, 59, 67 | caov411 7504 |
. . . . . . 7
⊢
(((1st ‘([Q]‘𝐵)) ·N
(2nd ‘([Q]‘𝐴))) ·N
((1st ‘𝐴)
·N (2nd ‘𝐵))) = (((1st ‘𝐴)
·N (2nd
‘([Q]‘𝐴))) ·N
((1st ‘([Q]‘𝐵)) ·N
(2nd ‘𝐵))) |
69 | 63, 68 | eqtri 2766 |
. . . . . 6
⊢
(((1st ‘𝐴) ·N
(2nd ‘𝐵))
·N ((1st
‘([Q]‘𝐵)) ·N
(2nd ‘([Q]‘𝐴)))) = (((1st ‘𝐴)
·N (2nd
‘([Q]‘𝐴))) ·N
((1st ‘([Q]‘𝐵)) ·N
(2nd ‘𝐵))) |
70 | 53, 62, 69 | 3eqtr4g 2803 |
. . . . 5
⊢ ((𝐴 ∈ (N ×
N) ∧ 𝐵
∈ (N × N)) → (((1st
‘([Q]‘𝐴)) ·N
(2nd ‘([Q]‘𝐵))) ·N
((1st ‘𝐵)
·N (2nd ‘𝐴))) = (((1st ‘𝐴)
·N (2nd ‘𝐵)) ·N
((1st ‘([Q]‘𝐵)) ·N
(2nd ‘([Q]‘𝐴))))) |
71 | 41, 70 | breq12d 5087 |
. . . 4
⊢ ((𝐴 ∈ (N ×
N) ∧ 𝐵
∈ (N × N)) → ((((1st
‘([Q]‘𝐴)) ·N
(2nd ‘([Q]‘𝐵))) ·N
((1st ‘𝐴)
·N (2nd ‘𝐵))) <N
(((1st ‘([Q]‘𝐴)) ·N
(2nd ‘([Q]‘𝐵))) ·N
((1st ‘𝐵)
·N (2nd ‘𝐴))) ↔ (((1st ‘𝐴)
·N (2nd ‘𝐵)) ·N
((1st ‘([Q]‘𝐴)) ·N
(2nd ‘([Q]‘𝐵)))) <N
(((1st ‘𝐴)
·N (2nd ‘𝐵)) ·N
((1st ‘([Q]‘𝐵)) ·N
(2nd ‘([Q]‘𝐴)))))) |
72 | 31, 39, 71 | 3bitrd 305 |
. . 3
⊢ ((𝐴 ∈ (N ×
N) ∧ 𝐵
∈ (N × N)) → (𝐴 <pQ 𝐵 ↔ (((1st
‘𝐴)
·N (2nd ‘𝐵)) ·N
((1st ‘([Q]‘𝐴)) ·N
(2nd ‘([Q]‘𝐵)))) <N
(((1st ‘𝐴)
·N (2nd ‘𝐵)) ·N
((1st ‘([Q]‘𝐵)) ·N
(2nd ‘([Q]‘𝐴)))))) |
73 | 22, 26, 72 | 3bitr4rd 312 |
. 2
⊢ ((𝐴 ∈ (N ×
N) ∧ 𝐵
∈ (N × N)) → (𝐴 <pQ 𝐵 ↔
([Q]‘𝐴)
<Q ([Q]‘𝐵))) |
74 | 4, 16, 73 | pm5.21nii 380 |
1
⊢ (𝐴 <pQ
𝐵 ↔
([Q]‘𝐴)
<Q ([Q]‘𝐵)) |