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

Theorem nfifd 3499
Description: Deduction version of nfif 3500. (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 3475 . 2 if(𝜓, 𝐴, 𝐵) = {𝑦 ∣ ((𝑦𝐴𝜓) ∨ (𝑦𝐵 ∧ ¬ 𝜓))}
2 nfv 1508 . . 3 𝑦𝜑
3 nfifd.3 . . . . . 6 (𝜑𝑥𝐴)
43nfcrd 2295 . . . . 5 (𝜑 → Ⅎ𝑥 𝑦𝐴)
5 nfifd.2 . . . . 5 (𝜑 → Ⅎ𝑥𝜓)
64, 5nfand 1547 . . . 4 (𝜑 → Ⅎ𝑥(𝑦𝐴𝜓))
7 nfifd.4 . . . . . 6 (𝜑𝑥𝐵)
87nfcrd 2295 . . . . 5 (𝜑 → Ⅎ𝑥 𝑦𝐵)
95nfnd 1635 . . . . 5 (𝜑 → Ⅎ𝑥 ¬ 𝜓)
108, 9nfand 1547 . . . 4 (𝜑 → Ⅎ𝑥(𝑦𝐵 ∧ ¬ 𝜓))
116, 10nford 1546 . . 3 (𝜑 → Ⅎ𝑥((𝑦𝐴𝜓) ∨ (𝑦𝐵 ∧ ¬ 𝜓)))
122, 11nfabd 2300 . 2 (𝜑𝑥{𝑦 ∣ ((𝑦𝐴𝜓) ∨ (𝑦𝐵 ∧ ¬ 𝜓))})
131, 12nfcxfrd 2279 1 (𝜑𝑥if(𝜓, 𝐴, 𝐵))
Colors of variables: wff set class
Syntax hints:  ¬ wn 3  wi 4  wa 103  wo 697  wnf 1436  wcel 1480  {cab 2125  wnfc 2268  ifcif 3474
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 603  ax-in2 604  ax-io 698  ax-5 1423  ax-7 1424  ax-gen 1425  ax-ie1 1469  ax-ie2 1470  ax-8 1482  ax-10 1483  ax-11 1484  ax-i12 1485  ax-bndl 1486  ax-4 1487  ax-17 1506  ax-i9 1510  ax-ial 1514  ax-i5r 1515  ax-ext 2121
This theorem depends on definitions:  df-bi 116  df-tru 1334  df-fal 1337  df-nf 1437  df-sb 1736  df-clab 2126  df-cleq 2132  df-clel 2135  df-nfc 2270  df-if 3475
This theorem is referenced by:  nfif  3500
  Copyright terms: Public domain W3C validator