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 37958
Description: Using class abstraction in a context. For a version based on fewer axioms see wl-clabtv 37957. (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 361 . . . 4 (𝜑 → (𝜓 ↔ (𝜑𝜓)))
31, 2sbbid 2258 . . 3 (𝜑 → ([𝑦 / 𝑥]𝜓 ↔ [𝑦 / 𝑥](𝜑𝜓)))
4 df-clab 2718 . . 3 (𝑦 ∈ {𝑥𝜓} ↔ [𝑦 / 𝑥]𝜓)
5 df-clab 2718 . . 3 (𝑦 ∈ {𝑥 ∣ (𝜑𝜓)} ↔ [𝑦 / 𝑥](𝜑𝜓))
63, 4, 53bitr4g 315 . 2 (𝜑 → (𝑦 ∈ {𝑥𝜓} ↔ 𝑦 ∈ {𝑥 ∣ (𝜑𝜓)}))
76eqrdv 2737 1 (𝜑 → {𝑥𝜓} = {𝑥 ∣ (𝜑𝜓)})
Colors of variables: wff setvar class
Syntax hints:  wi 4   = wceq 1547  wnf 1790  [wsb 2073  wcel 2119  {cab 2717
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1802  ax-4 1816  ax-5 1917  ax-6 1974  ax-7 2015  ax-9 2129  ax-12 2189  ax-ext 2711
This theorem depends on definitions:  df-bi 208  df-an 397  df-ex 1787  df-nf 1791  df-sb 2074  df-clab 2718  df-cleq 2731
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator