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

Theorem elovmpt2rab 6880
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
elovmpt2rab.o 𝑂 = (𝑥 ∈ V, 𝑦 ∈ V ↦ {𝑧𝑀𝜑})
elovmpt2rab.v ((𝑋 ∈ V ∧ 𝑌 ∈ V) → 𝑀 ∈ V)
Assertion
Ref Expression
elovmpt2rab (𝑍 ∈ (𝑋𝑂𝑌) → (𝑋 ∈ V ∧ 𝑌 ∈ V ∧ 𝑍𝑀))
Distinct variable groups:   𝑥,𝑀,𝑦,𝑧   𝑥,𝑋,𝑦,𝑧   𝑥,𝑌,𝑦,𝑧   𝑧,𝑍
Allowed substitution hints:   𝜑(𝑥,𝑦,𝑧)   𝑂(𝑥,𝑦,𝑧)   𝑍(𝑥,𝑦)

Proof of Theorem elovmpt2rab
StepHypRef Expression
1 elovmpt2rab.o . . 3 𝑂 = (𝑥 ∈ V, 𝑦 ∈ V ↦ {𝑧𝑀𝜑})
21elmpt2cl 6876 . 2 (𝑍 ∈ (𝑋𝑂𝑌) → (𝑋 ∈ V ∧ 𝑌 ∈ V))
31a1i 11 . . . . 5 ((𝑋 ∈ V ∧ 𝑌 ∈ V) → 𝑂 = (𝑥 ∈ V, 𝑦 ∈ V ↦ {𝑧𝑀𝜑}))
4 sbceq1a 3446 . . . . . . . 8 (𝑦 = 𝑌 → (𝜑[𝑌 / 𝑦]𝜑))
5 sbceq1a 3446 . . . . . . . 8 (𝑥 = 𝑋 → ([𝑌 / 𝑦]𝜑[𝑋 / 𝑥][𝑌 / 𝑦]𝜑))
64, 5sylan9bbr 737 . . . . . . 7 ((𝑥 = 𝑋𝑦 = 𝑌) → (𝜑[𝑋 / 𝑥][𝑌 / 𝑦]𝜑))
76adantl 482 . . . . . 6 (((𝑋 ∈ V ∧ 𝑌 ∈ V) ∧ (𝑥 = 𝑋𝑦 = 𝑌)) → (𝜑[𝑋 / 𝑥][𝑌 / 𝑦]𝜑))
87rabbidv 3189 . . . . 5 (((𝑋 ∈ V ∧ 𝑌 ∈ V) ∧ (𝑥 = 𝑋𝑦 = 𝑌)) → {𝑧𝑀𝜑} = {𝑧𝑀[𝑋 / 𝑥][𝑌 / 𝑦]𝜑})
9 eqidd 2623 . . . . 5 (((𝑋 ∈ V ∧ 𝑌 ∈ V) ∧ 𝑥 = 𝑋) → V = V)
10 simpl 473 . . . . 5 ((𝑋 ∈ V ∧ 𝑌 ∈ V) → 𝑋 ∈ V)
11 simpr 477 . . . . 5 ((𝑋 ∈ V ∧ 𝑌 ∈ V) → 𝑌 ∈ V)
12 elovmpt2rab.v . . . . . 6 ((𝑋 ∈ V ∧ 𝑌 ∈ V) → 𝑀 ∈ V)
13 rabexg 4812 . . . . . 6 (𝑀 ∈ V → {𝑧𝑀[𝑋 / 𝑥][𝑌 / 𝑦]𝜑} ∈ V)
1412, 13syl 17 . . . . 5 ((𝑋 ∈ V ∧ 𝑌 ∈ V) → {𝑧𝑀[𝑋 / 𝑥][𝑌 / 𝑦]𝜑} ∈ V)
15 nfcv 2764 . . . . . . 7 𝑥𝑋
1615nfel1 2779 . . . . . 6 𝑥 𝑋 ∈ V
17 nfcv 2764 . . . . . . 7 𝑥𝑌
1817nfel1 2779 . . . . . 6 𝑥 𝑌 ∈ V
1916, 18nfan 1828 . . . . 5 𝑥(𝑋 ∈ V ∧ 𝑌 ∈ V)
20 nfcv 2764 . . . . . . 7 𝑦𝑋
2120nfel1 2779 . . . . . 6 𝑦 𝑋 ∈ V
22 nfcv 2764 . . . . . . 7 𝑦𝑌
2322nfel1 2779 . . . . . 6 𝑦 𝑌 ∈ V
2421, 23nfan 1828 . . . . 5 𝑦(𝑋 ∈ V ∧ 𝑌 ∈ V)
25 nfsbc1v 3455 . . . . . 6 𝑥[𝑋 / 𝑥][𝑌 / 𝑦]𝜑
26 nfcv 2764 . . . . . 6 𝑥𝑀
2725, 26nfrab 3123 . . . . 5 𝑥{𝑧𝑀[𝑋 / 𝑥][𝑌 / 𝑦]𝜑}
28 nfsbc1v 3455 . . . . . . 7 𝑦[𝑌 / 𝑦]𝜑
2920, 28nfsbc 3457 . . . . . 6 𝑦[𝑋 / 𝑥][𝑌 / 𝑦]𝜑
30 nfcv 2764 . . . . . 6 𝑦𝑀
3129, 30nfrab 3123 . . . . 5 𝑦{𝑧𝑀[𝑋 / 𝑥][𝑌 / 𝑦]𝜑}
323, 8, 9, 10, 11, 14, 19, 24, 20, 17, 27, 31ovmpt2dxf 6786 . . . 4 ((𝑋 ∈ V ∧ 𝑌 ∈ V) → (𝑋𝑂𝑌) = {𝑧𝑀[𝑋 / 𝑥][𝑌 / 𝑦]𝜑})
3332eleq2d 2687 . . 3 ((𝑋 ∈ V ∧ 𝑌 ∈ V) → (𝑍 ∈ (𝑋𝑂𝑌) ↔ 𝑍 ∈ {𝑧𝑀[𝑋 / 𝑥][𝑌 / 𝑦]𝜑}))
34 df-3an 1039 . . . . 5 ((𝑋 ∈ V ∧ 𝑌 ∈ V ∧ 𝑍𝑀) ↔ ((𝑋 ∈ V ∧ 𝑌 ∈ V) ∧ 𝑍𝑀))
3534simplbi2com 657 . . . 4 (𝑍𝑀 → ((𝑋 ∈ V ∧ 𝑌 ∈ V) → (𝑋 ∈ V ∧ 𝑌 ∈ V ∧ 𝑍𝑀)))
36 elrabi 3359 . . . 4 (𝑍 ∈ {𝑧𝑀[𝑋 / 𝑥][𝑌 / 𝑦]𝜑} → 𝑍𝑀)
3735, 36syl11 33 . . 3 ((𝑋 ∈ V ∧ 𝑌 ∈ V) → (𝑍 ∈ {𝑧𝑀[𝑋 / 𝑥][𝑌 / 𝑦]𝜑} → (𝑋 ∈ V ∧ 𝑌 ∈ V ∧ 𝑍𝑀)))
3833, 37sylbid 230 . 2 ((𝑋 ∈ V ∧ 𝑌 ∈ V) → (𝑍 ∈ (𝑋𝑂𝑌) → (𝑋 ∈ V ∧ 𝑌 ∈ V ∧ 𝑍𝑀)))
392, 38mpcom 38 1 (𝑍 ∈ (𝑋𝑂𝑌) → (𝑋 ∈ V ∧ 𝑌 ∈ V ∧ 𝑍𝑀))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 196  wa 384  w3a 1037   = wceq 1483  wcel 1990  {crab 2916  Vcvv 3200  [wsbc 3435  (class class class)co 6650  cmpt2 6652
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1722  ax-4 1737  ax-5 1839  ax-6 1888  ax-7 1935  ax-8 1992  ax-9 1999  ax-10 2019  ax-11 2034  ax-12 2047  ax-13 2246  ax-ext 2602  ax-sep 4781  ax-nul 4789  ax-pow 4843  ax-pr 4906
This theorem depends on definitions:  df-bi 197  df-or 385  df-an 386  df-3an 1039  df-tru 1486  df-ex 1705  df-nf 1710  df-sb 1881  df-eu 2474  df-mo 2475  df-clab 2609  df-cleq 2615  df-clel 2618  df-nfc 2753  df-ne 2795  df-ral 2917  df-rex 2918  df-rab 2921  df-v 3202  df-sbc 3436  df-dif 3577  df-un 3579  df-in 3581  df-ss 3588  df-nul 3916  df-if 4087  df-sn 4178  df-pr 4180  df-op 4184  df-uni 4437  df-br 4654  df-opab 4713  df-id 5024  df-xp 5120  df-rel 5121  df-cnv 5122  df-co 5123  df-dm 5124  df-iota 5851  df-fun 5890  df-fv 5896  df-ov 6653  df-oprab 6654  df-mpt2 6655
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator