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

Theorem nfifd 4515
Description: Deduction form of nfif 4516. (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 4487 . 2 if(𝜓, 𝐴, 𝐵) = {𝑦 ∣ ((𝑦 ∈ 𝐵 → 𝜓) → (𝑦 ∈ 𝐴 ∧ 𝜓))}
2 nfv 1949 . . 3 Ⅎ𝑦𝜑
3 nfifd.4 . . . . . 6 (𝜑 → Ⅎ𝑥𝐵)
43nfcrd 2920 . . . . 5 (𝜑 → Ⅎ𝑥 𝑦 ∈ 𝐵)
5 nfifd.2 . . . . 5 (𝜑 → Ⅎ𝑥𝜓)
64, 5nfimd 1929 . . . 4 (𝜑 → Ⅎ𝑥(𝑦 ∈ 𝐵 → 𝜓))
7 nfifd.3 . . . . . 6 (𝜑 → Ⅎ𝑥𝐴)
87nfcrd 2920 . . . . 5 (𝜑 → Ⅎ𝑥 𝑦 ∈ 𝐴)
98, 5nfand 1932 . . . 4 (𝜑 → Ⅎ𝑥(𝑦 ∈ 𝐴 ∧ 𝜓))
106, 9nfimd 1929 . . 3 (𝜑 → Ⅎ𝑥((𝑦 ∈ 𝐵 → 𝜓) → (𝑦 ∈ 𝐴 ∧ 𝜓)))
112, 10nfabdw 2947 . 2 (𝜑 → Ⅎ𝑥{𝑦 ∣ ((𝑦 ∈ 𝐵 → 𝜓) → (𝑦 ∈ 𝐴 ∧ 𝜓))})
121, 11nfcxfrd 2925 1 (𝜑 → Ⅎ𝑥if(𝜓, 𝐴, 𝐵))
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ∧ wa 401  Ⅎwnf 1816   ∈ wcel 2147  {cab 2741  Ⅎwnfc 2911  ifcif 4485
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 1945  ax-6 2002  ax-7 2043  ax-8 2149  ax-9 2157  ax-10 2180  ax-11 2197  ax-12 2216  ax-ext 2735
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-ex 1813  df-nf 1817  df-sb 2102  df-clab 2742  df-cleq 2755  df-clel 2839  df-nfc 2913  df-if 4486
This theorem is used by:  nfif  4516  nfxnegd  46724
  Copyright terms: Public domain W3C validator