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

Theorem dffun6f 6546
Description: Definition of function, using bound-variable hypotheses instead of distinct variable conditions. (Contributed by NM, 9-Mar-1995.) (Revised by Mario Carneiro, 15-Oct-2016.)
Hypotheses
Ref Expression
dffun6f.1 Ⅎ𝑥𝐴
dffun6f.2 Ⅎ𝑦𝐴
Assertion
Ref Expression
dffun6f (Fun 𝐴 ↔ (Rel 𝐴 ∧ ∀𝑥∃*𝑦 𝑥𝐴𝑦))
Distinct variable group:   𝑥,𝑦
Allowed substitution hints:   𝐴(𝑥, 𝑦)

Proof of Theorem dffun6f
Dummy variables 𝑤 𝑣 𝑢 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 dffun3 6543 . 2 (Fun 𝐴 ↔ (Rel 𝐴 ∧ ∀𝑤∃𝑢∀𝑣(𝑤𝐴𝑣 → 𝑣 = 𝑢)))
2 nfcv 2923 . . . . . . 7 Ⅎ𝑦𝑤
3 dffun6f.2 . . . . . . 7 Ⅎ𝑦𝐴
4 nfcv 2923 . . . . . . 7 Ⅎ𝑦𝑣
52, 3, 4nfbr 5152 . . . . . 6 Ⅎ𝑦 𝑤𝐴𝑣
6 nfv 1947 . . . . . 6 Ⅎ𝑣 𝑤𝐴𝑦
7 breq2 5107 . . . . . 6 (𝑣 = 𝑦 → (𝑤𝐴𝑣 ↔ 𝑤𝐴𝑦))
85, 6, 7cbvmow 2629 . . . . 5 (∃*𝑣 𝑤𝐴𝑣 ↔ ∃*𝑦 𝑤𝐴𝑦)
98albii 1852 . . . 4 (∀𝑤∃*𝑣 𝑤𝐴𝑣 ↔ ∀𝑤∃*𝑦 𝑤𝐴𝑦)
10 dfmo 2566 . . . . 5 (∃*𝑣 𝑤𝐴𝑣 ↔ ∃𝑢∀𝑣(𝑤𝐴𝑣 → 𝑣 = 𝑢))
1110albii 1852 . . . 4 (∀𝑤∃*𝑣 𝑤𝐴𝑣 ↔ ∀𝑤∃𝑢∀𝑣(𝑤𝐴𝑣 → 𝑣 = 𝑢))
12 nfcv 2923 . . . . . . 7 Ⅎ𝑥𝑤
13 dffun6f.1 . . . . . . 7 Ⅎ𝑥𝐴
14 nfcv 2923 . . . . . . 7 Ⅎ𝑥𝑦
1512, 13, 14nfbr 5152 . . . . . 6 Ⅎ𝑥 𝑤𝐴𝑦
1615nfmov 2586 . . . . 5 Ⅎ𝑥∃*𝑦 𝑤𝐴𝑦
17 nfv 1947 . . . . 5 Ⅎ𝑤∃*𝑦 𝑥𝐴𝑦
18 breq1 5106 . . . . . 6 (𝑤 = 𝑥 → (𝑤𝐴𝑦 ↔ 𝑥𝐴𝑦))
1918mobidv 2575 . . . . 5 (𝑤 = 𝑥 → (∃*𝑦 𝑤𝐴𝑦 ↔ ∃*𝑦 𝑥𝐴𝑦))
2016, 17, 19cbvalv1 2371 . . . 4 (∀𝑤∃*𝑦 𝑤𝐴𝑦 ↔ ∀𝑥∃*𝑦 𝑥𝐴𝑦)
219, 11, 203bitr3ri 305 . . 3 (∀𝑥∃*𝑦 𝑥𝐴𝑦 ↔ ∀𝑤∃𝑢∀𝑣(𝑤𝐴𝑣 → 𝑣 = 𝑢))
2221anbi2i 635 . 2 ((Rel 𝐴 ∧ ∀𝑥∃*𝑦 𝑥𝐴𝑦) ↔ (Rel 𝐴 ∧ ∀𝑤∃𝑢∀𝑣(𝑤𝐴𝑣 → 𝑣 = 𝑢)))
231, 22bitr4i 281 1 (Fun 𝐴 ↔ (Rel 𝐴 ∧ ∀𝑥∃*𝑦 𝑥𝐴𝑦))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401  ∀wal 1568  ∃wex 1812  ∃*wmo 2563  Ⅎwnfc 2908   class class class wbr 5103  Rel wrel 5656  Fun wfun 6525
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 1943  ax-6 2000  ax-7 2041  ax-8 2147  ax-9 2155  ax-10 2178  ax-11 2194  ax-12 2213  ax-ext 2733  ax-sep 5249  ax-pr 5391
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-nf 1817  df-sb 2100  df-mo 2565  df-clab 2740  df-cleq 2753  df-clel 2836  df-nfc 2910  df-ral 3078  df-rex 3088  df-rab 3414  df-v 3453  df-dif 3902  df-un 3904  df-in 3906  df-ss 3916  df-nul 4280  df-if 4483  df-sn 4585  df-pr 4587  df-op 4591  df-br 5104  df-opab 5168  df-id 5546  df-xp 5657  df-rel 5658  df-cnv 5659  df-co 5660  df-fun 6533
This theorem is used by:  funopab  6567  funcnvmpt  6987  dffun3f  9956
  Copyright terms: Public domain W3C validator