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

Theorem dffun2 6442
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 6434 . 2 (Fun 𝐴 ↔ (Rel 𝐴 ∧ (𝐴𝐴) ⊆ I ))
2 df-id 5490 . . . . . 6 I = {⟨𝑦, 𝑧⟩ ∣ 𝑦 = 𝑧}
32sseq2i 3955 . . . . 5 ((𝐴𝐴) ⊆ I ↔ (𝐴𝐴) ⊆ {⟨𝑦, 𝑧⟩ ∣ 𝑦 = 𝑧})
4 df-co 5599 . . . . . 6 (𝐴𝐴) = {⟨𝑦, 𝑧⟩ ∣ ∃𝑥(𝑦𝐴𝑥𝑥𝐴𝑧)}
54sseq1i 3954 . . . . 5 ((𝐴𝐴) ⊆ {⟨𝑦, 𝑧⟩ ∣ 𝑦 = 𝑧} ↔ {⟨𝑦, 𝑧⟩ ∣ ∃𝑥(𝑦𝐴𝑥𝑥𝐴𝑧)} ⊆ {⟨𝑦, 𝑧⟩ ∣ 𝑦 = 𝑧})
6 ssopab2bw 5463 . . . . 5 ({⟨𝑦, 𝑧⟩ ∣ ∃𝑥(𝑦𝐴𝑥𝑥𝐴𝑧)} ⊆ {⟨𝑦, 𝑧⟩ ∣ 𝑦 = 𝑧} ↔ ∀𝑦𝑧(∃𝑥(𝑦𝐴𝑥𝑥𝐴𝑧) → 𝑦 = 𝑧))
73, 5, 63bitri 297 . . . 4 ((𝐴𝐴) ⊆ I ↔ ∀𝑦𝑧(∃𝑥(𝑦𝐴𝑥𝑥𝐴𝑧) → 𝑦 = 𝑧))
8 vex 3435 . . . . . . . . . . . 12 𝑦 ∈ V
9 vex 3435 . . . . . . . . . . . 12 𝑥 ∈ V
108, 9brcnv 5790 . . . . . . . . . . 11 (𝑦𝐴𝑥𝑥𝐴𝑦)
1110anbi1i 624 . . . . . . . . . 10 ((𝑦𝐴𝑥𝑥𝐴𝑧) ↔ (𝑥𝐴𝑦𝑥𝐴𝑧))
1211exbii 1854 . . . . . . . . 9 (∃𝑥(𝑦𝐴𝑥𝑥𝐴𝑧) ↔ ∃𝑥(𝑥𝐴𝑦𝑥𝐴𝑧))
1312imbi1i 350 . . . . . . . 8 ((∃𝑥(𝑦𝐴𝑥𝑥𝐴𝑧) → 𝑦 = 𝑧) ↔ (∃𝑥(𝑥𝐴𝑦𝑥𝐴𝑧) → 𝑦 = 𝑧))
14 19.23v 1949 . . . . . . . 8 (∀𝑥((𝑥𝐴𝑦𝑥𝐴𝑧) → 𝑦 = 𝑧) ↔ (∃𝑥(𝑥𝐴𝑦𝑥𝐴𝑧) → 𝑦 = 𝑧))
1513, 14bitr4i 277 . . . . . . 7 ((∃𝑥(𝑦𝐴𝑥𝑥𝐴𝑧) → 𝑦 = 𝑧) ↔ ∀𝑥((𝑥𝐴𝑦𝑥𝐴𝑧) → 𝑦 = 𝑧))
1615albii 1826 . . . . . 6 (∀𝑧(∃𝑥(𝑦𝐴𝑥𝑥𝐴𝑧) → 𝑦 = 𝑧) ↔ ∀𝑧𝑥((𝑥𝐴𝑦𝑥𝐴𝑧) → 𝑦 = 𝑧))
17 alcom 2160 . . . . . 6 (∀𝑧𝑥((𝑥𝐴𝑦𝑥𝐴𝑧) → 𝑦 = 𝑧) ↔ ∀𝑥𝑧((𝑥𝐴𝑦𝑥𝐴𝑧) → 𝑦 = 𝑧))
1816, 17bitri 274 . . . . 5 (∀𝑧(∃𝑥(𝑦𝐴𝑥𝑥𝐴𝑧) → 𝑦 = 𝑧) ↔ ∀𝑥𝑧((𝑥𝐴𝑦𝑥𝐴𝑧) → 𝑦 = 𝑧))
1918albii 1826 . . . 4 (∀𝑦𝑧(∃𝑥(𝑦𝐴𝑥𝑥𝐴𝑧) → 𝑦 = 𝑧) ↔ ∀𝑦𝑥𝑧((𝑥𝐴𝑦𝑥𝐴𝑧) → 𝑦 = 𝑧))
20 alcom 2160 . . . 4 (∀𝑦𝑥𝑧((𝑥𝐴𝑦𝑥𝐴𝑧) → 𝑦 = 𝑧) ↔ ∀𝑥𝑦𝑧((𝑥𝐴𝑦𝑥𝐴𝑧) → 𝑦 = 𝑧))
217, 19, 203bitri 297 . . 3 ((𝐴𝐴) ⊆ I ↔ ∀𝑥𝑦𝑧((𝑥𝐴𝑦𝑥𝐴𝑧) → 𝑦 = 𝑧))
2221anbi2i 623 . 2 ((Rel 𝐴 ∧ (𝐴𝐴) ⊆ I ) ↔ (Rel 𝐴 ∧ ∀𝑥𝑦𝑧((𝑥𝐴𝑦𝑥𝐴𝑧) → 𝑦 = 𝑧)))
231, 22bitri 274 1 (Fun 𝐴 ↔ (Rel 𝐴 ∧ ∀𝑥𝑦𝑧((𝑥𝐴𝑦𝑥𝐴𝑧) → 𝑦 = 𝑧)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 396  wal 1540  wex 1786  wss 3892   class class class wbr 5079  {copab 5141   I cid 5489  ccnv 5589  ccom 5594  Rel wrel 5595  Fun wfun 6426
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1802  ax-4 1816  ax-5 1917  ax-6 1975  ax-7 2015  ax-8 2112  ax-9 2120  ax-10 2141  ax-11 2158  ax-12 2175  ax-ext 2711  ax-sep 5227  ax-nul 5234  ax-pr 5356
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3an 1088  df-tru 1545  df-fal 1555  df-ex 1787  df-nf 1791  df-sb 2072  df-mo 2542  df-eu 2571  df-clab 2718  df-cleq 2732  df-clel 2818  df-nfc 2891  df-ral 3071  df-rab 3075  df-v 3433  df-dif 3895  df-un 3897  df-in 3899  df-ss 3909  df-nul 4263  df-if 4466  df-sn 4568  df-pr 4570  df-op 4574  df-br 5080  df-opab 5142  df-id 5490  df-cnv 5598  df-co 5599  df-fun 6434
This theorem is referenced by:  dffun3  6443  dffun4  6444  fundif  6481  fliftfun  7179  frrlem9  8101  fprlem1  8107  wfrlem5OLD  8135  wfrfunOLD  8141  frrlem15  9516  fpwwe2lem10  10397  fclim  15260  invfun  17474  lmfun  22530  ulmdm  25550  fundmpss  33736  fununiq  33739  fnsingle  34217  funimage  34226  funpartfun  34241
  Copyright terms: Public domain W3C validator