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 43240
Description: Lemma for setrec2 43241. 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 5636 . 2 Rel (𝐹 ↾ {𝑥 ∣ ∃!𝑦 𝑥𝐹𝑦})
2 fvex 6424 . . . . 5 (𝐹𝑥) ∈ V
3 eqeq2 2810 . . . . . . 7 (𝑧 = (𝐹𝑥) → (𝑦 = 𝑧𝑦 = (𝐹𝑥)))
43imbi2d 332 . . . . . 6 (𝑧 = (𝐹𝑥) → ((𝑥(𝐹 ↾ {𝑥 ∣ ∃!𝑦 𝑥𝐹𝑦})𝑦𝑦 = 𝑧) ↔ (𝑥(𝐹 ↾ {𝑥 ∣ ∃!𝑦 𝑥𝐹𝑦})𝑦𝑦 = (𝐹𝑥))))
54albidv 2016 . . . . 5 (𝑧 = (𝐹𝑥) → (∀𝑦(𝑥(𝐹 ↾ {𝑥 ∣ ∃!𝑦 𝑥𝐹𝑦})𝑦𝑦 = 𝑧) ↔ ∀𝑦(𝑥(𝐹 ↾ {𝑥 ∣ ∃!𝑦 𝑥𝐹𝑦})𝑦𝑦 = (𝐹𝑥))))
62, 5spcev 3488 . . . 4 (∀𝑦(𝑥(𝐹 ↾ {𝑥 ∣ ∃!𝑦 𝑥𝐹𝑦})𝑦𝑦 = (𝐹𝑥)) → ∃𝑧𝑦(𝑥(𝐹 ↾ {𝑥 ∣ ∃!𝑦 𝑥𝐹𝑦})𝑦𝑦 = 𝑧))
7 vex 3388 . . . . . 6 𝑦 ∈ V
87brresi 5609 . . . . 5 (𝑥(𝐹 ↾ {𝑥 ∣ ∃!𝑦 𝑥𝐹𝑦})𝑦 ↔ (𝑥 ∈ {𝑥 ∣ ∃!𝑦 𝑥𝐹𝑦} ∧ 𝑥𝐹𝑦))
9 abid 2787 . . . . . . 7 (𝑥 ∈ {𝑥 ∣ ∃!𝑦 𝑥𝐹𝑦} ↔ ∃!𝑦 𝑥𝐹𝑦)
10 tz6.12-1 6433 . . . . . . . 8 ((𝑥𝐹𝑦 ∧ ∃!𝑦 𝑥𝐹𝑦) → (𝐹𝑥) = 𝑦)
1110ancoms 451 . . . . . . 7 ((∃!𝑦 𝑥𝐹𝑦𝑥𝐹𝑦) → (𝐹𝑥) = 𝑦)
129, 11sylanb 577 . . . . . 6 ((𝑥 ∈ {𝑥 ∣ ∃!𝑦 𝑥𝐹𝑦} ∧ 𝑥𝐹𝑦) → (𝐹𝑥) = 𝑦)
1312eqcomd 2805 . . . . 5 ((𝑥 ∈ {𝑥 ∣ ∃!𝑦 𝑥𝐹𝑦} ∧ 𝑥𝐹𝑦) → 𝑦 = (𝐹𝑥))
148, 13sylbi 209 . . . 4 (𝑥(𝐹 ↾ {𝑥 ∣ ∃!𝑦 𝑥𝐹𝑦})𝑦𝑦 = (𝐹𝑥))
156, 14mpg 1893 . . 3 𝑧𝑦(𝑥(𝐹 ↾ {𝑥 ∣ ∃!𝑦 𝑥𝐹𝑦})𝑦𝑦 = 𝑧)
1615ax-gen 1891 . 2 𝑥𝑧𝑦(𝑥(𝐹 ↾ {𝑥 ∣ ∃!𝑦 𝑥𝐹𝑦})𝑦𝑦 = 𝑧)
17 nfcv 2941 . . . 4 𝑥𝐹
18 nfab1 2943 . . . 4 𝑥{𝑥 ∣ ∃!𝑦 𝑥𝐹𝑦}
1917, 18nfres 5602 . . 3 𝑥(𝐹 ↾ {𝑥 ∣ ∃!𝑦 𝑥𝐹𝑦})
20 nfcv 2941 . . . 4 𝑦𝐹
21 nfeu1 2628 . . . . 5 𝑦∃!𝑦 𝑥𝐹𝑦
2221nfab 2946 . . . 4 𝑦{𝑥 ∣ ∃!𝑦 𝑥𝐹𝑦}
2320, 22nfres 5602 . . 3 𝑦(𝐹 ↾ {𝑥 ∣ ∃!𝑦 𝑥𝐹𝑦})
24 nfcv 2941 . . 3 𝑧(𝐹 ↾ {𝑥 ∣ ∃!𝑦 𝑥𝐹𝑦})
2519, 23, 24dffun3f 43228 . 2 (Fun (𝐹 ↾ {𝑥 ∣ ∃!𝑦 𝑥𝐹𝑦}) ↔ (Rel (𝐹 ↾ {𝑥 ∣ ∃!𝑦 𝑥𝐹𝑦}) ∧ ∀𝑥𝑧𝑦(𝑥(𝐹 ↾ {𝑥 ∣ ∃!𝑦 𝑥𝐹𝑦})𝑦𝑦 = 𝑧)))
261, 16, 25mpbir2an 703 1 Fun (𝐹 ↾ {𝑥 ∣ ∃!𝑦 𝑥𝐹𝑦})
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 385  wal 1651   = wceq 1653  wex 1875  wcel 2157  ∃!weu 2608  {cab 2785   class class class wbr 4843  cres 5314  Rel wrel 5317  Fun wfun 6095  cfv 6101
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1891  ax-4 1905  ax-5 2006  ax-6 2072  ax-7 2107  ax-9 2166  ax-10 2185  ax-11 2200  ax-12 2213  ax-13 2377  ax-ext 2777  ax-sep 4975  ax-nul 4983  ax-pr 5097
This theorem depends on definitions:  df-bi 199  df-an 386  df-or 875  df-3an 1110  df-tru 1657  df-ex 1876  df-nf 1880  df-sb 2065  df-mo 2591  df-eu 2609  df-clab 2786  df-cleq 2792  df-clel 2795  df-nfc 2930  df-ral 3094  df-rex 3095  df-rab 3098  df-v 3387  df-sbc 3634  df-dif 3772  df-un 3774  df-in 3776  df-ss 3783  df-nul 4116  df-if 4278  df-sn 4369  df-pr 4371  df-op 4375  df-uni 4629  df-br 4844  df-opab 4906  df-id 5220  df-xp 5318  df-rel 5319  df-cnv 5320  df-co 5321  df-res 5324  df-iota 6064  df-fun 6103  df-fv 6109
This theorem is referenced by:  setrec2  43241
  Copyright terms: Public domain W3C validator