Proof of Theorem ltapr
Step | Hyp | Ref
| Expression |
1 | | dmplp 10768 |
. 2
⊢ dom
+P = (P ×
P) |
2 | | ltrelpr 10754 |
. 2
⊢
<P ⊆ (P ×
P) |
3 | | 0npr 10748 |
. 2
⊢ ¬
∅ ∈ P |
4 | | ltaprlem 10800 |
. . . . . 6
⊢ (𝐶 ∈ P →
(𝐴<P 𝐵 → (𝐶 +P 𝐴)<P
(𝐶
+P 𝐵))) |
5 | 4 | adantr 481 |
. . . . 5
⊢ ((𝐶 ∈ P ∧
(𝐵 ∈ P
∧ 𝐴 ∈
P)) → (𝐴<P 𝐵 → (𝐶 +P 𝐴)<P
(𝐶
+P 𝐵))) |
6 | | olc 865 |
. . . . . . . . 9
⊢ ((𝐶 +P
𝐴)<P (𝐶 +P
𝐵) → ((𝐶 +P
𝐵) = (𝐶 +P 𝐴) ∨ (𝐶 +P 𝐴)<P
(𝐶
+P 𝐵))) |
7 | | ltaprlem 10800 |
. . . . . . . . . . . 12
⊢ (𝐶 ∈ P →
(𝐵<P 𝐴 → (𝐶 +P 𝐵)<P
(𝐶
+P 𝐴))) |
8 | 7 | adantr 481 |
. . . . . . . . . . 11
⊢ ((𝐶 ∈ P ∧
(𝐵 ∈ P
∧ 𝐴 ∈
P)) → (𝐵<P 𝐴 → (𝐶 +P 𝐵)<P
(𝐶
+P 𝐴))) |
9 | | ltsopr 10788 |
. . . . . . . . . . . . 13
⊢
<P Or P |
10 | | sotric 5531 |
. . . . . . . . . . . . 13
⊢
((<P Or P ∧ (𝐵 ∈ P ∧
𝐴 ∈ P))
→ (𝐵<P 𝐴 ↔ ¬ (𝐵 = 𝐴 ∨ 𝐴<P 𝐵))) |
11 | 9, 10 | mpan 687 |
. . . . . . . . . . . 12
⊢ ((𝐵 ∈ P ∧
𝐴 ∈ P)
→ (𝐵<P 𝐴 ↔ ¬ (𝐵 = 𝐴 ∨ 𝐴<P 𝐵))) |
12 | 11 | adantl 482 |
. . . . . . . . . . 11
⊢ ((𝐶 ∈ P ∧
(𝐵 ∈ P
∧ 𝐴 ∈
P)) → (𝐵<P 𝐴 ↔ ¬ (𝐵 = 𝐴 ∨ 𝐴<P 𝐵))) |
13 | | addclpr 10774 |
. . . . . . . . . . . . 13
⊢ ((𝐶 ∈ P ∧
𝐵 ∈ P)
→ (𝐶
+P 𝐵) ∈ P) |
14 | | addclpr 10774 |
. . . . . . . . . . . . 13
⊢ ((𝐶 ∈ P ∧
𝐴 ∈ P)
→ (𝐶
+P 𝐴) ∈ P) |
15 | 13, 14 | anim12dan 619 |
. . . . . . . . . . . 12
⊢ ((𝐶 ∈ P ∧
(𝐵 ∈ P
∧ 𝐴 ∈
P)) → ((𝐶 +P 𝐵) ∈ P ∧
(𝐶
+P 𝐴) ∈ P)) |
16 | | sotric 5531 |
. . . . . . . . . . . 12
⊢
((<P Or P ∧ ((𝐶 +P
𝐵) ∈ P
∧ (𝐶
+P 𝐴) ∈ P)) → ((𝐶 +P
𝐵)<P (𝐶 +P
𝐴) ↔ ¬ ((𝐶 +P
𝐵) = (𝐶 +P 𝐴) ∨ (𝐶 +P 𝐴)<P
(𝐶
+P 𝐵)))) |
17 | 9, 15, 16 | sylancr 587 |
. . . . . . . . . . 11
⊢ ((𝐶 ∈ P ∧
(𝐵 ∈ P
∧ 𝐴 ∈
P)) → ((𝐶 +P 𝐵)<P
(𝐶
+P 𝐴) ↔ ¬ ((𝐶 +P 𝐵) = (𝐶 +P 𝐴) ∨ (𝐶 +P 𝐴)<P
(𝐶
+P 𝐵)))) |
18 | 8, 12, 17 | 3imtr3d 293 |
. . . . . . . . . 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 845 |
. . . . . . . 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 6031 |
. . . . . . . 8
⊢ ¬
(𝐶
+P 𝐴)<P (𝐶 +P
𝐴) |
25 | | oveq2 7283 |
. . . . . . . . 9
⊢ (𝐵 = 𝐴 → (𝐶 +P 𝐵) = (𝐶 +P 𝐴)) |
26 | 25 | breq2d 5086 |
. . . . . . . 8
⊢ (𝐵 = 𝐴 → ((𝐶 +P 𝐴)<P
(𝐶
+P 𝐵) ↔ (𝐶 +P 𝐴)<P
(𝐶
+P 𝐴))) |
27 | 24, 26 | mtbiri 327 |
. . . . . . 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 1114 |
. . 3
⊢ ((𝐶 ∈ P ∧
𝐵 ∈ P
∧ 𝐴 ∈
P) → (𝐴<P 𝐵 ↔ (𝐶 +P 𝐴)<P
(𝐶
+P 𝐵))) |
32 | 31 | 3com13 1123 |
. 2
⊢ ((𝐴 ∈ P ∧
𝐵 ∈ P
∧ 𝐶 ∈
P) → (𝐴<P 𝐵 ↔ (𝐶 +P 𝐴)<P
(𝐶
+P 𝐵))) |
33 | 1, 2, 3, 32 | ndmovord 7462 |
1
⊢ (𝐶 ∈ P →
(𝐴<P 𝐵 ↔ (𝐶 +P 𝐴)<P
(𝐶
+P 𝐵))) |