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

Theorem elovmporab 7440
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 7436 . 2 (𝑍 ∈ (𝑋𝑂𝑌) → (𝑋 ∈ V ∧ 𝑌 ∈ V))
31a1i 11 . . . . 5 ((𝑋 ∈ V ∧ 𝑌 ∈ V) → 𝑂 = (𝑥 ∈ V, 𝑦 ∈ V ↦ {𝑧𝑀𝜑}))
4 sbceq1a 3698 . . . . . . . 8 (𝑦 = 𝑌 → (𝜑[𝑌 / 𝑦]𝜑))
5 sbceq1a 3698 . . . . . . . 8 (𝑥 = 𝑋 → ([𝑌 / 𝑦]𝜑[𝑋 / 𝑥][𝑌 / 𝑦]𝜑))
64, 5sylan9bbr 514 . . . . . . 7 ((𝑥 = 𝑋𝑦 = 𝑌) → (𝜑[𝑋 / 𝑥][𝑌 / 𝑦]𝜑))
76adantl 485 . . . . . 6 (((𝑋 ∈ V ∧ 𝑌 ∈ V) ∧ (𝑥 = 𝑋𝑦 = 𝑌)) → (𝜑[𝑋 / 𝑥][𝑌 / 𝑦]𝜑))
87rabbidv 3383 . . . . 5 (((𝑋 ∈ V ∧ 𝑌 ∈ V) ∧ (𝑥 = 𝑋𝑦 = 𝑌)) → {𝑧𝑀𝜑} = {𝑧𝑀[𝑋 / 𝑥][𝑌 / 𝑦]𝜑})
9 eqidd 2735 . . . . 5 (((𝑋 ∈ V ∧ 𝑌 ∈ V) ∧ 𝑥 = 𝑋) → V = V)
10 simpl 486 . . . . 5 ((𝑋 ∈ V ∧ 𝑌 ∈ V) → 𝑋 ∈ V)
11 simpr 488 . . . . 5 ((𝑋 ∈ V ∧ 𝑌 ∈ V) → 𝑌 ∈ V)
12 elovmporab.v . . . . . 6 ((𝑋 ∈ V ∧ 𝑌 ∈ V) → 𝑀 ∈ V)
13 rabexg 5213 . . . . . 6 (𝑀 ∈ V → {𝑧𝑀[𝑋 / 𝑥][𝑌 / 𝑦]𝜑} ∈ V)
1412, 13syl 17 . . . . 5 ((𝑋 ∈ V ∧ 𝑌 ∈ V) → {𝑧𝑀[𝑋 / 𝑥][𝑌 / 𝑦]𝜑} ∈ V)
15 nfcv 2900 . . . . . . 7 𝑥𝑋
1615nfel1 2916 . . . . . 6 𝑥 𝑋 ∈ V
17 nfcv 2900 . . . . . . 7 𝑥𝑌
1817nfel1 2916 . . . . . 6 𝑥 𝑌 ∈ V
1916, 18nfan 1907 . . . . 5 𝑥(𝑋 ∈ V ∧ 𝑌 ∈ V)
20 nfcv 2900 . . . . . . 7 𝑦𝑋
2120nfel1 2916 . . . . . 6 𝑦 𝑋 ∈ V
22 nfcv 2900 . . . . . . 7 𝑦𝑌
2322nfel1 2916 . . . . . 6 𝑦 𝑌 ∈ V
2421, 23nfan 1907 . . . . 5 𝑦(𝑋 ∈ V ∧ 𝑌 ∈ V)
25 nfsbc1v 3707 . . . . . 6 𝑥[𝑋 / 𝑥][𝑌 / 𝑦]𝜑
26 nfcv 2900 . . . . . 6 𝑥𝑀
2725, 26nfrabw 3290 . . . . 5 𝑥{𝑧𝑀[𝑋 / 𝑥][𝑌 / 𝑦]𝜑}
28 nfsbc1v 3707 . . . . . . 7 𝑦[𝑌 / 𝑦]𝜑
2920, 28nfsbcw 3709 . . . . . 6 𝑦[𝑋 / 𝑥][𝑌 / 𝑦]𝜑
30 nfcv 2900 . . . . . 6 𝑦𝑀
3129, 30nfrabw 3290 . . . . 5 𝑦{𝑧𝑀[𝑋 / 𝑥][𝑌 / 𝑦]𝜑}
323, 8, 9, 10, 11, 14, 19, 24, 20, 17, 27, 31ovmpodxf 7348 . . . 4 ((𝑋 ∈ V ∧ 𝑌 ∈ V) → (𝑋𝑂𝑌) = {𝑧𝑀[𝑋 / 𝑥][𝑌 / 𝑦]𝜑})
3332eleq2d 2819 . . 3 ((𝑋 ∈ V ∧ 𝑌 ∈ V) → (𝑍 ∈ (𝑋𝑂𝑌) ↔ 𝑍 ∈ {𝑧𝑀[𝑋 / 𝑥][𝑌 / 𝑦]𝜑}))
34 df-3an 1091 . . . . 5 ((𝑋 ∈ V ∧ 𝑌 ∈ V ∧ 𝑍𝑀) ↔ ((𝑋 ∈ V ∧ 𝑌 ∈ V) ∧ 𝑍𝑀))
3534simplbi2com 506 . . . 4 (𝑍𝑀 → ((𝑋 ∈ V ∧ 𝑌 ∈ V) → (𝑋 ∈ V ∧ 𝑌 ∈ V ∧ 𝑍𝑀)))
36 elrabi 3589 . . . 4 (𝑍 ∈ {𝑧𝑀[𝑋 / 𝑥][𝑌 / 𝑦]𝜑} → 𝑍𝑀)
3735, 36syl11 33 . . 3 ((𝑋 ∈ V ∧ 𝑌 ∈ V) → (𝑍 ∈ {𝑧𝑀[𝑋 / 𝑥][𝑌 / 𝑦]𝜑} → (𝑋 ∈ V ∧ 𝑌 ∈ V ∧ 𝑍𝑀)))
3833, 37sylbid 243 . 2 ((𝑋 ∈ V ∧ 𝑌 ∈ V) → (𝑍 ∈ (𝑋𝑂𝑌) → (𝑋 ∈ V ∧ 𝑌 ∈ V ∧ 𝑍𝑀)))
392, 38mpcom 38 1 (𝑍 ∈ (𝑋𝑂𝑌) → (𝑋 ∈ V ∧ 𝑌 ∈ V ∧ 𝑍𝑀))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 209  wa 399  w3a 1089   = wceq 1543  wcel 2110  {crab 3058  Vcvv 3401  [wsbc 3687  (class class class)co 7202  cmpo 7204
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1803  ax-4 1817  ax-5 1918  ax-6 1976  ax-7 2016  ax-8 2112  ax-9 2120  ax-10 2141  ax-11 2158  ax-12 2175  ax-ext 2706  ax-sep 5181  ax-nul 5188  ax-pr 5311
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 848  df-3an 1091  df-tru 1546  df-fal 1556  df-ex 1788  df-nf 1792  df-sb 2071  df-mo 2537  df-eu 2566  df-clab 2713  df-cleq 2726  df-clel 2812  df-nfc 2882  df-ne 2936  df-ral 3059  df-rex 3060  df-rab 3063  df-v 3403  df-sbc 3688  df-dif 3860  df-un 3862  df-in 3864  df-ss 3874  df-nul 4228  df-if 4430  df-sn 4532  df-pr 4534  df-op 4538  df-uni 4810  df-br 5044  df-opab 5106  df-id 5444  df-xp 5546  df-rel 5547  df-cnv 5548  df-co 5549  df-dm 5550  df-iota 6327  df-fun 6371  df-fv 6377  df-ov 7205  df-oprab 7206  df-mpo 7207
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator