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

Theorem ovmptss 7203
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 mpt2mptsx 7178 . . . 4 (𝑥𝐴, 𝑦𝐵𝐶) = (𝑧 𝑥𝐴 ({𝑥} × 𝐵) ↦ (1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐶)
31, 2eqtri 2643 . . 3 𝐹 = (𝑧 𝑥𝐴 ({𝑥} × 𝐵) ↦ (1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐶)
43fvmptss 6249 . 2 (∀𝑧 𝑥𝐴 ({𝑥} × 𝐵)(1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐶𝑋 → (𝐹‘⟨𝐸, 𝐺⟩) ⊆ 𝑋)
5 vex 3189 . . . . . . . 8 𝑢 ∈ V
6 vex 3189 . . . . . . . 8 𝑣 ∈ V
75, 6op1std 7123 . . . . . . 7 (𝑧 = ⟨𝑢, 𝑣⟩ → (1st𝑧) = 𝑢)
87csbeq1d 3521 . . . . . 6 (𝑧 = ⟨𝑢, 𝑣⟩ → (1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐶 = 𝑢 / 𝑥(2nd𝑧) / 𝑦𝐶)
95, 6op2ndd 7124 . . . . . . . 8 (𝑧 = ⟨𝑢, 𝑣⟩ → (2nd𝑧) = 𝑣)
109csbeq1d 3521 . . . . . . 7 (𝑧 = ⟨𝑢, 𝑣⟩ → (2nd𝑧) / 𝑦𝐶 = 𝑣 / 𝑦𝐶)
1110csbeq2dv 3964 . . . . . 6 (𝑧 = ⟨𝑢, 𝑣⟩ → 𝑢 / 𝑥(2nd𝑧) / 𝑦𝐶 = 𝑢 / 𝑥𝑣 / 𝑦𝐶)
128, 11eqtrd 2655 . . . . 5 (𝑧 = ⟨𝑢, 𝑣⟩ → (1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐶 = 𝑢 / 𝑥𝑣 / 𝑦𝐶)
1312sseq1d 3611 . . . 4 (𝑧 = ⟨𝑢, 𝑣⟩ → ((1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐶𝑋𝑢 / 𝑥𝑣 / 𝑦𝐶𝑋))
1413raliunxp 5221 . . 3 (∀𝑧 𝑢𝐴 ({𝑢} × 𝑢 / 𝑥𝐵)(1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐶𝑋 ↔ ∀𝑢𝐴𝑣 𝑢 / 𝑥𝐵𝑢 / 𝑥𝑣 / 𝑦𝐶𝑋)
15 nfcv 2761 . . . . 5 𝑢({𝑥} × 𝐵)
16 nfcv 2761 . . . . . 6 𝑥{𝑢}
17 nfcsb1v 3530 . . . . . 6 𝑥𝑢 / 𝑥𝐵
1816, 17nfxp 5102 . . . . 5 𝑥({𝑢} × 𝑢 / 𝑥𝐵)
19 sneq 4158 . . . . . 6 (𝑥 = 𝑢 → {𝑥} = {𝑢})
20 csbeq1a 3523 . . . . . 6 (𝑥 = 𝑢𝐵 = 𝑢 / 𝑥𝐵)
2119, 20xpeq12d 5100 . . . . 5 (𝑥 = 𝑢 → ({𝑥} × 𝐵) = ({𝑢} × 𝑢 / 𝑥𝐵))
2215, 18, 21cbviun 4523 . . . 4 𝑥𝐴 ({𝑥} × 𝐵) = 𝑢𝐴 ({𝑢} × 𝑢 / 𝑥𝐵)
2322raleqi 3131 . . 3 (∀𝑧 𝑥𝐴 ({𝑥} × 𝐵)(1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐶𝑋 ↔ ∀𝑧 𝑢𝐴 ({𝑢} × 𝑢 / 𝑥𝐵)(1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐶𝑋)
24 nfv 1840 . . . 4 𝑢𝑦𝐵 𝐶𝑋
25 nfcsb1v 3530 . . . . . 6 𝑥𝑢 / 𝑥𝑣 / 𝑦𝐶
26 nfcv 2761 . . . . . 6 𝑥𝑋
2725, 26nfss 3576 . . . . 5 𝑥𝑢 / 𝑥𝑣 / 𝑦𝐶𝑋
2817, 27nfral 2940 . . . 4 𝑥𝑣 𝑢 / 𝑥𝐵𝑢 / 𝑥𝑣 / 𝑦𝐶𝑋
29 nfv 1840 . . . . . 6 𝑣 𝐶𝑋
30 nfcsb1v 3530 . . . . . . 7 𝑦𝑣 / 𝑦𝐶
31 nfcv 2761 . . . . . . 7 𝑦𝑋
3230, 31nfss 3576 . . . . . 6 𝑦𝑣 / 𝑦𝐶𝑋
33 csbeq1a 3523 . . . . . . 7 (𝑦 = 𝑣𝐶 = 𝑣 / 𝑦𝐶)
3433sseq1d 3611 . . . . . 6 (𝑦 = 𝑣 → (𝐶𝑋𝑣 / 𝑦𝐶𝑋))
3529, 32, 34cbvral 3155 . . . . 5 (∀𝑦𝐵 𝐶𝑋 ↔ ∀𝑣𝐵 𝑣 / 𝑦𝐶𝑋)
36 csbeq1a 3523 . . . . . . 7 (𝑥 = 𝑢𝑣 / 𝑦𝐶 = 𝑢 / 𝑥𝑣 / 𝑦𝐶)
3736sseq1d 3611 . . . . . 6 (𝑥 = 𝑢 → (𝑣 / 𝑦𝐶𝑋𝑢 / 𝑥𝑣 / 𝑦𝐶𝑋))
3820, 37raleqbidv 3141 . . . . 5 (𝑥 = 𝑢 → (∀𝑣𝐵 𝑣 / 𝑦𝐶𝑋 ↔ ∀𝑣 𝑢 / 𝑥𝐵𝑢 / 𝑥𝑣 / 𝑦𝐶𝑋))
3935, 38syl5bb 272 . . . 4 (𝑥 = 𝑢 → (∀𝑦𝐵 𝐶𝑋 ↔ ∀𝑣 𝑢 / 𝑥𝐵𝑢 / 𝑥𝑣 / 𝑦𝐶𝑋))
4024, 28, 39cbvral 3155 . . 3 (∀𝑥𝐴𝑦𝐵 𝐶𝑋 ↔ ∀𝑢𝐴𝑣 𝑢 / 𝑥𝐵𝑢 / 𝑥𝑣 / 𝑦𝐶𝑋)
4114, 23, 403bitr4ri 293 . 2 (∀𝑥𝐴𝑦𝐵 𝐶𝑋 ↔ ∀𝑧 𝑥𝐴 ({𝑥} × 𝐵)(1st𝑧) / 𝑥(2nd𝑧) / 𝑦𝐶𝑋)
42 df-ov 6607 . . 3 (𝐸𝐹𝐺) = (𝐹‘⟨𝐸, 𝐺⟩)
4342sseq1i 3608 . 2 ((𝐸𝐹𝐺) ⊆ 𝑋 ↔ (𝐹‘⟨𝐸, 𝐺⟩) ⊆ 𝑋)
444, 41, 433imtr4i 281 1 (∀𝑥𝐴𝑦𝐵 𝐶𝑋 → (𝐸𝐹𝐺) ⊆ 𝑋)
Colors of variables: wff setvar class
Syntax hints:  wi 4   = wceq 1480  wral 2907  csb 3514  wss 3555  {csn 4148  cop 4154   ciun 4485  cmpt 4673   × cxp 5072  cfv 5847  (class class class)co 6604  cmpt2 6606  1st c1st 7111  2nd c2nd 7112
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1719  ax-4 1734  ax-5 1836  ax-6 1885  ax-7 1932  ax-8 1989  ax-9 1996  ax-10 2016  ax-11 2031  ax-12 2044  ax-13 2245  ax-ext 2601  ax-sep 4741  ax-nul 4749  ax-pow 4803  ax-pr 4867  ax-un 6902
This theorem depends on definitions:  df-bi 197  df-or 385  df-an 386  df-3an 1038  df-tru 1483  df-ex 1702  df-nf 1707  df-sb 1878  df-eu 2473  df-mo 2474  df-clab 2608  df-cleq 2614  df-clel 2617  df-nfc 2750  df-ral 2912  df-rex 2913  df-rab 2916  df-v 3188  df-sbc 3418  df-csb 3515  df-dif 3558  df-un 3560  df-in 3562  df-ss 3569  df-nul 3892  df-if 4059  df-sn 4149  df-pr 4151  df-op 4155  df-uni 4403  df-iun 4487  df-br 4614  df-opab 4674  df-mpt 4675  df-id 4989  df-xp 5080  df-rel 5081  df-cnv 5082  df-co 5083  df-dm 5084  df-rn 5085  df-res 5086  df-ima 5087  df-iota 5810  df-fun 5849  df-fv 5855  df-ov 6607  df-oprab 6608  df-mpt2 6609  df-1st 7113  df-2nd 7114
This theorem is referenced by:  relmpt2opab  7204  relxpchom  16742  reldv  23540
  Copyright terms: Public domain W3C validator