MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  metustto Structured version   Visualization version   GIF version

Theorem metustto 23165
Description: Any two elements of the filter base generated by the metric 𝐷 can be compared, like for RR+ (i.e. it's totally ordered). (Contributed by Thierry Arnoux, 22-Nov-2017.) (Revised by Thierry Arnoux, 11-Feb-2018.)
Hypothesis
Ref Expression
metust.1 𝐹 = ran (𝑎 ∈ ℝ+ ↦ (𝐷 “ (0[,)𝑎)))
Assertion
Ref Expression
metustto ((𝐷 ∈ (PsMet‘𝑋) ∧ 𝐴𝐹𝐵𝐹) → (𝐴𝐵𝐵𝐴))
Distinct variable groups:   𝐵,𝑎   𝐷,𝑎   𝑋,𝑎   𝐴,𝑎   𝐹,𝑎

Proof of Theorem metustto
Dummy variable 𝑏 is distinct from all other variables.
StepHypRef Expression
1 simpll 765 . . . . 5 (((𝑎 ∈ ℝ+𝑏 ∈ ℝ+) ∧ (𝐴 = (𝐷 “ (0[,)𝑎)) ∧ 𝐵 = (𝐷 “ (0[,)𝑏)))) → 𝑎 ∈ ℝ+)
21rpred 12434 . . . 4 (((𝑎 ∈ ℝ+𝑏 ∈ ℝ+) ∧ (𝐴 = (𝐷 “ (0[,)𝑎)) ∧ 𝐵 = (𝐷 “ (0[,)𝑏)))) → 𝑎 ∈ ℝ)
3 simplr 767 . . . . 5 (((𝑎 ∈ ℝ+𝑏 ∈ ℝ+) ∧ (𝐴 = (𝐷 “ (0[,)𝑎)) ∧ 𝐵 = (𝐷 “ (0[,)𝑏)))) → 𝑏 ∈ ℝ+)
43rpred 12434 . . . 4 (((𝑎 ∈ ℝ+𝑏 ∈ ℝ+) ∧ (𝐴 = (𝐷 “ (0[,)𝑎)) ∧ 𝐵 = (𝐷 “ (0[,)𝑏)))) → 𝑏 ∈ ℝ)
5 simpllr 774 . . . . . . . 8 ((((𝑎 ∈ ℝ+𝑏 ∈ ℝ+) ∧ (𝐴 = (𝐷 “ (0[,)𝑎)) ∧ 𝐵 = (𝐷 “ (0[,)𝑏)))) ∧ 𝑎𝑏) → 𝑏 ∈ ℝ+)
65rpred 12434 . . . . . . 7 ((((𝑎 ∈ ℝ+𝑏 ∈ ℝ+) ∧ (𝐴 = (𝐷 “ (0[,)𝑎)) ∧ 𝐵 = (𝐷 “ (0[,)𝑏)))) ∧ 𝑎𝑏) → 𝑏 ∈ ℝ)
7 0xr 10690 . . . . . . . . . 10 0 ∈ ℝ*
87a1i 11 . . . . . . . . 9 ((𝑏 ∈ ℝ ∧ 𝑎𝑏) → 0 ∈ ℝ*)
9 simpl 485 . . . . . . . . . 10 ((𝑏 ∈ ℝ ∧ 𝑎𝑏) → 𝑏 ∈ ℝ)
109rexrd 10693 . . . . . . . . 9 ((𝑏 ∈ ℝ ∧ 𝑎𝑏) → 𝑏 ∈ ℝ*)
11 0le0 11741 . . . . . . . . . 10 0 ≤ 0
1211a1i 11 . . . . . . . . 9 ((𝑏 ∈ ℝ ∧ 𝑎𝑏) → 0 ≤ 0)
13 simpr 487 . . . . . . . . 9 ((𝑏 ∈ ℝ ∧ 𝑎𝑏) → 𝑎𝑏)
14 icossico 12809 . . . . . . . . 9 (((0 ∈ ℝ*𝑏 ∈ ℝ*) ∧ (0 ≤ 0 ∧ 𝑎𝑏)) → (0[,)𝑎) ⊆ (0[,)𝑏))
158, 10, 12, 13, 14syl22anc 836 . . . . . . . 8 ((𝑏 ∈ ℝ ∧ 𝑎𝑏) → (0[,)𝑎) ⊆ (0[,)𝑏))
16 imass2 5967 . . . . . . . 8 ((0[,)𝑎) ⊆ (0[,)𝑏) → (𝐷 “ (0[,)𝑎)) ⊆ (𝐷 “ (0[,)𝑏)))
1715, 16syl 17 . . . . . . 7 ((𝑏 ∈ ℝ ∧ 𝑎𝑏) → (𝐷 “ (0[,)𝑎)) ⊆ (𝐷 “ (0[,)𝑏)))
186, 17sylancom 590 . . . . . 6 ((((𝑎 ∈ ℝ+𝑏 ∈ ℝ+) ∧ (𝐴 = (𝐷 “ (0[,)𝑎)) ∧ 𝐵 = (𝐷 “ (0[,)𝑏)))) ∧ 𝑎𝑏) → (𝐷 “ (0[,)𝑎)) ⊆ (𝐷 “ (0[,)𝑏)))
19 simplrl 775 . . . . . 6 ((((𝑎 ∈ ℝ+𝑏 ∈ ℝ+) ∧ (𝐴 = (𝐷 “ (0[,)𝑎)) ∧ 𝐵 = (𝐷 “ (0[,)𝑏)))) ∧ 𝑎𝑏) → 𝐴 = (𝐷 “ (0[,)𝑎)))
20 simplrr 776 . . . . . 6 ((((𝑎 ∈ ℝ+𝑏 ∈ ℝ+) ∧ (𝐴 = (𝐷 “ (0[,)𝑎)) ∧ 𝐵 = (𝐷 “ (0[,)𝑏)))) ∧ 𝑎𝑏) → 𝐵 = (𝐷 “ (0[,)𝑏)))
2118, 19, 203sstr4d 4016 . . . . 5 ((((𝑎 ∈ ℝ+𝑏 ∈ ℝ+) ∧ (𝐴 = (𝐷 “ (0[,)𝑎)) ∧ 𝐵 = (𝐷 “ (0[,)𝑏)))) ∧ 𝑎𝑏) → 𝐴𝐵)
2221orcd 869 . . . 4 ((((𝑎 ∈ ℝ+𝑏 ∈ ℝ+) ∧ (𝐴 = (𝐷 “ (0[,)𝑎)) ∧ 𝐵 = (𝐷 “ (0[,)𝑏)))) ∧ 𝑎𝑏) → (𝐴𝐵𝐵𝐴))
23 simplll 773 . . . . . . . 8 ((((𝑎 ∈ ℝ+𝑏 ∈ ℝ+) ∧ (𝐴 = (𝐷 “ (0[,)𝑎)) ∧ 𝐵 = (𝐷 “ (0[,)𝑏)))) ∧ 𝑏𝑎) → 𝑎 ∈ ℝ+)
2423rpred 12434 . . . . . . 7 ((((𝑎 ∈ ℝ+𝑏 ∈ ℝ+) ∧ (𝐴 = (𝐷 “ (0[,)𝑎)) ∧ 𝐵 = (𝐷 “ (0[,)𝑏)))) ∧ 𝑏𝑎) → 𝑎 ∈ ℝ)
257a1i 11 . . . . . . . . 9 ((𝑎 ∈ ℝ ∧ 𝑏𝑎) → 0 ∈ ℝ*)
26 simpl 485 . . . . . . . . . 10 ((𝑎 ∈ ℝ ∧ 𝑏𝑎) → 𝑎 ∈ ℝ)
2726rexrd 10693 . . . . . . . . 9 ((𝑎 ∈ ℝ ∧ 𝑏𝑎) → 𝑎 ∈ ℝ*)
2811a1i 11 . . . . . . . . 9 ((𝑎 ∈ ℝ ∧ 𝑏𝑎) → 0 ≤ 0)
29 simpr 487 . . . . . . . . 9 ((𝑎 ∈ ℝ ∧ 𝑏𝑎) → 𝑏𝑎)
30 icossico 12809 . . . . . . . . 9 (((0 ∈ ℝ*𝑎 ∈ ℝ*) ∧ (0 ≤ 0 ∧ 𝑏𝑎)) → (0[,)𝑏) ⊆ (0[,)𝑎))
3125, 27, 28, 29, 30syl22anc 836 . . . . . . . 8 ((𝑎 ∈ ℝ ∧ 𝑏𝑎) → (0[,)𝑏) ⊆ (0[,)𝑎))
32 imass2 5967 . . . . . . . 8 ((0[,)𝑏) ⊆ (0[,)𝑎) → (𝐷 “ (0[,)𝑏)) ⊆ (𝐷 “ (0[,)𝑎)))
3331, 32syl 17 . . . . . . 7 ((𝑎 ∈ ℝ ∧ 𝑏𝑎) → (𝐷 “ (0[,)𝑏)) ⊆ (𝐷 “ (0[,)𝑎)))
3424, 33sylancom 590 . . . . . 6 ((((𝑎 ∈ ℝ+𝑏 ∈ ℝ+) ∧ (𝐴 = (𝐷 “ (0[,)𝑎)) ∧ 𝐵 = (𝐷 “ (0[,)𝑏)))) ∧ 𝑏𝑎) → (𝐷 “ (0[,)𝑏)) ⊆ (𝐷 “ (0[,)𝑎)))
35 simplrr 776 . . . . . 6 ((((𝑎 ∈ ℝ+𝑏 ∈ ℝ+) ∧ (𝐴 = (𝐷 “ (0[,)𝑎)) ∧ 𝐵 = (𝐷 “ (0[,)𝑏)))) ∧ 𝑏𝑎) → 𝐵 = (𝐷 “ (0[,)𝑏)))
36 simplrl 775 . . . . . 6 ((((𝑎 ∈ ℝ+𝑏 ∈ ℝ+) ∧ (𝐴 = (𝐷 “ (0[,)𝑎)) ∧ 𝐵 = (𝐷 “ (0[,)𝑏)))) ∧ 𝑏𝑎) → 𝐴 = (𝐷 “ (0[,)𝑎)))
3734, 35, 363sstr4d 4016 . . . . 5 ((((𝑎 ∈ ℝ+𝑏 ∈ ℝ+) ∧ (𝐴 = (𝐷 “ (0[,)𝑎)) ∧ 𝐵 = (𝐷 “ (0[,)𝑏)))) ∧ 𝑏𝑎) → 𝐵𝐴)
3837olcd 870 . . . 4 ((((𝑎 ∈ ℝ+𝑏 ∈ ℝ+) ∧ (𝐴 = (𝐷 “ (0[,)𝑎)) ∧ 𝐵 = (𝐷 “ (0[,)𝑏)))) ∧ 𝑏𝑎) → (𝐴𝐵𝐵𝐴))
392, 4, 22, 38lecasei 10748 . . 3 (((𝑎 ∈ ℝ+𝑏 ∈ ℝ+) ∧ (𝐴 = (𝐷 “ (0[,)𝑎)) ∧ 𝐵 = (𝐷 “ (0[,)𝑏)))) → (𝐴𝐵𝐵𝐴))
4039adantlll 716 . 2 (((((𝐷 ∈ (PsMet‘𝑋) ∧ 𝐴𝐹𝐵𝐹) ∧ 𝑎 ∈ ℝ+) ∧ 𝑏 ∈ ℝ+) ∧ (𝐴 = (𝐷 “ (0[,)𝑎)) ∧ 𝐵 = (𝐷 “ (0[,)𝑏)))) → (𝐴𝐵𝐵𝐴))
41 metust.1 . . . . . 6 𝐹 = ran (𝑎 ∈ ℝ+ ↦ (𝐷 “ (0[,)𝑎)))
4241metustel 23162 . . . . 5 (𝐷 ∈ (PsMet‘𝑋) → (𝐴𝐹 ↔ ∃𝑎 ∈ ℝ+ 𝐴 = (𝐷 “ (0[,)𝑎))))
4342biimpa 479 . . . 4 ((𝐷 ∈ (PsMet‘𝑋) ∧ 𝐴𝐹) → ∃𝑎 ∈ ℝ+ 𝐴 = (𝐷 “ (0[,)𝑎)))
44433adant3 1128 . . 3 ((𝐷 ∈ (PsMet‘𝑋) ∧ 𝐴𝐹𝐵𝐹) → ∃𝑎 ∈ ℝ+ 𝐴 = (𝐷 “ (0[,)𝑎)))
45 oveq2 7166 . . . . . . . . . 10 (𝑎 = 𝑏 → (0[,)𝑎) = (0[,)𝑏))
4645imaeq2d 5931 . . . . . . . . 9 (𝑎 = 𝑏 → (𝐷 “ (0[,)𝑎)) = (𝐷 “ (0[,)𝑏)))
4746cbvmptv 5171 . . . . . . . 8 (𝑎 ∈ ℝ+ ↦ (𝐷 “ (0[,)𝑎))) = (𝑏 ∈ ℝ+ ↦ (𝐷 “ (0[,)𝑏)))
4847rneqi 5809 . . . . . . 7 ran (𝑎 ∈ ℝ+ ↦ (𝐷 “ (0[,)𝑎))) = ran (𝑏 ∈ ℝ+ ↦ (𝐷 “ (0[,)𝑏)))
4941, 48eqtri 2846 . . . . . 6 𝐹 = ran (𝑏 ∈ ℝ+ ↦ (𝐷 “ (0[,)𝑏)))
5049metustel 23162 . . . . 5 (𝐷 ∈ (PsMet‘𝑋) → (𝐵𝐹 ↔ ∃𝑏 ∈ ℝ+ 𝐵 = (𝐷 “ (0[,)𝑏))))
5150biimpa 479 . . . 4 ((𝐷 ∈ (PsMet‘𝑋) ∧ 𝐵𝐹) → ∃𝑏 ∈ ℝ+ 𝐵 = (𝐷 “ (0[,)𝑏)))
52513adant2 1127 . . 3 ((𝐷 ∈ (PsMet‘𝑋) ∧ 𝐴𝐹𝐵𝐹) → ∃𝑏 ∈ ℝ+ 𝐵 = (𝐷 “ (0[,)𝑏)))
53 reeanv 3369 . . 3 (∃𝑎 ∈ ℝ+𝑏 ∈ ℝ+ (𝐴 = (𝐷 “ (0[,)𝑎)) ∧ 𝐵 = (𝐷 “ (0[,)𝑏))) ↔ (∃𝑎 ∈ ℝ+ 𝐴 = (𝐷 “ (0[,)𝑎)) ∧ ∃𝑏 ∈ ℝ+ 𝐵 = (𝐷 “ (0[,)𝑏))))
5444, 52, 53sylanbrc 585 . 2 ((𝐷 ∈ (PsMet‘𝑋) ∧ 𝐴𝐹𝐵𝐹) → ∃𝑎 ∈ ℝ+𝑏 ∈ ℝ+ (𝐴 = (𝐷 “ (0[,)𝑎)) ∧ 𝐵 = (𝐷 “ (0[,)𝑏))))
5540, 54r19.29vva 3338 1 ((𝐷 ∈ (PsMet‘𝑋) ∧ 𝐴𝐹𝐵𝐹) → (𝐴𝐵𝐵𝐴))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 398  wo 843  w3a 1083   = wceq 1537  wcel 2114  wrex 3141  wss 3938   class class class wbr 5068  cmpt 5148  ccnv 5556  ran crn 5558  cima 5560  cfv 6357  (class class class)co 7158  cr 10538  0cc0 10539  *cxr 10676  cle 10678  +crp 12392  [,)cico 12743  PsMetcpsmet 20531
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1796  ax-4 1810  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2116  ax-9 2124  ax-10 2145  ax-11 2161  ax-12 2177  ax-ext 2795  ax-sep 5205  ax-nul 5212  ax-pow 5268  ax-pr 5332  ax-un 7463  ax-cnex 10595  ax-resscn 10596  ax-1cn 10597  ax-addrcl 10600  ax-rnegex 10610  ax-cnre 10612  ax-pre-lttri 10613  ax-pre-lttrn 10614
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3or 1084  df-3an 1085  df-tru 1540  df-ex 1781  df-nf 1785  df-sb 2070  df-mo 2622  df-eu 2654  df-clab 2802  df-cleq 2816  df-clel 2895  df-nfc 2965  df-ne 3019  df-nel 3126  df-ral 3145  df-rex 3146  df-rab 3149  df-v 3498  df-sbc 3775  df-csb 3886  df-dif 3941  df-un 3943  df-in 3945  df-ss 3954  df-nul 4294  df-if 4470  df-pw 4543  df-sn 4570  df-pr 4572  df-op 4576  df-uni 4841  df-iun 4923  df-br 5069  df-opab 5131  df-mpt 5149  df-id 5462  df-po 5476  df-so 5477  df-xp 5563  df-rel 5564  df-cnv 5565  df-co 5566  df-dm 5567  df-rn 5568  df-res 5569  df-ima 5570  df-iota 6316  df-fun 6359  df-fn 6360  df-f 6361  df-f1 6362  df-fo 6363  df-f1o 6364  df-fv 6365  df-ov 7161  df-oprab 7162  df-mpo 7163  df-1st 7691  df-2nd 7692  df-er 8291  df-en 8512  df-dom 8513  df-sdom 8514  df-pnf 10679  df-mnf 10680  df-xr 10681  df-ltxr 10682  df-le 10683  df-rp 12393  df-ico 12747
This theorem is referenced by:  metustfbas  23169
  Copyright terms: Public domain W3C validator