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 46286
Description: Lemma for setrec2 46287. 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 5909 . 2 Rel (𝐹 ↾ {𝑥 ∣ ∃!𝑦 𝑥𝐹𝑦})
2 fvex 6769 . . . . 5 (𝐹𝑥) ∈ V
3 eqeq2 2750 . . . . . . 7 (𝑧 = (𝐹𝑥) → (𝑦 = 𝑧𝑦 = (𝐹𝑥)))
43imbi2d 340 . . . . . 6 (𝑧 = (𝐹𝑥) → ((𝑥(𝐹 ↾ {𝑥 ∣ ∃!𝑦 𝑥𝐹𝑦})𝑦𝑦 = 𝑧) ↔ (𝑥(𝐹 ↾ {𝑥 ∣ ∃!𝑦 𝑥𝐹𝑦})𝑦𝑦 = (𝐹𝑥))))
54albidv 1924 . . . . 5 (𝑧 = (𝐹𝑥) → (∀𝑦(𝑥(𝐹 ↾ {𝑥 ∣ ∃!𝑦 𝑥𝐹𝑦})𝑦𝑦 = 𝑧) ↔ ∀𝑦(𝑥(𝐹 ↾ {𝑥 ∣ ∃!𝑦 𝑥𝐹𝑦})𝑦𝑦 = (𝐹𝑥))))
62, 5spcev 3535 . . . 4 (∀𝑦(𝑥(𝐹 ↾ {𝑥 ∣ ∃!𝑦 𝑥𝐹𝑦})𝑦𝑦 = (𝐹𝑥)) → ∃𝑧𝑦(𝑥(𝐹 ↾ {𝑥 ∣ ∃!𝑦 𝑥𝐹𝑦})𝑦𝑦 = 𝑧))
7 vex 3426 . . . . . 6 𝑦 ∈ V
87brresi 5889 . . . . 5 (𝑥(𝐹 ↾ {𝑥 ∣ ∃!𝑦 𝑥𝐹𝑦})𝑦 ↔ (𝑥 ∈ {𝑥 ∣ ∃!𝑦 𝑥𝐹𝑦} ∧ 𝑥𝐹𝑦))
9 abid 2719 . . . . . . 7 (𝑥 ∈ {𝑥 ∣ ∃!𝑦 𝑥𝐹𝑦} ↔ ∃!𝑦 𝑥𝐹𝑦)
10 tz6.12-1 6778 . . . . . . . 8 ((𝑥𝐹𝑦 ∧ ∃!𝑦 𝑥𝐹𝑦) → (𝐹𝑥) = 𝑦)
1110ancoms 458 . . . . . . 7 ((∃!𝑦 𝑥𝐹𝑦𝑥𝐹𝑦) → (𝐹𝑥) = 𝑦)
129, 11sylanb 580 . . . . . 6 ((𝑥 ∈ {𝑥 ∣ ∃!𝑦 𝑥𝐹𝑦} ∧ 𝑥𝐹𝑦) → (𝐹𝑥) = 𝑦)
1312eqcomd 2744 . . . . 5 ((𝑥 ∈ {𝑥 ∣ ∃!𝑦 𝑥𝐹𝑦} ∧ 𝑥𝐹𝑦) → 𝑦 = (𝐹𝑥))
148, 13sylbi 216 . . . 4 (𝑥(𝐹 ↾ {𝑥 ∣ ∃!𝑦 𝑥𝐹𝑦})𝑦𝑦 = (𝐹𝑥))
156, 14mpg 1801 . . 3 𝑧𝑦(𝑥(𝐹 ↾ {𝑥 ∣ ∃!𝑦 𝑥𝐹𝑦})𝑦𝑦 = 𝑧)
1615ax-gen 1799 . 2 𝑥𝑧𝑦(𝑥(𝐹 ↾ {𝑥 ∣ ∃!𝑦 𝑥𝐹𝑦})𝑦𝑦 = 𝑧)
17 nfcv 2906 . . . 4 𝑥𝐹
18 nfab1 2908 . . . 4 𝑥{𝑥 ∣ ∃!𝑦 𝑥𝐹𝑦}
1917, 18nfres 5882 . . 3 𝑥(𝐹 ↾ {𝑥 ∣ ∃!𝑦 𝑥𝐹𝑦})
20 nfcv 2906 . . . 4 𝑦𝐹
21 nfeu1 2588 . . . . 5 𝑦∃!𝑦 𝑥𝐹𝑦
2221nfab 2912 . . . 4 𝑦{𝑥 ∣ ∃!𝑦 𝑥𝐹𝑦}
2320, 22nfres 5882 . . 3 𝑦(𝐹 ↾ {𝑥 ∣ ∃!𝑦 𝑥𝐹𝑦})
24 nfcv 2906 . . 3 𝑧(𝐹 ↾ {𝑥 ∣ ∃!𝑦 𝑥𝐹𝑦})
2519, 23, 24dffun3f 46274 . 2 (Fun (𝐹 ↾ {𝑥 ∣ ∃!𝑦 𝑥𝐹𝑦}) ↔ (Rel (𝐹 ↾ {𝑥 ∣ ∃!𝑦 𝑥𝐹𝑦}) ∧ ∀𝑥𝑧𝑦(𝑥(𝐹 ↾ {𝑥 ∣ ∃!𝑦 𝑥𝐹𝑦})𝑦𝑦 = 𝑧)))
261, 16, 25mpbir2an 707 1 Fun (𝐹 ↾ {𝑥 ∣ ∃!𝑦 𝑥𝐹𝑦})
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 395  wal 1537   = wceq 1539  wex 1783  wcel 2108  ∃!weu 2568  {cab 2715   class class class wbr 5070  cres 5582  Rel wrel 5585  Fun wfun 6412  cfv 6418
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-10 2139  ax-11 2156  ax-12 2173  ax-ext 2709  ax-sep 5218  ax-nul 5225  ax-pr 5347
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3an 1087  df-tru 1542  df-fal 1552  df-ex 1784  df-nf 1788  df-sb 2069  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2817  df-nfc 2888  df-ral 3068  df-rex 3069  df-rab 3072  df-v 3424  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-nul 4254  df-if 4457  df-sn 4559  df-pr 4561  df-op 4565  df-uni 4837  df-br 5071  df-opab 5133  df-id 5480  df-xp 5586  df-rel 5587  df-cnv 5588  df-co 5589  df-res 5592  df-iota 6376  df-fun 6420  df-fv 6426
This theorem is referenced by:  setrec2  46287
  Copyright terms: Public domain W3C validator