Users' Mathboxes Mathbox for BJ < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  bj-gabima Structured version   Visualization version   GIF version

Theorem bj-gabima 36408
Description: Generalized class abstraction as a direct image.

TODO: improve the support lemmas elimag 6061 and fvelima 6958 to nonfreeness hypothesis (and for the latter, biconditional). (Contributed by BJ, 4-Oct-2024.)

Hypotheses
Ref Expression
bj-gabima.nf (𝜑 → ∀𝑥𝜑)
bj-gabima.nff (𝜑𝑥𝐹)
bj-gabima.fun (𝜑 → Fun 𝐹)
bj-gabima.dm (𝜑 → {𝑥𝜓} ⊆ dom 𝐹)
Assertion
Ref Expression
bj-gabima (𝜑 → {(𝐹𝑥) ∣ 𝑥𝜓} = (𝐹 “ {𝑥𝜓}))

Proof of Theorem bj-gabima
Dummy variables 𝑦 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 bj-gabima.nf . . . 4 (𝜑 → ∀𝑥𝜑)
2 nfcvd 2899 . . . 4 (𝜑𝑥𝑦)
3 vex 3473 . . . . 5 𝑦 ∈ V
43a1i 11 . . . 4 (𝜑𝑦 ∈ V)
5 df-rex 3066 . . . . . 6 (∃𝑧 ∈ {𝑥𝜓} (𝐹𝑧) = 𝑦 ↔ ∃𝑧(𝑧 ∈ {𝑥𝜓} ∧ (𝐹𝑧) = 𝑦))
65a1i 11 . . . . 5 (𝜑 → (∃𝑧 ∈ {𝑥𝜓} (𝐹𝑧) = 𝑦 ↔ ∃𝑧(𝑧 ∈ {𝑥𝜓} ∧ (𝐹𝑧) = 𝑦)))
7 eqcom 2734 . . . . . . . 8 (𝑦 = (𝐹𝑧) ↔ (𝐹𝑧) = 𝑦)
8 df-clab 2705 . . . . . . . . 9 (𝑧 ∈ {𝑥𝜓} ↔ [𝑧 / 𝑥]𝜓)
98bicomi 223 . . . . . . . 8 ([𝑧 / 𝑥]𝜓𝑧 ∈ {𝑥𝜓})
107, 9anbi12ci 627 . . . . . . 7 ((𝑦 = (𝐹𝑧) ∧ [𝑧 / 𝑥]𝜓) ↔ (𝑧 ∈ {𝑥𝜓} ∧ (𝐹𝑧) = 𝑦))
1110exbii 1843 . . . . . 6 (∃𝑧(𝑦 = (𝐹𝑧) ∧ [𝑧 / 𝑥]𝜓) ↔ ∃𝑧(𝑧 ∈ {𝑥𝜓} ∧ (𝐹𝑧) = 𝑦))
1211a1i 11 . . . . 5 (𝜑 → (∃𝑧(𝑦 = (𝐹𝑧) ∧ [𝑧 / 𝑥]𝜓) ↔ ∃𝑧(𝑧 ∈ {𝑥𝜓} ∧ (𝐹𝑧) = 𝑦)))
131nf5i 2135 . . . . . 6 𝑥𝜑
14 nfcv 2898 . . . . . . . . 9 𝑥𝑦
1514a1i 11 . . . . . . . 8 (𝜑𝑥𝑦)
16 bj-gabima.nff . . . . . . . . 9 (𝜑𝑥𝐹)
17 nfcv 2898 . . . . . . . . . 10 𝑥𝑧
1817a1i 11 . . . . . . . . 9 (𝜑𝑥𝑧)
1916, 18nffvd 6903 . . . . . . . 8 (𝜑𝑥(𝐹𝑧))
2015, 19nfeqd 2908 . . . . . . 7 (𝜑 → Ⅎ𝑥 𝑦 = (𝐹𝑧))
21 nfs1v 2146 . . . . . . . 8 𝑥[𝑧 / 𝑥]𝜓
2221a1i 11 . . . . . . 7 (𝜑 → Ⅎ𝑥[𝑧 / 𝑥]𝜓)
2320, 22nfand 1893 . . . . . 6 (𝜑 → Ⅎ𝑥(𝑦 = (𝐹𝑧) ∧ [𝑧 / 𝑥]𝜓))
24 fveq2 6891 . . . . . . . . 9 (𝑧 = 𝑥 → (𝐹𝑧) = (𝐹𝑥))
2524eqeq2d 2738 . . . . . . . 8 (𝑧 = 𝑥 → (𝑦 = (𝐹𝑧) ↔ 𝑦 = (𝐹𝑥)))
26 sbequ12r 2237 . . . . . . . 8 (𝑧 = 𝑥 → ([𝑧 / 𝑥]𝜓𝜓))
2725, 26anbi12d 630 . . . . . . 7 (𝑧 = 𝑥 → ((𝑦 = (𝐹𝑧) ∧ [𝑧 / 𝑥]𝜓) ↔ (𝑦 = (𝐹𝑥) ∧ 𝜓)))
2827a1i 11 . . . . . 6 (𝜑 → (𝑧 = 𝑥 → ((𝑦 = (𝐹𝑧) ∧ [𝑧 / 𝑥]𝜓) ↔ (𝑦 = (𝐹𝑥) ∧ 𝜓))))
2913, 23, 28cbvexdw 2330 . . . . 5 (𝜑 → (∃𝑧(𝑦 = (𝐹𝑧) ∧ [𝑧 / 𝑥]𝜓) ↔ ∃𝑥(𝑦 = (𝐹𝑥) ∧ 𝜓)))
306, 12, 293bitr2rd 308 . . . 4 (𝜑 → (∃𝑥(𝑦 = (𝐹𝑥) ∧ 𝜓) ↔ ∃𝑧 ∈ {𝑥𝜓} (𝐹𝑧) = 𝑦))
311, 2, 4, 30bj-elgab 36407 . . 3 (𝜑 → (𝑦 ∈ {(𝐹𝑥) ∣ 𝑥𝜓} ↔ ∃𝑧 ∈ {𝑥𝜓} (𝐹𝑧) = 𝑦))
32 bj-gabima.fun . . . . 5 (𝜑 → Fun 𝐹)
3332funfnd 6578 . . . 4 (𝜑𝐹 Fn dom 𝐹)
34 bj-gabima.dm . . . 4 (𝜑 → {𝑥𝜓} ⊆ dom 𝐹)
3533, 34fvelimabd 6966 . . 3 (𝜑 → (𝑦 ∈ (𝐹 “ {𝑥𝜓}) ↔ ∃𝑧 ∈ {𝑥𝜓} (𝐹𝑧) = 𝑦))
3631, 35bitr4d 282 . 2 (𝜑 → (𝑦 ∈ {(𝐹𝑥) ∣ 𝑥𝜓} ↔ 𝑦 ∈ (𝐹 “ {𝑥𝜓})))
3736eqrdv 2725 1 (𝜑 → {(𝐹𝑥) ∣ 𝑥𝜓} = (𝐹 “ {𝑥𝜓}))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 395  wal 1532   = wceq 1534  wex 1774  wnf 1778  [wsb 2060  wcel 2099  {cab 2704  wnfc 2878  wrex 3065  Vcvv 3469  wss 3944  dom cdm 5672  cima 5675  Fun wfun 6536  cfv 6542  {bj-cgab 36401
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1790  ax-4 1804  ax-5 1906  ax-6 1964  ax-7 2004  ax-8 2101  ax-9 2109  ax-10 2130  ax-11 2147  ax-12 2164  ax-ext 2698  ax-sep 5293  ax-nul 5300  ax-pr 5423
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 847  df-3an 1087  df-tru 1537  df-fal 1547  df-ex 1775  df-nf 1779  df-sb 2061  df-mo 2529  df-eu 2558  df-clab 2705  df-cleq 2719  df-clel 2805  df-nfc 2880  df-ne 2936  df-ral 3057  df-rex 3066  df-rab 3428  df-v 3471  df-dif 3947  df-un 3949  df-in 3951  df-ss 3961  df-nul 4319  df-if 4525  df-sn 4625  df-pr 4627  df-op 4631  df-uni 4904  df-br 5143  df-opab 5205  df-id 5570  df-xp 5678  df-rel 5679  df-cnv 5680  df-co 5681  df-dm 5682  df-rn 5683  df-res 5684  df-ima 5685  df-iota 6494  df-fun 6544  df-fn 6545  df-fv 6550  df-bj-gab 36402
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator