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

Theorem elovmporab 7391
Description: Implications for the value of an operation, defined by the maps-to notation with a class abstraction as a result, having an element. (Contributed by Alexander van der Vekens, 15-Jul-2018.)
Hypotheses
Ref Expression
elovmporab.o 𝑂 = (𝑥 ∈ V, 𝑦 ∈ V ↦ {𝑧𝑀𝜑})
elovmporab.v ((𝑋 ∈ V ∧ 𝑌 ∈ V) → 𝑀 ∈ V)
Assertion
Ref Expression
elovmporab (𝑍 ∈ (𝑋𝑂𝑌) → (𝑋 ∈ V ∧ 𝑌 ∈ V ∧ 𝑍𝑀))
Distinct variable groups:   𝑥,𝑀,𝑦,𝑧   𝑥,𝑋,𝑦,𝑧   𝑥,𝑌,𝑦,𝑧   𝑧,𝑍
Allowed substitution hints:   𝜑(𝑥,𝑦,𝑧)   𝑂(𝑥,𝑦,𝑧)   𝑍(𝑥,𝑦)

Proof of Theorem elovmporab
StepHypRef Expression
1 elovmporab.o . . 3 𝑂 = (𝑥 ∈ V, 𝑦 ∈ V ↦ {𝑧𝑀𝜑})
21elmpocl 7387 . 2 (𝑍 ∈ (𝑋𝑂𝑌) → (𝑋 ∈ V ∧ 𝑌 ∈ V))
31a1i 11 . . . . 5 ((𝑋 ∈ V ∧ 𝑌 ∈ V) → 𝑂 = (𝑥 ∈ V, 𝑦 ∈ V ↦ {𝑧𝑀𝜑}))
4 sbceq1a 3783 . . . . . . . 8 (𝑦 = 𝑌 → (𝜑[𝑌 / 𝑦]𝜑))
5 sbceq1a 3783 . . . . . . . 8 (𝑥 = 𝑋 → ([𝑌 / 𝑦]𝜑[𝑋 / 𝑥][𝑌 / 𝑦]𝜑))
64, 5sylan9bbr 513 . . . . . . 7 ((𝑥 = 𝑋𝑦 = 𝑌) → (𝜑[𝑋 / 𝑥][𝑌 / 𝑦]𝜑))
76adantl 484 . . . . . 6 (((𝑋 ∈ V ∧ 𝑌 ∈ V) ∧ (𝑥 = 𝑋𝑦 = 𝑌)) → (𝜑[𝑋 / 𝑥][𝑌 / 𝑦]𝜑))
87rabbidv 3480 . . . . 5 (((𝑋 ∈ V ∧ 𝑌 ∈ V) ∧ (𝑥 = 𝑋𝑦 = 𝑌)) → {𝑧𝑀𝜑} = {𝑧𝑀[𝑋 / 𝑥][𝑌 / 𝑦]𝜑})
9 eqidd 2822 . . . . 5 (((𝑋 ∈ V ∧ 𝑌 ∈ V) ∧ 𝑥 = 𝑋) → V = V)
10 simpl 485 . . . . 5 ((𝑋 ∈ V ∧ 𝑌 ∈ V) → 𝑋 ∈ V)
11 simpr 487 . . . . 5 ((𝑋 ∈ V ∧ 𝑌 ∈ V) → 𝑌 ∈ V)
12 elovmporab.v . . . . . 6 ((𝑋 ∈ V ∧ 𝑌 ∈ V) → 𝑀 ∈ V)
13 rabexg 5234 . . . . . 6 (𝑀 ∈ V → {𝑧𝑀[𝑋 / 𝑥][𝑌 / 𝑦]𝜑} ∈ V)
1412, 13syl 17 . . . . 5 ((𝑋 ∈ V ∧ 𝑌 ∈ V) → {𝑧𝑀[𝑋 / 𝑥][𝑌 / 𝑦]𝜑} ∈ V)
15 nfcv 2977 . . . . . . 7 𝑥𝑋
1615nfel1 2994 . . . . . 6 𝑥 𝑋 ∈ V
17 nfcv 2977 . . . . . . 7 𝑥𝑌
1817nfel1 2994 . . . . . 6 𝑥 𝑌 ∈ V
1916, 18nfan 1900 . . . . 5 𝑥(𝑋 ∈ V ∧ 𝑌 ∈ V)
20 nfcv 2977 . . . . . . 7 𝑦𝑋
2120nfel1 2994 . . . . . 6 𝑦 𝑋 ∈ V
22 nfcv 2977 . . . . . . 7 𝑦𝑌
2322nfel1 2994 . . . . . 6 𝑦 𝑌 ∈ V
2421, 23nfan 1900 . . . . 5 𝑦(𝑋 ∈ V ∧ 𝑌 ∈ V)
25 nfsbc1v 3792 . . . . . 6 𝑥[𝑋 / 𝑥][𝑌 / 𝑦]𝜑
26 nfcv 2977 . . . . . 6 𝑥𝑀
2725, 26nfrabw 3385 . . . . 5 𝑥{𝑧𝑀[𝑋 / 𝑥][𝑌 / 𝑦]𝜑}
28 nfsbc1v 3792 . . . . . . 7 𝑦[𝑌 / 𝑦]𝜑
2920, 28nfsbcw 3794 . . . . . 6 𝑦[𝑋 / 𝑥][𝑌 / 𝑦]𝜑
30 nfcv 2977 . . . . . 6 𝑦𝑀
3129, 30nfrabw 3385 . . . . 5 𝑦{𝑧𝑀[𝑋 / 𝑥][𝑌 / 𝑦]𝜑}
323, 8, 9, 10, 11, 14, 19, 24, 20, 17, 27, 31ovmpodxf 7300 . . . 4 ((𝑋 ∈ V ∧ 𝑌 ∈ V) → (𝑋𝑂𝑌) = {𝑧𝑀[𝑋 / 𝑥][𝑌 / 𝑦]𝜑})
3332eleq2d 2898 . . 3 ((𝑋 ∈ V ∧ 𝑌 ∈ V) → (𝑍 ∈ (𝑋𝑂𝑌) ↔ 𝑍 ∈ {𝑧𝑀[𝑋 / 𝑥][𝑌 / 𝑦]𝜑}))
34 df-3an 1085 . . . . 5 ((𝑋 ∈ V ∧ 𝑌 ∈ V ∧ 𝑍𝑀) ↔ ((𝑋 ∈ V ∧ 𝑌 ∈ V) ∧ 𝑍𝑀))
3534simplbi2com 505 . . . 4 (𝑍𝑀 → ((𝑋 ∈ V ∧ 𝑌 ∈ V) → (𝑋 ∈ V ∧ 𝑌 ∈ V ∧ 𝑍𝑀)))
36 elrabi 3675 . . . 4 (𝑍 ∈ {𝑧𝑀[𝑋 / 𝑥][𝑌 / 𝑦]𝜑} → 𝑍𝑀)
3735, 36syl11 33 . . 3 ((𝑋 ∈ V ∧ 𝑌 ∈ V) → (𝑍 ∈ {𝑧𝑀[𝑋 / 𝑥][𝑌 / 𝑦]𝜑} → (𝑋 ∈ V ∧ 𝑌 ∈ V ∧ 𝑍𝑀)))
3833, 37sylbid 242 . 2 ((𝑋 ∈ V ∧ 𝑌 ∈ V) → (𝑍 ∈ (𝑋𝑂𝑌) → (𝑋 ∈ V ∧ 𝑌 ∈ V ∧ 𝑍𝑀)))
392, 38mpcom 38 1 (𝑍 ∈ (𝑋𝑂𝑌) → (𝑋 ∈ V ∧ 𝑌 ∈ V ∧ 𝑍𝑀))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 208  wa 398  w3a 1083   = wceq 1537  wcel 2114  {crab 3142  Vcvv 3494  [wsbc 3772  (class class class)co 7156  cmpo 7158
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 1970  ax-7 2015  ax-8 2116  ax-9 2124  ax-10 2145  ax-11 2161  ax-12 2177  ax-ext 2793  ax-sep 5203  ax-nul 5210  ax-pow 5266  ax-pr 5330
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3an 1085  df-tru 1540  df-ex 1781  df-nf 1785  df-sb 2070  df-mo 2622  df-eu 2654  df-clab 2800  df-cleq 2814  df-clel 2893  df-nfc 2963  df-ral 3143  df-rex 3144  df-rab 3147  df-v 3496  df-sbc 3773  df-dif 3939  df-un 3941  df-in 3943  df-ss 3952  df-nul 4292  df-if 4468  df-sn 4568  df-pr 4570  df-op 4574  df-uni 4839  df-br 5067  df-opab 5129  df-id 5460  df-xp 5561  df-rel 5562  df-cnv 5563  df-co 5564  df-dm 5565  df-iota 6314  df-fun 6357  df-fv 6363  df-ov 7159  df-oprab 7160  df-mpo 7161
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator