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

Theorem ovmptss 8018
Description: If all the values of the mapping are subsets of a class 𝑋, then so is any evaluation of the mapping. (Contributed by Mario Carneiro, 24-Dec-2016.)
Hypothesis
Ref Expression
ovmptss.1 𝐹 = (𝑥𝐴, 𝑦𝐵𝐶)
Assertion
Ref Expression
ovmptss (∀𝑥𝐴𝑦𝐵 𝐶𝑋 → (𝐸𝐹𝐺) ⊆ 𝑋)
Distinct variable groups:   𝑥,𝑦,𝐴   𝑦,𝐵   𝑥,𝑋,𝑦
Allowed substitution hints:   𝐵(𝑥)   𝐶(𝑥,𝑦)   𝐸(𝑥,𝑦)   𝐹(𝑥,𝑦)   𝐺(𝑥,𝑦)

Proof of Theorem ovmptss
Dummy variables 𝑣 𝑢 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 ovmptss.1 . . . 4 𝐹 = (𝑥𝐴, 𝑦𝐵𝐶)
2 mpomptsx 7991 . . . 4 (𝑥𝐴, 𝑦𝐵𝐶) = (𝑧 𝑥𝐴 ({𝑥} × 𝐵) ↦ (1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐶)
31, 2eqtri 2754 . . 3 𝐹 = (𝑧 𝑥𝐴 ({𝑥} × 𝐵) ↦ (1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐶)
43fvmptss 6936 . 2 (∀𝑧 𝑥𝐴 ({𝑥} × 𝐵)(1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐶𝑋 → (𝐹‘⟨𝐸, 𝐺⟩) ⊆ 𝑋)
5 vex 3440 . . . . . . . 8 𝑢 ∈ V
6 vex 3440 . . . . . . . 8 𝑣 ∈ V
75, 6op1std 7926 . . . . . . 7 (𝑧 = ⟨𝑢, 𝑣⟩ → (1st𝑧) = 𝑢)
87csbeq1d 3849 . . . . . 6 (𝑧 = ⟨𝑢, 𝑣⟩ → (1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐶 = 𝑢 / 𝑥(2nd𝑧) / 𝑦𝐶)
95, 6op2ndd 7927 . . . . . . . 8 (𝑧 = ⟨𝑢, 𝑣⟩ → (2nd𝑧) = 𝑣)
109csbeq1d 3849 . . . . . . 7 (𝑧 = ⟨𝑢, 𝑣⟩ → (2nd𝑧) / 𝑦𝐶 = 𝑣 / 𝑦𝐶)
1110csbeq2dv 3852 . . . . . 6 (𝑧 = ⟨𝑢, 𝑣⟩ → 𝑢 / 𝑥(2nd𝑧) / 𝑦𝐶 = 𝑢 / 𝑥𝑣 / 𝑦𝐶)
128, 11eqtrd 2766 . . . . 5 (𝑧 = ⟨𝑢, 𝑣⟩ → (1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐶 = 𝑢 / 𝑥𝑣 / 𝑦𝐶)
1312sseq1d 3961 . . . 4 (𝑧 = ⟨𝑢, 𝑣⟩ → ((1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐶𝑋𝑢 / 𝑥𝑣 / 𝑦𝐶𝑋))
1413raliunxp 5774 . . 3 (∀𝑧 𝑢𝐴 ({𝑢} × 𝑢 / 𝑥𝐵)(1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐶𝑋 ↔ ∀𝑢𝐴𝑣 𝑢 / 𝑥𝐵𝑢 / 𝑥𝑣 / 𝑦𝐶𝑋)
15 nfcv 2894 . . . . 5 𝑢({𝑥} × 𝐵)
16 nfcv 2894 . . . . . 6 𝑥{𝑢}
17 nfcsb1v 3869 . . . . . 6 𝑥𝑢 / 𝑥𝐵
1816, 17nfxp 5644 . . . . 5 𝑥({𝑢} × 𝑢 / 𝑥𝐵)
19 sneq 4581 . . . . . 6 (𝑥 = 𝑢 → {𝑥} = {𝑢})
20 csbeq1a 3859 . . . . . 6 (𝑥 = 𝑢𝐵 = 𝑢 / 𝑥𝐵)
2119, 20xpeq12d 5642 . . . . 5 (𝑥 = 𝑢 → ({𝑥} × 𝐵) = ({𝑢} × 𝑢 / 𝑥𝐵))
2215, 18, 21cbviun 4980 . . . 4 𝑥𝐴 ({𝑥} × 𝐵) = 𝑢𝐴 ({𝑢} × 𝑢 / 𝑥𝐵)
2322raleqi 3290 . . 3 (∀𝑧 𝑥𝐴 ({𝑥} × 𝐵)(1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐶𝑋 ↔ ∀𝑧 𝑢𝐴 ({𝑢} × 𝑢 / 𝑥𝐵)(1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐶𝑋)
24 nfv 1915 . . . 4 𝑢𝑦𝐵 𝐶𝑋
25 nfcsb1v 3869 . . . . . 6 𝑥𝑢 / 𝑥𝑣 / 𝑦𝐶
26 nfcv 2894 . . . . . 6 𝑥𝑋
2725, 26nfss 3922 . . . . 5 𝑥𝑢 / 𝑥𝑣 / 𝑦𝐶𝑋
2817, 27nfralw 3279 . . . 4 𝑥𝑣 𝑢 / 𝑥𝐵𝑢 / 𝑥𝑣 / 𝑦𝐶𝑋
29 nfv 1915 . . . . . 6 𝑣 𝐶𝑋
30 nfcsb1v 3869 . . . . . . 7 𝑦𝑣 / 𝑦𝐶
31 nfcv 2894 . . . . . . 7 𝑦𝑋
3230, 31nfss 3922 . . . . . 6 𝑦𝑣 / 𝑦𝐶𝑋
33 csbeq1a 3859 . . . . . . 7 (𝑦 = 𝑣𝐶 = 𝑣 / 𝑦𝐶)
3433sseq1d 3961 . . . . . 6 (𝑦 = 𝑣 → (𝐶𝑋𝑣 / 𝑦𝐶𝑋))
3529, 32, 34cbvralw 3274 . . . . 5 (∀𝑦𝐵 𝐶𝑋 ↔ ∀𝑣𝐵 𝑣 / 𝑦𝐶𝑋)
36 csbeq1a 3859 . . . . . . 7 (𝑥 = 𝑢𝑣 / 𝑦𝐶 = 𝑢 / 𝑥𝑣 / 𝑦𝐶)
3736sseq1d 3961 . . . . . 6 (𝑥 = 𝑢 → (𝑣 / 𝑦𝐶𝑋𝑢 / 𝑥𝑣 / 𝑦𝐶𝑋))
3820, 37raleqbidv 3312 . . . . 5 (𝑥 = 𝑢 → (∀𝑣𝐵 𝑣 / 𝑦𝐶𝑋 ↔ ∀𝑣 𝑢 / 𝑥𝐵𝑢 / 𝑥𝑣 / 𝑦𝐶𝑋))
3935, 38bitrid 283 . . . 4 (𝑥 = 𝑢 → (∀𝑦𝐵 𝐶𝑋 ↔ ∀𝑣 𝑢 / 𝑥𝐵𝑢 / 𝑥𝑣 / 𝑦𝐶𝑋))
4024, 28, 39cbvralw 3274 . . 3 (∀𝑥𝐴𝑦𝐵 𝐶𝑋 ↔ ∀𝑢𝐴𝑣 𝑢 / 𝑥𝐵𝑢 / 𝑥𝑣 / 𝑦𝐶𝑋)
4114, 23, 403bitr4ri 304 . 2 (∀𝑥𝐴𝑦𝐵 𝐶𝑋 ↔ ∀𝑧 𝑥𝐴 ({𝑥} × 𝐵)(1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐶𝑋)
42 df-ov 7344 . . 3 (𝐸𝐹𝐺) = (𝐹‘⟨𝐸, 𝐺⟩)
4342sseq1i 3958 . 2 ((𝐸𝐹𝐺) ⊆ 𝑋 ↔ (𝐹‘⟨𝐸, 𝐺⟩) ⊆ 𝑋)
444, 41, 433imtr4i 292 1 (∀𝑥𝐴𝑦𝐵 𝐶𝑋 → (𝐸𝐹𝐺) ⊆ 𝑋)
Colors of variables: wff setvar class
Syntax hints:  wi 4   = wceq 1541  wral 3047  csb 3845  wss 3897  {csn 4571  cop 4577   ciun 4936  cmpt 5167   × cxp 5609  cfv 6476  (class class class)co 7341  cmpo 7343  1st c1st 7914  2nd c2nd 7915
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1796  ax-4 1810  ax-5 1911  ax-6 1968  ax-7 2009  ax-8 2113  ax-9 2121  ax-10 2144  ax-11 2160  ax-12 2180  ax-ext 2703  ax-sep 5229  ax-nul 5239  ax-pr 5365  ax-un 7663
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 848  df-3an 1088  df-tru 1544  df-fal 1554  df-ex 1781  df-nf 1785  df-sb 2068  df-mo 2535  df-eu 2564  df-clab 2710  df-cleq 2723  df-clel 2806  df-nfc 2881  df-ne 2929  df-ral 3048  df-rex 3057  df-rab 3396  df-v 3438  df-sbc 3737  df-csb 3846  df-dif 3900  df-un 3902  df-in 3904  df-ss 3914  df-nul 4279  df-if 4471  df-sn 4572  df-pr 4574  df-op 4578  df-uni 4855  df-iun 4938  df-br 5087  df-opab 5149  df-mpt 5168  df-id 5506  df-xp 5617  df-rel 5618  df-cnv 5619  df-co 5620  df-dm 5621  df-rn 5622  df-res 5623  df-ima 5624  df-iota 6432  df-fun 6478  df-fv 6484  df-ov 7344  df-oprab 7345  df-mpo 7346  df-1st 7916  df-2nd 7917
This theorem is referenced by:  relmpoopab  8019  relxpchom  18082  reldv  25793
  Copyright terms: Public domain W3C validator