Proof of Theorem ltapr
Step | Hyp | Ref
| Expression |
1 | | dmplp 10699 |
. 2
⊢ dom
+P = (P ×
P) |
2 | | ltrelpr 10685 |
. 2
⊢
<P ⊆ (P ×
P) |
3 | | 0npr 10679 |
. 2
⊢ ¬
∅ ∈ P |
4 | | ltaprlem 10731 |
. . . . . 6
⊢ (𝐶 ∈ P →
(𝐴<P 𝐵 → (𝐶 +P 𝐴)<P
(𝐶
+P 𝐵))) |
5 | 4 | adantr 480 |
. . . . 5
⊢ ((𝐶 ∈ P ∧
(𝐵 ∈ P
∧ 𝐴 ∈
P)) → (𝐴<P 𝐵 → (𝐶 +P 𝐴)<P
(𝐶
+P 𝐵))) |
6 | | olc 864 |
. . . . . . . . 9
⊢ ((𝐶 +P
𝐴)<P (𝐶 +P
𝐵) → ((𝐶 +P
𝐵) = (𝐶 +P 𝐴) ∨ (𝐶 +P 𝐴)<P
(𝐶
+P 𝐵))) |
7 | | ltaprlem 10731 |
. . . . . . . . . . . 12
⊢ (𝐶 ∈ P →
(𝐵<P 𝐴 → (𝐶 +P 𝐵)<P
(𝐶
+P 𝐴))) |
8 | 7 | adantr 480 |
. . . . . . . . . . 11
⊢ ((𝐶 ∈ P ∧
(𝐵 ∈ P
∧ 𝐴 ∈
P)) → (𝐵<P 𝐴 → (𝐶 +P 𝐵)<P
(𝐶
+P 𝐴))) |
9 | | ltsopr 10719 |
. . . . . . . . . . . . 13
⊢
<P Or P |
10 | | sotric 5522 |
. . . . . . . . . . . . 13
⊢
((<P Or P ∧ (𝐵 ∈ P ∧
𝐴 ∈ P))
→ (𝐵<P 𝐴 ↔ ¬ (𝐵 = 𝐴 ∨ 𝐴<P 𝐵))) |
11 | 9, 10 | mpan 686 |
. . . . . . . . . . . 12
⊢ ((𝐵 ∈ P ∧
𝐴 ∈ P)
→ (𝐵<P 𝐴 ↔ ¬ (𝐵 = 𝐴 ∨ 𝐴<P 𝐵))) |
12 | 11 | adantl 481 |
. . . . . . . . . . 11
⊢ ((𝐶 ∈ P ∧
(𝐵 ∈ P
∧ 𝐴 ∈
P)) → (𝐵<P 𝐴 ↔ ¬ (𝐵 = 𝐴 ∨ 𝐴<P 𝐵))) |
13 | | addclpr 10705 |
. . . . . . . . . . . . 13
⊢ ((𝐶 ∈ P ∧
𝐵 ∈ P)
→ (𝐶
+P 𝐵) ∈ P) |
14 | | addclpr 10705 |
. . . . . . . . . . . . 13
⊢ ((𝐶 ∈ P ∧
𝐴 ∈ P)
→ (𝐶
+P 𝐴) ∈ P) |
15 | 13, 14 | anim12dan 618 |
. . . . . . . . . . . 12
⊢ ((𝐶 ∈ P ∧
(𝐵 ∈ P
∧ 𝐴 ∈
P)) → ((𝐶 +P 𝐵) ∈ P ∧
(𝐶
+P 𝐴) ∈ P)) |
16 | | sotric 5522 |
. . . . . . . . . . . 12
⊢
((<P Or P ∧ ((𝐶 +P
𝐵) ∈ P
∧ (𝐶
+P 𝐴) ∈ P)) → ((𝐶 +P
𝐵)<P (𝐶 +P
𝐴) ↔ ¬ ((𝐶 +P
𝐵) = (𝐶 +P 𝐴) ∨ (𝐶 +P 𝐴)<P
(𝐶
+P 𝐵)))) |
17 | 9, 15, 16 | sylancr 586 |
. . . . . . . . . . 11
⊢ ((𝐶 ∈ P ∧
(𝐵 ∈ P
∧ 𝐴 ∈
P)) → ((𝐶 +P 𝐵)<P
(𝐶
+P 𝐴) ↔ ¬ ((𝐶 +P 𝐵) = (𝐶 +P 𝐴) ∨ (𝐶 +P 𝐴)<P
(𝐶
+P 𝐵)))) |
18 | 8, 12, 17 | 3imtr3d 292 |
. . . . . . . . . 10
⊢ ((𝐶 ∈ P ∧
(𝐵 ∈ P
∧ 𝐴 ∈
P)) → (¬ (𝐵 = 𝐴 ∨ 𝐴<P 𝐵) → ¬ ((𝐶 +P
𝐵) = (𝐶 +P 𝐴) ∨ (𝐶 +P 𝐴)<P
(𝐶
+P 𝐵)))) |
19 | 18 | con4d 115 |
. . . . . . . . 9
⊢ ((𝐶 ∈ P ∧
(𝐵 ∈ P
∧ 𝐴 ∈
P)) → (((𝐶 +P 𝐵) = (𝐶 +P 𝐴) ∨ (𝐶 +P 𝐴)<P
(𝐶
+P 𝐵)) → (𝐵 = 𝐴 ∨ 𝐴<P 𝐵))) |
20 | 6, 19 | syl5 34 |
. . . . . . . 8
⊢ ((𝐶 ∈ P ∧
(𝐵 ∈ P
∧ 𝐴 ∈
P)) → ((𝐶 +P 𝐴)<P
(𝐶
+P 𝐵) → (𝐵 = 𝐴 ∨ 𝐴<P 𝐵))) |
21 | | df-or 844 |
. . . . . . . 8
⊢ ((𝐵 = 𝐴 ∨ 𝐴<P 𝐵) ↔ (¬ 𝐵 = 𝐴 → 𝐴<P 𝐵)) |
22 | 20, 21 | syl6ib 250 |
. . . . . . 7
⊢ ((𝐶 ∈ P ∧
(𝐵 ∈ P
∧ 𝐴 ∈
P)) → ((𝐶 +P 𝐴)<P
(𝐶
+P 𝐵) → (¬ 𝐵 = 𝐴 → 𝐴<P 𝐵))) |
23 | 22 | com23 86 |
. . . . . 6
⊢ ((𝐶 ∈ P ∧
(𝐵 ∈ P
∧ 𝐴 ∈
P)) → (¬ 𝐵 = 𝐴 → ((𝐶 +P 𝐴)<P
(𝐶
+P 𝐵) → 𝐴<P 𝐵))) |
24 | 9, 2 | soirri 6020 |
. . . . . . . 8
⊢ ¬
(𝐶
+P 𝐴)<P (𝐶 +P
𝐴) |
25 | | oveq2 7263 |
. . . . . . . . 9
⊢ (𝐵 = 𝐴 → (𝐶 +P 𝐵) = (𝐶 +P 𝐴)) |
26 | 25 | breq2d 5082 |
. . . . . . . 8
⊢ (𝐵 = 𝐴 → ((𝐶 +P 𝐴)<P
(𝐶
+P 𝐵) ↔ (𝐶 +P 𝐴)<P
(𝐶
+P 𝐴))) |
27 | 24, 26 | mtbiri 326 |
. . . . . . 7
⊢ (𝐵 = 𝐴 → ¬ (𝐶 +P 𝐴)<P
(𝐶
+P 𝐵)) |
28 | 27 | pm2.21d 121 |
. . . . . 6
⊢ (𝐵 = 𝐴 → ((𝐶 +P 𝐴)<P
(𝐶
+P 𝐵) → 𝐴<P 𝐵)) |
29 | 23, 28 | pm2.61d2 181 |
. . . . 5
⊢ ((𝐶 ∈ P ∧
(𝐵 ∈ P
∧ 𝐴 ∈
P)) → ((𝐶 +P 𝐴)<P
(𝐶
+P 𝐵) → 𝐴<P 𝐵)) |
30 | 5, 29 | impbid 211 |
. . . 4
⊢ ((𝐶 ∈ P ∧
(𝐵 ∈ P
∧ 𝐴 ∈
P)) → (𝐴<P 𝐵 ↔ (𝐶 +P 𝐴)<P
(𝐶
+P 𝐵))) |
31 | 30 | 3impb 1113 |
. . 3
⊢ ((𝐶 ∈ P ∧
𝐵 ∈ P
∧ 𝐴 ∈
P) → (𝐴<P 𝐵 ↔ (𝐶 +P 𝐴)<P
(𝐶
+P 𝐵))) |
32 | 31 | 3com13 1122 |
. 2
⊢ ((𝐴 ∈ P ∧
𝐵 ∈ P
∧ 𝐶 ∈
P) → (𝐴<P 𝐵 ↔ (𝐶 +P 𝐴)<P
(𝐶
+P 𝐵))) |
33 | 1, 2, 3, 32 | ndmovord 7440 |
1
⊢ (𝐶 ∈ P →
(𝐴<P 𝐵 ↔ (𝐶 +P 𝐴)<P
(𝐶
+P 𝐵))) |