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 34814
Description: Generalized class abstraction as a direct image.

TODO: improve the support lemmas elimag 5918 and fvelima 6756 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 2898 . . . 4 (𝜑𝑥𝑦)
3 vex 3402 . . . . 5 𝑦 ∈ V
43a1i 11 . . . 4 (𝜑𝑦 ∈ V)
5 df-rex 3057 . . . . . 6 (∃𝑧 ∈ {𝑥𝜓} (𝐹𝑧) = 𝑦 ↔ ∃𝑧(𝑧 ∈ {𝑥𝜓} ∧ (𝐹𝑧) = 𝑦))
65a1i 11 . . . . 5 (𝜑 → (∃𝑧 ∈ {𝑥𝜓} (𝐹𝑧) = 𝑦 ↔ ∃𝑧(𝑧 ∈ {𝑥𝜓} ∧ (𝐹𝑧) = 𝑦)))
7 eqcom 2743 . . . . . . . 8 (𝑦 = (𝐹𝑧) ↔ (𝐹𝑧) = 𝑦)
8 df-clab 2715 . . . . . . . . 9 (𝑧 ∈ {𝑥𝜓} ↔ [𝑧 / 𝑥]𝜓)
98bicomi 227 . . . . . . . 8 ([𝑧 / 𝑥]𝜓𝑧 ∈ {𝑥𝜓})
107, 9anbi12ci 631 . . . . . . 7 ((𝑦 = (𝐹𝑧) ∧ [𝑧 / 𝑥]𝜓) ↔ (𝑧 ∈ {𝑥𝜓} ∧ (𝐹𝑧) = 𝑦))
1110exbii 1855 . . . . . 6 (∃𝑧(𝑦 = (𝐹𝑧) ∧ [𝑧 / 𝑥]𝜓) ↔ ∃𝑧(𝑧 ∈ {𝑥𝜓} ∧ (𝐹𝑧) = 𝑦))
1211a1i 11 . . . . 5 (𝜑 → (∃𝑧(𝑦 = (𝐹𝑧) ∧ [𝑧 / 𝑥]𝜓) ↔ ∃𝑧(𝑧 ∈ {𝑥𝜓} ∧ (𝐹𝑧) = 𝑦)))
131nf5i 2148 . . . . . 6 𝑥𝜑
14 nfcv 2897 . . . . . . . . 9 𝑥𝑦
1514a1i 11 . . . . . . . 8 (𝜑𝑥𝑦)
16 bj-gabima.nff . . . . . . . . 9 (𝜑𝑥𝐹)
17 nfcv 2897 . . . . . . . . . 10 𝑥𝑧
1817a1i 11 . . . . . . . . 9 (𝜑𝑥𝑧)
1916, 18nffvd 6707 . . . . . . . 8 (𝜑𝑥(𝐹𝑧))
2015, 19nfeqd 2907 . . . . . . 7 (𝜑 → Ⅎ𝑥 𝑦 = (𝐹𝑧))
21 nfs1v 2159 . . . . . . . 8 𝑥[𝑧 / 𝑥]𝜓
2221a1i 11 . . . . . . 7 (𝜑 → Ⅎ𝑥[𝑧 / 𝑥]𝜓)
2320, 22nfand 1905 . . . . . 6 (𝜑 → Ⅎ𝑥(𝑦 = (𝐹𝑧) ∧ [𝑧 / 𝑥]𝜓))
24 fveq2 6695 . . . . . . . . 9 (𝑧 = 𝑥 → (𝐹𝑧) = (𝐹𝑥))
2524eqeq2d 2747 . . . . . . . 8 (𝑧 = 𝑥 → (𝑦 = (𝐹𝑧) ↔ 𝑦 = (𝐹𝑥)))
26 sbequ12r 2252 . . . . . . . 8 (𝑧 = 𝑥 → ([𝑧 / 𝑥]𝜓𝜓))
2725, 26anbi12d 634 . . . . . . 7 (𝑧 = 𝑥 → ((𝑦 = (𝐹𝑧) ∧ [𝑧 / 𝑥]𝜓) ↔ (𝑦 = (𝐹𝑥) ∧ 𝜓)))
2827a1i 11 . . . . . 6 (𝜑 → (𝑧 = 𝑥 → ((𝑦 = (𝐹𝑧) ∧ [𝑧 / 𝑥]𝜓) ↔ (𝑦 = (𝐹𝑥) ∧ 𝜓))))
2913, 23, 28cbvexdw 2340 . . . . 5 (𝜑 → (∃𝑧(𝑦 = (𝐹𝑧) ∧ [𝑧 / 𝑥]𝜓) ↔ ∃𝑥(𝑦 = (𝐹𝑥) ∧ 𝜓)))
306, 12, 293bitr2rd 311 . . . 4 (𝜑 → (∃𝑥(𝑦 = (𝐹𝑥) ∧ 𝜓) ↔ ∃𝑧 ∈ {𝑥𝜓} (𝐹𝑧) = 𝑦))
311, 2, 4, 30bj-elgab 34813 . . 3 (𝜑 → (𝑦 ∈ {(𝐹𝑥) ∣ 𝑥𝜓} ↔ ∃𝑧 ∈ {𝑥𝜓} (𝐹𝑧) = 𝑦))
32 bj-gabima.fun . . . . 5 (𝜑 → Fun 𝐹)
3332funfnd 6389 . . . 4 (𝜑𝐹 Fn dom 𝐹)
34 bj-gabima.dm . . . 4 (𝜑 → {𝑥𝜓} ⊆ dom 𝐹)
3533, 34fvelimabd 6763 . . 3 (𝜑 → (𝑦 ∈ (𝐹 “ {𝑥𝜓}) ↔ ∃𝑧 ∈ {𝑥𝜓} (𝐹𝑧) = 𝑦))
3631, 35bitr4d 285 . 2 (𝜑 → (𝑦 ∈ {(𝐹𝑥) ∣ 𝑥𝜓} ↔ 𝑦 ∈ (𝐹 “ {𝑥𝜓})))
3736eqrdv 2734 1 (𝜑 → {(𝐹𝑥) ∣ 𝑥𝜓} = (𝐹 “ {𝑥𝜓}))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 209  wa 399  wal 1541   = wceq 1543  wex 1787  wnf 1791  [wsb 2072  wcel 2112  {cab 2714  wnfc 2877  wrex 3052  Vcvv 3398  wss 3853  dom cdm 5536  cima 5539  Fun wfun 6352  cfv 6358  {bj-cgab 34807
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1803  ax-4 1817  ax-5 1918  ax-6 1976  ax-7 2018  ax-8 2114  ax-9 2122  ax-10 2143  ax-11 2160  ax-12 2177  ax-ext 2708  ax-sep 5177  ax-nul 5184  ax-pr 5307
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 848  df-3an 1091  df-tru 1546  df-fal 1556  df-ex 1788  df-nf 1792  df-sb 2073  df-mo 2539  df-eu 2568  df-clab 2715  df-cleq 2728  df-clel 2809  df-nfc 2879  df-ral 3056  df-rex 3057  df-rab 3060  df-v 3400  df-sbc 3684  df-dif 3856  df-un 3858  df-in 3860  df-ss 3870  df-nul 4224  df-if 4426  df-sn 4528  df-pr 4530  df-op 4534  df-uni 4806  df-br 5040  df-opab 5102  df-id 5440  df-xp 5542  df-rel 5543  df-cnv 5544  df-co 5545  df-dm 5546  df-rn 5547  df-res 5548  df-ima 5549  df-iota 6316  df-fun 6360  df-fn 6361  df-fv 6366  df-bj-gab 34808
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator