Proof of Theorem prunioo
Step | Hyp | Ref
| Expression |
1 | | simp3 1136 |
. 2
⊢ ((𝐴 ∈ ℝ*
∧ 𝐵 ∈
ℝ* ∧ 𝐴
≤ 𝐵) → 𝐴 ≤ 𝐵) |
2 | | xrleloe 12807 |
. . . 4
⊢ ((𝐴 ∈ ℝ*
∧ 𝐵 ∈
ℝ*) → (𝐴 ≤ 𝐵 ↔ (𝐴 < 𝐵 ∨ 𝐴 = 𝐵))) |
3 | 2 | 3adant3 1130 |
. . 3
⊢ ((𝐴 ∈ ℝ*
∧ 𝐵 ∈
ℝ* ∧ 𝐴
≤ 𝐵) → (𝐴 ≤ 𝐵 ↔ (𝐴 < 𝐵 ∨ 𝐴 = 𝐵))) |
4 | | df-pr 4561 |
. . . . . . . . . . 11
⊢ {𝐴, 𝐵} = ({𝐴} ∪ {𝐵}) |
5 | 4 | uneq2i 4090 |
. . . . . . . . . 10
⊢ ((𝐴(,)𝐵) ∪ {𝐴, 𝐵}) = ((𝐴(,)𝐵) ∪ ({𝐴} ∪ {𝐵})) |
6 | | unass 4096 |
. . . . . . . . . 10
⊢ (((𝐴(,)𝐵) ∪ {𝐴}) ∪ {𝐵}) = ((𝐴(,)𝐵) ∪ ({𝐴} ∪ {𝐵})) |
7 | 5, 6 | eqtr4i 2769 |
. . . . . . . . 9
⊢ ((𝐴(,)𝐵) ∪ {𝐴, 𝐵}) = (((𝐴(,)𝐵) ∪ {𝐴}) ∪ {𝐵}) |
8 | | uncom 4083 |
. . . . . . . . . . 11
⊢ ((𝐴(,)𝐵) ∪ {𝐴}) = ({𝐴} ∪ (𝐴(,)𝐵)) |
9 | | snunioo 13139 |
. . . . . . . . . . 11
⊢ ((𝐴 ∈ ℝ*
∧ 𝐵 ∈
ℝ* ∧ 𝐴
< 𝐵) → ({𝐴} ∪ (𝐴(,)𝐵)) = (𝐴[,)𝐵)) |
10 | 8, 9 | eqtrid 2790 |
. . . . . . . . . 10
⊢ ((𝐴 ∈ ℝ*
∧ 𝐵 ∈
ℝ* ∧ 𝐴
< 𝐵) → ((𝐴(,)𝐵) ∪ {𝐴}) = (𝐴[,)𝐵)) |
11 | 10 | uneq1d 4092 |
. . . . . . . . 9
⊢ ((𝐴 ∈ ℝ*
∧ 𝐵 ∈
ℝ* ∧ 𝐴
< 𝐵) → (((𝐴(,)𝐵) ∪ {𝐴}) ∪ {𝐵}) = ((𝐴[,)𝐵) ∪ {𝐵})) |
12 | 7, 11 | eqtrid 2790 |
. . . . . . . 8
⊢ ((𝐴 ∈ ℝ*
∧ 𝐵 ∈
ℝ* ∧ 𝐴
< 𝐵) → ((𝐴(,)𝐵) ∪ {𝐴, 𝐵}) = ((𝐴[,)𝐵) ∪ {𝐵})) |
13 | 12 | 3expa 1116 |
. . . . . . 7
⊢ (((𝐴 ∈ ℝ*
∧ 𝐵 ∈
ℝ*) ∧ 𝐴 < 𝐵) → ((𝐴(,)𝐵) ∪ {𝐴, 𝐵}) = ((𝐴[,)𝐵) ∪ {𝐵})) |
14 | 13 | 3adantl3 1166 |
. . . . . 6
⊢ (((𝐴 ∈ ℝ*
∧ 𝐵 ∈
ℝ* ∧ 𝐴
≤ 𝐵) ∧ 𝐴 < 𝐵) → ((𝐴(,)𝐵) ∪ {𝐴, 𝐵}) = ((𝐴[,)𝐵) ∪ {𝐵})) |
15 | | snunico 13140 |
. . . . . . 7
⊢ ((𝐴 ∈ ℝ*
∧ 𝐵 ∈
ℝ* ∧ 𝐴
≤ 𝐵) → ((𝐴[,)𝐵) ∪ {𝐵}) = (𝐴[,]𝐵)) |
16 | 15 | adantr 480 |
. . . . . 6
⊢ (((𝐴 ∈ ℝ*
∧ 𝐵 ∈
ℝ* ∧ 𝐴
≤ 𝐵) ∧ 𝐴 < 𝐵) → ((𝐴[,)𝐵) ∪ {𝐵}) = (𝐴[,]𝐵)) |
17 | 14, 16 | eqtrd 2778 |
. . . . 5
⊢ (((𝐴 ∈ ℝ*
∧ 𝐵 ∈
ℝ* ∧ 𝐴
≤ 𝐵) ∧ 𝐴 < 𝐵) → ((𝐴(,)𝐵) ∪ {𝐴, 𝐵}) = (𝐴[,]𝐵)) |
18 | 17 | ex 412 |
. . . 4
⊢ ((𝐴 ∈ ℝ*
∧ 𝐵 ∈
ℝ* ∧ 𝐴
≤ 𝐵) → (𝐴 < 𝐵 → ((𝐴(,)𝐵) ∪ {𝐴, 𝐵}) = (𝐴[,]𝐵))) |
19 | | iccid 13053 |
. . . . . . 7
⊢ (𝐴 ∈ ℝ*
→ (𝐴[,]𝐴) = {𝐴}) |
20 | 19 | 3ad2ant1 1131 |
. . . . . 6
⊢ ((𝐴 ∈ ℝ*
∧ 𝐵 ∈
ℝ* ∧ 𝐴
≤ 𝐵) → (𝐴[,]𝐴) = {𝐴}) |
21 | 20 | eqcomd 2744 |
. . . . 5
⊢ ((𝐴 ∈ ℝ*
∧ 𝐵 ∈
ℝ* ∧ 𝐴
≤ 𝐵) → {𝐴} = (𝐴[,]𝐴)) |
22 | | uncom 4083 |
. . . . . . . 8
⊢ (∅
∪ {𝐴}) = ({𝐴} ∪
∅) |
23 | | un0 4321 |
. . . . . . . 8
⊢ ({𝐴} ∪ ∅) = {𝐴} |
24 | 22, 23 | eqtri 2766 |
. . . . . . 7
⊢ (∅
∪ {𝐴}) = {𝐴} |
25 | | iooid 13036 |
. . . . . . . . 9
⊢ (𝐴(,)𝐴) = ∅ |
26 | | oveq2 7263 |
. . . . . . . . 9
⊢ (𝐴 = 𝐵 → (𝐴(,)𝐴) = (𝐴(,)𝐵)) |
27 | 25, 26 | eqtr3id 2793 |
. . . . . . . 8
⊢ (𝐴 = 𝐵 → ∅ = (𝐴(,)𝐵)) |
28 | | dfsn2 4571 |
. . . . . . . . 9
⊢ {𝐴} = {𝐴, 𝐴} |
29 | | preq2 4667 |
. . . . . . . . 9
⊢ (𝐴 = 𝐵 → {𝐴, 𝐴} = {𝐴, 𝐵}) |
30 | 28, 29 | eqtrid 2790 |
. . . . . . . 8
⊢ (𝐴 = 𝐵 → {𝐴} = {𝐴, 𝐵}) |
31 | 27, 30 | uneq12d 4094 |
. . . . . . 7
⊢ (𝐴 = 𝐵 → (∅ ∪ {𝐴}) = ((𝐴(,)𝐵) ∪ {𝐴, 𝐵})) |
32 | 24, 31 | eqtr3id 2793 |
. . . . . 6
⊢ (𝐴 = 𝐵 → {𝐴} = ((𝐴(,)𝐵) ∪ {𝐴, 𝐵})) |
33 | | oveq2 7263 |
. . . . . 6
⊢ (𝐴 = 𝐵 → (𝐴[,]𝐴) = (𝐴[,]𝐵)) |
34 | 32, 33 | eqeq12d 2754 |
. . . . 5
⊢ (𝐴 = 𝐵 → ({𝐴} = (𝐴[,]𝐴) ↔ ((𝐴(,)𝐵) ∪ {𝐴, 𝐵}) = (𝐴[,]𝐵))) |
35 | 21, 34 | syl5ibcom 244 |
. . . 4
⊢ ((𝐴 ∈ ℝ*
∧ 𝐵 ∈
ℝ* ∧ 𝐴
≤ 𝐵) → (𝐴 = 𝐵 → ((𝐴(,)𝐵) ∪ {𝐴, 𝐵}) = (𝐴[,]𝐵))) |
36 | 18, 35 | jaod 855 |
. . 3
⊢ ((𝐴 ∈ ℝ*
∧ 𝐵 ∈
ℝ* ∧ 𝐴
≤ 𝐵) → ((𝐴 < 𝐵 ∨ 𝐴 = 𝐵) → ((𝐴(,)𝐵) ∪ {𝐴, 𝐵}) = (𝐴[,]𝐵))) |
37 | 3, 36 | sylbid 239 |
. 2
⊢ ((𝐴 ∈ ℝ*
∧ 𝐵 ∈
ℝ* ∧ 𝐴
≤ 𝐵) → (𝐴 ≤ 𝐵 → ((𝐴(,)𝐵) ∪ {𝐴, 𝐵}) = (𝐴[,]𝐵))) |
38 | 1, 37 | mpd 15 |
1
⊢ ((𝐴 ∈ ℝ*
∧ 𝐵 ∈
ℝ* ∧ 𝐴
≤ 𝐵) → ((𝐴(,)𝐵) ∪ {𝐴, 𝐵}) = (𝐴[,]𝐵)) |