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

Theorem fvmptss 6998
Description: If all the values of the mapping are subsets of a class 𝐶, then so is any evaluation of the mapping, even if 𝐷 is not in the base set 𝐴. (Contributed by Mario Carneiro, 13-Feb-2015.)
Hypothesis
Ref Expression
mptrcl.1 𝐹 = (𝑥 ∈ 𝐴 ↦ 𝐵)
Assertion
Ref Expression
fvmptss (∀𝑥 ∈ 𝐴 𝐵 ⊆ 𝐶 → (𝐹‘𝐷) ⊆ 𝐶)
Distinct variable groups:   𝑥,𝐴   𝑥,𝐶
Allowed substitution hints:   𝐵(𝑥)   𝐷(𝑥)   𝐹(𝑥)

Proof of Theorem fvmptss
Dummy variable 𝑦 is distinct from all other variables.
StepHypRef Expression
1 mptrcl.1 . . . . 5 𝐹 = (𝑥 ∈ 𝐴 ↦ 𝐵)
21dmmptss 6235 . . . 4 dom 𝐹 ⊆ 𝐴
32sseli 3927 . . 3 (𝐷 ∈ dom 𝐹 → 𝐷 ∈ 𝐴)
4 fveq2 6877 . . . . . . 7 (𝑦 = 𝐷 → (𝐹‘𝑦) = (𝐹‘𝐷))
54sseq1d 3962 . . . . . 6 (𝑦 = 𝐷 → ((𝐹‘𝑦) ⊆ 𝐶 ↔ (𝐹‘𝐷) ⊆ 𝐶))
65imbi2d 343 . . . . 5 (𝑦 = 𝐷 → ((∀𝑥 ∈ 𝐴 𝐵 ⊆ 𝐶 → (𝐹‘𝑦) ⊆ 𝐶) ↔ (∀𝑥 ∈ 𝐴 𝐵 ⊆ 𝐶 → (𝐹‘𝐷) ⊆ 𝐶)))
7 nfcv 2923 . . . . . 6 Ⅎ𝑥𝑦
8 nfra1 3287 . . . . . . 7 Ⅎ𝑥∀𝑥 ∈ 𝐴 𝐵 ⊆ 𝐶
9 nfmpt1 5204 . . . . . . . . . 10 Ⅎ𝑥(𝑥 ∈ 𝐴 ↦ 𝐵)
101, 9nfcxfr 2921 . . . . . . . . 9 Ⅎ𝑥𝐹
1110, 7nffv 6887 . . . . . . . 8 Ⅎ𝑥(𝐹‘𝑦)
12 nfcv 2923 . . . . . . . 8 Ⅎ𝑥𝐶
1311, 12nfss 3924 . . . . . . 7 Ⅎ𝑥(𝐹‘𝑦) ⊆ 𝐶
148, 13nfim 1929 . . . . . 6 Ⅎ𝑥(∀𝑥 ∈ 𝐴 𝐵 ⊆ 𝐶 → (𝐹‘𝑦) ⊆ 𝐶)
15 fveq2 6877 . . . . . . . 8 (𝑥 = 𝑦 → (𝐹‘𝑥) = (𝐹‘𝑦))
1615sseq1d 3962 . . . . . . 7 (𝑥 = 𝑦 → ((𝐹‘𝑥) ⊆ 𝐶 ↔ (𝐹‘𝑦) ⊆ 𝐶))
1716imbi2d 343 . . . . . 6 (𝑥 = 𝑦 → ((∀𝑥 ∈ 𝐴 𝐵 ⊆ 𝐶 → (𝐹‘𝑥) ⊆ 𝐶) ↔ (∀𝑥 ∈ 𝐴 𝐵 ⊆ 𝐶 → (𝐹‘𝑦) ⊆ 𝐶)))
181dmmpt 6234 . . . . . . . . . . 11 dom 𝐹 = {𝑥 ∈ 𝐴 ∣ 𝐵 ∈ V}
1918reqabi 3435 . . . . . . . . . 10 (𝑥 ∈ dom 𝐹 ↔ (𝑥 ∈ 𝐴 ∧ 𝐵 ∈ V))
201fvmpt2 6997 . . . . . . . . . . 11 ((𝑥 ∈ 𝐴 ∧ 𝐵 ∈ V) → (𝐹‘𝑥) = 𝐵)
21 eqimss 3989 . . . . . . . . . . 11 ((𝐹‘𝑥) = 𝐵 → (𝐹‘𝑥) ⊆ 𝐵)
2220, 21syl 18 . . . . . . . . . 10 ((𝑥 ∈ 𝐴 ∧ 𝐵 ∈ V) → (𝐹‘𝑥) ⊆ 𝐵)
2319, 22sylbi 220 . . . . . . . . 9 (𝑥 ∈ dom 𝐹 → (𝐹‘𝑥) ⊆ 𝐵)
24 ndmfv 6909 . . . . . . . . . 10 (¬ 𝑥 ∈ dom 𝐹 → (𝐹‘𝑥) = ∅)
25 0ss 4350 . . . . . . . . . 10 ∅ ⊆ 𝐵
2624, 25eqsstrdi 3975 . . . . . . . . 9 (¬ 𝑥 ∈ dom 𝐹 → (𝐹‘𝑥) ⊆ 𝐵)
2723, 26pm2.61i 184 . . . . . . . 8 (𝐹‘𝑥) ⊆ 𝐵
28 rsp 3251 . . . . . . . . 9 (∀𝑥 ∈ 𝐴 𝐵 ⊆ 𝐶 → (𝑥 ∈ 𝐴 → 𝐵 ⊆ 𝐶))
2928impcom 413 . . . . . . . 8 ((𝑥 ∈ 𝐴 ∧ ∀𝑥 ∈ 𝐴 𝐵 ⊆ 𝐶) → 𝐵 ⊆ 𝐶)
3027, 29sstrid 3942 . . . . . . 7 ((𝑥 ∈ 𝐴 ∧ ∀𝑥 ∈ 𝐴 𝐵 ⊆ 𝐶) → (𝐹‘𝑥) ⊆ 𝐶)
3130ex 418 . . . . . 6 (𝑥 ∈ 𝐴 → (∀𝑥 ∈ 𝐴 𝐵 ⊆ 𝐶 → (𝐹‘𝑥) ⊆ 𝐶))
327, 14, 17, 31vtoclgaf 3536 . . . . 5 (𝑦 ∈ 𝐴 → (∀𝑥 ∈ 𝐴 𝐵 ⊆ 𝐶 → (𝐹‘𝑦) ⊆ 𝐶))
336, 32vtoclga 3537 . . . 4 (𝐷 ∈ 𝐴 → (∀𝑥 ∈ 𝐴 𝐵 ⊆ 𝐶 → (𝐹‘𝐷) ⊆ 𝐶))
3433impcom 413 . . 3 ((∀𝑥 ∈ 𝐴 𝐵 ⊆ 𝐶 ∧ 𝐷 ∈ 𝐴) → (𝐹‘𝐷) ⊆ 𝐶)
353, 34sylan2 605 . 2 ((∀𝑥 ∈ 𝐴 𝐵 ⊆ 𝐶 ∧ 𝐷 ∈ dom 𝐹) → (𝐹‘𝐷) ⊆ 𝐶)
36 ndmfv 6909 . . . 4 (¬ 𝐷 ∈ dom 𝐹 → (𝐹‘𝐷) = ∅)
3736adantl 487 . . 3 ((∀𝑥 ∈ 𝐴 𝐵 ⊆ 𝐶 ∧ ¬ 𝐷 ∈ dom 𝐹) → (𝐹‘𝐷) = ∅)
38 0ss 4350 . . 3 ∅ ⊆ 𝐶
3937, 38eqsstrdi 3975 . 2 ((∀𝑥 ∈ 𝐴 𝐵 ⊆ 𝐶 ∧ ¬ 𝐷 ∈ dom 𝐹) → (𝐹‘𝐷) ⊆ 𝐶)
4035, 39pm2.61dan 825 1 (∀𝑥 ∈ 𝐴 𝐵 ⊆ 𝐶 → (𝐹‘𝐷) ⊆ 𝐶)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3   → wi 4   ∧ wa 401   = wceq 1570   ∈ wcel 2145  ∀wral 3077  Vcvv 3451   ⊆ wss 3899  ∅c0 4279   ↦ cmpt 5186  dom cdm 5651  ‘cfv 6531
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 2147  ax-9 2155  ax-10 2178  ax-11 2194  ax-12 2213  ax-ext 2733  ax-sep 5249  ax-nul 5260  ax-pr 5391
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2100  df-mo 2565  df-eu 2595  df-clab 2740  df-cleq 2753  df-clel 2836  df-nfc 2910  df-ne 2957  df-ral 3078  df-rex 3088  df-rab 3414  df-v 3453  df-sbc 3740  df-csb 3848  df-dif 3902  df-un 3904  df-in 3906  df-ss 3916  df-nul 4280  df-if 4483  df-sn 4585  df-pr 4587  df-op 4591  df-uni 4868  df-br 5104  df-opab 5168  df-mpt 5187  df-id 5546  df-xp 5657  df-rel 5658  df-cnv 5659  df-co 5660  df-dm 5661  df-rn 5662  df-res 5663  df-ima 5664  df-iota 6487  df-fun 6533  df-fv 6539
This theorem is used by:  relmptopab  7663  ovmptss  8093
  Copyright terms: Public domain W3C validator