Users' Mathboxes Mathbox for Emmett Weisz < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  setrec2lem2 Structured version   Visualization version   GIF version

Theorem setrec2lem2 42766
Description: Lemma for setrec2 42767. The functional part of 𝐹 is a function. (Contributed by Emmett Weisz, 6-Mar-2021.) (New usage is discouraged.)
Assertion
Ref Expression
setrec2lem2 Fun (𝐹 ↾ {𝑥 ∣ ∃!𝑦 𝑥𝐹𝑦})
Distinct variable group:   𝑥,𝑦,𝐹

Proof of Theorem setrec2lem2
Dummy variable 𝑧 is distinct from all other variables.
StepHypRef Expression
1 relres 5461 . 2 Rel (𝐹 ↾ {𝑥 ∣ ∃!𝑦 𝑥𝐹𝑦})
2 fvex 6239 . . . . 5 (𝐹𝑥) ∈ V
3 eqeq2 2662 . . . . . . 7 (𝑧 = (𝐹𝑥) → (𝑦 = 𝑧𝑦 = (𝐹𝑥)))
43imbi2d 329 . . . . . 6 (𝑧 = (𝐹𝑥) → ((𝑥(𝐹 ↾ {𝑥 ∣ ∃!𝑦 𝑥𝐹𝑦})𝑦𝑦 = 𝑧) ↔ (𝑥(𝐹 ↾ {𝑥 ∣ ∃!𝑦 𝑥𝐹𝑦})𝑦𝑦 = (𝐹𝑥))))
54albidv 1889 . . . . 5 (𝑧 = (𝐹𝑥) → (∀𝑦(𝑥(𝐹 ↾ {𝑥 ∣ ∃!𝑦 𝑥𝐹𝑦})𝑦𝑦 = 𝑧) ↔ ∀𝑦(𝑥(𝐹 ↾ {𝑥 ∣ ∃!𝑦 𝑥𝐹𝑦})𝑦𝑦 = (𝐹𝑥))))
62, 5spcev 3331 . . . 4 (∀𝑦(𝑥(𝐹 ↾ {𝑥 ∣ ∃!𝑦 𝑥𝐹𝑦})𝑦𝑦 = (𝐹𝑥)) → ∃𝑧𝑦(𝑥(𝐹 ↾ {𝑥 ∣ ∃!𝑦 𝑥𝐹𝑦})𝑦𝑦 = 𝑧))
7 vex 3234 . . . . . 6 𝑦 ∈ V
87brres 5437 . . . . 5 (𝑥(𝐹 ↾ {𝑥 ∣ ∃!𝑦 𝑥𝐹𝑦})𝑦 ↔ (𝑥𝐹𝑦𝑥 ∈ {𝑥 ∣ ∃!𝑦 𝑥𝐹𝑦}))
9 abid 2639 . . . . . . 7 (𝑥 ∈ {𝑥 ∣ ∃!𝑦 𝑥𝐹𝑦} ↔ ∃!𝑦 𝑥𝐹𝑦)
10 tz6.12-1 6248 . . . . . . 7 ((𝑥𝐹𝑦 ∧ ∃!𝑦 𝑥𝐹𝑦) → (𝐹𝑥) = 𝑦)
119, 10sylan2b 491 . . . . . 6 ((𝑥𝐹𝑦𝑥 ∈ {𝑥 ∣ ∃!𝑦 𝑥𝐹𝑦}) → (𝐹𝑥) = 𝑦)
1211eqcomd 2657 . . . . 5 ((𝑥𝐹𝑦𝑥 ∈ {𝑥 ∣ ∃!𝑦 𝑥𝐹𝑦}) → 𝑦 = (𝐹𝑥))
138, 12sylbi 207 . . . 4 (𝑥(𝐹 ↾ {𝑥 ∣ ∃!𝑦 𝑥𝐹𝑦})𝑦𝑦 = (𝐹𝑥))
146, 13mpg 1764 . . 3 𝑧𝑦(𝑥(𝐹 ↾ {𝑥 ∣ ∃!𝑦 𝑥𝐹𝑦})𝑦𝑦 = 𝑧)
1514ax-gen 1762 . 2 𝑥𝑧𝑦(𝑥(𝐹 ↾ {𝑥 ∣ ∃!𝑦 𝑥𝐹𝑦})𝑦𝑦 = 𝑧)
16 nfcv 2793 . . . 4 𝑥𝐹
17 nfab1 2795 . . . 4 𝑥{𝑥 ∣ ∃!𝑦 𝑥𝐹𝑦}
1816, 17nfres 5430 . . 3 𝑥(𝐹 ↾ {𝑥 ∣ ∃!𝑦 𝑥𝐹𝑦})
19 nfcv 2793 . . . 4 𝑦𝐹
20 nfeu1 2508 . . . . 5 𝑦∃!𝑦 𝑥𝐹𝑦
2120nfab 2798 . . . 4 𝑦{𝑥 ∣ ∃!𝑦 𝑥𝐹𝑦}
2219, 21nfres 5430 . . 3 𝑦(𝐹 ↾ {𝑥 ∣ ∃!𝑦 𝑥𝐹𝑦})
23 nfcv 2793 . . 3 𝑧(𝐹 ↾ {𝑥 ∣ ∃!𝑦 𝑥𝐹𝑦})
2418, 22, 23dffun3f 42754 . 2 (Fun (𝐹 ↾ {𝑥 ∣ ∃!𝑦 𝑥𝐹𝑦}) ↔ (Rel (𝐹 ↾ {𝑥 ∣ ∃!𝑦 𝑥𝐹𝑦}) ∧ ∀𝑥𝑧𝑦(𝑥(𝐹 ↾ {𝑥 ∣ ∃!𝑦 𝑥𝐹𝑦})𝑦𝑦 = 𝑧)))
251, 15, 24mpbir2an 975 1 Fun (𝐹 ↾ {𝑥 ∣ ∃!𝑦 𝑥𝐹𝑦})
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 383  wal 1521   = wceq 1523  wex 1744  wcel 2030  ∃!weu 2498  {cab 2637   class class class wbr 4685  cres 5145  Rel wrel 5148  Fun wfun 5920  cfv 5926
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1762  ax-4 1777  ax-5 1879  ax-6 1945  ax-7 1981  ax-9 2039  ax-10 2059  ax-11 2074  ax-12 2087  ax-13 2282  ax-ext 2631  ax-sep 4814  ax-nul 4822  ax-pr 4936
This theorem depends on definitions:  df-bi 197  df-or 384  df-an 385  df-3an 1056  df-tru 1526  df-ex 1745  df-nf 1750  df-sb 1938  df-eu 2502  df-mo 2503  df-clab 2638  df-cleq 2644  df-clel 2647  df-nfc 2782  df-ral 2946  df-rex 2947  df-rab 2950  df-v 3233  df-sbc 3469  df-dif 3610  df-un 3612  df-in 3614  df-ss 3621  df-nul 3949  df-if 4120  df-sn 4211  df-pr 4213  df-op 4217  df-uni 4469  df-br 4686  df-opab 4746  df-id 5053  df-xp 5149  df-rel 5150  df-cnv 5151  df-co 5152  df-res 5155  df-iota 5889  df-fun 5928  df-fv 5934
This theorem is referenced by:  setrec2  42767
  Copyright terms: Public domain W3C validator