Step | Hyp | Ref
| Expression |
1 | | ltaprlem 7580 |
. . 3
⊢ (𝐶 ∈ P →
(𝐴<P 𝐵 → (𝐶 +P 𝐴)<P
(𝐶
+P 𝐵))) |
2 | 1 | 3ad2ant3 1015 |
. 2
⊢ ((𝐴 ∈ P ∧
𝐵 ∈ P
∧ 𝐶 ∈
P) → (𝐴<P 𝐵 → (𝐶 +P 𝐴)<P
(𝐶
+P 𝐵))) |
3 | | ltexpri 7575 |
. . . . 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 995 |
. . . . . . 7
⊢ (((𝐴 ∈ P ∧
𝐵 ∈ P
∧ 𝐶 ∈
P) ∧ (𝑥
∈ P ∧ ((𝐶 +P 𝐴) +P
𝑥) = (𝐶 +P 𝐵))) → 𝐴 ∈ P) |
6 | | simprl 526 |
. . . . . . 7
⊢ (((𝐴 ∈ P ∧
𝐵 ∈ P
∧ 𝐶 ∈
P) ∧ (𝑥
∈ P ∧ ((𝐶 +P 𝐴) +P
𝑥) = (𝐶 +P 𝐵))) → 𝑥 ∈ P) |
7 | | ltaddpr 7559 |
. . . . . . 7
⊢ ((𝐴 ∈ P ∧
𝑥 ∈ P)
→ 𝐴<P (𝐴 +P
𝑥)) |
8 | 5, 6, 7 | syl2anc 409 |
. . . . . 6
⊢ (((𝐴 ∈ P ∧
𝐵 ∈ P
∧ 𝐶 ∈
P) ∧ (𝑥
∈ P ∧ ((𝐶 +P 𝐴) +P
𝑥) = (𝐶 +P 𝐵))) → 𝐴<P (𝐴 +P
𝑥)) |
9 | | addassprg 7541 |
. . . . . . . . . . . 12
⊢ ((𝐶 ∈ P ∧
𝐴 ∈ P
∧ 𝑥 ∈
P) → ((𝐶
+P 𝐴) +P 𝑥) = (𝐶 +P (𝐴 +P
𝑥))) |
10 | 9 | 3com12 1202 |
. . . . . . . . . . 11
⊢ ((𝐴 ∈ P ∧
𝐶 ∈ P
∧ 𝑥 ∈
P) → ((𝐶
+P 𝐴) +P 𝑥) = (𝐶 +P (𝐴 +P
𝑥))) |
11 | 10 | 3expa 1198 |
. . . . . . . . . 10
⊢ (((𝐴 ∈ P ∧
𝐶 ∈ P)
∧ 𝑥 ∈
P) → ((𝐶
+P 𝐴) +P 𝑥) = (𝐶 +P (𝐴 +P
𝑥))) |
12 | 11 | adantrr 476 |
. . . . . . . . 9
⊢ (((𝐴 ∈ P ∧
𝐶 ∈ P)
∧ (𝑥 ∈
P ∧ ((𝐶
+P 𝐴) +P 𝑥) = (𝐶 +P 𝐵))) → ((𝐶 +P 𝐴) +P
𝑥) = (𝐶 +P (𝐴 +P
𝑥))) |
13 | | simprr 527 |
. . . . . . . . 9
⊢ (((𝐴 ∈ P ∧
𝐶 ∈ P)
∧ (𝑥 ∈
P ∧ ((𝐶
+P 𝐴) +P 𝑥) = (𝐶 +P 𝐵))) → ((𝐶 +P 𝐴) +P
𝑥) = (𝐶 +P 𝐵)) |
14 | 12, 13 | eqtr3d 2205 |
. . . . . . . 8
⊢ (((𝐴 ∈ P ∧
𝐶 ∈ P)
∧ (𝑥 ∈
P ∧ ((𝐶
+P 𝐴) +P 𝑥) = (𝐶 +P 𝐵))) → (𝐶 +P (𝐴 +P
𝑥)) = (𝐶 +P 𝐵)) |
15 | 14 | 3adantl2 1149 |
. . . . . . 7
⊢ (((𝐴 ∈ P ∧
𝐵 ∈ P
∧ 𝐶 ∈
P) ∧ (𝑥
∈ P ∧ ((𝐶 +P 𝐴) +P
𝑥) = (𝐶 +P 𝐵))) → (𝐶 +P (𝐴 +P
𝑥)) = (𝐶 +P 𝐵)) |
16 | | simpl3 997 |
. . . . . . . 8
⊢ (((𝐴 ∈ P ∧
𝐵 ∈ P
∧ 𝐶 ∈
P) ∧ (𝑥
∈ P ∧ ((𝐶 +P 𝐴) +P
𝑥) = (𝐶 +P 𝐵))) → 𝐶 ∈ P) |
17 | | addclpr 7499 |
. . . . . . . . 9
⊢ ((𝐴 ∈ P ∧
𝑥 ∈ P)
→ (𝐴
+P 𝑥) ∈ P) |
18 | 5, 6, 17 | syl2anc 409 |
. . . . . . . 8
⊢ (((𝐴 ∈ P ∧
𝐵 ∈ P
∧ 𝐶 ∈
P) ∧ (𝑥
∈ P ∧ ((𝐶 +P 𝐴) +P
𝑥) = (𝐶 +P 𝐵))) → (𝐴 +P 𝑥) ∈
P) |
19 | | simpl2 996 |
. . . . . . . 8
⊢ (((𝐴 ∈ P ∧
𝐵 ∈ P
∧ 𝐶 ∈
P) ∧ (𝑥
∈ P ∧ ((𝐶 +P 𝐴) +P
𝑥) = (𝐶 +P 𝐵))) → 𝐵 ∈ P) |
20 | | addcanprg 7578 |
. . . . . . . 8
⊢ ((𝐶 ∈ P ∧
(𝐴
+P 𝑥) ∈ P ∧ 𝐵 ∈ P) →
((𝐶
+P (𝐴 +P 𝑥)) = (𝐶 +P 𝐵) → (𝐴 +P 𝑥) = 𝐵)) |
21 | 16, 18, 19, 20 | syl3anc 1233 |
. . . . . . 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 4015 |
. . . . 5
⊢ (((𝐴 ∈ P ∧
𝐵 ∈ P
∧ 𝐶 ∈
P) ∧ (𝑥
∈ P ∧ ((𝐶 +P 𝐴) +P
𝑥) = (𝐶 +P 𝐵))) → 𝐴<P 𝐵) |
24 | 23 | adantlr 474 |
. . . 4
⊢ ((((𝐴 ∈ P ∧
𝐵 ∈ P
∧ 𝐶 ∈
P) ∧ (𝐶
+P 𝐴)<P (𝐶 +P
𝐵)) ∧ (𝑥 ∈ P ∧
((𝐶
+P 𝐴) +P 𝑥) = (𝐶 +P 𝐵))) → 𝐴<P 𝐵) |
25 | 4, 24 | rexlimddv 2592 |
. . 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 𝐵))) |