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

Theorem nfifd 3542
Description: Deduction version of nfif 3543. (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 3516 . 2 if(𝜓, 𝐴, 𝐵) = {𝑦 ∣ ((𝑦𝐴𝜓) ∨ (𝑦𝐵 ∧ ¬ 𝜓))}
2 nfv 1515 . . 3 𝑦𝜑
3 nfifd.3 . . . . . 6 (𝜑𝑥𝐴)
43nfcrd 2320 . . . . 5 (𝜑 → Ⅎ𝑥 𝑦𝐴)
5 nfifd.2 . . . . 5 (𝜑 → Ⅎ𝑥𝜓)
64, 5nfand 1555 . . . 4 (𝜑 → Ⅎ𝑥(𝑦𝐴𝜓))
7 nfifd.4 . . . . . 6 (𝜑𝑥𝐵)
87nfcrd 2320 . . . . 5 (𝜑 → Ⅎ𝑥 𝑦𝐵)
95nfnd 1644 . . . . 5 (𝜑 → Ⅎ𝑥 ¬ 𝜓)
108, 9nfand 1555 . . . 4 (𝜑 → Ⅎ𝑥(𝑦𝐵 ∧ ¬ 𝜓))
116, 10nford 1554 . . 3 (𝜑 → Ⅎ𝑥((𝑦𝐴𝜓) ∨ (𝑦𝐵 ∧ ¬ 𝜓)))
122, 11nfabd 2326 . 2 (𝜑𝑥{𝑦 ∣ ((𝑦𝐴𝜓) ∨ (𝑦𝐵 ∧ ¬ 𝜓))})
131, 12nfcxfrd 2304 1 (𝜑𝑥if(𝜓, 𝐴, 𝐵))
Colors of variables: wff set class
Syntax hints:  ¬ wn 3  wi 4  wa 103  wo 698  wnf 1447  wcel 2135  {cab 2150  wnfc 2293  ifcif 3515
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 1434  ax-7 1435  ax-gen 1436  ax-ie1 1480  ax-ie2 1481  ax-8 1491  ax-10 1492  ax-11 1493  ax-i12 1494  ax-bndl 1496  ax-4 1497  ax-17 1513  ax-i9 1517  ax-ial 1521  ax-i5r 1522  ax-ext 2146
This theorem depends on definitions:  df-bi 116  df-tru 1345  df-fal 1348  df-nf 1448  df-sb 1750  df-clab 2151  df-cleq 2157  df-clel 2160  df-nfc 2295  df-if 3516
This theorem is referenced by:  nfif  3543
  Copyright terms: Public domain W3C validator