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

Theorem opabiotafun 7002
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 6613 . . 3 (Fun {⟨𝑥, 𝑦⟩ ∣ {𝑦𝜑} = {𝑦}} ↔ ∀𝑥∃*𝑦{𝑦𝜑} = {𝑦})
2 mo2icl 3736 . . . . 5 (∀𝑧({𝑦𝜑} = {𝑧} → 𝑧 = {𝑦𝜑}) → ∃*𝑧{𝑦𝜑} = {𝑧})
3 unieq 4942 . . . . . 6 ({𝑦𝜑} = {𝑧} → {𝑦𝜑} = {𝑧})
4 unisnv 4951 . . . . . 6 {𝑧} = 𝑧
53, 4eqtr2di 2797 . . . . 5 ({𝑦𝜑} = {𝑧} → 𝑧 = {𝑦𝜑})
62, 5mpg 1795 . . . 4 ∃*𝑧{𝑦𝜑} = {𝑧}
7 nfv 1913 . . . . 5 𝑧{𝑦𝜑} = {𝑦}
8 nfab1 2910 . . . . . 6 𝑦{𝑦𝜑}
98nfeq1 2924 . . . . 5 𝑦{𝑦𝜑} = {𝑧}
10 sneq 4658 . . . . . 6 (𝑦 = 𝑧 → {𝑦} = {𝑧})
1110eqeq2d 2751 . . . . 5 (𝑦 = 𝑧 → ({𝑦𝜑} = {𝑦} ↔ {𝑦𝜑} = {𝑧}))
127, 9, 11cbvmow 2606 . . . 4 (∃*𝑦{𝑦𝜑} = {𝑦} ↔ ∃*𝑧{𝑦𝜑} = {𝑧})
136, 12mpbir 231 . . 3 ∃*𝑦{𝑦𝜑} = {𝑦}
141, 13mpgbir 1797 . 2 Fun {⟨𝑥, 𝑦⟩ ∣ {𝑦𝜑} = {𝑦}}
15 opabiota.1 . . 3 𝐹 = {⟨𝑥, 𝑦⟩ ∣ {𝑦𝜑} = {𝑦}}
1615funeqi 6599 . 2 (Fun 𝐹 ↔ Fun {⟨𝑥, 𝑦⟩ ∣ {𝑦𝜑} = {𝑦}})
1714, 16mpbir 231 1 Fun 𝐹
Colors of variables: wff setvar class
Syntax hints:  wi 4   = wceq 1537  ∃*wmo 2541  {cab 2717  {csn 4648   cuni 4931  {copab 5228  Fun wfun 6567
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1793  ax-4 1807  ax-5 1909  ax-6 1967  ax-7 2007  ax-8 2110  ax-9 2118  ax-10 2141  ax-11 2158  ax-12 2178  ax-ext 2711  ax-sep 5317  ax-nul 5324  ax-pr 5447
This theorem depends on definitions:  df-bi 207  df-an 396  df-or 847  df-3an 1089  df-tru 1540  df-fal 1550  df-ex 1778  df-nf 1782  df-sb 2065  df-mo 2543  df-eu 2572  df-clab 2718  df-cleq 2732  df-clel 2819  df-nfc 2895  df-ral 3068  df-rex 3077  df-rab 3444  df-v 3490  df-dif 3979  df-un 3981  df-ss 3993  df-nul 4353  df-if 4549  df-sn 4649  df-pr 4651  df-op 4655  df-uni 4932  df-br 5167  df-opab 5229  df-id 5593  df-xp 5706  df-rel 5707  df-cnv 5708  df-co 5709  df-fun 6575
This theorem is referenced by:  opabiota  7004
  Copyright terms: Public domain W3C validator