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

Theorem fvmptss 6783
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 6098 . . . 4 dom 𝐹𝐴
32sseli 3966 . . 3 (𝐷 ∈ dom 𝐹𝐷𝐴)
4 fveq2 6673 . . . . . . 7 (𝑦 = 𝐷 → (𝐹𝑦) = (𝐹𝐷))
54sseq1d 4001 . . . . . 6 (𝑦 = 𝐷 → ((𝐹𝑦) ⊆ 𝐶 ↔ (𝐹𝐷) ⊆ 𝐶))
65imbi2d 343 . . . . 5 (𝑦 = 𝐷 → ((∀𝑥𝐴 𝐵𝐶 → (𝐹𝑦) ⊆ 𝐶) ↔ (∀𝑥𝐴 𝐵𝐶 → (𝐹𝐷) ⊆ 𝐶)))
7 nfcv 2980 . . . . . 6 𝑥𝑦
8 nfra1 3222 . . . . . . 7 𝑥𝑥𝐴 𝐵𝐶
9 nfmpt1 5167 . . . . . . . . . 10 𝑥(𝑥𝐴𝐵)
101, 9nfcxfr 2978 . . . . . . . . 9 𝑥𝐹
1110, 7nffv 6683 . . . . . . . 8 𝑥(𝐹𝑦)
12 nfcv 2980 . . . . . . . 8 𝑥𝐶
1311, 12nfss 3963 . . . . . . 7 𝑥(𝐹𝑦) ⊆ 𝐶
148, 13nfim 1896 . . . . . 6 𝑥(∀𝑥𝐴 𝐵𝐶 → (𝐹𝑦) ⊆ 𝐶)
15 fveq2 6673 . . . . . . . 8 (𝑥 = 𝑦 → (𝐹𝑥) = (𝐹𝑦))
1615sseq1d 4001 . . . . . . 7 (𝑥 = 𝑦 → ((𝐹𝑥) ⊆ 𝐶 ↔ (𝐹𝑦) ⊆ 𝐶))
1716imbi2d 343 . . . . . 6 (𝑥 = 𝑦 → ((∀𝑥𝐴 𝐵𝐶 → (𝐹𝑥) ⊆ 𝐶) ↔ (∀𝑥𝐴 𝐵𝐶 → (𝐹𝑦) ⊆ 𝐶)))
181dmmpt 6097 . . . . . . . . . . 11 dom 𝐹 = {𝑥𝐴𝐵 ∈ V}
1918rabeq2i 3490 . . . . . . . . . 10 (𝑥 ∈ dom 𝐹 ↔ (𝑥𝐴𝐵 ∈ V))
201fvmpt2 6782 . . . . . . . . . . 11 ((𝑥𝐴𝐵 ∈ V) → (𝐹𝑥) = 𝐵)
21 eqimss 4026 . . . . . . . . . . 11 ((𝐹𝑥) = 𝐵 → (𝐹𝑥) ⊆ 𝐵)
2220, 21syl 17 . . . . . . . . . 10 ((𝑥𝐴𝐵 ∈ V) → (𝐹𝑥) ⊆ 𝐵)
2319, 22sylbi 219 . . . . . . . . 9 (𝑥 ∈ dom 𝐹 → (𝐹𝑥) ⊆ 𝐵)
24 ndmfv 6703 . . . . . . . . . 10 𝑥 ∈ dom 𝐹 → (𝐹𝑥) = ∅)
25 0ss 4353 . . . . . . . . . 10 ∅ ⊆ 𝐵
2624, 25eqsstrdi 4024 . . . . . . . . 9 𝑥 ∈ dom 𝐹 → (𝐹𝑥) ⊆ 𝐵)
2723, 26pm2.61i 184 . . . . . . . 8 (𝐹𝑥) ⊆ 𝐵
28 rsp 3208 . . . . . . . . 9 (∀𝑥𝐴 𝐵𝐶 → (𝑥𝐴𝐵𝐶))
2928impcom 410 . . . . . . . 8 ((𝑥𝐴 ∧ ∀𝑥𝐴 𝐵𝐶) → 𝐵𝐶)
3027, 29sstrid 3981 . . . . . . 7 ((𝑥𝐴 ∧ ∀𝑥𝐴 𝐵𝐶) → (𝐹𝑥) ⊆ 𝐶)
3130ex 415 . . . . . 6 (𝑥𝐴 → (∀𝑥𝐴 𝐵𝐶 → (𝐹𝑥) ⊆ 𝐶))
327, 14, 17, 31vtoclgaf 3576 . . . . 5 (𝑦𝐴 → (∀𝑥𝐴 𝐵𝐶 → (𝐹𝑦) ⊆ 𝐶))
336, 32vtoclga 3577 . . . 4 (𝐷𝐴 → (∀𝑥𝐴 𝐵𝐶 → (𝐹𝐷) ⊆ 𝐶))
3433impcom 410 . . 3 ((∀𝑥𝐴 𝐵𝐶𝐷𝐴) → (𝐹𝐷) ⊆ 𝐶)
353, 34sylan2 594 . 2 ((∀𝑥𝐴 𝐵𝐶𝐷 ∈ dom 𝐹) → (𝐹𝐷) ⊆ 𝐶)
36 ndmfv 6703 . . . 4 𝐷 ∈ dom 𝐹 → (𝐹𝐷) = ∅)
3736adantl 484 . . 3 ((∀𝑥𝐴 𝐵𝐶 ∧ ¬ 𝐷 ∈ dom 𝐹) → (𝐹𝐷) = ∅)
38 0ss 4353 . . 3 ∅ ⊆ 𝐶
3937, 38eqsstrdi 4024 . 2 ((∀𝑥𝐴 𝐵𝐶 ∧ ¬ 𝐷 ∈ dom 𝐹) → (𝐹𝐷) ⊆ 𝐶)
4035, 39pm2.61dan 811 1 (∀𝑥𝐴 𝐵𝐶 → (𝐹𝐷) ⊆ 𝐶)
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wa 398   = wceq 1536  wcel 2113  wral 3141  Vcvv 3497  wss 3939  c0 4294  cmpt 5149  dom cdm 5558  cfv 6358
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1795  ax-4 1809  ax-5 1910  ax-6 1969  ax-7 2014  ax-8 2115  ax-9 2123  ax-10 2144  ax-11 2160  ax-12 2176  ax-ext 2796  ax-sep 5206  ax-nul 5213  ax-pow 5269  ax-pr 5333
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3an 1085  df-tru 1539  df-ex 1780  df-nf 1784  df-sb 2069  df-mo 2621  df-eu 2653  df-clab 2803  df-cleq 2817  df-clel 2896  df-nfc 2966  df-ral 3146  df-rex 3147  df-rab 3150  df-v 3499  df-sbc 3776  df-csb 3887  df-dif 3942  df-un 3944  df-in 3946  df-ss 3955  df-nul 4295  df-if 4471  df-sn 4571  df-pr 4573  df-op 4577  df-uni 4842  df-br 5070  df-opab 5132  df-mpt 5150  df-id 5463  df-xp 5564  df-rel 5565  df-cnv 5566  df-co 5567  df-dm 5568  df-rn 5569  df-res 5570  df-ima 5571  df-iota 6317  df-fun 6360  df-fv 6366
This theorem is referenced by:  relmptopab  7398  ovmptss  7791
  Copyright terms: Public domain W3C validator