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

Theorem fvmptss 6808
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 6084 . . . 4 dom 𝐹𝐴
32sseli 3883 . . 3 (𝐷 ∈ dom 𝐹𝐷𝐴)
4 fveq2 6695 . . . . . . 7 (𝑦 = 𝐷 → (𝐹𝑦) = (𝐹𝐷))
54sseq1d 3918 . . . . . 6 (𝑦 = 𝐷 → ((𝐹𝑦) ⊆ 𝐶 ↔ (𝐹𝐷) ⊆ 𝐶))
65imbi2d 344 . . . . 5 (𝑦 = 𝐷 → ((∀𝑥𝐴 𝐵𝐶 → (𝐹𝑦) ⊆ 𝐶) ↔ (∀𝑥𝐴 𝐵𝐶 → (𝐹𝐷) ⊆ 𝐶)))
7 nfcv 2897 . . . . . 6 𝑥𝑦
8 nfra1 3130 . . . . . . 7 𝑥𝑥𝐴 𝐵𝐶
9 nfmpt1 5138 . . . . . . . . . 10 𝑥(𝑥𝐴𝐵)
101, 9nfcxfr 2895 . . . . . . . . 9 𝑥𝐹
1110, 7nffv 6705 . . . . . . . 8 𝑥(𝐹𝑦)
12 nfcv 2897 . . . . . . . 8 𝑥𝐶
1311, 12nfss 3879 . . . . . . 7 𝑥(𝐹𝑦) ⊆ 𝐶
148, 13nfim 1904 . . . . . 6 𝑥(∀𝑥𝐴 𝐵𝐶 → (𝐹𝑦) ⊆ 𝐶)
15 fveq2 6695 . . . . . . . 8 (𝑥 = 𝑦 → (𝐹𝑥) = (𝐹𝑦))
1615sseq1d 3918 . . . . . . 7 (𝑥 = 𝑦 → ((𝐹𝑥) ⊆ 𝐶 ↔ (𝐹𝑦) ⊆ 𝐶))
1716imbi2d 344 . . . . . 6 (𝑥 = 𝑦 → ((∀𝑥𝐴 𝐵𝐶 → (𝐹𝑥) ⊆ 𝐶) ↔ (∀𝑥𝐴 𝐵𝐶 → (𝐹𝑦) ⊆ 𝐶)))
181dmmpt 6083 . . . . . . . . . . 11 dom 𝐹 = {𝑥𝐴𝐵 ∈ V}
1918rabeq2i 3388 . . . . . . . . . 10 (𝑥 ∈ dom 𝐹 ↔ (𝑥𝐴𝐵 ∈ V))
201fvmpt2 6807 . . . . . . . . . . 11 ((𝑥𝐴𝐵 ∈ V) → (𝐹𝑥) = 𝐵)
21 eqimss 3943 . . . . . . . . . . 11 ((𝐹𝑥) = 𝐵 → (𝐹𝑥) ⊆ 𝐵)
2220, 21syl 17 . . . . . . . . . 10 ((𝑥𝐴𝐵 ∈ V) → (𝐹𝑥) ⊆ 𝐵)
2319, 22sylbi 220 . . . . . . . . 9 (𝑥 ∈ dom 𝐹 → (𝐹𝑥) ⊆ 𝐵)
24 ndmfv 6725 . . . . . . . . . 10 𝑥 ∈ dom 𝐹 → (𝐹𝑥) = ∅)
25 0ss 4297 . . . . . . . . . 10 ∅ ⊆ 𝐵
2624, 25eqsstrdi 3941 . . . . . . . . 9 𝑥 ∈ dom 𝐹 → (𝐹𝑥) ⊆ 𝐵)
2723, 26pm2.61i 185 . . . . . . . 8 (𝐹𝑥) ⊆ 𝐵
28 rsp 3117 . . . . . . . . 9 (∀𝑥𝐴 𝐵𝐶 → (𝑥𝐴𝐵𝐶))
2928impcom 411 . . . . . . . 8 ((𝑥𝐴 ∧ ∀𝑥𝐴 𝐵𝐶) → 𝐵𝐶)
3027, 29sstrid 3898 . . . . . . 7 ((𝑥𝐴 ∧ ∀𝑥𝐴 𝐵𝐶) → (𝐹𝑥) ⊆ 𝐶)
3130ex 416 . . . . . 6 (𝑥𝐴 → (∀𝑥𝐴 𝐵𝐶 → (𝐹𝑥) ⊆ 𝐶))
327, 14, 17, 31vtoclgaf 3478 . . . . 5 (𝑦𝐴 → (∀𝑥𝐴 𝐵𝐶 → (𝐹𝑦) ⊆ 𝐶))
336, 32vtoclga 3479 . . . 4 (𝐷𝐴 → (∀𝑥𝐴 𝐵𝐶 → (𝐹𝐷) ⊆ 𝐶))
3433impcom 411 . . 3 ((∀𝑥𝐴 𝐵𝐶𝐷𝐴) → (𝐹𝐷) ⊆ 𝐶)
353, 34sylan2 596 . 2 ((∀𝑥𝐴 𝐵𝐶𝐷 ∈ dom 𝐹) → (𝐹𝐷) ⊆ 𝐶)
36 ndmfv 6725 . . . 4 𝐷 ∈ dom 𝐹 → (𝐹𝐷) = ∅)
3736adantl 485 . . 3 ((∀𝑥𝐴 𝐵𝐶 ∧ ¬ 𝐷 ∈ dom 𝐹) → (𝐹𝐷) = ∅)
38 0ss 4297 . . 3 ∅ ⊆ 𝐶
3937, 38eqsstrdi 3941 . 2 ((∀𝑥𝐴 𝐵𝐶 ∧ ¬ 𝐷 ∈ dom 𝐹) → (𝐹𝐷) ⊆ 𝐶)
4035, 39pm2.61dan 813 1 (∀𝑥𝐴 𝐵𝐶 → (𝐹𝐷) ⊆ 𝐶)
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wa 399   = wceq 1543  wcel 2112  wral 3051  Vcvv 3398  wss 3853  c0 4223  cmpt 5120  dom cdm 5536  cfv 6358
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1803  ax-4 1817  ax-5 1918  ax-6 1976  ax-7 2018  ax-8 2114  ax-9 2122  ax-10 2143  ax-11 2160  ax-12 2177  ax-ext 2708  ax-sep 5177  ax-nul 5184  ax-pr 5307
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 848  df-3an 1091  df-tru 1546  df-fal 1556  df-ex 1788  df-nf 1792  df-sb 2073  df-mo 2539  df-eu 2568  df-clab 2715  df-cleq 2728  df-clel 2809  df-nfc 2879  df-ne 2933  df-ral 3056  df-rex 3057  df-rab 3060  df-v 3400  df-sbc 3684  df-csb 3799  df-dif 3856  df-un 3858  df-in 3860  df-ss 3870  df-nul 4224  df-if 4426  df-sn 4528  df-pr 4530  df-op 4534  df-uni 4806  df-br 5040  df-opab 5102  df-mpt 5121  df-id 5440  df-xp 5542  df-rel 5543  df-cnv 5544  df-co 5545  df-dm 5546  df-rn 5547  df-res 5548  df-ima 5549  df-iota 6316  df-fun 6360  df-fv 6366
This theorem is referenced by:  relmptopab  7433  ovmptss  7839
  Copyright terms: Public domain W3C validator