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

Theorem nfifd 4511
Description: Deduction form of nfif 4512. (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 4483 . 2 if(𝜓, 𝐴, 𝐵) = {𝑦 ∣ ((𝑦 ∈ 𝐵 → 𝜓) → (𝑦 ∈ 𝐴 ∧ 𝜓))}
2 nfv 1946 . . 3 Ⅎ𝑦𝜑
3 nfifd.4 . . . . . 6 (𝜑 → Ⅎ𝑥𝐵)
43nfcrd 2916 . . . . 5 (𝜑 → Ⅎ𝑥 𝑦 ∈ 𝐵)
5 nfifd.2 . . . . 5 (𝜑 → Ⅎ𝑥𝜓)
64, 5nfimd 1926 . . . 4 (𝜑 → Ⅎ𝑥(𝑦 ∈ 𝐵 → 𝜓))
7 nfifd.3 . . . . . 6 (𝜑 → Ⅎ𝑥𝐴)
87nfcrd 2916 . . . . 5 (𝜑 → Ⅎ𝑥 𝑦 ∈ 𝐴)
98, 5nfand 1929 . . . 4 (𝜑 → Ⅎ𝑥(𝑦 ∈ 𝐴 ∧ 𝜓))
106, 9nfimd 1926 . . 3 (𝜑 → Ⅎ𝑥((𝑦 ∈ 𝐵 → 𝜓) → (𝑦 ∈ 𝐴 ∧ 𝜓)))
112, 10nfabdw 2943 . 2 (𝜑 → Ⅎ𝑥{𝑦 ∣ ((𝑦 ∈ 𝐵 → 𝜓) → (𝑦 ∈ 𝐴 ∧ 𝜓))})
121, 11nfcxfrd 2921 1 (𝜑 → Ⅎ𝑥if(𝜓, 𝐴, 𝐵))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401  Ⅎwnf 1815   ∈ wcel 2144  {cab 2738  Ⅎwnfc 2907  ifcif 4481
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-10 2177  ax-11 2193  ax-12 2212  ax-ext 2732
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-ex 1812  df-nf 1816  df-sb 2099  df-clab 2739  df-cleq 2752  df-clel 2835  df-nfc 2909  df-if 4482
This theorem is used by:  nfif  4512  nfxnegd  46558
  Copyright terms: Public domain W3C validator