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

Theorem metustid 24748
Description: The identity diagonal is included in all elements of the filter base generated by the metric 𝐷. (Contributed by Thierry Arnoux, 22-Nov-2017.) (Revised by Thierry Arnoux, 11-Feb-2018.) (Proof shortened by Peter Mazsa, 2-Oct-2022.)
Hypothesis
Ref Expression
metust.1 𝐹 = ran (𝑎 ∈ ℝ+ ↦ (𝐷 “ (0[,)𝑎)))
Assertion
Ref Expression
metustid ((𝐷 ∈ (PsMet‘𝑋) ∧ 𝐴𝐹) → ( I ↾ 𝑋) ⊆ 𝐴)
Distinct variable groups:   𝐷,𝑎   𝑋,𝑎   𝐴,𝑎   𝐹,𝑎

Proof of Theorem metustid
Dummy variables 𝑝 𝑞 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 relres 6009 . . 3 Rel ( I ↾ 𝑋)
21a1i 11 . 2 ((𝐷 ∈ (PsMet‘𝑋) ∧ 𝐴𝐹) → Rel ( I ↾ 𝑋))
3 vex 3462 . . . . . . . . . . . . . . 15 𝑞 ∈ V
43brresi 5992 . . . . . . . . . . . . . 14 (𝑝( I ↾ 𝑋)𝑞 ↔ (𝑝𝑋𝑝 I 𝑞))
5 df-br 5115 . . . . . . . . . . . . . 14 (𝑝( I ↾ 𝑋)𝑞 ↔ ⟨𝑝, 𝑞⟩ ∈ ( I ↾ 𝑋))
63ideq 5843 . . . . . . . . . . . . . . 15 (𝑝 I 𝑞𝑝 = 𝑞)
76anbi2i 635 . . . . . . . . . . . . . 14 ((𝑝𝑋𝑝 I 𝑞) ↔ (𝑝𝑋𝑝 = 𝑞))
84, 5, 73bitr3i 304 . . . . . . . . . . . . 13 (⟨𝑝, 𝑞⟩ ∈ ( I ↾ 𝑋) ↔ (𝑝𝑋𝑝 = 𝑞))
98biimpi 219 . . . . . . . . . . . 12 (⟨𝑝, 𝑞⟩ ∈ ( I ↾ 𝑋) → (𝑝𝑋𝑝 = 𝑞))
109ad2antlr 740 . . . . . . . . . . 11 ((((𝐷 ∈ (PsMet‘𝑋) ∧ 𝐴𝐹) ∧ ⟨𝑝, 𝑞⟩ ∈ ( I ↾ 𝑋)) ∧ 𝑎 ∈ ℝ+) → (𝑝𝑋𝑝 = 𝑞))
1110simprd 501 . . . . . . . . . 10 ((((𝐷 ∈ (PsMet‘𝑋) ∧ 𝐴𝐹) ∧ ⟨𝑝, 𝑞⟩ ∈ ( I ↾ 𝑋)) ∧ 𝑎 ∈ ℝ+) → 𝑝 = 𝑞)
12 df-ov 7426 . . . . . . . . . . 11 (𝑝𝐷𝑝) = (𝐷‘⟨𝑝, 𝑝⟩)
13 opeq2 4844 . . . . . . . . . . . 12 (𝑝 = 𝑞 → ⟨𝑝, 𝑝⟩ = ⟨𝑝, 𝑞⟩)
1413fveq2d 6892 . . . . . . . . . . 11 (𝑝 = 𝑞 → (𝐷‘⟨𝑝, 𝑝⟩) = (𝐷‘⟨𝑝, 𝑞⟩))
1512, 14eqtrid 2813 . . . . . . . . . 10 (𝑝 = 𝑞 → (𝑝𝐷𝑝) = (𝐷‘⟨𝑝, 𝑞⟩))
1611, 15syl 18 . . . . . . . . 9 ((((𝐷 ∈ (PsMet‘𝑋) ∧ 𝐴𝐹) ∧ ⟨𝑝, 𝑞⟩ ∈ ( I ↾ 𝑋)) ∧ 𝑎 ∈ ℝ+) → (𝑝𝐷𝑝) = (𝐷‘⟨𝑝, 𝑞⟩))
17 simplll 787 . . . . . . . . . 10 ((((𝐷 ∈ (PsMet‘𝑋) ∧ 𝐴𝐹) ∧ ⟨𝑝, 𝑞⟩ ∈ ( I ↾ 𝑋)) ∧ 𝑎 ∈ ℝ+) → 𝐷 ∈ (PsMet‘𝑋))
1810simpld 500 . . . . . . . . . 10 ((((𝐷 ∈ (PsMet‘𝑋) ∧ 𝐴𝐹) ∧ ⟨𝑝, 𝑞⟩ ∈ ( I ↾ 𝑋)) ∧ 𝑎 ∈ ℝ+) → 𝑝𝑋)
19 psmet0 24502 . . . . . . . . . 10 ((𝐷 ∈ (PsMet‘𝑋) ∧ 𝑝𝑋) → (𝑝𝐷𝑝) = 0)
2017, 18, 19syl2anc 596 . . . . . . . . 9 ((((𝐷 ∈ (PsMet‘𝑋) ∧ 𝐴𝐹) ∧ ⟨𝑝, 𝑞⟩ ∈ ( I ↾ 𝑋)) ∧ 𝑎 ∈ ℝ+) → (𝑝𝐷𝑝) = 0)
2116, 20eqtr3d 2803 . . . . . . . 8 ((((𝐷 ∈ (PsMet‘𝑋) ∧ 𝐴𝐹) ∧ ⟨𝑝, 𝑞⟩ ∈ ( I ↾ 𝑋)) ∧ 𝑎 ∈ ℝ+) → (𝐷‘⟨𝑝, 𝑞⟩) = 0)
22 0xr 11274 . . . . . . . . . 10 0 ∈ ℝ*
23 rpxr 13044 . . . . . . . . . 10 (𝑎 ∈ ℝ+𝑎 ∈ ℝ*)
24 rpgt0 13047 . . . . . . . . . 10 (𝑎 ∈ ℝ+ → 0 < 𝑎)
25 lbico1 13445 . . . . . . . . . 10 ((0 ∈ ℝ*𝑎 ∈ ℝ* ∧ 0 < 𝑎) → 0 ∈ (0[,)𝑎))
2622, 23, 24, 25mp3an2i 1495 . . . . . . . . 9 (𝑎 ∈ ℝ+ → 0 ∈ (0[,)𝑎))
2726adantl 487 . . . . . . . 8 ((((𝐷 ∈ (PsMet‘𝑋) ∧ 𝐴𝐹) ∧ ⟨𝑝, 𝑞⟩ ∈ ( I ↾ 𝑋)) ∧ 𝑎 ∈ ℝ+) → 0 ∈ (0[,)𝑎))
2821, 27eqeltrd 2866 . . . . . . 7 ((((𝐷 ∈ (PsMet‘𝑋) ∧ 𝐴𝐹) ∧ ⟨𝑝, 𝑞⟩ ∈ ( I ↾ 𝑋)) ∧ 𝑎 ∈ ℝ+) → (𝐷‘⟨𝑝, 𝑞⟩) ∈ (0[,)𝑎))
29 psmetf 24500 . . . . . . . . . 10 (𝐷 ∈ (PsMet‘𝑋) → 𝐷:(𝑋 × 𝑋)⟶ℝ*)
3029ffund 6717 . . . . . . . . 9 (𝐷 ∈ (PsMet‘𝑋) → Fun 𝐷)
3130ad3antrrr 743 . . . . . . . 8 ((((𝐷 ∈ (PsMet‘𝑋) ∧ 𝐴𝐹) ∧ ⟨𝑝, 𝑞⟩ ∈ ( I ↾ 𝑋)) ∧ 𝑎 ∈ ℝ+) → Fun 𝐷)
3211, 18eqeltrrd 2867 . . . . . . . . . 10 ((((𝐷 ∈ (PsMet‘𝑋) ∧ 𝐴𝐹) ∧ ⟨𝑝, 𝑞⟩ ∈ ( I ↾ 𝑋)) ∧ 𝑎 ∈ ℝ+) → 𝑞𝑋)
3318, 32opelxpd 5705 . . . . . . . . 9 ((((𝐷 ∈ (PsMet‘𝑋) ∧ 𝐴𝐹) ∧ ⟨𝑝, 𝑞⟩ ∈ ( I ↾ 𝑋)) ∧ 𝑎 ∈ ℝ+) → ⟨𝑝, 𝑞⟩ ∈ (𝑋 × 𝑋))
3429fdmd 6723 . . . . . . . . . 10 (𝐷 ∈ (PsMet‘𝑋) → dom 𝐷 = (𝑋 × 𝑋))
3534ad3antrrr 743 . . . . . . . . 9 ((((𝐷 ∈ (PsMet‘𝑋) ∧ 𝐴𝐹) ∧ ⟨𝑝, 𝑞⟩ ∈ ( I ↾ 𝑋)) ∧ 𝑎 ∈ ℝ+) → dom 𝐷 = (𝑋 × 𝑋))
3633, 35eleqtrrd 2869 . . . . . . . 8 ((((𝐷 ∈ (PsMet‘𝑋) ∧ 𝐴𝐹) ∧ ⟨𝑝, 𝑞⟩ ∈ ( I ↾ 𝑋)) ∧ 𝑎 ∈ ℝ+) → ⟨𝑝, 𝑞⟩ ∈ dom 𝐷)
37 fvimacnv 7055 . . . . . . . 8 ((Fun 𝐷 ∧ ⟨𝑝, 𝑞⟩ ∈ dom 𝐷) → ((𝐷‘⟨𝑝, 𝑞⟩) ∈ (0[,)𝑎) ↔ ⟨𝑝, 𝑞⟩ ∈ (𝐷 “ (0[,)𝑎))))
3831, 36, 37syl2anc 596 . . . . . . 7 ((((𝐷 ∈ (PsMet‘𝑋) ∧ 𝐴𝐹) ∧ ⟨𝑝, 𝑞⟩ ∈ ( I ↾ 𝑋)) ∧ 𝑎 ∈ ℝ+) → ((𝐷‘⟨𝑝, 𝑞⟩) ∈ (0[,)𝑎) ↔ ⟨𝑝, 𝑞⟩ ∈ (𝐷 “ (0[,)𝑎))))
3928, 38mpbid 235 . . . . . 6 ((((𝐷 ∈ (PsMet‘𝑋) ∧ 𝐴𝐹) ∧ ⟨𝑝, 𝑞⟩ ∈ ( I ↾ 𝑋)) ∧ 𝑎 ∈ ℝ+) → ⟨𝑝, 𝑞⟩ ∈ (𝐷 “ (0[,)𝑎)))
4039adantr 486 . . . . 5 (((((𝐷 ∈ (PsMet‘𝑋) ∧ 𝐴𝐹) ∧ ⟨𝑝, 𝑞⟩ ∈ ( I ↾ 𝑋)) ∧ 𝑎 ∈ ℝ+) ∧ 𝐴 = (𝐷 “ (0[,)𝑎))) → ⟨𝑝, 𝑞⟩ ∈ (𝐷 “ (0[,)𝑎)))
41 simpr 490 . . . . 5 (((((𝐷 ∈ (PsMet‘𝑋) ∧ 𝐴𝐹) ∧ ⟨𝑝, 𝑞⟩ ∈ ( I ↾ 𝑋)) ∧ 𝑎 ∈ ℝ+) ∧ 𝐴 = (𝐷 “ (0[,)𝑎))) → 𝐴 = (𝐷 “ (0[,)𝑎)))
4240, 41eleqtrrd 2869 . . . 4 (((((𝐷 ∈ (PsMet‘𝑋) ∧ 𝐴𝐹) ∧ ⟨𝑝, 𝑞⟩ ∈ ( I ↾ 𝑋)) ∧ 𝑎 ∈ ℝ+) ∧ 𝐴 = (𝐷 “ (0[,)𝑎))) → ⟨𝑝, 𝑞⟩ ∈ 𝐴)
43 simplr 781 . . . . 5 (((𝐷 ∈ (PsMet‘𝑋) ∧ 𝐴𝐹) ∧ ⟨𝑝, 𝑞⟩ ∈ ( I ↾ 𝑋)) → 𝐴𝐹)
44 metust.1 . . . . . . 7 𝐹 = ran (𝑎 ∈ ℝ+ ↦ (𝐷 “ (0[,)𝑎)))
4544metustel 24744 . . . . . 6 (𝐷 ∈ (PsMet‘𝑋) → (𝐴𝐹 ↔ ∃𝑎 ∈ ℝ+ 𝐴 = (𝐷 “ (0[,)𝑎))))
4645ad2antrr 739 . . . . 5 (((𝐷 ∈ (PsMet‘𝑋) ∧ 𝐴𝐹) ∧ ⟨𝑝, 𝑞⟩ ∈ ( I ↾ 𝑋)) → (𝐴𝐹 ↔ ∃𝑎 ∈ ℝ+ 𝐴 = (𝐷 “ (0[,)𝑎))))
4743, 46mpbid 235 . . . 4 (((𝐷 ∈ (PsMet‘𝑋) ∧ 𝐴𝐹) ∧ ⟨𝑝, 𝑞⟩ ∈ ( I ↾ 𝑋)) → ∃𝑎 ∈ ℝ+ 𝐴 = (𝐷 “ (0[,)𝑎)))
4842, 47r19.29a 3176 . . 3 (((𝐷 ∈ (PsMet‘𝑋) ∧ 𝐴𝐹) ∧ ⟨𝑝, 𝑞⟩ ∈ ( I ↾ 𝑋)) → ⟨𝑝, 𝑞⟩ ∈ 𝐴)
4948ex 418 . 2 ((𝐷 ∈ (PsMet‘𝑋) ∧ 𝐴𝐹) → (⟨𝑝, 𝑞⟩ ∈ ( I ↾ 𝑋) → ⟨𝑝, 𝑞⟩ ∈ 𝐴))
502, 49relssdv 5779 1 ((𝐷 ∈ (PsMet‘𝑋) ∧ 𝐴𝐹) → ( I ↾ 𝑋) ⊆ 𝐴)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  wi 4  wb 209  wa 401   = wceq 1570  wcel 2146  wrex 3092  wss 3908  cop 4600   class class class wbr 5114  cmpt 5197   I cid 5560   × cxp 5664  ccnv 5665  dom cdm 5666  ran crn 5667  cres 5668  cima 5669  Rel wrel 5671  Fun wfun 6537  cfv 6543  (class class class)co 7423  0cc0 11118  *cxr 11260   < clt 11261  +crp 13034  [,)cico 13392  PsMetcpsmet 21543
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1943  ax-6 2000  ax-7 2041  ax-8 2148  ax-9 2156  ax-10 2179  ax-11 2195  ax-12 2216  ax-ext 2738  ax-sep 5262  ax-nul 5274  ax-pow 5341  ax-pr 5409  ax-un 7745  ax-cnex 11174  ax-resscn 11175  ax-1cn 11176  ax-addrcl 11179  ax-rnegex 11189  ax-cnre 11191  ax-pre-lttri 11192  ax-pre-lttrn 11193
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1104  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2100  df-mo 2570  df-eu 2600  df-clab 2745  df-cleq 2758  df-clel 2841  df-nfc 2915  df-ne 2962  df-nel 3068  df-ral 3083  df-rex 3093  df-rab 3420  df-v 3460  df-sbc 3748  df-csb 3857  df-dif 3911  df-un 3913  df-in 3915  df-ss 3925  df-nul 4290  df-if 4493  df-pw 4569  df-sn 4595  df-pr 4597  df-op 4601  df-uni 4878  df-br 5115  df-opab 5179  df-mpt 5198  df-id 5561  df-po 5574  df-so 5575  df-xp 5672  df-rel 5673  df-cnv 5674  df-co 5675  df-dm 5676  df-rn 5677  df-res 5678  df-ima 5679  df-iota 6499  df-fun 6545  df-fn 6546  df-f 6547  df-f1 6548  df-fo 6549  df-f1o 6550  df-fv 6551  df-ov 7426  df-oprab 7427  df-mpo 7428  df-er 8703  df-map 8835  df-en 8953  df-dom 8954  df-sdom 8955  df-pnf 11263  df-mnf 11264  df-xr 11265  df-ltxr 11266  df-le 11267  df-rp 13035  df-ico 13396  df-psmet 21551
This theorem is used by:  metustfbas  24751  metust  24752
  Copyright terms: Public domain W3C validator