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

Theorem fvmptss 6772
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 6088 . . . 4 dom 𝐹𝐴
32sseli 3960 . . 3 (𝐷 ∈ dom 𝐹𝐷𝐴)
4 fveq2 6663 . . . . . . 7 (𝑦 = 𝐷 → (𝐹𝑦) = (𝐹𝐷))
54sseq1d 3995 . . . . . 6 (𝑦 = 𝐷 → ((𝐹𝑦) ⊆ 𝐶 ↔ (𝐹𝐷) ⊆ 𝐶))
65imbi2d 342 . . . . 5 (𝑦 = 𝐷 → ((∀𝑥𝐴 𝐵𝐶 → (𝐹𝑦) ⊆ 𝐶) ↔ (∀𝑥𝐴 𝐵𝐶 → (𝐹𝐷) ⊆ 𝐶)))
7 nfcv 2974 . . . . . 6 𝑥𝑦
8 nfra1 3216 . . . . . . 7 𝑥𝑥𝐴 𝐵𝐶
9 nfmpt1 5155 . . . . . . . . . 10 𝑥(𝑥𝐴𝐵)
101, 9nfcxfr 2972 . . . . . . . . 9 𝑥𝐹
1110, 7nffv 6673 . . . . . . . 8 𝑥(𝐹𝑦)
12 nfcv 2974 . . . . . . . 8 𝑥𝐶
1311, 12nfss 3957 . . . . . . 7 𝑥(𝐹𝑦) ⊆ 𝐶
148, 13nfim 1888 . . . . . 6 𝑥(∀𝑥𝐴 𝐵𝐶 → (𝐹𝑦) ⊆ 𝐶)
15 fveq2 6663 . . . . . . . 8 (𝑥 = 𝑦 → (𝐹𝑥) = (𝐹𝑦))
1615sseq1d 3995 . . . . . . 7 (𝑥 = 𝑦 → ((𝐹𝑥) ⊆ 𝐶 ↔ (𝐹𝑦) ⊆ 𝐶))
1716imbi2d 342 . . . . . 6 (𝑥 = 𝑦 → ((∀𝑥𝐴 𝐵𝐶 → (𝐹𝑥) ⊆ 𝐶) ↔ (∀𝑥𝐴 𝐵𝐶 → (𝐹𝑦) ⊆ 𝐶)))
181dmmpt 6087 . . . . . . . . . . 11 dom 𝐹 = {𝑥𝐴𝐵 ∈ V}
1918rabeq2i 3485 . . . . . . . . . 10 (𝑥 ∈ dom 𝐹 ↔ (𝑥𝐴𝐵 ∈ V))
201fvmpt2 6771 . . . . . . . . . . 11 ((𝑥𝐴𝐵 ∈ V) → (𝐹𝑥) = 𝐵)
21 eqimss 4020 . . . . . . . . . . 11 ((𝐹𝑥) = 𝐵 → (𝐹𝑥) ⊆ 𝐵)
2220, 21syl 17 . . . . . . . . . 10 ((𝑥𝐴𝐵 ∈ V) → (𝐹𝑥) ⊆ 𝐵)
2319, 22sylbi 218 . . . . . . . . 9 (𝑥 ∈ dom 𝐹 → (𝐹𝑥) ⊆ 𝐵)
24 ndmfv 6693 . . . . . . . . . 10 𝑥 ∈ dom 𝐹 → (𝐹𝑥) = ∅)
25 0ss 4347 . . . . . . . . . 10 ∅ ⊆ 𝐵
2624, 25eqsstrdi 4018 . . . . . . . . 9 𝑥 ∈ dom 𝐹 → (𝐹𝑥) ⊆ 𝐵)
2723, 26pm2.61i 183 . . . . . . . 8 (𝐹𝑥) ⊆ 𝐵
28 rsp 3202 . . . . . . . . 9 (∀𝑥𝐴 𝐵𝐶 → (𝑥𝐴𝐵𝐶))
2928impcom 408 . . . . . . . 8 ((𝑥𝐴 ∧ ∀𝑥𝐴 𝐵𝐶) → 𝐵𝐶)
3027, 29sstrid 3975 . . . . . . 7 ((𝑥𝐴 ∧ ∀𝑥𝐴 𝐵𝐶) → (𝐹𝑥) ⊆ 𝐶)
3130ex 413 . . . . . 6 (𝑥𝐴 → (∀𝑥𝐴 𝐵𝐶 → (𝐹𝑥) ⊆ 𝐶))
327, 14, 17, 31vtoclgaf 3570 . . . . 5 (𝑦𝐴 → (∀𝑥𝐴 𝐵𝐶 → (𝐹𝑦) ⊆ 𝐶))
336, 32vtoclga 3571 . . . 4 (𝐷𝐴 → (∀𝑥𝐴 𝐵𝐶 → (𝐹𝐷) ⊆ 𝐶))
3433impcom 408 . . 3 ((∀𝑥𝐴 𝐵𝐶𝐷𝐴) → (𝐹𝐷) ⊆ 𝐶)
353, 34sylan2 592 . 2 ((∀𝑥𝐴 𝐵𝐶𝐷 ∈ dom 𝐹) → (𝐹𝐷) ⊆ 𝐶)
36 ndmfv 6693 . . . 4 𝐷 ∈ dom 𝐹 → (𝐹𝐷) = ∅)
3736adantl 482 . . 3 ((∀𝑥𝐴 𝐵𝐶 ∧ ¬ 𝐷 ∈ dom 𝐹) → (𝐹𝐷) = ∅)
38 0ss 4347 . . 3 ∅ ⊆ 𝐶
3937, 38eqsstrdi 4018 . 2 ((∀𝑥𝐴 𝐵𝐶 ∧ ¬ 𝐷 ∈ dom 𝐹) → (𝐹𝐷) ⊆ 𝐶)
4035, 39pm2.61dan 809 1 (∀𝑥𝐴 𝐵𝐶 → (𝐹𝐷) ⊆ 𝐶)
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wa 396   = wceq 1528  wcel 2105  wral 3135  Vcvv 3492  wss 3933  c0 4288  cmpt 5137  dom cdm 5548  cfv 6348
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1787  ax-4 1801  ax-5 1902  ax-6 1961  ax-7 2006  ax-8 2107  ax-9 2115  ax-10 2136  ax-11 2151  ax-12 2167  ax-ext 2790  ax-sep 5194  ax-nul 5201  ax-pow 5257  ax-pr 5320
This theorem depends on definitions:  df-bi 208  df-an 397  df-or 842  df-3an 1081  df-tru 1531  df-ex 1772  df-nf 1776  df-sb 2061  df-mo 2615  df-eu 2647  df-clab 2797  df-cleq 2811  df-clel 2890  df-nfc 2960  df-ral 3140  df-rex 3141  df-rab 3144  df-v 3494  df-sbc 3770  df-csb 3881  df-dif 3936  df-un 3938  df-in 3940  df-ss 3949  df-nul 4289  df-if 4464  df-sn 4558  df-pr 4560  df-op 4564  df-uni 4831  df-br 5058  df-opab 5120  df-mpt 5138  df-id 5453  df-xp 5554  df-rel 5555  df-cnv 5556  df-co 5557  df-dm 5558  df-rn 5559  df-res 5560  df-ima 5561  df-iota 6307  df-fun 6350  df-fv 6356
This theorem is referenced by:  relmptopab  7384  ovmptss  7777
  Copyright terms: Public domain W3C validator