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

TODO: improve the support lemmas elimag 6060 and fvelima 6950 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 2924 . . . 4 (𝜑 → Ⅎ𝑥𝑦)
3 vex 3455 . . . . 5 𝑦 ∈ V
43a1i 11 . . . 4 (𝜑 → 𝑦 ∈ V)
5 df-rex 3088 . . . . . 6 (∃𝑧 ∈ {𝑥 ∣ 𝜓} (𝐹‘𝑧) = 𝑦 ↔ ∃𝑧(𝑧 ∈ {𝑥 ∣ 𝜓} ∧ (𝐹‘𝑧) = 𝑦))
65a1i 11 . . . . 5 (𝜑 → (∃𝑧 ∈ {𝑥 ∣ 𝜓} (𝐹‘𝑧) = 𝑦 ↔ ∃𝑧(𝑧 ∈ {𝑥 ∣ 𝜓} ∧ (𝐹‘𝑧) = 𝑦)))
7 eqcom 2768 . . . . . . . 8 (𝑦 = (𝐹‘𝑧) ↔ (𝐹‘𝑧) = 𝑦)
8 df-clab 2740 . . . . . . . . 9 (𝑧 ∈ {𝑥 ∣ 𝜓} ↔ [𝑧 / 𝑥]𝜓)
98bicomi 227 . . . . . . . 8 ([𝑧 / 𝑥]𝜓 ↔ 𝑧 ∈ {𝑥 ∣ 𝜓})
107, 9anbi12ci 641 . . . . . . 7 ((𝑦 = (𝐹‘𝑧) ∧ [𝑧 / 𝑥]𝜓) ↔ (𝑧 ∈ {𝑥 ∣ 𝜓} ∧ (𝐹‘𝑧) = 𝑦))
1110exbii 1881 . . . . . 6 (∃𝑧(𝑦 = (𝐹‘𝑧) ∧ [𝑧 / 𝑥]𝜓) ↔ ∃𝑧(𝑧 ∈ {𝑥 ∣ 𝜓} ∧ (𝐹‘𝑧) = 𝑦))
1211a1i 11 . . . . 5 (𝜑 → (∃𝑧(𝑦 = (𝐹‘𝑧) ∧ [𝑧 / 𝑥]𝜓) ↔ ∃𝑧(𝑧 ∈ {𝑥 ∣ 𝜓} ∧ (𝐹‘𝑧) = 𝑦)))
131nf5i 2183 . . . . . 6 Ⅎ𝑥𝜑
14 nfcv 2923 . . . . . . . . 9 Ⅎ𝑥𝑦
1514a1i 11 . . . . . . . 8 (𝜑 → Ⅎ𝑥𝑦)
16 bj-gabima.nff . . . . . . . . 9 (𝜑 → Ⅎ𝑥𝐹)
17 nfcv 2923 . . . . . . . . . 10 Ⅎ𝑥𝑧
1817a1i 11 . . . . . . . . 9 (𝜑 → Ⅎ𝑥𝑧)
1916, 18nffvd 6897 . . . . . . . 8 (𝜑 → Ⅎ𝑥(𝐹‘𝑧))
2015, 19nfeqd 2933 . . . . . . 7 (𝜑 → Ⅎ𝑥 𝑦 = (𝐹‘𝑧))
21 nfs1v 2193 . . . . . . . 8 Ⅎ𝑥[𝑧 / 𝑥]𝜓
2221a1i 11 . . . . . . 7 (𝜑 → Ⅎ𝑥[𝑧 / 𝑥]𝜓)
2320, 22nfand 1930 . . . . . 6 (𝜑 → Ⅎ𝑥(𝑦 = (𝐹‘𝑧) ∧ [𝑧 / 𝑥]𝜓))
24 fveq2 6885 . . . . . . . . 9 (𝑧 = 𝑥 → (𝐹‘𝑧) = (𝐹‘𝑥))
2524eqeq2d 2772 . . . . . . . 8 (𝑧 = 𝑥 → (𝑦 = (𝐹‘𝑧) ↔ 𝑦 = (𝐹‘𝑥)))
26 sbequ12r 2288 . . . . . . . 8 (𝑧 = 𝑥 → ([𝑧 / 𝑥]𝜓 ↔ 𝜓))
2725, 26anbi12d 644 . . . . . . 7 (𝑧 = 𝑥 → ((𝑦 = (𝐹‘𝑧) ∧ [𝑧 / 𝑥]𝜓) ↔ (𝑦 = (𝐹‘𝑥) ∧ 𝜓)))
2827a1i 11 . . . . . 6 (𝜑 → (𝑧 = 𝑥 → ((𝑦 = (𝐹‘𝑧) ∧ [𝑧 / 𝑥]𝜓) ↔ (𝑦 = (𝐹‘𝑥) ∧ 𝜓))))
2913, 23, 28cbvexdw 2369 . . . . 5 (𝜑 → (∃𝑧(𝑦 = (𝐹‘𝑧) ∧ [𝑧 / 𝑥]𝜓) ↔ ∃𝑥(𝑦 = (𝐹‘𝑥) ∧ 𝜓)))
306, 12, 293bitr2rd 311 . . . 4 (𝜑 → (∃𝑥(𝑦 = (𝐹‘𝑥) ∧ 𝜓) ↔ ∃𝑧 ∈ {𝑥 ∣ 𝜓} (𝐹‘𝑧) = 𝑦))
311, 2, 4, 30bj-elgab 37852 . . 3 (𝜑 → (𝑦 ∈ {(𝐹‘𝑥) ∣ 𝑥 ∣ 𝜓} ↔ ∃𝑧 ∈ {𝑥 ∣ 𝜓} (𝐹‘𝑧) = 𝑦))
32 bj-gabima.fun . . . . 5 (𝜑 → Fun 𝐹)
3332funfnd 6571 . . . 4 (𝜑 → 𝐹 Fn dom 𝐹)
34 bj-gabima.dm . . . 4 (𝜑 → {𝑥 ∣ 𝜓} ⊆ dom 𝐹)
3533, 34fvelimabd 6958 . . 3 (𝜑 → (𝑦 ∈ (𝐹 “ {𝑥 ∣ 𝜓}) ↔ ∃𝑧 ∈ {𝑥 ∣ 𝜓} (𝐹‘𝑧) = 𝑦))
3631, 35bitr4d 285 . 2 (𝜑 → (𝑦 ∈ {(𝐹‘𝑥) ∣ 𝑥 ∣ 𝜓} ↔ 𝑦 ∈ (𝐹 “ {𝑥 ∣ 𝜓})))
3736eqrdv 2759 1 (𝜑 → {(𝐹‘𝑥) ∣ 𝑥 ∣ 𝜓} = (𝐹 “ {𝑥 ∣ 𝜓}))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401  ∀wal 1568   = wceq 1570  ∃wex 1812  Ⅎwnf 1816  [wsb 2099   ∈ wcel 2145  {cab 2739  Ⅎwnfc 2908  ∃wrex 3087  Vcvv 3451   ⊆ wss 3899  dom cdm 5651   “ cima 5654  Fun wfun 6532  ‘cfv 6538  {bj-cgab 37846
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1943  ax-6 2000  ax-7 2041  ax-8 2147  ax-9 2155  ax-10 2178  ax-11 2194  ax-12 2213  ax-ext 2733  ax-sep 5249  ax-nul 5260  ax-pr 5391
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2100  df-mo 2565  df-eu 2595  df-clab 2740  df-cleq 2753  df-clel 2836  df-nfc 2910  df-ne 2957  df-ral 3078  df-rex 3088  df-rab 3414  df-v 3453  df-dif 3902  df-un 3904  df-in 3906  df-ss 3916  df-nul 4280  df-if 4483  df-sn 4585  df-pr 4587  df-op 4591  df-uni 4868  df-br 5104  df-opab 5168  df-id 5546  df-xp 5657  df-rel 5658  df-cnv 5659  df-co 5660  df-dm 5661  df-rn 5662  df-res 5663  df-ima 5664  df-iota 6494  df-fun 6540  df-fn 6541  df-fv 6546  df-bj-gab 37847
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator