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

Theorem fvmptss 6887
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 6144 . . . 4 dom 𝐹𝐴
32sseli 3917 . . 3 (𝐷 ∈ dom 𝐹𝐷𝐴)
4 fveq2 6774 . . . . . . 7 (𝑦 = 𝐷 → (𝐹𝑦) = (𝐹𝐷))
54sseq1d 3952 . . . . . 6 (𝑦 = 𝐷 → ((𝐹𝑦) ⊆ 𝐶 ↔ (𝐹𝐷) ⊆ 𝐶))
65imbi2d 341 . . . . 5 (𝑦 = 𝐷 → ((∀𝑥𝐴 𝐵𝐶 → (𝐹𝑦) ⊆ 𝐶) ↔ (∀𝑥𝐴 𝐵𝐶 → (𝐹𝐷) ⊆ 𝐶)))
7 nfcv 2907 . . . . . 6 𝑥𝑦
8 nfra1 3144 . . . . . . 7 𝑥𝑥𝐴 𝐵𝐶
9 nfmpt1 5182 . . . . . . . . . 10 𝑥(𝑥𝐴𝐵)
101, 9nfcxfr 2905 . . . . . . . . 9 𝑥𝐹
1110, 7nffv 6784 . . . . . . . 8 𝑥(𝐹𝑦)
12 nfcv 2907 . . . . . . . 8 𝑥𝐶
1311, 12nfss 3913 . . . . . . 7 𝑥(𝐹𝑦) ⊆ 𝐶
148, 13nfim 1899 . . . . . 6 𝑥(∀𝑥𝐴 𝐵𝐶 → (𝐹𝑦) ⊆ 𝐶)
15 fveq2 6774 . . . . . . . 8 (𝑥 = 𝑦 → (𝐹𝑥) = (𝐹𝑦))
1615sseq1d 3952 . . . . . . 7 (𝑥 = 𝑦 → ((𝐹𝑥) ⊆ 𝐶 ↔ (𝐹𝑦) ⊆ 𝐶))
1716imbi2d 341 . . . . . 6 (𝑥 = 𝑦 → ((∀𝑥𝐴 𝐵𝐶 → (𝐹𝑥) ⊆ 𝐶) ↔ (∀𝑥𝐴 𝐵𝐶 → (𝐹𝑦) ⊆ 𝐶)))
181dmmpt 6143 . . . . . . . . . . 11 dom 𝐹 = {𝑥𝐴𝐵 ∈ V}
1918rabeq2i 3422 . . . . . . . . . 10 (𝑥 ∈ dom 𝐹 ↔ (𝑥𝐴𝐵 ∈ V))
201fvmpt2 6886 . . . . . . . . . . 11 ((𝑥𝐴𝐵 ∈ V) → (𝐹𝑥) = 𝐵)
21 eqimss 3977 . . . . . . . . . . 11 ((𝐹𝑥) = 𝐵 → (𝐹𝑥) ⊆ 𝐵)
2220, 21syl 17 . . . . . . . . . 10 ((𝑥𝐴𝐵 ∈ V) → (𝐹𝑥) ⊆ 𝐵)
2319, 22sylbi 216 . . . . . . . . 9 (𝑥 ∈ dom 𝐹 → (𝐹𝑥) ⊆ 𝐵)
24 ndmfv 6804 . . . . . . . . . 10 𝑥 ∈ dom 𝐹 → (𝐹𝑥) = ∅)
25 0ss 4330 . . . . . . . . . 10 ∅ ⊆ 𝐵
2624, 25eqsstrdi 3975 . . . . . . . . 9 𝑥 ∈ dom 𝐹 → (𝐹𝑥) ⊆ 𝐵)
2723, 26pm2.61i 182 . . . . . . . 8 (𝐹𝑥) ⊆ 𝐵
28 rsp 3131 . . . . . . . . 9 (∀𝑥𝐴 𝐵𝐶 → (𝑥𝐴𝐵𝐶))
2928impcom 408 . . . . . . . 8 ((𝑥𝐴 ∧ ∀𝑥𝐴 𝐵𝐶) → 𝐵𝐶)
3027, 29sstrid 3932 . . . . . . 7 ((𝑥𝐴 ∧ ∀𝑥𝐴 𝐵𝐶) → (𝐹𝑥) ⊆ 𝐶)
3130ex 413 . . . . . 6 (𝑥𝐴 → (∀𝑥𝐴 𝐵𝐶 → (𝐹𝑥) ⊆ 𝐶))
327, 14, 17, 31vtoclgaf 3512 . . . . 5 (𝑦𝐴 → (∀𝑥𝐴 𝐵𝐶 → (𝐹𝑦) ⊆ 𝐶))
336, 32vtoclga 3513 . . . 4 (𝐷𝐴 → (∀𝑥𝐴 𝐵𝐶 → (𝐹𝐷) ⊆ 𝐶))
3433impcom 408 . . 3 ((∀𝑥𝐴 𝐵𝐶𝐷𝐴) → (𝐹𝐷) ⊆ 𝐶)
353, 34sylan2 593 . 2 ((∀𝑥𝐴 𝐵𝐶𝐷 ∈ dom 𝐹) → (𝐹𝐷) ⊆ 𝐶)
36 ndmfv 6804 . . . 4 𝐷 ∈ dom 𝐹 → (𝐹𝐷) = ∅)
3736adantl 482 . . 3 ((∀𝑥𝐴 𝐵𝐶 ∧ ¬ 𝐷 ∈ dom 𝐹) → (𝐹𝐷) = ∅)
38 0ss 4330 . . 3 ∅ ⊆ 𝐶
3937, 38eqsstrdi 3975 . 2 ((∀𝑥𝐴 𝐵𝐶 ∧ ¬ 𝐷 ∈ dom 𝐹) → (𝐹𝐷) ⊆ 𝐶)
4035, 39pm2.61dan 810 1 (∀𝑥𝐴 𝐵𝐶 → (𝐹𝐷) ⊆ 𝐶)
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wa 396   = wceq 1539  wcel 2106  wral 3064  Vcvv 3432  wss 3887  c0 4256  cmpt 5157  dom cdm 5589  cfv 6433
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-10 2137  ax-11 2154  ax-12 2171  ax-ext 2709  ax-sep 5223  ax-nul 5230  ax-pr 5352
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3an 1088  df-tru 1542  df-fal 1552  df-ex 1783  df-nf 1787  df-sb 2068  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2816  df-nfc 2889  df-ral 3069  df-rex 3070  df-rab 3073  df-v 3434  df-sbc 3717  df-csb 3833  df-dif 3890  df-un 3892  df-in 3894  df-ss 3904  df-nul 4257  df-if 4460  df-sn 4562  df-pr 4564  df-op 4568  df-uni 4840  df-br 5075  df-opab 5137  df-mpt 5158  df-id 5489  df-xp 5595  df-rel 5596  df-cnv 5597  df-co 5598  df-dm 5599  df-rn 5600  df-res 5601  df-ima 5602  df-iota 6391  df-fun 6435  df-fv 6441
This theorem is referenced by:  relmptopab  7519  ovmptss  7933
  Copyright terms: Public domain W3C validator