ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  nfifd GIF version

Theorem nfifd 3547
Description: Deduction version of nfif 3548. (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 df-if 3521 . 2 if(𝜓, 𝐴, 𝐵) = {𝑦 ∣ ((𝑦𝐴𝜓) ∨ (𝑦𝐵 ∧ ¬ 𝜓))}
2 nfv 1516 . . 3 𝑦𝜑
3 nfifd.3 . . . . . 6 (𝜑𝑥𝐴)
43nfcrd 2322 . . . . 5 (𝜑 → Ⅎ𝑥 𝑦𝐴)
5 nfifd.2 . . . . 5 (𝜑 → Ⅎ𝑥𝜓)
64, 5nfand 1556 . . . 4 (𝜑 → Ⅎ𝑥(𝑦𝐴𝜓))
7 nfifd.4 . . . . . 6 (𝜑𝑥𝐵)
87nfcrd 2322 . . . . 5 (𝜑 → Ⅎ𝑥 𝑦𝐵)
95nfnd 1645 . . . . 5 (𝜑 → Ⅎ𝑥 ¬ 𝜓)
108, 9nfand 1556 . . . 4 (𝜑 → Ⅎ𝑥(𝑦𝐵 ∧ ¬ 𝜓))
116, 10nford 1555 . . 3 (𝜑 → Ⅎ𝑥((𝑦𝐴𝜓) ∨ (𝑦𝐵 ∧ ¬ 𝜓)))
122, 11nfabd 2328 . 2 (𝜑𝑥{𝑦 ∣ ((𝑦𝐴𝜓) ∨ (𝑦𝐵 ∧ ¬ 𝜓))})
131, 12nfcxfrd 2306 1 (𝜑𝑥if(𝜓, 𝐴, 𝐵))
Colors of variables: wff set class
Syntax hints:  ¬ wn 3  wi 4  wa 103  wo 698  wnf 1448  wcel 2136  {cab 2151  wnfc 2295  ifcif 3520
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 105  ax-ia2 106  ax-ia3 107  ax-in1 604  ax-in2 605  ax-io 699  ax-5 1435  ax-7 1436  ax-gen 1437  ax-ie1 1481  ax-ie2 1482  ax-8 1492  ax-10 1493  ax-11 1494  ax-i12 1495  ax-bndl 1497  ax-4 1498  ax-17 1514  ax-i9 1518  ax-ial 1522  ax-i5r 1523  ax-ext 2147
This theorem depends on definitions:  df-bi 116  df-tru 1346  df-fal 1349  df-nf 1449  df-sb 1751  df-clab 2152  df-cleq 2158  df-clel 2161  df-nfc 2297  df-if 3521
This theorem is referenced by:  nfif  3548
  Copyright terms: Public domain W3C validator