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

Theorem nfifd 4522
Description: Deduction form of nfif 4523. (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 4494 . 2 if(𝜓, 𝐴, 𝐵) = {𝑦 ∣ ((𝑦 ∈ 𝐵 → 𝜓) → (𝑦 ∈ 𝐴 ∧ 𝜓))}
2 nfv 1956 . . 3 Ⅎ𝑦𝜑
3 nfifd.4 . . . . . 6 (𝜑 → Ⅎ𝑥𝐵)
43nfcrd 2931 . . . . 5 (𝜑 → Ⅎ𝑥 𝑦 ∈ 𝐵)
5 nfifd.2 . . . . 5 (𝜑 → Ⅎ𝑥𝜓)
64, 5nfimd 1935 . . . 4 (𝜑 → Ⅎ𝑥(𝑦 ∈ 𝐵 → 𝜓))
7 nfifd.3 . . . . . 6 (𝜑 → Ⅎ𝑥𝐴)
87nfcrd 2931 . . . . 5 (𝜑 → Ⅎ𝑥 𝑦 ∈ 𝐴)
98, 5nfand 1938 . . . 4 (𝜑 → Ⅎ𝑥(𝑦 ∈ 𝐴 ∧ 𝜓))
106, 9nfimd 1935 . . 3 (𝜑 → Ⅎ𝑥((𝑦 ∈ 𝐵 → 𝜓) → (𝑦 ∈ 𝐴 ∧ 𝜓)))
112, 10nfabdw 2958 . 2 (𝜑 → Ⅎ𝑥{𝑦 ∣ ((𝑦 ∈ 𝐵 → 𝜓) → (𝑦 ∈ 𝐴 ∧ 𝜓))})
121, 11nfcxfrd 2936 1 (𝜑 → Ⅎ𝑥if(𝜓, 𝐴, 𝐵))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401  Ⅎwnf 1822   ∈ wcel 2156  {cab 2752  Ⅎwnfc 2922  ifcif 4492
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1834  ax-4 1848  ax-5 1951  ax-6 2009  ax-7 2050  ax-8 2158  ax-9 2166  ax-10 2189  ax-11 2206  ax-12 2225  ax-ext 2746
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-ex 1819  df-nf 1823  df-sb 2110  df-clab 2753  df-cleq 2766  df-clel 2850  df-nfc 2924  df-if 4493
This theorem is used by:  nfif  4523  nfxnegd  46864
  Copyright terms: Public domain W3C validator