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

Theorem dffun8 6596
Description: Alternate definition of a function. One possibility for the definition of a function in [Enderton] p. 42. Compare dffun7 6595. (Contributed by NM, 4-Nov-2002.) (Proof shortened by Andrew Salmon, 17-Sep-2011.)
Assertion
Ref Expression
dffun8 (Fun 𝐴 ↔ (Rel 𝐴 ∧ ∀𝑥 ∈ dom 𝐴∃!𝑦 𝑥𝐴𝑦))
Distinct variable group:   𝑥,𝑦,𝐴

Proof of Theorem dffun8
StepHypRef Expression
1 dffun7 6595 . 2 (Fun 𝐴 ↔ (Rel 𝐴 ∧ ∀𝑥 ∈ dom 𝐴∃*𝑦 𝑥𝐴𝑦))
2 moeu 2611 . . . . 5 (∃*𝑦 𝑥𝐴𝑦 ↔ (∃𝑦 𝑥𝐴𝑦 → ∃!𝑦 𝑥𝐴𝑦))
3 vex 3458 . . . . . . 7 𝑥 ∈ V
43eldm 5894 . . . . . 6 (𝑥 ∈ dom 𝐴 ↔ ∃𝑦 𝑥𝐴𝑦)
5 pm5.5 364 . . . . . 6 (∃𝑦 𝑥𝐴𝑦 → ((∃𝑦 𝑥𝐴𝑦 → ∃!𝑦 𝑥𝐴𝑦) ↔ ∃!𝑦 𝑥𝐴𝑦))
64, 5sylbi 220 . . . . 5 (𝑥 ∈ dom 𝐴 → ((∃𝑦 𝑥𝐴𝑦 → ∃!𝑦 𝑥𝐴𝑦) ↔ ∃!𝑦 𝑥𝐴𝑦))
72, 6bitrid 286 . . . 4 (𝑥 ∈ dom 𝐴 → (∃*𝑦 𝑥𝐴𝑦 ↔ ∃!𝑦 𝑥𝐴𝑦))
87ralbiia 3110 . . 3 (∀𝑥 ∈ dom 𝐴∃*𝑦 𝑥𝐴𝑦 ↔ ∀𝑥 ∈ dom 𝐴∃!𝑦 𝑥𝐴𝑦)
98anbi2i 635 . 2 ((Rel 𝐴 ∧ ∀𝑥 ∈ dom 𝐴∃*𝑦 𝑥𝐴𝑦) ↔ (Rel 𝐴 ∧ ∀𝑥 ∈ dom 𝐴∃!𝑦 𝑥𝐴𝑦))
101, 9bitri 278 1 (Fun 𝐴 ↔ (Rel 𝐴 ∧ ∀𝑥 ∈ dom 𝐴∃!𝑦 𝑥𝐴𝑦))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401  ∃wex 1812   ∈ wcel 2147  ∃*wmo 2565  ∃!weu 2596  ∀wral 3080   class class class wbr 5108  dom cdm 5658  Rel wrel 5663  Fun wfun 6560
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-ext 2735  ax-sep 5255  ax-pr 5398
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-sb 2102  df-mo 2567  df-eu 2597  df-clab 2742  df-cleq 2755  df-clel 2839  df-ral 3081  df-rex 3091  df-rab 3417  df-v 3456  df-ss 3901  df-dif 4050  df-in 4094  df-un 4154  df-nul 4282  df-if 4486  df-sn 4589  df-pr 4591  df-op 4841  df-br 5109  df-opab 5174  df-id 5553  df-xp 5664  df-rel 5665  df-cnv 5666  df-co 5667  df-dm 5668  df-fun 6568
This theorem is used by:  dfdfat2  48532
  Copyright terms: Public domain W3C validator