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

Theorem fvmptss 7032
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 6256 . . . 4 dom 𝐹 ⊆ 𝐴
32sseli 3909 . . 3 (𝐷 ∈ dom 𝐹 → 𝐷 ∈ 𝐴)
4 fveq2 6911 . . . . . . 7 (𝑦 = 𝐷 → (𝐹‘𝑦) = (𝐹‘𝐷))
54sseq1d 3944 . . . . . 6 (𝑦 = 𝐷 → ((𝐹‘𝑦) ⊆ 𝐶 ↔ (𝐹‘𝐷) ⊆ 𝐶))
65imbi2d 343 . . . . 5 (𝑦 = 𝐷 → ((∀𝑥 ∈ 𝐴 𝐵 ⊆ 𝐶 → (𝐹‘𝑦) ⊆ 𝐶) ↔ (∀𝑥 ∈ 𝐴 𝐵 ⊆ 𝐶 → (𝐹‘𝐷) ⊆ 𝐶)))
7 nfcv 2926 . . . . . 6 Ⅎ𝑥𝑦
8 nfra1 3290 . . . . . . 7 Ⅎ𝑥∀𝑥 ∈ 𝐴 𝐵 ⊆ 𝐶
9 nfmpt1 5208 . . . . . . . . . 10 Ⅎ𝑥(𝑥 ∈ 𝐴 ↦ 𝐵)
101, 9nfcxfr 2924 . . . . . . . . 9 Ⅎ𝑥𝐹
1110, 7nffv 6921 . . . . . . . 8 Ⅎ𝑥(𝐹‘𝑦)
12 nfcv 2926 . . . . . . . 8 Ⅎ𝑥𝐶
1311, 12nfss 3906 . . . . . . 7 Ⅎ𝑥(𝐹‘𝑦) ⊆ 𝐶
148, 13nfim 1931 . . . . . 6 Ⅎ𝑥(∀𝑥 ∈ 𝐴 𝐵 ⊆ 𝐶 → (𝐹‘𝑦) ⊆ 𝐶)
15 fveq2 6911 . . . . . . . 8 (𝑥 = 𝑦 → (𝐹‘𝑥) = (𝐹‘𝑦))
1615sseq1d 3944 . . . . . . 7 (𝑥 = 𝑦 → ((𝐹‘𝑥) ⊆ 𝐶 ↔ (𝐹‘𝑦) ⊆ 𝐶))
1716imbi2d 343 . . . . . 6 (𝑥 = 𝑦 → ((∀𝑥 ∈ 𝐴 𝐵 ⊆ 𝐶 → (𝐹‘𝑥) ⊆ 𝐶) ↔ (∀𝑥 ∈ 𝐴 𝐵 ⊆ 𝐶 → (𝐹‘𝑦) ⊆ 𝐶)))
181dmmpt 6255 . . . . . . . . . . 11 dom 𝐹 = {𝑥 ∈ 𝐴 ∣ 𝐵 ∈ V}
1918reqabi 3438 . . . . . . . . . 10 (𝑥 ∈ dom 𝐹 ↔ (𝑥 ∈ 𝐴 ∧ 𝐵 ∈ V))
201fvmpt2 7031 . . . . . . . . . . 11 ((𝑥 ∈ 𝐴 ∧ 𝐵 ∈ V) → (𝐹‘𝑥) = 𝐵)
21 eqimss 3971 . . . . . . . . . . 11 ((𝐹‘𝑥) = 𝐵 → (𝐹‘𝑥) ⊆ 𝐵)
2220, 21syl 18 . . . . . . . . . 10 ((𝑥 ∈ 𝐴 ∧ 𝐵 ∈ V) → (𝐹‘𝑥) ⊆ 𝐵)
2319, 22sylbi 220 . . . . . . . . 9 (𝑥 ∈ dom 𝐹 → (𝐹‘𝑥) ⊆ 𝐵)
24 ndmfv 6943 . . . . . . . . . 10 (¬ 𝑥 ∈ dom 𝐹 → (𝐹‘𝑥) = ∅)
25 0ss 4353 . . . . . . . . . 10 ∅ ⊆ 𝐵
2624, 25eqsstrdi 3957 . . . . . . . . 9 (¬ 𝑥 ∈ dom 𝐹 → (𝐹‘𝑥) ⊆ 𝐵)
2723, 26pm2.61i 184 . . . . . . . 8 (𝐹‘𝑥) ⊆ 𝐵
28 rsp 3254 . . . . . . . . 9 (∀𝑥 ∈ 𝐴 𝐵 ⊆ 𝐶 → (𝑥 ∈ 𝐴 → 𝐵 ⊆ 𝐶))
2928impcom 413 . . . . . . . 8 ((𝑥 ∈ 𝐴 ∧ ∀𝑥 ∈ 𝐴 𝐵 ⊆ 𝐶) → 𝐵 ⊆ 𝐶)
3027, 29sstrid 3924 . . . . . . 7 ((𝑥 ∈ 𝐴 ∧ ∀𝑥 ∈ 𝐴 𝐵 ⊆ 𝐶) → (𝐹‘𝑥) ⊆ 𝐶)
3130ex 418 . . . . . 6 (𝑥 ∈ 𝐴 → (∀𝑥 ∈ 𝐴 𝐵 ⊆ 𝐶 → (𝐹‘𝑥) ⊆ 𝐶))
327, 14, 17, 31vtoclgaf 3539 . . . . 5 (𝑦 ∈ 𝐴 → (∀𝑥 ∈ 𝐴 𝐵 ⊆ 𝐶 → (𝐹‘𝑦) ⊆ 𝐶))
336, 32vtoclga 3540 . . . 4 (𝐷 ∈ 𝐴 → (∀𝑥 ∈ 𝐴 𝐵 ⊆ 𝐶 → (𝐹‘𝐷) ⊆ 𝐶))
3433impcom 413 . . 3 ((∀𝑥 ∈ 𝐴 𝐵 ⊆ 𝐶 ∧ 𝐷 ∈ 𝐴) → (𝐹‘𝐷) ⊆ 𝐶)
353, 34sylan2 605 . 2 ((∀𝑥 ∈ 𝐴 𝐵 ⊆ 𝐶 ∧ 𝐷 ∈ dom 𝐹) → (𝐹‘𝐷) ⊆ 𝐶)
36 ndmfv 6943 . . . 4 (¬ 𝐷 ∈ dom 𝐹 → (𝐹‘𝐷) = ∅)
3736adantl 487 . . 3 ((∀𝑥 ∈ 𝐴 𝐵 ⊆ 𝐶 ∧ ¬ 𝐷 ∈ dom 𝐹) → (𝐹‘𝐷) = ∅)
38 0ss 4353 . . 3 ∅ ⊆ 𝐶
3937, 38eqsstrdi 3957 . 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 2147  ∀wral 3080  Vcvv 3454   ⊆ wss 3900  ∅c0 4281   ↦ cmpt 5190  dom cdm 5656  ‘cfv 6561
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 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-10 2180  ax-11 2197  ax-12 2216  ax-ext 2735  ax-sep 5253  ax-nul 5264  ax-pr 5396
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 2102  df-mo 2567  df-eu 2597  df-clab 2742  df-cleq 2755  df-clel 2839  df-nfc 2913  df-ne 2960  df-ral 3081  df-rex 3091  df-rab 3417  df-v 3456  df-sbc 3743  df-csb 3852  df-ss 3901  df-dif 4050  df-in 4094  df-un 4154  df-nul 4282  df-if 4486  df-sn 4589  df-pr 4591  df-op 4839  df-uni 4871  df-br 5107  df-opab 5172  df-mpt 5191  df-id 5551  df-xp 5662  df-rel 5663  df-cnv 5664  df-co 5665  df-dm 5666  df-rn 5667  df-res 5668  df-ima 5669  df-iota 6515  df-fun 6563  df-fv 6569
This theorem is used by:  relmptopab  7698  ovmptssOLD  8133
  Copyright terms: Public domain W3C validator