Step | Hyp | Ref
| Expression |
1 | | ltaprlem 7559 |
. . 3
⊢ (𝐶 ∈ P →
(𝐴<P 𝐵 → (𝐶 +P 𝐴)<P
(𝐶
+P 𝐵))) |
2 | 1 | 3ad2ant3 1010 |
. 2
⊢ ((𝐴 ∈ P ∧
𝐵 ∈ P
∧ 𝐶 ∈
P) → (𝐴<P 𝐵 → (𝐶 +P 𝐴)<P
(𝐶
+P 𝐵))) |
3 | | ltexpri 7554 |
. . . . 5
⊢ ((𝐶 +P
𝐴)<P (𝐶 +P
𝐵) → ∃𝑥 ∈ P ((𝐶 +P
𝐴)
+P 𝑥) = (𝐶 +P 𝐵)) |
4 | 3 | adantl 275 |
. . . 4
⊢ (((𝐴 ∈ P ∧
𝐵 ∈ P
∧ 𝐶 ∈
P) ∧ (𝐶
+P 𝐴)<P (𝐶 +P
𝐵)) → ∃𝑥 ∈ P ((𝐶 +P
𝐴)
+P 𝑥) = (𝐶 +P 𝐵)) |
5 | | simpl1 990 |
. . . . . . 7
⊢ (((𝐴 ∈ P ∧
𝐵 ∈ P
∧ 𝐶 ∈
P) ∧ (𝑥
∈ P ∧ ((𝐶 +P 𝐴) +P
𝑥) = (𝐶 +P 𝐵))) → 𝐴 ∈ P) |
6 | | simprl 521 |
. . . . . . 7
⊢ (((𝐴 ∈ P ∧
𝐵 ∈ P
∧ 𝐶 ∈
P) ∧ (𝑥
∈ P ∧ ((𝐶 +P 𝐴) +P
𝑥) = (𝐶 +P 𝐵))) → 𝑥 ∈ P) |
7 | | ltaddpr 7538 |
. . . . . . 7
⊢ ((𝐴 ∈ P ∧
𝑥 ∈ P)
→ 𝐴<P (𝐴 +P
𝑥)) |
8 | 5, 6, 7 | syl2anc 409 |
. . . . . 6
⊢ (((𝐴 ∈ P ∧
𝐵 ∈ P
∧ 𝐶 ∈
P) ∧ (𝑥
∈ P ∧ ((𝐶 +P 𝐴) +P
𝑥) = (𝐶 +P 𝐵))) → 𝐴<P (𝐴 +P
𝑥)) |
9 | | addassprg 7520 |
. . . . . . . . . . . 12
⊢ ((𝐶 ∈ P ∧
𝐴 ∈ P
∧ 𝑥 ∈
P) → ((𝐶
+P 𝐴) +P 𝑥) = (𝐶 +P (𝐴 +P
𝑥))) |
10 | 9 | 3com12 1197 |
. . . . . . . . . . 11
⊢ ((𝐴 ∈ P ∧
𝐶 ∈ P
∧ 𝑥 ∈
P) → ((𝐶
+P 𝐴) +P 𝑥) = (𝐶 +P (𝐴 +P
𝑥))) |
11 | 10 | 3expa 1193 |
. . . . . . . . . 10
⊢ (((𝐴 ∈ P ∧
𝐶 ∈ P)
∧ 𝑥 ∈
P) → ((𝐶
+P 𝐴) +P 𝑥) = (𝐶 +P (𝐴 +P
𝑥))) |
12 | 11 | adantrr 471 |
. . . . . . . . 9
⊢ (((𝐴 ∈ P ∧
𝐶 ∈ P)
∧ (𝑥 ∈
P ∧ ((𝐶
+P 𝐴) +P 𝑥) = (𝐶 +P 𝐵))) → ((𝐶 +P 𝐴) +P
𝑥) = (𝐶 +P (𝐴 +P
𝑥))) |
13 | | simprr 522 |
. . . . . . . . 9
⊢ (((𝐴 ∈ P ∧
𝐶 ∈ P)
∧ (𝑥 ∈
P ∧ ((𝐶
+P 𝐴) +P 𝑥) = (𝐶 +P 𝐵))) → ((𝐶 +P 𝐴) +P
𝑥) = (𝐶 +P 𝐵)) |
14 | 12, 13 | eqtr3d 2200 |
. . . . . . . 8
⊢ (((𝐴 ∈ P ∧
𝐶 ∈ P)
∧ (𝑥 ∈
P ∧ ((𝐶
+P 𝐴) +P 𝑥) = (𝐶 +P 𝐵))) → (𝐶 +P (𝐴 +P
𝑥)) = (𝐶 +P 𝐵)) |
15 | 14 | 3adantl2 1144 |
. . . . . . 7
⊢ (((𝐴 ∈ P ∧
𝐵 ∈ P
∧ 𝐶 ∈
P) ∧ (𝑥
∈ P ∧ ((𝐶 +P 𝐴) +P
𝑥) = (𝐶 +P 𝐵))) → (𝐶 +P (𝐴 +P
𝑥)) = (𝐶 +P 𝐵)) |
16 | | simpl3 992 |
. . . . . . . 8
⊢ (((𝐴 ∈ P ∧
𝐵 ∈ P
∧ 𝐶 ∈
P) ∧ (𝑥
∈ P ∧ ((𝐶 +P 𝐴) +P
𝑥) = (𝐶 +P 𝐵))) → 𝐶 ∈ P) |
17 | | addclpr 7478 |
. . . . . . . . 9
⊢ ((𝐴 ∈ P ∧
𝑥 ∈ P)
→ (𝐴
+P 𝑥) ∈ P) |
18 | 5, 6, 17 | syl2anc 409 |
. . . . . . . 8
⊢ (((𝐴 ∈ P ∧
𝐵 ∈ P
∧ 𝐶 ∈
P) ∧ (𝑥
∈ P ∧ ((𝐶 +P 𝐴) +P
𝑥) = (𝐶 +P 𝐵))) → (𝐴 +P 𝑥) ∈
P) |
19 | | simpl2 991 |
. . . . . . . 8
⊢ (((𝐴 ∈ P ∧
𝐵 ∈ P
∧ 𝐶 ∈
P) ∧ (𝑥
∈ P ∧ ((𝐶 +P 𝐴) +P
𝑥) = (𝐶 +P 𝐵))) → 𝐵 ∈ P) |
20 | | addcanprg 7557 |
. . . . . . . 8
⊢ ((𝐶 ∈ P ∧
(𝐴
+P 𝑥) ∈ P ∧ 𝐵 ∈ P) →
((𝐶
+P (𝐴 +P 𝑥)) = (𝐶 +P 𝐵) → (𝐴 +P 𝑥) = 𝐵)) |
21 | 16, 18, 19, 20 | syl3anc 1228 |
. . . . . . 7
⊢ (((𝐴 ∈ P ∧
𝐵 ∈ P
∧ 𝐶 ∈
P) ∧ (𝑥
∈ P ∧ ((𝐶 +P 𝐴) +P
𝑥) = (𝐶 +P 𝐵))) → ((𝐶 +P (𝐴 +P
𝑥)) = (𝐶 +P 𝐵) → (𝐴 +P 𝑥) = 𝐵)) |
22 | 15, 21 | mpd 13 |
. . . . . 6
⊢ (((𝐴 ∈ P ∧
𝐵 ∈ P
∧ 𝐶 ∈
P) ∧ (𝑥
∈ P ∧ ((𝐶 +P 𝐴) +P
𝑥) = (𝐶 +P 𝐵))) → (𝐴 +P 𝑥) = 𝐵) |
23 | 8, 22 | breqtrd 4008 |
. . . . 5
⊢ (((𝐴 ∈ P ∧
𝐵 ∈ P
∧ 𝐶 ∈
P) ∧ (𝑥
∈ P ∧ ((𝐶 +P 𝐴) +P
𝑥) = (𝐶 +P 𝐵))) → 𝐴<P 𝐵) |
24 | 23 | adantlr 469 |
. . . 4
⊢ ((((𝐴 ∈ P ∧
𝐵 ∈ P
∧ 𝐶 ∈
P) ∧ (𝐶
+P 𝐴)<P (𝐶 +P
𝐵)) ∧ (𝑥 ∈ P ∧
((𝐶
+P 𝐴) +P 𝑥) = (𝐶 +P 𝐵))) → 𝐴<P 𝐵) |
25 | 4, 24 | rexlimddv 2588 |
. . 3
⊢ (((𝐴 ∈ P ∧
𝐵 ∈ P
∧ 𝐶 ∈
P) ∧ (𝐶
+P 𝐴)<P (𝐶 +P
𝐵)) → 𝐴<P
𝐵) |
26 | 25 | ex 114 |
. 2
⊢ ((𝐴 ∈ P ∧
𝐵 ∈ P
∧ 𝐶 ∈
P) → ((𝐶
+P 𝐴)<P (𝐶 +P
𝐵) → 𝐴<P 𝐵)) |
27 | 2, 26 | impbid 128 |
1
⊢ ((𝐴 ∈ P ∧
𝐵 ∈ P
∧ 𝐶 ∈
P) → (𝐴<P 𝐵 ↔ (𝐶 +P 𝐴)<P
(𝐶
+P 𝐵))) |