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

Theorem nfifd 4453
Description: Deduction form of nfif 4454. (Contributed by NM, 15-Feb-2013.) (Revised by Mario Carneiro, 13-Oct-2016.)
Hypotheses
Ref Expression
nfifd.2 (𝜑 → Ⅎ𝑥𝜓)
nfifd.3 (𝜑𝑥𝐴)
nfifd.4 (𝜑𝑥𝐵)
Assertion
Ref Expression
nfifd (𝜑𝑥if(𝜓, 𝐴, 𝐵))

Proof of Theorem nfifd
Dummy variable 𝑦 is distinct from all other variables.
StepHypRef Expression
1 dfif2 4427 . 2 if(𝜓, 𝐴, 𝐵) = {𝑦 ∣ ((𝑦𝐵𝜓) → (𝑦𝐴𝜓))}
2 nfv 1915 . . 3 𝑦𝜑
3 nfifd.4 . . . . . 6 (𝜑𝑥𝐵)
43nfcrd 2945 . . . . 5 (𝜑 → Ⅎ𝑥 𝑦𝐵)
5 nfifd.2 . . . . 5 (𝜑 → Ⅎ𝑥𝜓)
64, 5nfimd 1895 . . . 4 (𝜑 → Ⅎ𝑥(𝑦𝐵𝜓))
7 nfifd.3 . . . . . 6 (𝜑𝑥𝐴)
87nfcrd 2945 . . . . 5 (𝜑 → Ⅎ𝑥 𝑦𝐴)
98, 5nfand 1898 . . . 4 (𝜑 → Ⅎ𝑥(𝑦𝐴𝜓))
106, 9nfimd 1895 . . 3 (𝜑 → Ⅎ𝑥((𝑦𝐵𝜓) → (𝑦𝐴𝜓)))
112, 10nfabdw 2976 . 2 (𝜑𝑥{𝑦 ∣ ((𝑦𝐵𝜓) → (𝑦𝐴𝜓))})
121, 11nfcxfrd 2954 1 (𝜑𝑥if(𝜓, 𝐴, 𝐵))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 399  wnf 1785  wcel 2111  {cab 2776  wnfc 2936  ifcif 4425
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-8 2113  ax-9 2121  ax-10 2142  ax-11 2158  ax-12 2175  ax-ext 2770
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 845  df-ex 1782  df-nf 1786  df-sb 2070  df-clab 2777  df-cleq 2791  df-clel 2870  df-nfc 2938  df-if 4426
This theorem is referenced by:  nfif  4454  nfxnegd  42078
  Copyright terms: Public domain W3C validator