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

Theorem ovmptss 8117
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 8088 . . . 4 (𝑥𝐴, 𝑦𝐵𝐶) = (𝑧 𝑥𝐴 ({𝑥} × 𝐵) ↦ (1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐶)
31, 2eqtri 2763 . . 3 𝐹 = (𝑧 𝑥𝐴 ({𝑥} × 𝐵) ↦ (1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐶)
43fvmptss 7028 . 2 (∀𝑧 𝑥𝐴 ({𝑥} × 𝐵)(1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐶𝑋 → (𝐹‘⟨𝐸, 𝐺⟩) ⊆ 𝑋)
5 vex 3482 . . . . . . . 8 𝑢 ∈ V
6 vex 3482 . . . . . . . 8 𝑣 ∈ V
75, 6op1std 8023 . . . . . . 7 (𝑧 = ⟨𝑢, 𝑣⟩ → (1st𝑧) = 𝑢)
87csbeq1d 3912 . . . . . 6 (𝑧 = ⟨𝑢, 𝑣⟩ → (1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐶 = 𝑢 / 𝑥(2nd𝑧) / 𝑦𝐶)
95, 6op2ndd 8024 . . . . . . . 8 (𝑧 = ⟨𝑢, 𝑣⟩ → (2nd𝑧) = 𝑣)
109csbeq1d 3912 . . . . . . 7 (𝑧 = ⟨𝑢, 𝑣⟩ → (2nd𝑧) / 𝑦𝐶 = 𝑣 / 𝑦𝐶)
1110csbeq2dv 3915 . . . . . 6 (𝑧 = ⟨𝑢, 𝑣⟩ → 𝑢 / 𝑥(2nd𝑧) / 𝑦𝐶 = 𝑢 / 𝑥𝑣 / 𝑦𝐶)
128, 11eqtrd 2775 . . . . 5 (𝑧 = ⟨𝑢, 𝑣⟩ → (1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐶 = 𝑢 / 𝑥𝑣 / 𝑦𝐶)
1312sseq1d 4027 . . . 4 (𝑧 = ⟨𝑢, 𝑣⟩ → ((1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐶𝑋𝑢 / 𝑥𝑣 / 𝑦𝐶𝑋))
1413raliunxp 5853 . . 3 (∀𝑧 𝑢𝐴 ({𝑢} × 𝑢 / 𝑥𝐵)(1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐶𝑋 ↔ ∀𝑢𝐴𝑣 𝑢 / 𝑥𝐵𝑢 / 𝑥𝑣 / 𝑦𝐶𝑋)
15 nfcv 2903 . . . . 5 𝑢({𝑥} × 𝐵)
16 nfcv 2903 . . . . . 6 𝑥{𝑢}
17 nfcsb1v 3933 . . . . . 6 𝑥𝑢 / 𝑥𝐵
1816, 17nfxp 5722 . . . . 5 𝑥({𝑢} × 𝑢 / 𝑥𝐵)
19 sneq 4641 . . . . . 6 (𝑥 = 𝑢 → {𝑥} = {𝑢})
20 csbeq1a 3922 . . . . . 6 (𝑥 = 𝑢𝐵 = 𝑢 / 𝑥𝐵)
2119, 20xpeq12d 5720 . . . . 5 (𝑥 = 𝑢 → ({𝑥} × 𝐵) = ({𝑢} × 𝑢 / 𝑥𝐵))
2215, 18, 21cbviun 5041 . . . 4 𝑥𝐴 ({𝑥} × 𝐵) = 𝑢𝐴 ({𝑢} × 𝑢 / 𝑥𝐵)
2322raleqi 3322 . . 3 (∀𝑧 𝑥𝐴 ({𝑥} × 𝐵)(1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐶𝑋 ↔ ∀𝑧 𝑢𝐴 ({𝑢} × 𝑢 / 𝑥𝐵)(1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐶𝑋)
24 nfv 1912 . . . 4 𝑢𝑦𝐵 𝐶𝑋
25 nfcsb1v 3933 . . . . . 6 𝑥𝑢 / 𝑥𝑣 / 𝑦𝐶
26 nfcv 2903 . . . . . 6 𝑥𝑋
2725, 26nfss 3988 . . . . 5 𝑥𝑢 / 𝑥𝑣 / 𝑦𝐶𝑋
2817, 27nfralw 3309 . . . 4 𝑥𝑣 𝑢 / 𝑥𝐵𝑢 / 𝑥𝑣 / 𝑦𝐶𝑋
29 nfv 1912 . . . . . 6 𝑣 𝐶𝑋
30 nfcsb1v 3933 . . . . . . 7 𝑦𝑣 / 𝑦𝐶
31 nfcv 2903 . . . . . . 7 𝑦𝑋
3230, 31nfss 3988 . . . . . 6 𝑦𝑣 / 𝑦𝐶𝑋
33 csbeq1a 3922 . . . . . . 7 (𝑦 = 𝑣𝐶 = 𝑣 / 𝑦𝐶)
3433sseq1d 4027 . . . . . 6 (𝑦 = 𝑣 → (𝐶𝑋𝑣 / 𝑦𝐶𝑋))
3529, 32, 34cbvralw 3304 . . . . 5 (∀𝑦𝐵 𝐶𝑋 ↔ ∀𝑣𝐵 𝑣 / 𝑦𝐶𝑋)
36 csbeq1a 3922 . . . . . . 7 (𝑥 = 𝑢𝑣 / 𝑦𝐶 = 𝑢 / 𝑥𝑣 / 𝑦𝐶)
3736sseq1d 4027 . . . . . 6 (𝑥 = 𝑢 → (𝑣 / 𝑦𝐶𝑋𝑢 / 𝑥𝑣 / 𝑦𝐶𝑋))
3820, 37raleqbidv 3344 . . . . 5 (𝑥 = 𝑢 → (∀𝑣𝐵 𝑣 / 𝑦𝐶𝑋 ↔ ∀𝑣 𝑢 / 𝑥𝐵𝑢 / 𝑥𝑣 / 𝑦𝐶𝑋))
3935, 38bitrid 283 . . . 4 (𝑥 = 𝑢 → (∀𝑦𝐵 𝐶𝑋 ↔ ∀𝑣 𝑢 / 𝑥𝐵𝑢 / 𝑥𝑣 / 𝑦𝐶𝑋))
4024, 28, 39cbvralw 3304 . . 3 (∀𝑥𝐴𝑦𝐵 𝐶𝑋 ↔ ∀𝑢𝐴𝑣 𝑢 / 𝑥𝐵𝑢 / 𝑥𝑣 / 𝑦𝐶𝑋)
4114, 23, 403bitr4ri 304 . 2 (∀𝑥𝐴𝑦𝐵 𝐶𝑋 ↔ ∀𝑧 𝑥𝐴 ({𝑥} × 𝐵)(1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐶𝑋)
42 df-ov 7434 . . 3 (𝐸𝐹𝐺) = (𝐹‘⟨𝐸, 𝐺⟩)
4342sseq1i 4024 . 2 ((𝐸𝐹𝐺) ⊆ 𝑋 ↔ (𝐹‘⟨𝐸, 𝐺⟩) ⊆ 𝑋)
444, 41, 433imtr4i 292 1 (∀𝑥𝐴𝑦𝐵 𝐶𝑋 → (𝐸𝐹𝐺) ⊆ 𝑋)
Colors of variables: wff setvar class
Syntax hints:  wi 4   = wceq 1537  wral 3059  csb 3908  wss 3963  {csn 4631  cop 4637   ciun 4996  cmpt 5231   × cxp 5687  cfv 6563  (class class class)co 7431  cmpo 7433  1st c1st 8011  2nd c2nd 8012
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1792  ax-4 1806  ax-5 1908  ax-6 1965  ax-7 2005  ax-8 2108  ax-9 2116  ax-10 2139  ax-11 2155  ax-12 2175  ax-ext 2706  ax-sep 5302  ax-nul 5312  ax-pr 5438  ax-un 7754
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 848  df-3an 1088  df-tru 1540  df-fal 1550  df-ex 1777  df-nf 1781  df-sb 2063  df-mo 2538  df-eu 2567  df-clab 2713  df-cleq 2727  df-clel 2814  df-nfc 2890  df-ral 3060  df-rex 3069  df-rab 3434  df-v 3480  df-sbc 3792  df-csb 3909  df-dif 3966  df-un 3968  df-in 3970  df-ss 3980  df-nul 4340  df-if 4532  df-sn 4632  df-pr 4634  df-op 4638  df-uni 4913  df-iun 4998  df-br 5149  df-opab 5211  df-mpt 5232  df-id 5583  df-xp 5695  df-rel 5696  df-cnv 5697  df-co 5698  df-dm 5699  df-rn 5700  df-res 5701  df-ima 5702  df-iota 6516  df-fun 6565  df-fv 6571  df-ov 7434  df-oprab 7435  df-mpo 7436  df-1st 8013  df-2nd 8014
This theorem is referenced by:  relmpoopab  8118  relxpchom  18237  reldv  25920
  Copyright terms: Public domain W3C validator