Step | Hyp | Ref
| Expression |
1 | | 1pr 7516 |
. . . 4
⊢
1P ∈ P |
2 | | addclpr 7499 |
. . . 4
⊢ ((𝐴 ∈ P ∧
1P ∈ P) → (𝐴 +P
1P) ∈ P) |
3 | 1, 2 | mpan2 423 |
. . 3
⊢ (𝐴 ∈ P →
(𝐴
+P 1P) ∈
P) |
4 | | addclpr 7499 |
. . . 4
⊢ ((𝐵 ∈ P ∧
1P ∈ P) → (𝐵 +P
1P) ∈ P) |
5 | 1, 4 | mpan2 423 |
. . 3
⊢ (𝐵 ∈ P →
(𝐵
+P 1P) ∈
P) |
6 | | addsrpr 7707 |
. . . . 5
⊢ ((((𝐴 +P
1P) ∈ P ∧
1P ∈ P) ∧ ((𝐵 +P
1P) ∈ P ∧
1P ∈ P)) → ([〈(𝐴 +P
1P), 1P〉]
~R +R [〈(𝐵 +P
1P), 1P〉]
~R ) = [〈((𝐴 +P
1P) +P (𝐵 +P
1P)), (1P
+P 1P)〉]
~R ) |
7 | 1, 6 | mpanl2 433 |
. . . 4
⊢ (((𝐴 +P
1P) ∈ P ∧ ((𝐵 +P
1P) ∈ P ∧
1P ∈ P)) → ([〈(𝐴 +P
1P), 1P〉]
~R +R [〈(𝐵 +P
1P), 1P〉]
~R ) = [〈((𝐴 +P
1P) +P (𝐵 +P
1P)), (1P
+P 1P)〉]
~R ) |
8 | 1, 7 | mpanr2 436 |
. . 3
⊢ (((𝐴 +P
1P) ∈ P ∧ (𝐵 +P
1P) ∈ P) → ([〈(𝐴 +P
1P), 1P〉]
~R +R [〈(𝐵 +P
1P), 1P〉]
~R ) = [〈((𝐴 +P
1P) +P (𝐵 +P
1P)), (1P
+P 1P)〉]
~R ) |
9 | 3, 5, 8 | syl2an 287 |
. 2
⊢ ((𝐴 ∈ P ∧
𝐵 ∈ P)
→ ([〈(𝐴
+P 1P),
1P〉] ~R
+R [〈(𝐵 +P
1P), 1P〉]
~R ) = [〈((𝐴 +P
1P) +P (𝐵 +P
1P)), (1P
+P 1P)〉]
~R ) |
10 | | simpl 108 |
. . . . . . 7
⊢ ((𝐴 ∈ P ∧
𝐵 ∈ P)
→ 𝐴 ∈
P) |
11 | 1 | a1i 9 |
. . . . . . 7
⊢ ((𝐴 ∈ P ∧
𝐵 ∈ P)
→ 1P ∈ P) |
12 | | simpr 109 |
. . . . . . 7
⊢ ((𝐴 ∈ P ∧
𝐵 ∈ P)
→ 𝐵 ∈
P) |
13 | | addcomprg 7540 |
. . . . . . . 8
⊢ ((𝑓 ∈ P ∧
𝑔 ∈ P)
→ (𝑓
+P 𝑔) = (𝑔 +P 𝑓)) |
14 | 13 | adantl 275 |
. . . . . . 7
⊢ (((𝐴 ∈ P ∧
𝐵 ∈ P)
∧ (𝑓 ∈
P ∧ 𝑔
∈ P)) → (𝑓 +P 𝑔) = (𝑔 +P 𝑓)) |
15 | | addassprg 7541 |
. . . . . . . 8
⊢ ((𝑓 ∈ P ∧
𝑔 ∈ P
∧ ℎ ∈
P) → ((𝑓
+P 𝑔) +P ℎ) = (𝑓 +P (𝑔 +P
ℎ))) |
16 | 15 | adantl 275 |
. . . . . . 7
⊢ (((𝐴 ∈ P ∧
𝐵 ∈ P)
∧ (𝑓 ∈
P ∧ 𝑔
∈ P ∧ ℎ ∈ P)) → ((𝑓 +P
𝑔)
+P ℎ) = (𝑓 +P (𝑔 +P
ℎ))) |
17 | | addclpr 7499 |
. . . . . . . 8
⊢ ((𝑓 ∈ P ∧
𝑔 ∈ P)
→ (𝑓
+P 𝑔) ∈ P) |
18 | 17 | adantl 275 |
. . . . . . 7
⊢ (((𝐴 ∈ P ∧
𝐵 ∈ P)
∧ (𝑓 ∈
P ∧ 𝑔
∈ P)) → (𝑓 +P 𝑔) ∈
P) |
19 | 10, 11, 12, 14, 16, 11, 18 | caov4d 6037 |
. . . . . 6
⊢ ((𝐴 ∈ P ∧
𝐵 ∈ P)
→ ((𝐴
+P 1P)
+P (𝐵 +P
1P)) = ((𝐴 +P 𝐵) +P
(1P +P
1P))) |
20 | | addclpr 7499 |
. . . . . . 7
⊢ ((𝐴 ∈ P ∧
𝐵 ∈ P)
→ (𝐴
+P 𝐵) ∈ P) |
21 | | addclpr 7499 |
. . . . . . . . 9
⊢
((1P ∈ P ∧
1P ∈ P) →
(1P +P
1P) ∈ P) |
22 | 1, 1, 21 | mp2an 424 |
. . . . . . . 8
⊢
(1P +P
1P) ∈ P |
23 | 22 | a1i 9 |
. . . . . . 7
⊢ ((𝐴 ∈ P ∧
𝐵 ∈ P)
→ (1P +P
1P) ∈ P) |
24 | | addcomprg 7540 |
. . . . . . 7
⊢ (((𝐴 +P
𝐵) ∈ P
∧ (1P +P
1P) ∈ P) → ((𝐴 +P 𝐵) +P
(1P +P
1P)) = ((1P
+P 1P)
+P (𝐴 +P 𝐵))) |
25 | 20, 23, 24 | syl2anc 409 |
. . . . . 6
⊢ ((𝐴 ∈ P ∧
𝐵 ∈ P)
→ ((𝐴
+P 𝐵) +P
(1P +P
1P)) = ((1P
+P 1P)
+P (𝐴 +P 𝐵))) |
26 | 19, 25 | eqtrd 2203 |
. . . . 5
⊢ ((𝐴 ∈ P ∧
𝐵 ∈ P)
→ ((𝐴
+P 1P)
+P (𝐵 +P
1P)) = ((1P
+P 1P)
+P (𝐴 +P 𝐵))) |
27 | 26 | oveq1d 5868 |
. . . 4
⊢ ((𝐴 ∈ P ∧
𝐵 ∈ P)
→ (((𝐴
+P 1P)
+P (𝐵 +P
1P)) +P
1P) = (((1P
+P 1P)
+P (𝐴 +P 𝐵)) +P
1P)) |
28 | | addassprg 7541 |
. . . . 5
⊢
(((1P +P
1P) ∈ P ∧ (𝐴 +P 𝐵) ∈ P ∧
1P ∈ P) →
(((1P +P
1P) +P (𝐴 +P 𝐵)) +P
1P) = ((1P
+P 1P)
+P ((𝐴 +P 𝐵) +P
1P))) |
29 | 23, 20, 11, 28 | syl3anc 1233 |
. . . 4
⊢ ((𝐴 ∈ P ∧
𝐵 ∈ P)
→ (((1P +P
1P) +P (𝐴 +P 𝐵)) +P
1P) = ((1P
+P 1P)
+P ((𝐴 +P 𝐵) +P
1P))) |
30 | 27, 29 | eqtrd 2203 |
. . 3
⊢ ((𝐴 ∈ P ∧
𝐵 ∈ P)
→ (((𝐴
+P 1P)
+P (𝐵 +P
1P)) +P
1P) = ((1P
+P 1P)
+P ((𝐴 +P 𝐵) +P
1P))) |
31 | | addclpr 7499 |
. . . . 5
⊢ (((𝐴 +P
1P) ∈ P ∧ (𝐵 +P
1P) ∈ P) → ((𝐴 +P
1P) +P (𝐵 +P
1P)) ∈ P) |
32 | 3, 5, 31 | syl2an 287 |
. . . 4
⊢ ((𝐴 ∈ P ∧
𝐵 ∈ P)
→ ((𝐴
+P 1P)
+P (𝐵 +P
1P)) ∈ P) |
33 | | addclpr 7499 |
. . . . 5
⊢ (((𝐴 +P
𝐵) ∈ P
∧ 1P ∈ P) → ((𝐴 +P
𝐵)
+P 1P) ∈
P) |
34 | 20, 11, 33 | syl2anc 409 |
. . . 4
⊢ ((𝐴 ∈ P ∧
𝐵 ∈ P)
→ ((𝐴
+P 𝐵) +P
1P) ∈ P) |
35 | | enreceq 7698 |
. . . . . 6
⊢
(((((𝐴
+P 1P)
+P (𝐵 +P
1P)) ∈ P ∧
(1P +P
1P) ∈ P) ∧ (((𝐴 +P 𝐵) +P
1P) ∈ P ∧
1P ∈ P)) → ([〈((𝐴 +P
1P) +P (𝐵 +P
1P)), (1P
+P 1P)〉]
~R = [〈((𝐴 +P 𝐵) +P
1P), 1P〉]
~R ↔ (((𝐴 +P
1P) +P (𝐵 +P
1P)) +P
1P) = ((1P
+P 1P)
+P ((𝐴 +P 𝐵) +P
1P)))) |
36 | 1, 35 | mpanr2 436 |
. . . . 5
⊢
(((((𝐴
+P 1P)
+P (𝐵 +P
1P)) ∈ P ∧
(1P +P
1P) ∈ P) ∧ ((𝐴 +P 𝐵) +P
1P) ∈ P) → ([〈((𝐴 +P
1P) +P (𝐵 +P
1P)), (1P
+P 1P)〉]
~R = [〈((𝐴 +P 𝐵) +P
1P), 1P〉]
~R ↔ (((𝐴 +P
1P) +P (𝐵 +P
1P)) +P
1P) = ((1P
+P 1P)
+P ((𝐴 +P 𝐵) +P
1P)))) |
37 | 22, 36 | mpanl2 433 |
. . . 4
⊢ ((((𝐴 +P
1P) +P (𝐵 +P
1P)) ∈ P ∧ ((𝐴 +P 𝐵) +P
1P) ∈ P) → ([〈((𝐴 +P
1P) +P (𝐵 +P
1P)), (1P
+P 1P)〉]
~R = [〈((𝐴 +P 𝐵) +P
1P), 1P〉]
~R ↔ (((𝐴 +P
1P) +P (𝐵 +P
1P)) +P
1P) = ((1P
+P 1P)
+P ((𝐴 +P 𝐵) +P
1P)))) |
38 | 32, 34, 37 | syl2anc 409 |
. . 3
⊢ ((𝐴 ∈ P ∧
𝐵 ∈ P)
→ ([〈((𝐴
+P 1P)
+P (𝐵 +P
1P)), (1P
+P 1P)〉]
~R = [〈((𝐴 +P 𝐵) +P
1P), 1P〉]
~R ↔ (((𝐴 +P
1P) +P (𝐵 +P
1P)) +P
1P) = ((1P
+P 1P)
+P ((𝐴 +P 𝐵) +P
1P)))) |
39 | 30, 38 | mpbird 166 |
. 2
⊢ ((𝐴 ∈ P ∧
𝐵 ∈ P)
→ [〈((𝐴
+P 1P)
+P (𝐵 +P
1P)), (1P
+P 1P)〉]
~R = [〈((𝐴 +P 𝐵) +P
1P), 1P〉]
~R ) |
40 | 9, 39 | eqtr2d 2204 |
1
⊢ ((𝐴 ∈ P ∧
𝐵 ∈ P)
→ [〈((𝐴
+P 𝐵) +P
1P), 1P〉]
~R = ([〈(𝐴 +P
1P), 1P〉]
~R +R [〈(𝐵 +P
1P), 1P〉]
~R )) |