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

Theorem opabiotafun 6719
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 6359 . . 3 (Fun {⟨𝑥, 𝑦⟩ ∣ {𝑦𝜑} = {𝑦}} ↔ ∀𝑥∃*𝑦{𝑦𝜑} = {𝑦})
2 mo2icl 3653 . . . . 5 (∀𝑧({𝑦𝜑} = {𝑧} → 𝑧 = {𝑦𝜑}) → ∃*𝑧{𝑦𝜑} = {𝑧})
3 unieq 4811 . . . . . 6 ({𝑦𝜑} = {𝑧} → {𝑦𝜑} = {𝑧})
4 vex 3444 . . . . . . 7 𝑧 ∈ V
54unisn 4820 . . . . . 6 {𝑧} = 𝑧
63, 5eqtr2di 2850 . . . . 5 ({𝑦𝜑} = {𝑧} → 𝑧 = {𝑦𝜑})
72, 6mpg 1799 . . . 4 ∃*𝑧{𝑦𝜑} = {𝑧}
8 nfv 1915 . . . . 5 𝑧{𝑦𝜑} = {𝑦}
9 nfab1 2957 . . . . . 6 𝑦{𝑦𝜑}
109nfeq1 2970 . . . . 5 𝑦{𝑦𝜑} = {𝑧}
11 sneq 4535 . . . . . 6 (𝑦 = 𝑧 → {𝑦} = {𝑧})
1211eqeq2d 2809 . . . . 5 (𝑦 = 𝑧 → ({𝑦𝜑} = {𝑦} ↔ {𝑦𝜑} = {𝑧}))
138, 10, 12cbvmow 2663 . . . 4 (∃*𝑦{𝑦𝜑} = {𝑦} ↔ ∃*𝑧{𝑦𝜑} = {𝑧})
147, 13mpbir 234 . . 3 ∃*𝑦{𝑦𝜑} = {𝑦}
151, 14mpgbir 1801 . 2 Fun {⟨𝑥, 𝑦⟩ ∣ {𝑦𝜑} = {𝑦}}
16 opabiota.1 . . 3 𝐹 = {⟨𝑥, 𝑦⟩ ∣ {𝑦𝜑} = {𝑦}}
1716funeqi 6345 . 2 (Fun 𝐹 ↔ Fun {⟨𝑥, 𝑦⟩ ∣ {𝑦𝜑} = {𝑦}})
1815, 17mpbir 234 1 Fun 𝐹
Colors of variables: wff setvar class
Syntax hints:  wi 4   = wceq 1538  ∃*wmo 2596  {cab 2776  {csn 4525   cuni 4800  {copab 5092  Fun wfun 6318
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2113  ax-9 2121  ax-10 2142  ax-11 2158  ax-12 2175  ax-ext 2770  ax-sep 5167  ax-nul 5174  ax-pr 5295
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 845  df-3an 1086  df-tru 1541  df-ex 1782  df-nf 1786  df-sb 2070  df-mo 2598  df-eu 2629  df-clab 2777  df-cleq 2791  df-clel 2870  df-nfc 2938  df-ral 3111  df-v 3443  df-dif 3884  df-un 3886  df-in 3888  df-ss 3898  df-nul 4244  df-if 4426  df-sn 4526  df-pr 4528  df-op 4532  df-uni 4801  df-br 5031  df-opab 5093  df-id 5425  df-xp 5525  df-rel 5526  df-cnv 5527  df-co 5528  df-fun 6326
This theorem is referenced by:  opabiota  6721
  Copyright terms: Public domain W3C validator