Step | Hyp | Ref
| Expression |
1 | | opex 5379 |
. . 3
⊢
〈𝐴, 𝐵〉 ∈ V |
2 | | opex 5379 |
. . 3
⊢
〈𝐶, 𝐷〉 ∈ V |
3 | | eleq1 2826 |
. . . . . 6
⊢ (𝑥 = 〈𝐴, 𝐵〉 → (𝑥 ∈ (N ×
N) ↔ 〈𝐴, 𝐵〉 ∈ (N ×
N))) |
4 | 3 | anbi1d 630 |
. . . . 5
⊢ (𝑥 = 〈𝐴, 𝐵〉 → ((𝑥 ∈ (N ×
N) ∧ 𝑦
∈ (N × N)) ↔ (〈𝐴, 𝐵〉 ∈ (N ×
N) ∧ 𝑦
∈ (N × N)))) |
5 | 4 | anbi1d 630 |
. . . 4
⊢ (𝑥 = 〈𝐴, 𝐵〉 → (((𝑥 ∈ (N ×
N) ∧ 𝑦
∈ (N × N)) ∧ ((1st
‘𝑥)
·N (2nd ‘𝑦)) <N
((1st ‘𝑦)
·N (2nd ‘𝑥))) ↔ ((〈𝐴, 𝐵〉 ∈ (N ×
N) ∧ 𝑦
∈ (N × N)) ∧ ((1st
‘𝑥)
·N (2nd ‘𝑦)) <N
((1st ‘𝑦)
·N (2nd ‘𝑥))))) |
6 | | fveq2 6774 |
. . . . . . . 8
⊢ (𝑥 = 〈𝐴, 𝐵〉 → (1st ‘𝑥) = (1st
‘〈𝐴, 𝐵〉)) |
7 | | opelxp 5625 |
. . . . . . . . . 10
⊢
(〈𝐴, 𝐵〉 ∈ (N
× N) ↔ (𝐴 ∈ N ∧ 𝐵 ∈
N)) |
8 | | op1stg 7843 |
. . . . . . . . . 10
⊢ ((𝐴 ∈ N ∧
𝐵 ∈ N)
→ (1st ‘〈𝐴, 𝐵〉) = 𝐴) |
9 | 7, 8 | sylbi 216 |
. . . . . . . . 9
⊢
(〈𝐴, 𝐵〉 ∈ (N
× N) → (1st ‘〈𝐴, 𝐵〉) = 𝐴) |
10 | 9 | adantr 481 |
. . . . . . . 8
⊢
((〈𝐴, 𝐵〉 ∈ (N
× N) ∧ 𝑦 ∈ (N ×
N)) → (1st ‘〈𝐴, 𝐵〉) = 𝐴) |
11 | 6, 10 | sylan9eq 2798 |
. . . . . . 7
⊢ ((𝑥 = 〈𝐴, 𝐵〉 ∧ (〈𝐴, 𝐵〉 ∈ (N ×
N) ∧ 𝑦
∈ (N × N))) → (1st
‘𝑥) = 𝐴) |
12 | 11 | oveq1d 7290 |
. . . . . 6
⊢ ((𝑥 = 〈𝐴, 𝐵〉 ∧ (〈𝐴, 𝐵〉 ∈ (N ×
N) ∧ 𝑦
∈ (N × N))) → ((1st
‘𝑥)
·N (2nd ‘𝑦)) = (𝐴 ·N
(2nd ‘𝑦))) |
13 | | fveq2 6774 |
. . . . . . . 8
⊢ (𝑥 = 〈𝐴, 𝐵〉 → (2nd ‘𝑥) = (2nd
‘〈𝐴, 𝐵〉)) |
14 | | op2ndg 7844 |
. . . . . . . . . 10
⊢ ((𝐴 ∈ N ∧
𝐵 ∈ N)
→ (2nd ‘〈𝐴, 𝐵〉) = 𝐵) |
15 | 7, 14 | sylbi 216 |
. . . . . . . . 9
⊢
(〈𝐴, 𝐵〉 ∈ (N
× N) → (2nd ‘〈𝐴, 𝐵〉) = 𝐵) |
16 | 15 | adantr 481 |
. . . . . . . 8
⊢
((〈𝐴, 𝐵〉 ∈ (N
× N) ∧ 𝑦 ∈ (N ×
N)) → (2nd ‘〈𝐴, 𝐵〉) = 𝐵) |
17 | 13, 16 | sylan9eq 2798 |
. . . . . . 7
⊢ ((𝑥 = 〈𝐴, 𝐵〉 ∧ (〈𝐴, 𝐵〉 ∈ (N ×
N) ∧ 𝑦
∈ (N × N))) → (2nd
‘𝑥) = 𝐵) |
18 | 17 | oveq2d 7291 |
. . . . . 6
⊢ ((𝑥 = 〈𝐴, 𝐵〉 ∧ (〈𝐴, 𝐵〉 ∈ (N ×
N) ∧ 𝑦
∈ (N × N))) → ((1st
‘𝑦)
·N (2nd ‘𝑥)) = ((1st ‘𝑦)
·N 𝐵)) |
19 | 12, 18 | breq12d 5087 |
. . . . 5
⊢ ((𝑥 = 〈𝐴, 𝐵〉 ∧ (〈𝐴, 𝐵〉 ∈ (N ×
N) ∧ 𝑦
∈ (N × N))) → (((1st
‘𝑥)
·N (2nd ‘𝑦)) <N
((1st ‘𝑦)
·N (2nd ‘𝑥)) ↔ (𝐴 ·N
(2nd ‘𝑦))
<N ((1st ‘𝑦) ·N 𝐵))) |
20 | 19 | pm5.32da 579 |
. . . 4
⊢ (𝑥 = 〈𝐴, 𝐵〉 → (((〈𝐴, 𝐵〉 ∈ (N ×
N) ∧ 𝑦
∈ (N × N)) ∧ ((1st
‘𝑥)
·N (2nd ‘𝑦)) <N
((1st ‘𝑦)
·N (2nd ‘𝑥))) ↔ ((〈𝐴, 𝐵〉 ∈ (N ×
N) ∧ 𝑦
∈ (N × N)) ∧ (𝐴 ·N
(2nd ‘𝑦))
<N ((1st ‘𝑦) ·N 𝐵)))) |
21 | 5, 20 | bitrd 278 |
. . 3
⊢ (𝑥 = 〈𝐴, 𝐵〉 → (((𝑥 ∈ (N ×
N) ∧ 𝑦
∈ (N × N)) ∧ ((1st
‘𝑥)
·N (2nd ‘𝑦)) <N
((1st ‘𝑦)
·N (2nd ‘𝑥))) ↔ ((〈𝐴, 𝐵〉 ∈ (N ×
N) ∧ 𝑦
∈ (N × N)) ∧ (𝐴 ·N
(2nd ‘𝑦))
<N ((1st ‘𝑦) ·N 𝐵)))) |
22 | | eleq1 2826 |
. . . . . 6
⊢ (𝑦 = 〈𝐶, 𝐷〉 → (𝑦 ∈ (N ×
N) ↔ 〈𝐶, 𝐷〉 ∈ (N ×
N))) |
23 | 22 | anbi2d 629 |
. . . . 5
⊢ (𝑦 = 〈𝐶, 𝐷〉 → ((〈𝐴, 𝐵〉 ∈ (N ×
N) ∧ 𝑦
∈ (N × N)) ↔ (〈𝐴, 𝐵〉 ∈ (N ×
N) ∧ 〈𝐶, 𝐷〉 ∈ (N ×
N)))) |
24 | 23 | anbi1d 630 |
. . . 4
⊢ (𝑦 = 〈𝐶, 𝐷〉 → (((〈𝐴, 𝐵〉 ∈ (N ×
N) ∧ 𝑦
∈ (N × N)) ∧ (𝐴 ·N
(2nd ‘𝑦))
<N ((1st ‘𝑦) ·N 𝐵)) ↔ ((〈𝐴, 𝐵〉 ∈ (N ×
N) ∧ 〈𝐶, 𝐷〉 ∈ (N ×
N)) ∧ (𝐴
·N (2nd ‘𝑦)) <N
((1st ‘𝑦)
·N 𝐵)))) |
25 | | fveq2 6774 |
. . . . . . . 8
⊢ (𝑦 = 〈𝐶, 𝐷〉 → (2nd ‘𝑦) = (2nd
‘〈𝐶, 𝐷〉)) |
26 | | opelxp 5625 |
. . . . . . . . . 10
⊢
(〈𝐶, 𝐷〉 ∈ (N
× N) ↔ (𝐶 ∈ N ∧ 𝐷 ∈
N)) |
27 | | op2ndg 7844 |
. . . . . . . . . 10
⊢ ((𝐶 ∈ N ∧
𝐷 ∈ N)
→ (2nd ‘〈𝐶, 𝐷〉) = 𝐷) |
28 | 26, 27 | sylbi 216 |
. . . . . . . . 9
⊢
(〈𝐶, 𝐷〉 ∈ (N
× N) → (2nd ‘〈𝐶, 𝐷〉) = 𝐷) |
29 | 28 | adantl 482 |
. . . . . . . 8
⊢
((〈𝐴, 𝐵〉 ∈ (N
× N) ∧ 〈𝐶, 𝐷〉 ∈ (N ×
N)) → (2nd ‘〈𝐶, 𝐷〉) = 𝐷) |
30 | 25, 29 | sylan9eq 2798 |
. . . . . . 7
⊢ ((𝑦 = 〈𝐶, 𝐷〉 ∧ (〈𝐴, 𝐵〉 ∈ (N ×
N) ∧ 〈𝐶, 𝐷〉 ∈ (N ×
N))) → (2nd ‘𝑦) = 𝐷) |
31 | 30 | oveq2d 7291 |
. . . . . 6
⊢ ((𝑦 = 〈𝐶, 𝐷〉 ∧ (〈𝐴, 𝐵〉 ∈ (N ×
N) ∧ 〈𝐶, 𝐷〉 ∈ (N ×
N))) → (𝐴 ·N
(2nd ‘𝑦))
= (𝐴
·N 𝐷)) |
32 | | fveq2 6774 |
. . . . . . . 8
⊢ (𝑦 = 〈𝐶, 𝐷〉 → (1st ‘𝑦) = (1st
‘〈𝐶, 𝐷〉)) |
33 | | op1stg 7843 |
. . . . . . . . . 10
⊢ ((𝐶 ∈ N ∧
𝐷 ∈ N)
→ (1st ‘〈𝐶, 𝐷〉) = 𝐶) |
34 | 26, 33 | sylbi 216 |
. . . . . . . . 9
⊢
(〈𝐶, 𝐷〉 ∈ (N
× N) → (1st ‘〈𝐶, 𝐷〉) = 𝐶) |
35 | 34 | adantl 482 |
. . . . . . . 8
⊢
((〈𝐴, 𝐵〉 ∈ (N
× N) ∧ 〈𝐶, 𝐷〉 ∈ (N ×
N)) → (1st ‘〈𝐶, 𝐷〉) = 𝐶) |
36 | 32, 35 | sylan9eq 2798 |
. . . . . . 7
⊢ ((𝑦 = 〈𝐶, 𝐷〉 ∧ (〈𝐴, 𝐵〉 ∈ (N ×
N) ∧ 〈𝐶, 𝐷〉 ∈ (N ×
N))) → (1st ‘𝑦) = 𝐶) |
37 | 36 | oveq1d 7290 |
. . . . . 6
⊢ ((𝑦 = 〈𝐶, 𝐷〉 ∧ (〈𝐴, 𝐵〉 ∈ (N ×
N) ∧ 〈𝐶, 𝐷〉 ∈ (N ×
N))) → ((1st ‘𝑦) ·N 𝐵) = (𝐶 ·N 𝐵)) |
38 | 31, 37 | breq12d 5087 |
. . . . 5
⊢ ((𝑦 = 〈𝐶, 𝐷〉 ∧ (〈𝐴, 𝐵〉 ∈ (N ×
N) ∧ 〈𝐶, 𝐷〉 ∈ (N ×
N))) → ((𝐴 ·N
(2nd ‘𝑦))
<N ((1st ‘𝑦) ·N 𝐵) ↔ (𝐴 ·N 𝐷) <N
(𝐶
·N 𝐵))) |
39 | 38 | pm5.32da 579 |
. . . 4
⊢ (𝑦 = 〈𝐶, 𝐷〉 → (((〈𝐴, 𝐵〉 ∈ (N ×
N) ∧ 〈𝐶, 𝐷〉 ∈ (N ×
N)) ∧ (𝐴
·N (2nd ‘𝑦)) <N
((1st ‘𝑦)
·N 𝐵)) ↔ ((〈𝐴, 𝐵〉 ∈ (N ×
N) ∧ 〈𝐶, 𝐷〉 ∈ (N ×
N)) ∧ (𝐴
·N 𝐷) <N (𝐶
·N 𝐵)))) |
40 | 24, 39 | bitrd 278 |
. . 3
⊢ (𝑦 = 〈𝐶, 𝐷〉 → (((〈𝐴, 𝐵〉 ∈ (N ×
N) ∧ 𝑦
∈ (N × N)) ∧ (𝐴 ·N
(2nd ‘𝑦))
<N ((1st ‘𝑦) ·N 𝐵)) ↔ ((〈𝐴, 𝐵〉 ∈ (N ×
N) ∧ 〈𝐶, 𝐷〉 ∈ (N ×
N)) ∧ (𝐴
·N 𝐷) <N (𝐶
·N 𝐵)))) |
41 | | df-ltpq 10666 |
. . 3
⊢
<pQ = {〈𝑥, 𝑦〉 ∣ ((𝑥 ∈ (N ×
N) ∧ 𝑦
∈ (N × N)) ∧ ((1st
‘𝑥)
·N (2nd ‘𝑦)) <N
((1st ‘𝑦)
·N (2nd ‘𝑥)))} |
42 | 1, 2, 21, 40, 41 | brab 5456 |
. 2
⊢
(〈𝐴, 𝐵〉
<pQ 〈𝐶, 𝐷〉 ↔ ((〈𝐴, 𝐵〉 ∈ (N ×
N) ∧ 〈𝐶, 𝐷〉 ∈ (N ×
N)) ∧ (𝐴
·N 𝐷) <N (𝐶
·N 𝐵))) |
43 | | simpr 485 |
. . 3
⊢
(((〈𝐴, 𝐵〉 ∈ (N
× N) ∧ 〈𝐶, 𝐷〉 ∈ (N ×
N)) ∧ (𝐴
·N 𝐷) <N (𝐶
·N 𝐵)) → (𝐴 ·N 𝐷) <N
(𝐶
·N 𝐵)) |
44 | | ltrelpi 10645 |
. . . . . 6
⊢
<N ⊆ (N ×
N) |
45 | 44 | brel 5652 |
. . . . 5
⊢ ((𝐴
·N 𝐷) <N (𝐶
·N 𝐵) → ((𝐴 ·N 𝐷) ∈ N ∧
(𝐶
·N 𝐵) ∈ N)) |
46 | | dmmulpi 10647 |
. . . . . . 7
⊢ dom
·N = (N ×
N) |
47 | | 0npi 10638 |
. . . . . . 7
⊢ ¬
∅ ∈ N |
48 | 46, 47 | ndmovrcl 7458 |
. . . . . 6
⊢ ((𝐴
·N 𝐷) ∈ N → (𝐴 ∈ N ∧
𝐷 ∈
N)) |
49 | 46, 47 | ndmovrcl 7458 |
. . . . . 6
⊢ ((𝐶
·N 𝐵) ∈ N → (𝐶 ∈ N ∧
𝐵 ∈
N)) |
50 | 48, 49 | anim12i 613 |
. . . . 5
⊢ (((𝐴
·N 𝐷) ∈ N ∧ (𝐶
·N 𝐵) ∈ N) → ((𝐴 ∈ N ∧
𝐷 ∈ N)
∧ (𝐶 ∈
N ∧ 𝐵
∈ N))) |
51 | | opelxpi 5626 |
. . . . . . 7
⊢ ((𝐴 ∈ N ∧
𝐵 ∈ N)
→ 〈𝐴, 𝐵〉 ∈ (N
× N)) |
52 | 51 | ad2ant2rl 746 |
. . . . . 6
⊢ (((𝐴 ∈ N ∧
𝐷 ∈ N)
∧ (𝐶 ∈
N ∧ 𝐵
∈ N)) → 〈𝐴, 𝐵〉 ∈ (N ×
N)) |
53 | | simprl 768 |
. . . . . . 7
⊢ (((𝐴 ∈ N ∧
𝐷 ∈ N)
∧ (𝐶 ∈
N ∧ 𝐵
∈ N)) → 𝐶 ∈ N) |
54 | | simplr 766 |
. . . . . . 7
⊢ (((𝐴 ∈ N ∧
𝐷 ∈ N)
∧ (𝐶 ∈
N ∧ 𝐵
∈ N)) → 𝐷 ∈ N) |
55 | 53, 54 | opelxpd 5627 |
. . . . . 6
⊢ (((𝐴 ∈ N ∧
𝐷 ∈ N)
∧ (𝐶 ∈
N ∧ 𝐵
∈ N)) → 〈𝐶, 𝐷〉 ∈ (N ×
N)) |
56 | 52, 55 | jca 512 |
. . . . 5
⊢ (((𝐴 ∈ N ∧
𝐷 ∈ N)
∧ (𝐶 ∈
N ∧ 𝐵
∈ N)) → (〈𝐴, 𝐵〉 ∈ (N ×
N) ∧ 〈𝐶, 𝐷〉 ∈ (N ×
N))) |
57 | 45, 50, 56 | 3syl 18 |
. . . 4
⊢ ((𝐴
·N 𝐷) <N (𝐶
·N 𝐵) → (〈𝐴, 𝐵〉 ∈ (N ×
N) ∧ 〈𝐶, 𝐷〉 ∈ (N ×
N))) |
58 | 57 | ancri 550 |
. . 3
⊢ ((𝐴
·N 𝐷) <N (𝐶
·N 𝐵) → ((〈𝐴, 𝐵〉 ∈ (N ×
N) ∧ 〈𝐶, 𝐷〉 ∈ (N ×
N)) ∧ (𝐴
·N 𝐷) <N (𝐶
·N 𝐵))) |
59 | 43, 58 | impbii 208 |
. 2
⊢
(((〈𝐴, 𝐵〉 ∈ (N
× N) ∧ 〈𝐶, 𝐷〉 ∈ (N ×
N)) ∧ (𝐴
·N 𝐷) <N (𝐶
·N 𝐵)) ↔ (𝐴 ·N 𝐷) <N
(𝐶
·N 𝐵)) |
60 | 42, 59 | bitri 274 |
1
⊢
(〈𝐴, 𝐵〉
<pQ 〈𝐶, 𝐷〉 ↔ (𝐴 ·N 𝐷) <N
(𝐶
·N 𝐵)) |