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

Theorem opabiotafun 6881
Description: Define a function whose value is "the unique 𝑦 such that 𝜑(𝑥, 𝑦)". (Contributed by NM, 19-May-2015.)
Hypothesis
Ref Expression
opabiota.1 𝐹 = {⟨𝑥, 𝑦⟩ ∣ {𝑦𝜑} = {𝑦}}
Assertion
Ref Expression
opabiotafun Fun 𝐹
Distinct variable group:   𝑥,𝑦,𝐹
Allowed substitution hints:   𝜑(𝑥,𝑦)

Proof of Theorem opabiotafun
Dummy variable 𝑧 is distinct from all other variables.
StepHypRef Expression
1 funopab 6498 . . 3 (Fun {⟨𝑥, 𝑦⟩ ∣ {𝑦𝜑} = {𝑦}} ↔ ∀𝑥∃*𝑦{𝑦𝜑} = {𝑦})
2 mo2icl 3654 . . . . 5 (∀𝑧({𝑦𝜑} = {𝑧} → 𝑧 = {𝑦𝜑}) → ∃*𝑧{𝑦𝜑} = {𝑧})
3 unieq 4855 . . . . . 6 ({𝑦𝜑} = {𝑧} → {𝑦𝜑} = {𝑧})
4 unisnv 4867 . . . . . 6 {𝑧} = 𝑧
53, 4eqtr2di 2793 . . . . 5 ({𝑦𝜑} = {𝑧} → 𝑧 = {𝑦𝜑})
62, 5mpg 1797 . . . 4 ∃*𝑧{𝑦𝜑} = {𝑧}
7 nfv 1915 . . . . 5 𝑧{𝑦𝜑} = {𝑦}
8 nfab1 2907 . . . . . 6 𝑦{𝑦𝜑}
98nfeq1 2920 . . . . 5 𝑦{𝑦𝜑} = {𝑧}
10 sneq 4575 . . . . . 6 (𝑦 = 𝑧 → {𝑦} = {𝑧})
1110eqeq2d 2747 . . . . 5 (𝑦 = 𝑧 → ({𝑦𝜑} = {𝑦} ↔ {𝑦𝜑} = {𝑧}))
127, 9, 11cbvmow 2601 . . . 4 (∃*𝑦{𝑦𝜑} = {𝑦} ↔ ∃*𝑧{𝑦𝜑} = {𝑧})
136, 12mpbir 230 . . 3 ∃*𝑦{𝑦𝜑} = {𝑦}
141, 13mpgbir 1799 . 2 Fun {⟨𝑥, 𝑦⟩ ∣ {𝑦𝜑} = {𝑦}}
15 opabiota.1 . . 3 𝐹 = {⟨𝑥, 𝑦⟩ ∣ {𝑦𝜑} = {𝑦}}
1615funeqi 6484 . 2 (Fun 𝐹 ↔ Fun {⟨𝑥, 𝑦⟩ ∣ {𝑦𝜑} = {𝑦}})
1714, 16mpbir 230 1 Fun 𝐹
Colors of variables: wff setvar class
Syntax hints:  wi 4   = wceq 1539  ∃*wmo 2536  {cab 2713  {csn 4565   cuni 4844  {copab 5143  Fun wfun 6452
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 1911  ax-6 1969  ax-7 2009  ax-8 2106  ax-9 2114  ax-10 2135  ax-11 2152  ax-12 2169  ax-ext 2707  ax-sep 5232  ax-nul 5239  ax-pr 5361
This theorem depends on definitions:  df-bi 206  df-an 398  df-or 846  df-3an 1089  df-tru 1542  df-fal 1552  df-ex 1780  df-nf 1784  df-sb 2066  df-mo 2538  df-eu 2567  df-clab 2714  df-cleq 2728  df-clel 2814  df-nfc 2887  df-ral 3063  df-rex 3072  df-rab 3287  df-v 3439  df-dif 3895  df-un 3897  df-in 3899  df-ss 3909  df-nul 4263  df-if 4466  df-sn 4566  df-pr 4568  df-op 4572  df-uni 4845  df-br 5082  df-opab 5144  df-id 5500  df-xp 5606  df-rel 5607  df-cnv 5608  df-co 5609  df-fun 6460
This theorem is referenced by:  opabiota  6883
  Copyright terms: Public domain W3C validator