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

Theorem nfifd 4512
Description: Deduction form of nfif 4513. (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 4484 . 2 if(𝜓, 𝐴, 𝐵) = {𝑦 ∣ ((𝑦 ∈ 𝐵 → 𝜓) → (𝑦 ∈ 𝐴 ∧ 𝜓))}
2 nfv 1947 . . 3 Ⅎ𝑦𝜑
3 nfifd.4 . . . . . 6 (𝜑 → Ⅎ𝑥𝐵)
43nfcrd 2917 . . . . 5 (𝜑 → Ⅎ𝑥 𝑦 ∈ 𝐵)
5 nfifd.2 . . . . 5 (𝜑 → Ⅎ𝑥𝜓)
64, 5nfimd 1927 . . . 4 (𝜑 → Ⅎ𝑥(𝑦 ∈ 𝐵 → 𝜓))
7 nfifd.3 . . . . . 6 (𝜑 → Ⅎ𝑥𝐴)
87nfcrd 2917 . . . . 5 (𝜑 → Ⅎ𝑥 𝑦 ∈ 𝐴)
98, 5nfand 1930 . . . 4 (𝜑 → Ⅎ𝑥(𝑦 ∈ 𝐴 ∧ 𝜓))
106, 9nfimd 1927 . . 3 (𝜑 → Ⅎ𝑥((𝑦 ∈ 𝐵 → 𝜓) → (𝑦 ∈ 𝐴 ∧ 𝜓)))
112, 10nfabdw 2944 . 2 (𝜑 → Ⅎ𝑥{𝑦 ∣ ((𝑦 ∈ 𝐵 → 𝜓) → (𝑦 ∈ 𝐴 ∧ 𝜓))})
121, 11nfcxfrd 2922 1 (𝜑 → Ⅎ𝑥if(𝜓, 𝐴, 𝐵))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401  Ⅎwnf 1816   ∈ wcel 2145  {cab 2739  Ⅎwnfc 2908  ifcif 4482
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1943  ax-6 2000  ax-7 2041  ax-8 2147  ax-9 2155  ax-10 2178  ax-11 2194  ax-12 2213  ax-ext 2733
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-ex 1813  df-nf 1817  df-sb 2100  df-clab 2740  df-cleq 2753  df-clel 2836  df-nfc 2910  df-if 4483
This theorem is used by:  nfif  4513  nfxnegd  46420
  Copyright terms: Public domain W3C validator