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

Theorem elovmporab 7388
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 7384 . 2 (𝑍 ∈ (𝑋𝑂𝑌) → (𝑋 ∈ V ∧ 𝑌 ∈ V))
31a1i 11 . . . . 5 ((𝑋 ∈ V ∧ 𝑌 ∈ V) → 𝑂 = (𝑥 ∈ V, 𝑦 ∈ V ↦ {𝑧𝑀𝜑}))
4 sbceq1a 3781 . . . . . . . 8 (𝑦 = 𝑌 → (𝜑[𝑌 / 𝑦]𝜑))
5 sbceq1a 3781 . . . . . . . 8 (𝑥 = 𝑋 → ([𝑌 / 𝑦]𝜑[𝑋 / 𝑥][𝑌 / 𝑦]𝜑))
64, 5sylan9bbr 513 . . . . . . 7 ((𝑥 = 𝑋𝑦 = 𝑌) → (𝜑[𝑋 / 𝑥][𝑌 / 𝑦]𝜑))
76adantl 484 . . . . . 6 (((𝑋 ∈ V ∧ 𝑌 ∈ V) ∧ (𝑥 = 𝑋𝑦 = 𝑌)) → (𝜑[𝑋 / 𝑥][𝑌 / 𝑦]𝜑))
87rabbidv 3479 . . . . 5 (((𝑋 ∈ V ∧ 𝑌 ∈ V) ∧ (𝑥 = 𝑋𝑦 = 𝑌)) → {𝑧𝑀𝜑} = {𝑧𝑀[𝑋 / 𝑥][𝑌 / 𝑦]𝜑})
9 eqidd 2821 . . . . 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 5231 . . . . . 6 (𝑀 ∈ V → {𝑧𝑀[𝑋 / 𝑥][𝑌 / 𝑦]𝜑} ∈ V)
1412, 13syl 17 . . . . 5 ((𝑋 ∈ V ∧ 𝑌 ∈ V) → {𝑧𝑀[𝑋 / 𝑥][𝑌 / 𝑦]𝜑} ∈ V)
15 nfcv 2976 . . . . . . 7 𝑥𝑋
1615nfel1 2993 . . . . . 6 𝑥 𝑋 ∈ V
17 nfcv 2976 . . . . . . 7 𝑥𝑌
1817nfel1 2993 . . . . . 6 𝑥 𝑌 ∈ V
1916, 18nfan 1899 . . . . 5 𝑥(𝑋 ∈ V ∧ 𝑌 ∈ V)
20 nfcv 2976 . . . . . . 7 𝑦𝑋
2120nfel1 2993 . . . . . 6 𝑦 𝑋 ∈ V
22 nfcv 2976 . . . . . . 7 𝑦𝑌
2322nfel1 2993 . . . . . 6 𝑦 𝑌 ∈ V
2421, 23nfan 1899 . . . . 5 𝑦(𝑋 ∈ V ∧ 𝑌 ∈ V)
25 nfsbc1v 3790 . . . . . 6 𝑥[𝑋 / 𝑥][𝑌 / 𝑦]𝜑
26 nfcv 2976 . . . . . 6 𝑥𝑀
2725, 26nfrabw 3384 . . . . 5 𝑥{𝑧𝑀[𝑋 / 𝑥][𝑌 / 𝑦]𝜑}
28 nfsbc1v 3790 . . . . . . 7 𝑦[𝑌 / 𝑦]𝜑
2920, 28nfsbcw 3792 . . . . . 6 𝑦[𝑋 / 𝑥][𝑌 / 𝑦]𝜑
30 nfcv 2976 . . . . . 6 𝑦𝑀
3129, 30nfrabw 3384 . . . . 5 𝑦{𝑧𝑀[𝑋 / 𝑥][𝑌 / 𝑦]𝜑}
323, 8, 9, 10, 11, 14, 19, 24, 20, 17, 27, 31ovmpodxf 7297 . . . 4 ((𝑋 ∈ V ∧ 𝑌 ∈ V) → (𝑋𝑂𝑌) = {𝑧𝑀[𝑋 / 𝑥][𝑌 / 𝑦]𝜑})
3332eleq2d 2897 . . 3 ((𝑋 ∈ V ∧ 𝑌 ∈ V) → (𝑍 ∈ (𝑋𝑂𝑌) ↔ 𝑍 ∈ {𝑧𝑀[𝑋 / 𝑥][𝑌 / 𝑦]𝜑}))
34 df-3an 1084 . . . . 5 ((𝑋 ∈ V ∧ 𝑌 ∈ V ∧ 𝑍𝑀) ↔ ((𝑋 ∈ V ∧ 𝑌 ∈ V) ∧ 𝑍𝑀))
3534simplbi2com 505 . . . 4 (𝑍𝑀 → ((𝑋 ∈ V ∧ 𝑌 ∈ V) → (𝑋 ∈ V ∧ 𝑌 ∈ V ∧ 𝑍𝑀)))
36 elrabi 3673 . . . 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 1082   = wceq 1536  wcel 2113  {crab 3141  Vcvv 3493  [wsbc 3770  (class class class)co 7153  cmpo 7155
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1795  ax-4 1809  ax-5 1910  ax-6 1969  ax-7 2014  ax-8 2115  ax-9 2123  ax-10 2144  ax-11 2160  ax-12 2176  ax-ext 2792  ax-sep 5200  ax-nul 5207  ax-pow 5263  ax-pr 5327
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3an 1084  df-tru 1539  df-ex 1780  df-nf 1784  df-sb 2069  df-mo 2621  df-eu 2653  df-clab 2799  df-cleq 2813  df-clel 2892  df-nfc 2962  df-ral 3142  df-rex 3143  df-rab 3146  df-v 3495  df-sbc 3771  df-dif 3936  df-un 3938  df-in 3940  df-ss 3949  df-nul 4289  df-if 4465  df-sn 4565  df-pr 4567  df-op 4571  df-uni 4836  df-br 5064  df-opab 5126  df-id 5457  df-xp 5558  df-rel 5559  df-cnv 5560  df-co 5561  df-dm 5562  df-iota 6311  df-fun 6354  df-fv 6360  df-ov 7156  df-oprab 7157  df-mpo 7158
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator