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

TODO: improve the support lemmas elimag 6066 and fvelima 6961 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 2927 . . . 4 (𝜑 → Ⅎ𝑥𝑦)
3 vex 3458 . . . . 5 𝑦 ∈ V
43a1i 11 . . . 4 (𝜑 → 𝑦 ∈ V)
5 df-rex 3091 . . . . . 6 (∃𝑧 ∈ {𝑥 ∣ 𝜓} (𝐹‘𝑧) = 𝑦 ↔ ∃𝑧(𝑧 ∈ {𝑥 ∣ 𝜓} ∧ (𝐹‘𝑧) = 𝑦))
65a1i 11 . . . . 5 (𝜑 → (∃𝑧 ∈ {𝑥 ∣ 𝜓} (𝐹‘𝑧) = 𝑦 ↔ ∃𝑧(𝑧 ∈ {𝑥 ∣ 𝜓} ∧ (𝐹‘𝑧) = 𝑦)))
7 eqcom 2770 . . . . . . . 8 (𝑦 = (𝐹‘𝑧) ↔ (𝐹‘𝑧) = 𝑦)
8 df-clab 2742 . . . . . . . . 9 (𝑧 ∈ {𝑥 ∣ 𝜓} ↔ [𝑧 / 𝑥]𝜓)
98bicomi 227 . . . . . . . 8 ([𝑧 / 𝑥]𝜓 ↔ 𝑧 ∈ {𝑥 ∣ 𝜓})
107, 9anbi12ci 641 . . . . . . 7 ((𝑦 = (𝐹‘𝑧) ∧ [𝑧 / 𝑥]𝜓) ↔ (𝑧 ∈ {𝑥 ∣ 𝜓} ∧ (𝐹‘𝑧) = 𝑦))
1110exbii 1880 . . . . . 6 (∃𝑧(𝑦 = (𝐹‘𝑧) ∧ [𝑧 / 𝑥]𝜓) ↔ ∃𝑧(𝑧 ∈ {𝑥 ∣ 𝜓} ∧ (𝐹‘𝑧) = 𝑦))
1211a1i 11 . . . . 5 (𝜑 → (∃𝑧(𝑦 = (𝐹‘𝑧) ∧ [𝑧 / 𝑥]𝜓) ↔ ∃𝑧(𝑧 ∈ {𝑥 ∣ 𝜓} ∧ (𝐹‘𝑧) = 𝑦)))
131nf5i 2185 . . . . . 6 Ⅎ𝑥𝜑
14 nfcv 2926 . . . . . . . . 9 Ⅎ𝑥𝑦
1514a1i 11 . . . . . . . 8 (𝜑 → Ⅎ𝑥𝑦)
16 bj-gabima.nff . . . . . . . . 9 (𝜑 → Ⅎ𝑥𝐹)
17 nfcv 2926 . . . . . . . . . 10 Ⅎ𝑥𝑧
1817a1i 11 . . . . . . . . 9 (𝜑 → Ⅎ𝑥𝑧)
1916, 18nffvd 6908 . . . . . . . 8 (𝜑 → Ⅎ𝑥(𝐹‘𝑧))
2015, 19nfeqd 2936 . . . . . . 7 (𝜑 → Ⅎ𝑥 𝑦 = (𝐹‘𝑧))
21 nfs1v 2195 . . . . . . . 8 Ⅎ𝑥[𝑧 / 𝑥]𝜓
2221a1i 11 . . . . . . 7 (𝜑 → Ⅎ𝑥[𝑧 / 𝑥]𝜓)
2320, 22nfand 1931 . . . . . 6 (𝜑 → Ⅎ𝑥(𝑦 = (𝐹‘𝑧) ∧ [𝑧 / 𝑥]𝜓))
24 fveq2 6896 . . . . . . . . 9 (𝑧 = 𝑥 → (𝐹‘𝑧) = (𝐹‘𝑥))
2524eqeq2d 2774 . . . . . . . 8 (𝑧 = 𝑥 → (𝑦 = (𝐹‘𝑧) ↔ 𝑦 = (𝐹‘𝑥)))
26 sbequ12r 2290 . . . . . . . 8 (𝑧 = 𝑥 → ([𝑧 / 𝑥]𝜓 ↔ 𝜓))
2725, 26anbi12d 644 . . . . . . 7 (𝑧 = 𝑥 → ((𝑦 = (𝐹‘𝑧) ∧ [𝑧 / 𝑥]𝜓) ↔ (𝑦 = (𝐹‘𝑥) ∧ 𝜓)))
2827a1i 11 . . . . . 6 (𝜑 → (𝑧 = 𝑥 → ((𝑦 = (𝐹‘𝑧) ∧ [𝑧 / 𝑥]𝜓) ↔ (𝑦 = (𝐹‘𝑥) ∧ 𝜓))))
2913, 23, 28cbvexdw 2371 . . . . 5 (𝜑 → (∃𝑧(𝑦 = (𝐹‘𝑧) ∧ [𝑧 / 𝑥]𝜓) ↔ ∃𝑥(𝑦 = (𝐹‘𝑥) ∧ 𝜓)))
306, 12, 293bitr2rd 311 . . . 4 (𝜑 → (∃𝑥(𝑦 = (𝐹‘𝑥) ∧ 𝜓) ↔ ∃𝑧 ∈ {𝑥 ∣ 𝜓} (𝐹‘𝑧) = 𝑦))
311, 2, 4, 30bj-elgab 37985 . . 3 (𝜑 → (𝑦 ∈ {(𝐹‘𝑥) ∣ 𝑥 ∣ 𝜓} ↔ ∃𝑧 ∈ {𝑥 ∣ 𝜓} (𝐹‘𝑧) = 𝑦))
32 bj-gabima.fun . . . . 5 (𝜑 → Fun 𝐹)
3332funfnd 6580 . . . 4 (𝜑 → 𝐹 Fn dom 𝐹)
34 bj-gabima.dm . . . 4 (𝜑 → {𝑥 ∣ 𝜓} ⊆ dom 𝐹)
3533, 34fvelimabd 6969 . . 3 (𝜑 → (𝑦 ∈ (𝐹 “ {𝑥 ∣ 𝜓}) ↔ ∃𝑧 ∈ {𝑥 ∣ 𝜓} (𝐹‘𝑧) = 𝑦))
3631, 35bitr4d 285 . 2 (𝜑 → (𝑦 ∈ {(𝐹‘𝑥) ∣ 𝑥 ∣ 𝜓} ↔ 𝑦 ∈ (𝐹 “ {𝑥 ∣ 𝜓})))
3736eqrdv 2761 1 (𝜑 → {(𝐹‘𝑥) ∣ 𝑥 ∣ 𝜓} = (𝐹 “ {𝑥 ∣ 𝜓}))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401  ∀wal 1567   = wceq 1569  ∃wex 1811  Ⅎwnf 1815  [wsb 2100   ∈ wcel 2146  {cab 2741  Ⅎwnfc 2911  ∃wrex 3090  Vcvv 3454   ⊆ wss 3900  dom cdm 5655   “ cima 5658  Fun wfun 6541  ‘cfv 6547  {bj-cgab 37979
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1944  ax-6 2001  ax-7 2042  ax-8 2148  ax-9 2156  ax-10 2179  ax-11 2196  ax-12 2215  ax-ext 2735  ax-sep 5252  ax-nul 5263  ax-pr 5395
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3an 1105  df-tru 1572  df-fal 1582  df-ex 1812  df-nf 1816  df-sb 2101  df-mo 2567  df-eu 2597  df-clab 2742  df-cleq 2755  df-clel 2839  df-nfc 2913  df-ne 2960  df-ral 3081  df-rex 3091  df-rab 3417  df-v 3456  df-ss 3901  df-dif 4050  df-in 4094  df-un 4154  df-nul 4282  df-if 4486  df-sn 4589  df-pr 4591  df-op 4839  df-uni 4871  df-br 5107  df-opab 5171  df-id 5550  df-xp 5661  df-rel 5662  df-cnv 5663  df-co 5664  df-dm 5665  df-rn 5666  df-res 5667  df-ima 5668  df-iota 6501  df-fun 6549  df-fn 6550  df-fv 6555  df-bj-gab 37980
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator