ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  dffun4f GIF version

Theorem dffun4f 5147
Description: Definition of function like dffun4 5142 but using bound-variable hypotheses instead of distinct variable conditions. (Contributed by Jim Kingdon, 17-Mar-2019.)
Hypotheses
Ref Expression
dffun4f.1 𝑥𝐴
dffun4f.2 𝑦𝐴
dffun4f.3 𝑧𝐴
Assertion
Ref Expression
dffun4f (Fun 𝐴 ↔ (Rel 𝐴 ∧ ∀𝑥𝑦𝑧((⟨𝑥, 𝑦⟩ ∈ 𝐴 ∧ ⟨𝑥, 𝑧⟩ ∈ 𝐴) → 𝑦 = 𝑧)))
Distinct variable group:   𝑥,𝑦,𝑧
Allowed substitution hints:   𝐴(𝑥,𝑦,𝑧)

Proof of Theorem dffun4f
Dummy variable 𝑤 is distinct from all other variables.
StepHypRef Expression
1 dffun4f.1 . . 3 𝑥𝐴
2 dffun4f.2 . . 3 𝑦𝐴
31, 2dffun6f 5144 . 2 (Fun 𝐴 ↔ (Rel 𝐴 ∧ ∀𝑥∃*𝑦 𝑥𝐴𝑦))
4 nfcv 2282 . . . . . . 7 𝑦𝑥
5 nfcv 2282 . . . . . . 7 𝑦𝑤
64, 2, 5nfbr 3982 . . . . . 6 𝑦 𝑥𝐴𝑤
7 breq2 3941 . . . . . 6 (𝑦 = 𝑤 → (𝑥𝐴𝑦𝑥𝐴𝑤))
86, 7mo4f 2060 . . . . 5 (∃*𝑦 𝑥𝐴𝑦 ↔ ∀𝑦𝑤((𝑥𝐴𝑦𝑥𝐴𝑤) → 𝑦 = 𝑤))
9 nfv 1509 . . . . . . 7 𝑤((𝑥𝐴𝑦𝑥𝐴𝑧) → 𝑦 = 𝑧)
10 nfcv 2282 . . . . . . . . . 10 𝑧𝑥
11 dffun4f.3 . . . . . . . . . 10 𝑧𝐴
12 nfcv 2282 . . . . . . . . . 10 𝑧𝑦
1310, 11, 12nfbr 3982 . . . . . . . . 9 𝑧 𝑥𝐴𝑦
14 nfcv 2282 . . . . . . . . . 10 𝑧𝑤
1510, 11, 14nfbr 3982 . . . . . . . . 9 𝑧 𝑥𝐴𝑤
1613, 15nfan 1545 . . . . . . . 8 𝑧(𝑥𝐴𝑦𝑥𝐴𝑤)
17 nfv 1509 . . . . . . . 8 𝑧 𝑦 = 𝑤
1816, 17nfim 1552 . . . . . . 7 𝑧((𝑥𝐴𝑦𝑥𝐴𝑤) → 𝑦 = 𝑤)
19 breq2 3941 . . . . . . . . 9 (𝑧 = 𝑤 → (𝑥𝐴𝑧𝑥𝐴𝑤))
2019anbi2d 460 . . . . . . . 8 (𝑧 = 𝑤 → ((𝑥𝐴𝑦𝑥𝐴𝑧) ↔ (𝑥𝐴𝑦𝑥𝐴𝑤)))
21 equequ2 1690 . . . . . . . 8 (𝑧 = 𝑤 → (𝑦 = 𝑧𝑦 = 𝑤))
2220, 21imbi12d 233 . . . . . . 7 (𝑧 = 𝑤 → (((𝑥𝐴𝑦𝑥𝐴𝑧) → 𝑦 = 𝑧) ↔ ((𝑥𝐴𝑦𝑥𝐴𝑤) → 𝑦 = 𝑤)))
239, 18, 22cbval 1728 . . . . . 6 (∀𝑧((𝑥𝐴𝑦𝑥𝐴𝑧) → 𝑦 = 𝑧) ↔ ∀𝑤((𝑥𝐴𝑦𝑥𝐴𝑤) → 𝑦 = 𝑤))
2423albii 1447 . . . . 5 (∀𝑦𝑧((𝑥𝐴𝑦𝑥𝐴𝑧) → 𝑦 = 𝑧) ↔ ∀𝑦𝑤((𝑥𝐴𝑦𝑥𝐴𝑤) → 𝑦 = 𝑤))
258, 24bitr4i 186 . . . 4 (∃*𝑦 𝑥𝐴𝑦 ↔ ∀𝑦𝑧((𝑥𝐴𝑦𝑥𝐴𝑧) → 𝑦 = 𝑧))
2625albii 1447 . . 3 (∀𝑥∃*𝑦 𝑥𝐴𝑦 ↔ ∀𝑥𝑦𝑧((𝑥𝐴𝑦𝑥𝐴𝑧) → 𝑦 = 𝑧))
2726anbi2i 453 . 2 ((Rel 𝐴 ∧ ∀𝑥∃*𝑦 𝑥𝐴𝑦) ↔ (Rel 𝐴 ∧ ∀𝑥𝑦𝑧((𝑥𝐴𝑦𝑥𝐴𝑧) → 𝑦 = 𝑧)))
28 df-br 3938 . . . . . . 7 (𝑥𝐴𝑦 ↔ ⟨𝑥, 𝑦⟩ ∈ 𝐴)
29 df-br 3938 . . . . . . 7 (𝑥𝐴𝑧 ↔ ⟨𝑥, 𝑧⟩ ∈ 𝐴)
3028, 29anbi12i 456 . . . . . 6 ((𝑥𝐴𝑦𝑥𝐴𝑧) ↔ (⟨𝑥, 𝑦⟩ ∈ 𝐴 ∧ ⟨𝑥, 𝑧⟩ ∈ 𝐴))
3130imbi1i 237 . . . . 5 (((𝑥𝐴𝑦𝑥𝐴𝑧) → 𝑦 = 𝑧) ↔ ((⟨𝑥, 𝑦⟩ ∈ 𝐴 ∧ ⟨𝑥, 𝑧⟩ ∈ 𝐴) → 𝑦 = 𝑧))
32312albii 1448 . . . 4 (∀𝑦𝑧((𝑥𝐴𝑦𝑥𝐴𝑧) → 𝑦 = 𝑧) ↔ ∀𝑦𝑧((⟨𝑥, 𝑦⟩ ∈ 𝐴 ∧ ⟨𝑥, 𝑧⟩ ∈ 𝐴) → 𝑦 = 𝑧))
3332albii 1447 . . 3 (∀𝑥𝑦𝑧((𝑥𝐴𝑦𝑥𝐴𝑧) → 𝑦 = 𝑧) ↔ ∀𝑥𝑦𝑧((⟨𝑥, 𝑦⟩ ∈ 𝐴 ∧ ⟨𝑥, 𝑧⟩ ∈ 𝐴) → 𝑦 = 𝑧))
3433anbi2i 453 . 2 ((Rel 𝐴 ∧ ∀𝑥𝑦𝑧((𝑥𝐴𝑦𝑥𝐴𝑧) → 𝑦 = 𝑧)) ↔ (Rel 𝐴 ∧ ∀𝑥𝑦𝑧((⟨𝑥, 𝑦⟩ ∈ 𝐴 ∧ ⟨𝑥, 𝑧⟩ ∈ 𝐴) → 𝑦 = 𝑧)))
353, 27, 343bitri 205 1 (Fun 𝐴 ↔ (Rel 𝐴 ∧ ∀𝑥𝑦𝑧((⟨𝑥, 𝑦⟩ ∈ 𝐴 ∧ ⟨𝑥, 𝑧⟩ ∈ 𝐴) → 𝑦 = 𝑧)))
Colors of variables: wff set class
Syntax hints:  wi 4  wa 103  wb 104  wal 1330  wcel 1481  ∃*wmo 2001  wnfc 2269  cop 3535   class class class wbr 3937  Rel wrel 4552  Fun wfun 5125
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 105  ax-ia2 106  ax-ia3 107  ax-io 699  ax-5 1424  ax-7 1425  ax-gen 1426  ax-ie1 1470  ax-ie2 1471  ax-8 1483  ax-10 1484  ax-11 1485  ax-i12 1486  ax-bndl 1487  ax-4 1488  ax-14 1493  ax-17 1507  ax-i9 1511  ax-ial 1515  ax-i5r 1516  ax-ext 2122  ax-sep 4054  ax-pow 4106  ax-pr 4139
This theorem depends on definitions:  df-bi 116  df-3an 965  df-tru 1335  df-nf 1438  df-sb 1737  df-eu 2003  df-mo 2004  df-clab 2127  df-cleq 2133  df-clel 2136  df-nfc 2271  df-ral 2422  df-v 2691  df-un 3080  df-in 3082  df-ss 3089  df-pw 3517  df-sn 3538  df-pr 3539  df-op 3541  df-br 3938  df-opab 3998  df-id 4223  df-cnv 4555  df-co 4556  df-fun 5133
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator