Users' Mathboxes Mathbox for Wolf Lammen < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  wl-clabt Structured version   Visualization version   GIF version

Theorem wl-clabt 34995
Description: Using class abstraction in a context. For a version based on fewer axioms see wl-clabtv 34994. (Contributed by Wolf Lammen, 29-May-2023.)
Hypothesis
Ref Expression
wl-clabt.nf 𝑥𝜑
Assertion
Ref Expression
wl-clabt (𝜑 → {𝑥𝜓} = {𝑥 ∣ (𝜑𝜓)})

Proof of Theorem wl-clabt
Dummy variable 𝑦 is distinct from all other variables.
StepHypRef Expression
1 wl-clabt.nf . . . 4 𝑥𝜑
2 biimt 364 . . . 4 (𝜑 → (𝜓 ↔ (𝜑𝜓)))
31, 2sbbid 2244 . . 3 (𝜑 → ([𝑦 / 𝑥]𝜓 ↔ [𝑦 / 𝑥](𝜑𝜓)))
4 df-clab 2777 . . 3 (𝑦 ∈ {𝑥𝜓} ↔ [𝑦 / 𝑥]𝜓)
5 df-clab 2777 . . 3 (𝑦 ∈ {𝑥 ∣ (𝜑𝜓)} ↔ [𝑦 / 𝑥](𝜑𝜓))
63, 4, 53bitr4g 317 . 2 (𝜑 → (𝑦 ∈ {𝑥𝜓} ↔ 𝑦 ∈ {𝑥 ∣ (𝜑𝜓)}))
76eqrdv 2796 1 (𝜑 → {𝑥𝜓} = {𝑥 ∣ (𝜑𝜓)})
Colors of variables: wff setvar class
Syntax hints:  wi 4   = wceq 1538  wnf 1785  [wsb 2069  wcel 2111  {cab 2776
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1911  ax-6 1970  ax-7 2015  ax-9 2121  ax-12 2175  ax-ext 2770
This theorem depends on definitions:  df-bi 210  df-an 400  df-ex 1782  df-nf 1786  df-sb 2070  df-clab 2777  df-cleq 2791
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator