Step | Hyp | Ref
| Expression |
1 | | elpqn 10681 |
. . . . . . 7
⊢ (𝑥 ∈ Q →
𝑥 ∈ (N
× N)) |
2 | 1 | adantr 481 |
. . . . . 6
⊢ ((𝑥 ∈ Q ∧
𝑦 ∈ Q)
→ 𝑥 ∈
(N × N)) |
3 | | xp1st 7863 |
. . . . . 6
⊢ (𝑥 ∈ (N ×
N) → (1st ‘𝑥) ∈ N) |
4 | 2, 3 | syl 17 |
. . . . 5
⊢ ((𝑥 ∈ Q ∧
𝑦 ∈ Q)
→ (1st ‘𝑥) ∈ N) |
5 | | elpqn 10681 |
. . . . . . 7
⊢ (𝑦 ∈ Q →
𝑦 ∈ (N
× N)) |
6 | 5 | adantl 482 |
. . . . . 6
⊢ ((𝑥 ∈ Q ∧
𝑦 ∈ Q)
→ 𝑦 ∈
(N × N)) |
7 | | xp2nd 7864 |
. . . . . 6
⊢ (𝑦 ∈ (N ×
N) → (2nd ‘𝑦) ∈ N) |
8 | 6, 7 | syl 17 |
. . . . 5
⊢ ((𝑥 ∈ Q ∧
𝑦 ∈ Q)
→ (2nd ‘𝑦) ∈ N) |
9 | | mulclpi 10649 |
. . . . 5
⊢
(((1st ‘𝑥) ∈ N ∧
(2nd ‘𝑦)
∈ N) → ((1st ‘𝑥) ·N
(2nd ‘𝑦))
∈ N) |
10 | 4, 8, 9 | syl2anc 584 |
. . . 4
⊢ ((𝑥 ∈ Q ∧
𝑦 ∈ Q)
→ ((1st ‘𝑥) ·N
(2nd ‘𝑦))
∈ N) |
11 | | xp1st 7863 |
. . . . . 6
⊢ (𝑦 ∈ (N ×
N) → (1st ‘𝑦) ∈ N) |
12 | 6, 11 | syl 17 |
. . . . 5
⊢ ((𝑥 ∈ Q ∧
𝑦 ∈ Q)
→ (1st ‘𝑦) ∈ N) |
13 | | xp2nd 7864 |
. . . . . 6
⊢ (𝑥 ∈ (N ×
N) → (2nd ‘𝑥) ∈ N) |
14 | 2, 13 | syl 17 |
. . . . 5
⊢ ((𝑥 ∈ Q ∧
𝑦 ∈ Q)
→ (2nd ‘𝑥) ∈ N) |
15 | | mulclpi 10649 |
. . . . 5
⊢
(((1st ‘𝑦) ∈ N ∧
(2nd ‘𝑥)
∈ N) → ((1st ‘𝑦) ·N
(2nd ‘𝑥))
∈ N) |
16 | 12, 14, 15 | syl2anc 584 |
. . . 4
⊢ ((𝑥 ∈ Q ∧
𝑦 ∈ Q)
→ ((1st ‘𝑦) ·N
(2nd ‘𝑥))
∈ N) |
17 | | ltsopi 10644 |
. . . . 5
⊢
<N Or N |
18 | | sotric 5531 |
. . . . 5
⊢ ((
<N Or N ∧ (((1st
‘𝑥)
·N (2nd ‘𝑦)) ∈ N ∧
((1st ‘𝑦)
·N (2nd ‘𝑥)) ∈ N)) →
(((1st ‘𝑥)
·N (2nd ‘𝑦)) <N
((1st ‘𝑦)
·N (2nd ‘𝑥)) ↔ ¬ (((1st
‘𝑥)
·N (2nd ‘𝑦)) = ((1st ‘𝑦)
·N (2nd ‘𝑥)) ∨ ((1st ‘𝑦)
·N (2nd ‘𝑥)) <N
((1st ‘𝑥)
·N (2nd ‘𝑦))))) |
19 | 17, 18 | mpan 687 |
. . . 4
⊢
((((1st ‘𝑥) ·N
(2nd ‘𝑦))
∈ N ∧ ((1st ‘𝑦) ·N
(2nd ‘𝑥))
∈ N) → (((1st ‘𝑥) ·N
(2nd ‘𝑦))
<N ((1st ‘𝑦) ·N
(2nd ‘𝑥))
↔ ¬ (((1st ‘𝑥) ·N
(2nd ‘𝑦))
= ((1st ‘𝑦) ·N
(2nd ‘𝑥))
∨ ((1st ‘𝑦) ·N
(2nd ‘𝑥))
<N ((1st ‘𝑥) ·N
(2nd ‘𝑦))))) |
20 | 10, 16, 19 | syl2anc 584 |
. . 3
⊢ ((𝑥 ∈ Q ∧
𝑦 ∈ Q)
→ (((1st ‘𝑥) ·N
(2nd ‘𝑦))
<N ((1st ‘𝑦) ·N
(2nd ‘𝑥))
↔ ¬ (((1st ‘𝑥) ·N
(2nd ‘𝑦))
= ((1st ‘𝑦) ·N
(2nd ‘𝑥))
∨ ((1st ‘𝑦) ·N
(2nd ‘𝑥))
<N ((1st ‘𝑥) ·N
(2nd ‘𝑦))))) |
21 | | ordpinq 10699 |
. . 3
⊢ ((𝑥 ∈ Q ∧
𝑦 ∈ Q)
→ (𝑥
<Q 𝑦 ↔ ((1st ‘𝑥)
·N (2nd ‘𝑦)) <N
((1st ‘𝑦)
·N (2nd ‘𝑥)))) |
22 | | fveq2 6774 |
. . . . . . 7
⊢ (𝑥 = 𝑦 → (1st ‘𝑥) = (1st ‘𝑦)) |
23 | | fveq2 6774 |
. . . . . . . 8
⊢ (𝑥 = 𝑦 → (2nd ‘𝑥) = (2nd ‘𝑦)) |
24 | 23 | eqcomd 2744 |
. . . . . . 7
⊢ (𝑥 = 𝑦 → (2nd ‘𝑦) = (2nd ‘𝑥)) |
25 | 22, 24 | oveq12d 7293 |
. . . . . 6
⊢ (𝑥 = 𝑦 → ((1st ‘𝑥)
·N (2nd ‘𝑦)) = ((1st ‘𝑦)
·N (2nd ‘𝑥))) |
26 | | enqbreq2 10676 |
. . . . . . . 8
⊢ ((𝑥 ∈ (N ×
N) ∧ 𝑦
∈ (N × N)) → (𝑥 ~Q 𝑦 ↔ ((1st
‘𝑥)
·N (2nd ‘𝑦)) = ((1st ‘𝑦)
·N (2nd ‘𝑥)))) |
27 | 1, 5, 26 | syl2an 596 |
. . . . . . 7
⊢ ((𝑥 ∈ Q ∧
𝑦 ∈ Q)
→ (𝑥
~Q 𝑦 ↔ ((1st ‘𝑥)
·N (2nd ‘𝑦)) = ((1st ‘𝑦)
·N (2nd ‘𝑥)))) |
28 | | enqeq 10690 |
. . . . . . . 8
⊢ ((𝑥 ∈ Q ∧
𝑦 ∈ Q
∧ 𝑥
~Q 𝑦) → 𝑥 = 𝑦) |
29 | 28 | 3expia 1120 |
. . . . . . 7
⊢ ((𝑥 ∈ Q ∧
𝑦 ∈ Q)
→ (𝑥
~Q 𝑦 → 𝑥 = 𝑦)) |
30 | 27, 29 | sylbird 259 |
. . . . . 6
⊢ ((𝑥 ∈ Q ∧
𝑦 ∈ Q)
→ (((1st ‘𝑥) ·N
(2nd ‘𝑦))
= ((1st ‘𝑦) ·N
(2nd ‘𝑥))
→ 𝑥 = 𝑦)) |
31 | 25, 30 | impbid2 225 |
. . . . 5
⊢ ((𝑥 ∈ Q ∧
𝑦 ∈ Q)
→ (𝑥 = 𝑦 ↔ ((1st
‘𝑥)
·N (2nd ‘𝑦)) = ((1st ‘𝑦)
·N (2nd ‘𝑥)))) |
32 | | ordpinq 10699 |
. . . . . 6
⊢ ((𝑦 ∈ Q ∧
𝑥 ∈ Q)
→ (𝑦
<Q 𝑥 ↔ ((1st ‘𝑦)
·N (2nd ‘𝑥)) <N
((1st ‘𝑥)
·N (2nd ‘𝑦)))) |
33 | 32 | ancoms 459 |
. . . . 5
⊢ ((𝑥 ∈ Q ∧
𝑦 ∈ Q)
→ (𝑦
<Q 𝑥 ↔ ((1st ‘𝑦)
·N (2nd ‘𝑥)) <N
((1st ‘𝑥)
·N (2nd ‘𝑦)))) |
34 | 31, 33 | orbi12d 916 |
. . . 4
⊢ ((𝑥 ∈ Q ∧
𝑦 ∈ Q)
→ ((𝑥 = 𝑦 ∨ 𝑦 <Q 𝑥) ↔ (((1st
‘𝑥)
·N (2nd ‘𝑦)) = ((1st ‘𝑦)
·N (2nd ‘𝑥)) ∨ ((1st ‘𝑦)
·N (2nd ‘𝑥)) <N
((1st ‘𝑥)
·N (2nd ‘𝑦))))) |
35 | 34 | notbid 318 |
. . 3
⊢ ((𝑥 ∈ Q ∧
𝑦 ∈ Q)
→ (¬ (𝑥 = 𝑦 ∨ 𝑦 <Q 𝑥) ↔ ¬ (((1st
‘𝑥)
·N (2nd ‘𝑦)) = ((1st ‘𝑦)
·N (2nd ‘𝑥)) ∨ ((1st ‘𝑦)
·N (2nd ‘𝑥)) <N
((1st ‘𝑥)
·N (2nd ‘𝑦))))) |
36 | 20, 21, 35 | 3bitr4d 311 |
. 2
⊢ ((𝑥 ∈ Q ∧
𝑦 ∈ Q)
→ (𝑥
<Q 𝑦 ↔ ¬ (𝑥 = 𝑦 ∨ 𝑦 <Q 𝑥))) |
37 | 21 | 3adant3 1131 |
. . . . . 6
⊢ ((𝑥 ∈ Q ∧
𝑦 ∈ Q
∧ 𝑧 ∈
Q) → (𝑥
<Q 𝑦 ↔ ((1st ‘𝑥)
·N (2nd ‘𝑦)) <N
((1st ‘𝑦)
·N (2nd ‘𝑥)))) |
38 | | elpqn 10681 |
. . . . . . . 8
⊢ (𝑧 ∈ Q →
𝑧 ∈ (N
× N)) |
39 | 38 | 3ad2ant3 1134 |
. . . . . . 7
⊢ ((𝑥 ∈ Q ∧
𝑦 ∈ Q
∧ 𝑧 ∈
Q) → 𝑧
∈ (N × N)) |
40 | | xp2nd 7864 |
. . . . . . 7
⊢ (𝑧 ∈ (N ×
N) → (2nd ‘𝑧) ∈ N) |
41 | | ltmpi 10660 |
. . . . . . 7
⊢
((2nd ‘𝑧) ∈ N →
(((1st ‘𝑥)
·N (2nd ‘𝑦)) <N
((1st ‘𝑦)
·N (2nd ‘𝑥)) ↔ ((2nd ‘𝑧)
·N ((1st ‘𝑥) ·N
(2nd ‘𝑦)))
<N ((2nd ‘𝑧) ·N
((1st ‘𝑦)
·N (2nd ‘𝑥))))) |
42 | 39, 40, 41 | 3syl 18 |
. . . . . 6
⊢ ((𝑥 ∈ Q ∧
𝑦 ∈ Q
∧ 𝑧 ∈
Q) → (((1st ‘𝑥) ·N
(2nd ‘𝑦))
<N ((1st ‘𝑦) ·N
(2nd ‘𝑥))
↔ ((2nd ‘𝑧) ·N
((1st ‘𝑥)
·N (2nd ‘𝑦))) <N
((2nd ‘𝑧)
·N ((1st ‘𝑦) ·N
(2nd ‘𝑥))))) |
43 | 37, 42 | bitrd 278 |
. . . . 5
⊢ ((𝑥 ∈ Q ∧
𝑦 ∈ Q
∧ 𝑧 ∈
Q) → (𝑥
<Q 𝑦 ↔ ((2nd ‘𝑧)
·N ((1st ‘𝑥) ·N
(2nd ‘𝑦)))
<N ((2nd ‘𝑧) ·N
((1st ‘𝑦)
·N (2nd ‘𝑥))))) |
44 | | ordpinq 10699 |
. . . . . . 7
⊢ ((𝑦 ∈ Q ∧
𝑧 ∈ Q)
→ (𝑦
<Q 𝑧 ↔ ((1st ‘𝑦)
·N (2nd ‘𝑧)) <N
((1st ‘𝑧)
·N (2nd ‘𝑦)))) |
45 | 44 | 3adant1 1129 |
. . . . . 6
⊢ ((𝑥 ∈ Q ∧
𝑦 ∈ Q
∧ 𝑧 ∈
Q) → (𝑦
<Q 𝑧 ↔ ((1st ‘𝑦)
·N (2nd ‘𝑧)) <N
((1st ‘𝑧)
·N (2nd ‘𝑦)))) |
46 | 1 | 3ad2ant1 1132 |
. . . . . . 7
⊢ ((𝑥 ∈ Q ∧
𝑦 ∈ Q
∧ 𝑧 ∈
Q) → 𝑥
∈ (N × N)) |
47 | | ltmpi 10660 |
. . . . . . 7
⊢
((2nd ‘𝑥) ∈ N →
(((1st ‘𝑦)
·N (2nd ‘𝑧)) <N
((1st ‘𝑧)
·N (2nd ‘𝑦)) ↔ ((2nd ‘𝑥)
·N ((1st ‘𝑦) ·N
(2nd ‘𝑧)))
<N ((2nd ‘𝑥) ·N
((1st ‘𝑧)
·N (2nd ‘𝑦))))) |
48 | 46, 13, 47 | 3syl 18 |
. . . . . 6
⊢ ((𝑥 ∈ Q ∧
𝑦 ∈ Q
∧ 𝑧 ∈
Q) → (((1st ‘𝑦) ·N
(2nd ‘𝑧))
<N ((1st ‘𝑧) ·N
(2nd ‘𝑦))
↔ ((2nd ‘𝑥) ·N
((1st ‘𝑦)
·N (2nd ‘𝑧))) <N
((2nd ‘𝑥)
·N ((1st ‘𝑧) ·N
(2nd ‘𝑦))))) |
49 | 45, 48 | bitrd 278 |
. . . . 5
⊢ ((𝑥 ∈ Q ∧
𝑦 ∈ Q
∧ 𝑧 ∈
Q) → (𝑦
<Q 𝑧 ↔ ((2nd ‘𝑥)
·N ((1st ‘𝑦) ·N
(2nd ‘𝑧)))
<N ((2nd ‘𝑥) ·N
((1st ‘𝑧)
·N (2nd ‘𝑦))))) |
50 | 43, 49 | anbi12d 631 |
. . . 4
⊢ ((𝑥 ∈ Q ∧
𝑦 ∈ Q
∧ 𝑧 ∈
Q) → ((𝑥
<Q 𝑦 ∧ 𝑦 <Q 𝑧) ↔ (((2nd
‘𝑧)
·N ((1st ‘𝑥) ·N
(2nd ‘𝑦)))
<N ((2nd ‘𝑧) ·N
((1st ‘𝑦)
·N (2nd ‘𝑥))) ∧ ((2nd ‘𝑥)
·N ((1st ‘𝑦) ·N
(2nd ‘𝑧)))
<N ((2nd ‘𝑥) ·N
((1st ‘𝑧)
·N (2nd ‘𝑦)))))) |
51 | | fvex 6787 |
. . . . . . 7
⊢
(2nd ‘𝑥) ∈ V |
52 | | fvex 6787 |
. . . . . . 7
⊢
(1st ‘𝑦) ∈ V |
53 | | fvex 6787 |
. . . . . . 7
⊢
(2nd ‘𝑧) ∈ V |
54 | | mulcompi 10652 |
. . . . . . 7
⊢ (𝑟
·N 𝑠) = (𝑠 ·N 𝑟) |
55 | | mulasspi 10653 |
. . . . . . 7
⊢ ((𝑟
·N 𝑠) ·N 𝑡) = (𝑟 ·N (𝑠
·N 𝑡)) |
56 | 51, 52, 53, 54, 55 | caov13 7502 |
. . . . . 6
⊢
((2nd ‘𝑥) ·N
((1st ‘𝑦)
·N (2nd ‘𝑧))) = ((2nd ‘𝑧)
·N ((1st ‘𝑦) ·N
(2nd ‘𝑥))) |
57 | | fvex 6787 |
. . . . . . 7
⊢
(1st ‘𝑧) ∈ V |
58 | | fvex 6787 |
. . . . . . 7
⊢
(2nd ‘𝑦) ∈ V |
59 | 51, 57, 58, 54, 55 | caov13 7502 |
. . . . . 6
⊢
((2nd ‘𝑥) ·N
((1st ‘𝑧)
·N (2nd ‘𝑦))) = ((2nd ‘𝑦)
·N ((1st ‘𝑧) ·N
(2nd ‘𝑥))) |
60 | 56, 59 | breq12i 5083 |
. . . . 5
⊢
(((2nd ‘𝑥) ·N
((1st ‘𝑦)
·N (2nd ‘𝑧))) <N
((2nd ‘𝑥)
·N ((1st ‘𝑧) ·N
(2nd ‘𝑦)))
↔ ((2nd ‘𝑧) ·N
((1st ‘𝑦)
·N (2nd ‘𝑥))) <N
((2nd ‘𝑦)
·N ((1st ‘𝑧) ·N
(2nd ‘𝑥)))) |
61 | | fvex 6787 |
. . . . . . 7
⊢
(1st ‘𝑥) ∈ V |
62 | 53, 61, 58, 54, 55 | caov13 7502 |
. . . . . 6
⊢
((2nd ‘𝑧) ·N
((1st ‘𝑥)
·N (2nd ‘𝑦))) = ((2nd ‘𝑦)
·N ((1st ‘𝑥) ·N
(2nd ‘𝑧))) |
63 | | ltrelpi 10645 |
. . . . . . 7
⊢
<N ⊆ (N ×
N) |
64 | 17, 63 | sotri 6032 |
. . . . . 6
⊢
((((2nd ‘𝑧) ·N
((1st ‘𝑥)
·N (2nd ‘𝑦))) <N
((2nd ‘𝑧)
·N ((1st ‘𝑦) ·N
(2nd ‘𝑥)))
∧ ((2nd ‘𝑧) ·N
((1st ‘𝑦)
·N (2nd ‘𝑥))) <N
((2nd ‘𝑦)
·N ((1st ‘𝑧) ·N
(2nd ‘𝑥)))) → ((2nd ‘𝑧)
·N ((1st ‘𝑥) ·N
(2nd ‘𝑦)))
<N ((2nd ‘𝑦) ·N
((1st ‘𝑧)
·N (2nd ‘𝑥)))) |
65 | 62, 64 | eqbrtrrid 5110 |
. . . . 5
⊢
((((2nd ‘𝑧) ·N
((1st ‘𝑥)
·N (2nd ‘𝑦))) <N
((2nd ‘𝑧)
·N ((1st ‘𝑦) ·N
(2nd ‘𝑥)))
∧ ((2nd ‘𝑧) ·N
((1st ‘𝑦)
·N (2nd ‘𝑥))) <N
((2nd ‘𝑦)
·N ((1st ‘𝑧) ·N
(2nd ‘𝑥)))) → ((2nd ‘𝑦)
·N ((1st ‘𝑥) ·N
(2nd ‘𝑧)))
<N ((2nd ‘𝑦) ·N
((1st ‘𝑧)
·N (2nd ‘𝑥)))) |
66 | 60, 65 | sylan2b 594 |
. . . 4
⊢
((((2nd ‘𝑧) ·N
((1st ‘𝑥)
·N (2nd ‘𝑦))) <N
((2nd ‘𝑧)
·N ((1st ‘𝑦) ·N
(2nd ‘𝑥)))
∧ ((2nd ‘𝑥) ·N
((1st ‘𝑦)
·N (2nd ‘𝑧))) <N
((2nd ‘𝑥)
·N ((1st ‘𝑧) ·N
(2nd ‘𝑦)))) → ((2nd ‘𝑦)
·N ((1st ‘𝑥) ·N
(2nd ‘𝑧)))
<N ((2nd ‘𝑦) ·N
((1st ‘𝑧)
·N (2nd ‘𝑥)))) |
67 | 50, 66 | syl6bi 252 |
. . 3
⊢ ((𝑥 ∈ Q ∧
𝑦 ∈ Q
∧ 𝑧 ∈
Q) → ((𝑥
<Q 𝑦 ∧ 𝑦 <Q 𝑧) → ((2nd
‘𝑦)
·N ((1st ‘𝑥) ·N
(2nd ‘𝑧)))
<N ((2nd ‘𝑦) ·N
((1st ‘𝑧)
·N (2nd ‘𝑥))))) |
68 | | ordpinq 10699 |
. . . . 5
⊢ ((𝑥 ∈ Q ∧
𝑧 ∈ Q)
→ (𝑥
<Q 𝑧 ↔ ((1st ‘𝑥)
·N (2nd ‘𝑧)) <N
((1st ‘𝑧)
·N (2nd ‘𝑥)))) |
69 | 68 | 3adant2 1130 |
. . . 4
⊢ ((𝑥 ∈ Q ∧
𝑦 ∈ Q
∧ 𝑧 ∈
Q) → (𝑥
<Q 𝑧 ↔ ((1st ‘𝑥)
·N (2nd ‘𝑧)) <N
((1st ‘𝑧)
·N (2nd ‘𝑥)))) |
70 | 5 | 3ad2ant2 1133 |
. . . . 5
⊢ ((𝑥 ∈ Q ∧
𝑦 ∈ Q
∧ 𝑧 ∈
Q) → 𝑦
∈ (N × N)) |
71 | | ltmpi 10660 |
. . . . 5
⊢
((2nd ‘𝑦) ∈ N →
(((1st ‘𝑥)
·N (2nd ‘𝑧)) <N
((1st ‘𝑧)
·N (2nd ‘𝑥)) ↔ ((2nd ‘𝑦)
·N ((1st ‘𝑥) ·N
(2nd ‘𝑧)))
<N ((2nd ‘𝑦) ·N
((1st ‘𝑧)
·N (2nd ‘𝑥))))) |
72 | 70, 7, 71 | 3syl 18 |
. . . 4
⊢ ((𝑥 ∈ Q ∧
𝑦 ∈ Q
∧ 𝑧 ∈
Q) → (((1st ‘𝑥) ·N
(2nd ‘𝑧))
<N ((1st ‘𝑧) ·N
(2nd ‘𝑥))
↔ ((2nd ‘𝑦) ·N
((1st ‘𝑥)
·N (2nd ‘𝑧))) <N
((2nd ‘𝑦)
·N ((1st ‘𝑧) ·N
(2nd ‘𝑥))))) |
73 | 69, 72 | bitrd 278 |
. . 3
⊢ ((𝑥 ∈ Q ∧
𝑦 ∈ Q
∧ 𝑧 ∈
Q) → (𝑥
<Q 𝑧 ↔ ((2nd ‘𝑦)
·N ((1st ‘𝑥) ·N
(2nd ‘𝑧)))
<N ((2nd ‘𝑦) ·N
((1st ‘𝑧)
·N (2nd ‘𝑥))))) |
74 | 67, 73 | sylibrd 258 |
. 2
⊢ ((𝑥 ∈ Q ∧
𝑦 ∈ Q
∧ 𝑧 ∈
Q) → ((𝑥
<Q 𝑦 ∧ 𝑦 <Q 𝑧) → 𝑥 <Q 𝑧)) |
75 | 36, 74 | isso2i 5538 |
1
⊢
<Q Or Q |