Proof of Theorem stdbdmet
Step | Hyp | Ref
| Expression |
1 | | rpxr 12668 |
. . . 4
⊢ (𝑅 ∈ ℝ+
→ 𝑅 ∈
ℝ*) |
2 | | rpgt0 12671 |
. . . 4
⊢ (𝑅 ∈ ℝ+
→ 0 < 𝑅) |
3 | 1, 2 | jca 511 |
. . 3
⊢ (𝑅 ∈ ℝ+
→ (𝑅 ∈
ℝ* ∧ 0 < 𝑅)) |
4 | | stdbdmet.1 |
. . . . 5
⊢ 𝐷 = (𝑥 ∈ 𝑋, 𝑦 ∈ 𝑋 ↦ if((𝑥𝐶𝑦) ≤ 𝑅, (𝑥𝐶𝑦), 𝑅)) |
5 | 4 | stdbdxmet 23577 |
. . . 4
⊢ ((𝐶 ∈ (∞Met‘𝑋) ∧ 𝑅 ∈ ℝ* ∧ 0 <
𝑅) → 𝐷 ∈ (∞Met‘𝑋)) |
6 | 5 | 3expb 1118 |
. . 3
⊢ ((𝐶 ∈ (∞Met‘𝑋) ∧ (𝑅 ∈ ℝ* ∧ 0 <
𝑅)) → 𝐷 ∈ (∞Met‘𝑋)) |
7 | 3, 6 | sylan2 592 |
. 2
⊢ ((𝐶 ∈ (∞Met‘𝑋) ∧ 𝑅 ∈ ℝ+) → 𝐷 ∈ (∞Met‘𝑋)) |
8 | | xmetcl 23392 |
. . . . . . . 8
⊢ ((𝐶 ∈ (∞Met‘𝑋) ∧ 𝑥 ∈ 𝑋 ∧ 𝑦 ∈ 𝑋) → (𝑥𝐶𝑦) ∈
ℝ*) |
9 | 8 | 3expb 1118 |
. . . . . . 7
⊢ ((𝐶 ∈ (∞Met‘𝑋) ∧ (𝑥 ∈ 𝑋 ∧ 𝑦 ∈ 𝑋)) → (𝑥𝐶𝑦) ∈
ℝ*) |
10 | 9 | adantlr 711 |
. . . . . 6
⊢ (((𝐶 ∈ (∞Met‘𝑋) ∧ 𝑅 ∈ ℝ+) ∧ (𝑥 ∈ 𝑋 ∧ 𝑦 ∈ 𝑋)) → (𝑥𝐶𝑦) ∈
ℝ*) |
11 | 1 | ad2antlr 723 |
. . . . . 6
⊢ (((𝐶 ∈ (∞Met‘𝑋) ∧ 𝑅 ∈ ℝ+) ∧ (𝑥 ∈ 𝑋 ∧ 𝑦 ∈ 𝑋)) → 𝑅 ∈
ℝ*) |
12 | 10, 11 | ifcld 4502 |
. . . . 5
⊢ (((𝐶 ∈ (∞Met‘𝑋) ∧ 𝑅 ∈ ℝ+) ∧ (𝑥 ∈ 𝑋 ∧ 𝑦 ∈ 𝑋)) → if((𝑥𝐶𝑦) ≤ 𝑅, (𝑥𝐶𝑦), 𝑅) ∈
ℝ*) |
13 | | rpre 12667 |
. . . . . 6
⊢ (𝑅 ∈ ℝ+
→ 𝑅 ∈
ℝ) |
14 | 13 | ad2antlr 723 |
. . . . 5
⊢ (((𝐶 ∈ (∞Met‘𝑋) ∧ 𝑅 ∈ ℝ+) ∧ (𝑥 ∈ 𝑋 ∧ 𝑦 ∈ 𝑋)) → 𝑅 ∈ ℝ) |
15 | | xmetge0 23405 |
. . . . . . . 8
⊢ ((𝐶 ∈ (∞Met‘𝑋) ∧ 𝑥 ∈ 𝑋 ∧ 𝑦 ∈ 𝑋) → 0 ≤ (𝑥𝐶𝑦)) |
16 | 15 | 3expb 1118 |
. . . . . . 7
⊢ ((𝐶 ∈ (∞Met‘𝑋) ∧ (𝑥 ∈ 𝑋 ∧ 𝑦 ∈ 𝑋)) → 0 ≤ (𝑥𝐶𝑦)) |
17 | 16 | adantlr 711 |
. . . . . 6
⊢ (((𝐶 ∈ (∞Met‘𝑋) ∧ 𝑅 ∈ ℝ+) ∧ (𝑥 ∈ 𝑋 ∧ 𝑦 ∈ 𝑋)) → 0 ≤ (𝑥𝐶𝑦)) |
18 | | rpge0 12672 |
. . . . . . 7
⊢ (𝑅 ∈ ℝ+
→ 0 ≤ 𝑅) |
19 | 18 | ad2antlr 723 |
. . . . . 6
⊢ (((𝐶 ∈ (∞Met‘𝑋) ∧ 𝑅 ∈ ℝ+) ∧ (𝑥 ∈ 𝑋 ∧ 𝑦 ∈ 𝑋)) → 0 ≤ 𝑅) |
20 | | breq2 5074 |
. . . . . . 7
⊢ ((𝑥𝐶𝑦) = if((𝑥𝐶𝑦) ≤ 𝑅, (𝑥𝐶𝑦), 𝑅) → (0 ≤ (𝑥𝐶𝑦) ↔ 0 ≤ if((𝑥𝐶𝑦) ≤ 𝑅, (𝑥𝐶𝑦), 𝑅))) |
21 | | breq2 5074 |
. . . . . . 7
⊢ (𝑅 = if((𝑥𝐶𝑦) ≤ 𝑅, (𝑥𝐶𝑦), 𝑅) → (0 ≤ 𝑅 ↔ 0 ≤ if((𝑥𝐶𝑦) ≤ 𝑅, (𝑥𝐶𝑦), 𝑅))) |
22 | 20, 21 | ifboth 4495 |
. . . . . 6
⊢ ((0 ≤
(𝑥𝐶𝑦) ∧ 0 ≤ 𝑅) → 0 ≤ if((𝑥𝐶𝑦) ≤ 𝑅, (𝑥𝐶𝑦), 𝑅)) |
23 | 17, 19, 22 | syl2anc 583 |
. . . . 5
⊢ (((𝐶 ∈ (∞Met‘𝑋) ∧ 𝑅 ∈ ℝ+) ∧ (𝑥 ∈ 𝑋 ∧ 𝑦 ∈ 𝑋)) → 0 ≤ if((𝑥𝐶𝑦) ≤ 𝑅, (𝑥𝐶𝑦), 𝑅)) |
24 | | xrmin2 12841 |
. . . . . 6
⊢ (((𝑥𝐶𝑦) ∈ ℝ* ∧ 𝑅 ∈ ℝ*)
→ if((𝑥𝐶𝑦) ≤ 𝑅, (𝑥𝐶𝑦), 𝑅) ≤ 𝑅) |
25 | 10, 11, 24 | syl2anc 583 |
. . . . 5
⊢ (((𝐶 ∈ (∞Met‘𝑋) ∧ 𝑅 ∈ ℝ+) ∧ (𝑥 ∈ 𝑋 ∧ 𝑦 ∈ 𝑋)) → if((𝑥𝐶𝑦) ≤ 𝑅, (𝑥𝐶𝑦), 𝑅) ≤ 𝑅) |
26 | | xrrege0 12837 |
. . . . 5
⊢
(((if((𝑥𝐶𝑦) ≤ 𝑅, (𝑥𝐶𝑦), 𝑅) ∈ ℝ* ∧ 𝑅 ∈ ℝ) ∧ (0 ≤
if((𝑥𝐶𝑦) ≤ 𝑅, (𝑥𝐶𝑦), 𝑅) ∧ if((𝑥𝐶𝑦) ≤ 𝑅, (𝑥𝐶𝑦), 𝑅) ≤ 𝑅)) → if((𝑥𝐶𝑦) ≤ 𝑅, (𝑥𝐶𝑦), 𝑅) ∈ ℝ) |
27 | 12, 14, 23, 25, 26 | syl22anc 835 |
. . . 4
⊢ (((𝐶 ∈ (∞Met‘𝑋) ∧ 𝑅 ∈ ℝ+) ∧ (𝑥 ∈ 𝑋 ∧ 𝑦 ∈ 𝑋)) → if((𝑥𝐶𝑦) ≤ 𝑅, (𝑥𝐶𝑦), 𝑅) ∈ ℝ) |
28 | 27 | ralrimivva 3114 |
. . 3
⊢ ((𝐶 ∈ (∞Met‘𝑋) ∧ 𝑅 ∈ ℝ+) →
∀𝑥 ∈ 𝑋 ∀𝑦 ∈ 𝑋 if((𝑥𝐶𝑦) ≤ 𝑅, (𝑥𝐶𝑦), 𝑅) ∈ ℝ) |
29 | 4 | fmpo 7881 |
. . 3
⊢
(∀𝑥 ∈
𝑋 ∀𝑦 ∈ 𝑋 if((𝑥𝐶𝑦) ≤ 𝑅, (𝑥𝐶𝑦), 𝑅) ∈ ℝ ↔ 𝐷:(𝑋 × 𝑋)⟶ℝ) |
30 | 28, 29 | sylib 217 |
. 2
⊢ ((𝐶 ∈ (∞Met‘𝑋) ∧ 𝑅 ∈ ℝ+) → 𝐷:(𝑋 × 𝑋)⟶ℝ) |
31 | | ismet2 23394 |
. 2
⊢ (𝐷 ∈ (Met‘𝑋) ↔ (𝐷 ∈ (∞Met‘𝑋) ∧ 𝐷:(𝑋 × 𝑋)⟶ℝ)) |
32 | 7, 30, 31 | sylanbrc 582 |
1
⊢ ((𝐶 ∈ (∞Met‘𝑋) ∧ 𝑅 ∈ ℝ+) → 𝐷 ∈ (Met‘𝑋)) |