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

Theorem ovmptss 8087
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 8060 . . . 4 (𝑥𝐴, 𝑦𝐵𝐶) = (𝑧 𝑥𝐴 ({𝑥} × 𝐵) ↦ (1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐶)
31, 2eqtri 2792 . . 3 𝐹 = (𝑧 𝑥𝐴 ({𝑥} × 𝐵) ↦ (1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐶)
43fvmptss 7003 . 2 (∀𝑧 𝑥𝐴 ({𝑥} × 𝐵)(1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐶𝑋 → (𝐹‘⟨𝐸, 𝐺⟩) ⊆ 𝑋)
5 vex 3467 . . . . . . . 8 𝑢 ∈ V
6 vex 3467 . . . . . . . 8 𝑣 ∈ V
75, 6op1std 7995 . . . . . . 7 (𝑧 = ⟨𝑢, 𝑣⟩ → (1st𝑧) = 𝑢)
87csbeq1d 3865 . . . . . 6 (𝑧 = ⟨𝑢, 𝑣⟩ → (1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐶 = 𝑢 / 𝑥(2nd𝑧) / 𝑦𝐶)
95, 6op2ndd 7996 . . . . . . . 8 (𝑧 = ⟨𝑢, 𝑣⟩ → (2nd𝑧) = 𝑣)
109csbeq1d 3865 . . . . . . 7 (𝑧 = ⟨𝑢, 𝑣⟩ → (2nd𝑧) / 𝑦𝐶 = 𝑣 / 𝑦𝐶)
1110csbeq2dv 3868 . . . . . 6 (𝑧 = ⟨𝑢, 𝑣⟩ → 𝑢 / 𝑥(2nd𝑧) / 𝑦𝐶 = 𝑢 / 𝑥𝑣 / 𝑦𝐶)
128, 11eqtrd 2804 . . . . 5 (𝑧 = ⟨𝑢, 𝑣⟩ → (1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐶 = 𝑢 / 𝑥𝑣 / 𝑦𝐶)
1312sseq1d 3976 . . . 4 (𝑧 = ⟨𝑢, 𝑣⟩ → ((1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐶𝑋𝑢 / 𝑥𝑣 / 𝑦𝐶𝑋))
1413raliunxp 5826 . . 3 (∀𝑧 𝑢𝐴 ({𝑢} × 𝑢 / 𝑥𝐵)(1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐶𝑋 ↔ ∀𝑢𝐴𝑣 𝑢 / 𝑥𝐵𝑢 / 𝑥𝑣 / 𝑦𝐶𝑋)
15 nfcv 2931 . . . . 5 𝑢({𝑥} × 𝐵)
16 nfcv 2931 . . . . . 6 𝑥{𝑢}
17 nfcsb1v 3885 . . . . . 6 𝑥𝑢 / 𝑥𝐵
1816, 17nfxp 5695 . . . . 5 𝑥({𝑢} × 𝑢 / 𝑥𝐵)
19 sneq 4604 . . . . . 6 (𝑥 = 𝑢 → {𝑥} = {𝑢})
20 csbeq1a 3875 . . . . . 6 (𝑥 = 𝑢𝐵 = 𝑢 / 𝑥𝐵)
2119, 20xpeq12d 5693 . . . . 5 (𝑥 = 𝑢 → ({𝑥} × 𝐵) = ({𝑢} × 𝑢 / 𝑥𝐵))
2215, 18, 21cbviun 5003 . . . 4 𝑥𝐴 ({𝑥} × 𝐵) = 𝑢𝐴 ({𝑢} × 𝑢 / 𝑥𝐵)
2322raleqi 3327 . . 3 (∀𝑧 𝑥𝐴 ({𝑥} × 𝐵)(1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐶𝑋 ↔ ∀𝑧 𝑢𝐴 ({𝑢} × 𝑢 / 𝑥𝐵)(1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐶𝑋)
24 nfv 1941 . . . 4 𝑢𝑦𝐵 𝐶𝑋
25 nfcsb1v 3885 . . . . . 6 𝑥𝑢 / 𝑥𝑣 / 𝑦𝐶
26 nfcv 2931 . . . . . 6 𝑥𝑋
2725, 26nfss 3938 . . . . 5 𝑥𝑢 / 𝑥𝑣 / 𝑦𝐶𝑋
2817, 27nfralw 3318 . . . 4 𝑥𝑣 𝑢 / 𝑥𝐵𝑢 / 𝑥𝑣 / 𝑦𝐶𝑋
29 nfv 1941 . . . . . 6 𝑣 𝐶𝑋
30 nfcsb1v 3885 . . . . . . 7 𝑦𝑣 / 𝑦𝐶
31 nfcv 2931 . . . . . . 7 𝑦𝑋
3230, 31nfss 3938 . . . . . 6 𝑦𝑣 / 𝑦𝐶𝑋
33 csbeq1a 3875 . . . . . . 7 (𝑦 = 𝑣𝐶 = 𝑣 / 𝑦𝐶)
3433sseq1d 3976 . . . . . 6 (𝑦 = 𝑣 → (𝐶𝑋𝑣 / 𝑦𝐶𝑋))
3529, 32, 34cbvralw 3313 . . . . 5 (∀𝑦𝐵 𝐶𝑋 ↔ ∀𝑣𝐵 𝑣 / 𝑦𝐶𝑋)
36 csbeq1a 3875 . . . . . . 7 (𝑥 = 𝑢𝑣 / 𝑦𝐶 = 𝑢 / 𝑥𝑣 / 𝑦𝐶)
3736sseq1d 3976 . . . . . 6 (𝑥 = 𝑢 → (𝑣 / 𝑦𝐶𝑋𝑢 / 𝑥𝑣 / 𝑦𝐶𝑋))
3820, 37raleqbidv 3345 . . . . 5 (𝑥 = 𝑢 → (∀𝑣𝐵 𝑣 / 𝑦𝐶𝑋 ↔ ∀𝑣 𝑢 / 𝑥𝐵𝑢 / 𝑥𝑣 / 𝑦𝐶𝑋))
3935, 38bitrid 286 . . . 4 (𝑥 = 𝑢 → (∀𝑦𝐵 𝐶𝑋 ↔ ∀𝑣 𝑢 / 𝑥𝐵𝑢 / 𝑥𝑣 / 𝑦𝐶𝑋))
4024, 28, 39cbvralw 3313 . . 3 (∀𝑥𝐴𝑦𝐵 𝐶𝑋 ↔ ∀𝑢𝐴𝑣 𝑢 / 𝑥𝐵𝑢 / 𝑥𝑣 / 𝑦𝐶𝑋)
4114, 23, 403bitr4ri 307 . 2 (∀𝑥𝐴𝑦𝐵 𝐶𝑋 ↔ ∀𝑧 𝑥𝐴 ({𝑥} × 𝐵)(1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐶𝑋)
42 df-ov 7414 . . 3 (𝐸𝐹𝐺) = (𝐹‘⟨𝐸, 𝐺⟩)
4342sseq1i 3973 . 2 ((𝐸𝐹𝐺) ⊆ 𝑋 ↔ (𝐹‘⟨𝐸, 𝐺⟩) ⊆ 𝑋)
444, 41, 433imtr4i 295 1 (∀𝑥𝐴𝑦𝐵 𝐶𝑋 → (𝐸𝐹𝐺) ⊆ 𝑋)
Colors of variables: wff setvar class
Syntax hints:  wi 4   = wceq 1567  wral 3085  csb 3861  wss 3913  {csn 4594  cop 4600   ciun 4960  cmpt 5196   × cxp 5660  cfv 6537  (class class class)co 7411  cmpo 7413  1st c1st 7983  2nd c2nd 7984
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1822  ax-4 1836  ax-5 1937  ax-6 1994  ax-7 2035  ax-8 2151  ax-9 2159  ax-10 2182  ax-11 2198  ax-12 2219  ax-ext 2741  ax-sep 5261  ax-nul 5271  ax-pr 5405  ax-un 7733
This theorem depends on definitions:  df-bi 210  df-an 401  df-or 861  df-3an 1103  df-tru 1570  df-fal 1580  df-ex 1807  df-nf 1811  df-sb 2098  df-mo 2573  df-eu 2603  df-clab 2748  df-cleq 2761  df-clel 2844  df-nfc 2918  df-ne 2965  df-ral 3086  df-rex 3096  df-rab 3424  df-v 3465  df-sbc 3754  df-csb 3862  df-dif 3916  df-un 3918  df-in 3920  df-ss 3930  df-nul 4295  df-if 4493  df-sn 4595  df-pr 4597  df-op 4601  df-uni 4877  df-iun 4962  df-br 5114  df-opab 5178  df-mpt 5197  df-id 5557  df-xp 5668  df-rel 5669  df-cnv 5670  df-co 5671  df-dm 5672  df-rn 5673  df-res 5674  df-ima 5675  df-iota 6493  df-fun 6539  df-fv 6545  df-ov 7414  df-oprab 7415  df-mpo 7416  df-1st 7985  df-2nd 7986
This theorem is referenced by:  relmpoopab  8088  relxpchom  18236  reldv  25997
  Copyright terms: Public domain W3C validator