MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  nfabd2 Structured version   Visualization version   GIF version

Theorem nfabd2 2770
Description: Bound-variable hypothesis builder for a class abstraction. (Contributed by Mario Carneiro, 8-Oct-2016.)
Hypotheses
Ref Expression
nfabd2.1 𝑦𝜑
nfabd2.2 ((𝜑 ∧ ¬ ∀𝑥 𝑥 = 𝑦) → Ⅎ𝑥𝜓)
Assertion
Ref Expression
nfabd2 (𝜑𝑥{𝑦𝜓})

Proof of Theorem nfabd2
Dummy variable 𝑧 is distinct from all other variables.
StepHypRef Expression
1 nfv 1830 . . . 4 𝑧(𝜑 ∧ ¬ ∀𝑥 𝑥 = 𝑦)
2 df-clab 2597 . . . . 5 (𝑧 ∈ {𝑦𝜓} ↔ [𝑧 / 𝑦]𝜓)
3 nfabd2.1 . . . . . . 7 𝑦𝜑
4 nfnae 2306 . . . . . . 7 𝑦 ¬ ∀𝑥 𝑥 = 𝑦
53, 4nfan 1816 . . . . . 6 𝑦(𝜑 ∧ ¬ ∀𝑥 𝑥 = 𝑦)
6 nfabd2.2 . . . . . 6 ((𝜑 ∧ ¬ ∀𝑥 𝑥 = 𝑦) → Ⅎ𝑥𝜓)
75, 6nfsbd 2430 . . . . 5 ((𝜑 ∧ ¬ ∀𝑥 𝑥 = 𝑦) → Ⅎ𝑥[𝑧 / 𝑦]𝜓)
82, 7nfxfrd 1772 . . . 4 ((𝜑 ∧ ¬ ∀𝑥 𝑥 = 𝑦) → Ⅎ𝑥 𝑧 ∈ {𝑦𝜓})
91, 8nfcd 2746 . . 3 ((𝜑 ∧ ¬ ∀𝑥 𝑥 = 𝑦) → 𝑥{𝑦𝜓})
109ex 449 . 2 (𝜑 → (¬ ∀𝑥 𝑥 = 𝑦𝑥{𝑦𝜓}))
11 nfab1 2753 . . 3 𝑦{𝑦𝜓}
12 eqidd 2611 . . . 4 (∀𝑥 𝑥 = 𝑦 → {𝑦𝜓} = {𝑦𝜓})
1312drnfc1 2768 . . 3 (∀𝑥 𝑥 = 𝑦 → (𝑥{𝑦𝜓} ↔ 𝑦{𝑦𝜓}))
1411, 13mpbiri 247 . 2 (∀𝑥 𝑥 = 𝑦𝑥{𝑦𝜓})
1510, 14pm2.61d2 171 1 (𝜑𝑥{𝑦𝜓})
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wa 383  wal 1473  wnf 1699  [wsb 1867  wcel 1977  {cab 2596  wnfc 2738
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1713  ax-4 1728  ax-5 1827  ax-6 1875  ax-7 1922  ax-10 2006  ax-11 2021  ax-12 2034  ax-13 2234  ax-ext 2590
This theorem depends on definitions:  df-bi 196  df-or 384  df-an 385  df-tru 1478  df-ex 1696  df-nf 1701  df-sb 1868  df-clab 2597  df-cleq 2603  df-clel 2606  df-nfc 2740
This theorem is referenced by:  nfabd  2771  nfrab  3100  nfixp  7813
  Copyright terms: Public domain W3C validator