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

Theorem dffun2 6583
Description: Alternate definition of a function. (Contributed by NM, 29-Dec-1996.) Avoid ax-10 2184, ax-12 2220. (Revised by SN, 19-Dec-2024.) Avoid ax-11 2201. (Revised by BTernaryTau, 29-Dec-2024.)
Assertion
Ref Expression
dffun2 (Fun 𝐴 ↔ (Rel 𝐴 ∧ ∀𝑥∀𝑦∀𝑧((𝑥𝐴𝑦 ∧ 𝑥𝐴𝑧) → 𝑦 = 𝑧)))
Distinct variable group:   𝑥,𝐴,𝑦,𝑧

Proof of Theorem dffun2
Dummy variable 𝑤 is distinct from all other variables.
StepHypRef Expression
1 df-fun 6575 . 2 (Fun 𝐴 ↔ (Rel 𝐴 ∧ (𝐴 ∘ ◡𝐴) ⊆ I ))
2 cotrg 6127 . . . 4 ((𝐴 ∘ ◡𝐴) ⊆ I ↔ ∀𝑦∀𝑥∀𝑧((𝑦◡𝐴𝑥 ∧ 𝑥𝐴𝑧) → 𝑦 I 𝑧))
3 breq1 5114 . . . . . . . . 9 (𝑦 = 𝑤 → (𝑦◡𝐴𝑥 ↔ 𝑤◡𝐴𝑥))
43anbi1d 643 . . . . . . . 8 (𝑦 = 𝑤 → ((𝑦◡𝐴𝑥 ∧ 𝑥𝐴𝑧) ↔ (𝑤◡𝐴𝑥 ∧ 𝑥𝐴𝑧)))
5 breq1 5114 . . . . . . . 8 (𝑦 = 𝑤 → (𝑦 I 𝑧 ↔ 𝑤 I 𝑧))
64, 5imbi12d 347 . . . . . . 7 (𝑦 = 𝑤 → (((𝑦◡𝐴𝑥 ∧ 𝑥𝐴𝑧) → 𝑦 I 𝑧) ↔ ((𝑤◡𝐴𝑥 ∧ 𝑥𝐴𝑧) → 𝑤 I 𝑧)))
76albidv 1957 . . . . . 6 (𝑦 = 𝑤 → (∀𝑧((𝑦◡𝐴𝑥 ∧ 𝑥𝐴𝑧) → 𝑦 I 𝑧) ↔ ∀𝑧((𝑤◡𝐴𝑥 ∧ 𝑥𝐴𝑧) → 𝑤 I 𝑧)))
8 breq2 5115 . . . . . . . . 9 (𝑥 = 𝑤 → (𝑦◡𝐴𝑥 ↔ 𝑦◡𝐴𝑤))
9 breq1 5114 . . . . . . . . 9 (𝑥 = 𝑤 → (𝑥𝐴𝑧 ↔ 𝑤𝐴𝑧))
108, 9anbi12d 644 . . . . . . . 8 (𝑥 = 𝑤 → ((𝑦◡𝐴𝑥 ∧ 𝑥𝐴𝑧) ↔ (𝑦◡𝐴𝑤 ∧ 𝑤𝐴𝑧)))
1110imbi1d 344 . . . . . . 7 (𝑥 = 𝑤 → (((𝑦◡𝐴𝑥 ∧ 𝑥𝐴𝑧) → 𝑦 I 𝑧) ↔ ((𝑦◡𝐴𝑤 ∧ 𝑤𝐴𝑧) → 𝑦 I 𝑧)))
1211albidv 1957 . . . . . 6 (𝑥 = 𝑤 → (∀𝑧((𝑦◡𝐴𝑥 ∧ 𝑥𝐴𝑧) → 𝑦 I 𝑧) ↔ ∀𝑧((𝑦◡𝐴𝑤 ∧ 𝑤𝐴𝑧) → 𝑦 I 𝑧)))
137, 12alcomw 2082 . . . . 5 (∀𝑦∀𝑥∀𝑧((𝑦◡𝐴𝑥 ∧ 𝑥𝐴𝑧) → 𝑦 I 𝑧) ↔ ∀𝑥∀𝑦∀𝑧((𝑦◡𝐴𝑥 ∧ 𝑥𝐴𝑧) → 𝑦 I 𝑧))
14 vex 3460 . . . . . . . . 9 𝑦 ∈ V
15 vex 3460 . . . . . . . . 9 𝑥 ∈ V
1614, 15brcnv 5875 . . . . . . . 8 (𝑦◡𝐴𝑥 ↔ 𝑥𝐴𝑦)
1716anbi1i 636 . . . . . . 7 ((𝑦◡𝐴𝑥 ∧ 𝑥𝐴𝑧) ↔ (𝑥𝐴𝑦 ∧ 𝑥𝐴𝑧))
18 vex 3460 . . . . . . . 8 𝑧 ∈ V
1918ideq 5843 . . . . . . 7 (𝑦 I 𝑧 ↔ 𝑦 = 𝑧)
2017, 19imbi12i 353 . . . . . 6 (((𝑦◡𝐴𝑥 ∧ 𝑥𝐴𝑧) → 𝑦 I 𝑧) ↔ ((𝑥𝐴𝑦 ∧ 𝑥𝐴𝑧) → 𝑦 = 𝑧))
21203albii 1856 . . . . 5 (∀𝑥∀𝑦∀𝑧((𝑦◡𝐴𝑥 ∧ 𝑥𝐴𝑧) → 𝑦 I 𝑧) ↔ ∀𝑥∀𝑦∀𝑧((𝑥𝐴𝑦 ∧ 𝑥𝐴𝑧) → 𝑦 = 𝑧))
2213, 21bitri 278 . . . 4 (∀𝑦∀𝑥∀𝑧((𝑦◡𝐴𝑥 ∧ 𝑥𝐴𝑧) → 𝑦 I 𝑧) ↔ ∀𝑥∀𝑦∀𝑧((𝑥𝐴𝑦 ∧ 𝑥𝐴𝑧) → 𝑦 = 𝑧))
232, 22bitri 278 . . 3 ((𝐴 ∘ ◡𝐴) ⊆ I ↔ ∀𝑥∀𝑦∀𝑧((𝑥𝐴𝑦 ∧ 𝑥𝐴𝑧) → 𝑦 = 𝑧))
2423anbi2i 635 . 2 ((Rel 𝐴 ∧ (𝐴 ∘ ◡𝐴) ⊆ I ) ↔ (Rel 𝐴 ∧ ∀𝑥∀𝑦∀𝑧((𝑥𝐴𝑦 ∧ 𝑥𝐴𝑧) → 𝑦 = 𝑧)))
251, 24bitri 278 1 (Fun 𝐴 ↔ (Rel 𝐴 ∧ ∀𝑥∀𝑦∀𝑧((𝑥𝐴𝑦 ∧ 𝑥𝐴𝑧) → 𝑦 = 𝑧)))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401  ∀wal 1570   ⊆ wss 3902   class class class wbr 5111   I cid 5555  ◡ccnv 5660   ∘ ccom 5665  Rel wrel 5666  Fun wfun 6567
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1830  ax-4 1844  ax-5 1947  ax-6 2004  ax-7 2045  ax-8 2153  ax-9 2161  ax-ext 2741  ax-sep 5258  ax-pr 5401
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1815  df-sb 2105  df-clab 2748  df-cleq 2761  df-clel 2845  df-ral 3087  df-rex 3097  df-rab 3419  df-v 3458  df-ss 3903  df-dif 4052  df-in 4096  df-un 4156  df-nul 4284  df-if 4488  df-sn 4591  df-pr 4593  df-op 4844  df-br 5112  df-opab 5177  df-id 5556  df-xp 5667  df-rel 5668  df-cnv 5669  df-co 5670  df-fun 6575
This theorem is used by:  dffun6  6584  dffun4  6586  fununiq  6590  fundifOLD  6626  fliftfun  7361  frrlem9  8361  fprlem1  8367  frrlem15  9809  fpwwe2lem10  10775  fclim  15777  invfun  18009  lmfun  23799  ulmdm  26844  fundmpss  36772  fnsingle  36921  funimage  36930  funpartfun  36947  functhincfun  51043
  Copyright terms: Public domain W3C validator