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

Theorem dffun2 6428
Description: Alternate definition of a function. (Contributed by NM, 29-Dec-1996.)
Assertion
Ref Expression
dffun2 (Fun 𝐴 ↔ (Rel 𝐴 ∧ ∀𝑥𝑦𝑧((𝑥𝐴𝑦𝑥𝐴𝑧) → 𝑦 = 𝑧)))
Distinct variable group:   𝑥,𝑦,𝑧,𝐴

Proof of Theorem dffun2
StepHypRef Expression
1 df-fun 6420 . 2 (Fun 𝐴 ↔ (Rel 𝐴 ∧ (𝐴𝐴) ⊆ I ))
2 df-id 5480 . . . . . 6 I = {⟨𝑦, 𝑧⟩ ∣ 𝑦 = 𝑧}
32sseq2i 3946 . . . . 5 ((𝐴𝐴) ⊆ I ↔ (𝐴𝐴) ⊆ {⟨𝑦, 𝑧⟩ ∣ 𝑦 = 𝑧})
4 df-co 5589 . . . . . 6 (𝐴𝐴) = {⟨𝑦, 𝑧⟩ ∣ ∃𝑥(𝑦𝐴𝑥𝑥𝐴𝑧)}
54sseq1i 3945 . . . . 5 ((𝐴𝐴) ⊆ {⟨𝑦, 𝑧⟩ ∣ 𝑦 = 𝑧} ↔ {⟨𝑦, 𝑧⟩ ∣ ∃𝑥(𝑦𝐴𝑥𝑥𝐴𝑧)} ⊆ {⟨𝑦, 𝑧⟩ ∣ 𝑦 = 𝑧})
6 ssopab2bw 5453 . . . . 5 ({⟨𝑦, 𝑧⟩ ∣ ∃𝑥(𝑦𝐴𝑥𝑥𝐴𝑧)} ⊆ {⟨𝑦, 𝑧⟩ ∣ 𝑦 = 𝑧} ↔ ∀𝑦𝑧(∃𝑥(𝑦𝐴𝑥𝑥𝐴𝑧) → 𝑦 = 𝑧))
73, 5, 63bitri 296 . . . 4 ((𝐴𝐴) ⊆ I ↔ ∀𝑦𝑧(∃𝑥(𝑦𝐴𝑥𝑥𝐴𝑧) → 𝑦 = 𝑧))
8 vex 3426 . . . . . . . . . . . 12 𝑦 ∈ V
9 vex 3426 . . . . . . . . . . . 12 𝑥 ∈ V
108, 9brcnv 5780 . . . . . . . . . . 11 (𝑦𝐴𝑥𝑥𝐴𝑦)
1110anbi1i 623 . . . . . . . . . 10 ((𝑦𝐴𝑥𝑥𝐴𝑧) ↔ (𝑥𝐴𝑦𝑥𝐴𝑧))
1211exbii 1851 . . . . . . . . 9 (∃𝑥(𝑦𝐴𝑥𝑥𝐴𝑧) ↔ ∃𝑥(𝑥𝐴𝑦𝑥𝐴𝑧))
1312imbi1i 349 . . . . . . . 8 ((∃𝑥(𝑦𝐴𝑥𝑥𝐴𝑧) → 𝑦 = 𝑧) ↔ (∃𝑥(𝑥𝐴𝑦𝑥𝐴𝑧) → 𝑦 = 𝑧))
14 19.23v 1946 . . . . . . . 8 (∀𝑥((𝑥𝐴𝑦𝑥𝐴𝑧) → 𝑦 = 𝑧) ↔ (∃𝑥(𝑥𝐴𝑦𝑥𝐴𝑧) → 𝑦 = 𝑧))
1513, 14bitr4i 277 . . . . . . 7 ((∃𝑥(𝑦𝐴𝑥𝑥𝐴𝑧) → 𝑦 = 𝑧) ↔ ∀𝑥((𝑥𝐴𝑦𝑥𝐴𝑧) → 𝑦 = 𝑧))
1615albii 1823 . . . . . 6 (∀𝑧(∃𝑥(𝑦𝐴𝑥𝑥𝐴𝑧) → 𝑦 = 𝑧) ↔ ∀𝑧𝑥((𝑥𝐴𝑦𝑥𝐴𝑧) → 𝑦 = 𝑧))
17 alcom 2158 . . . . . 6 (∀𝑧𝑥((𝑥𝐴𝑦𝑥𝐴𝑧) → 𝑦 = 𝑧) ↔ ∀𝑥𝑧((𝑥𝐴𝑦𝑥𝐴𝑧) → 𝑦 = 𝑧))
1816, 17bitri 274 . . . . 5 (∀𝑧(∃𝑥(𝑦𝐴𝑥𝑥𝐴𝑧) → 𝑦 = 𝑧) ↔ ∀𝑥𝑧((𝑥𝐴𝑦𝑥𝐴𝑧) → 𝑦 = 𝑧))
1918albii 1823 . . . 4 (∀𝑦𝑧(∃𝑥(𝑦𝐴𝑥𝑥𝐴𝑧) → 𝑦 = 𝑧) ↔ ∀𝑦𝑥𝑧((𝑥𝐴𝑦𝑥𝐴𝑧) → 𝑦 = 𝑧))
20 alcom 2158 . . . 4 (∀𝑦𝑥𝑧((𝑥𝐴𝑦𝑥𝐴𝑧) → 𝑦 = 𝑧) ↔ ∀𝑥𝑦𝑧((𝑥𝐴𝑦𝑥𝐴𝑧) → 𝑦 = 𝑧))
217, 19, 203bitri 296 . . 3 ((𝐴𝐴) ⊆ I ↔ ∀𝑥𝑦𝑧((𝑥𝐴𝑦𝑥𝐴𝑧) → 𝑦 = 𝑧))
2221anbi2i 622 . 2 ((Rel 𝐴 ∧ (𝐴𝐴) ⊆ I ) ↔ (Rel 𝐴 ∧ ∀𝑥𝑦𝑧((𝑥𝐴𝑦𝑥𝐴𝑧) → 𝑦 = 𝑧)))
231, 22bitri 274 1 (Fun 𝐴 ↔ (Rel 𝐴 ∧ ∀𝑥𝑦𝑧((𝑥𝐴𝑦𝑥𝐴𝑧) → 𝑦 = 𝑧)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 395  wal 1537  wex 1783  wss 3883   class class class wbr 5070  {copab 5132   I cid 5479  ccnv 5579  ccom 5584  Rel wrel 5585  Fun wfun 6412
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-10 2139  ax-11 2156  ax-12 2173  ax-ext 2709  ax-sep 5218  ax-nul 5225  ax-pr 5347
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3an 1087  df-tru 1542  df-fal 1552  df-ex 1784  df-nf 1788  df-sb 2069  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2817  df-nfc 2888  df-ral 3068  df-rab 3072  df-v 3424  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-nul 4254  df-if 4457  df-sn 4559  df-pr 4561  df-op 4565  df-br 5071  df-opab 5133  df-id 5480  df-cnv 5588  df-co 5589  df-fun 6420
This theorem is referenced by:  dffun3  6429  dffun4  6430  fundif  6467  fliftfun  7163  frrlem9  8081  fprlem1  8087  wfrlem5OLD  8115  wfrfunOLD  8121  frrlem15  9446  fpwwe2lem10  10327  fclim  15190  invfun  17393  lmfun  22440  ulmdm  25457  fundmpss  33646  fununiq  33649  fnsingle  34148  funimage  34157  funpartfun  34172
  Copyright terms: Public domain W3C validator