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

Theorem ifcldcd 3678
Description: Membership (closure) of a conditional operator, deduction form. (Contributed by Jim Kingdon, 8-Aug-2021.)
Hypotheses
Ref Expression
ifcldcd.a (𝜑 → 𝐴 ∈ 𝐶)
ifcldcd.b (𝜑 → 𝐵 ∈ 𝐶)
ifcldcd.dc (𝜑 → DECID 𝜓)
Assertion
Ref Expression
ifcldcd (𝜑 → if(𝜓, 𝐴, 𝐵) ∈ 𝐶)

Proof of Theorem ifcldcd
StepHypRef Expression
1 iftrue 3645 . . . 4 (𝜓 → if(𝜓, 𝐴, 𝐵) = 𝐴)
21adantl 277 . . 3 ((𝜑 ∧ 𝜓) → if(𝜓, 𝐴, 𝐵) = 𝐴)
3 ifcldcd.a . . . 4 (𝜑 → 𝐴 ∈ 𝐶)
43adantr 276 . . 3 ((𝜑 ∧ 𝜓) → 𝐴 ∈ 𝐶)
52, 4eqeltrd 2315 . 2 ((𝜑 ∧ 𝜓) → if(𝜓, 𝐴, 𝐵) ∈ 𝐶)
6 iffalse 3648 . . . 4 (¬ 𝜓 → if(𝜓, 𝐴, 𝐵) = 𝐵)
76adantl 277 . . 3 ((𝜑 ∧ ¬ 𝜓) → if(𝜓, 𝐴, 𝐵) = 𝐵)
8 ifcldcd.b . . . 4 (𝜑 → 𝐵 ∈ 𝐶)
98adantr 276 . . 3 ((𝜑 ∧ ¬ 𝜓) → 𝐵 ∈ 𝐶)
107, 9eqeltrd 2315 . 2 ((𝜑 ∧ ¬ 𝜓) → if(𝜓, 𝐴, 𝐵) ∈ 𝐶)
11 ifcldcd.dc . . 3 (𝜑 → DECID 𝜓)
12 df-dc 847 . . 3 (DECID 𝜓 ↔ (𝜓 ∨ ¬ 𝜓))
1311, 12sylib 122 . 2 (𝜑 → (𝜓 ∨ ¬ 𝜓))
145, 10, 13mpjaodan 810 1 (𝜑 → if(𝜓, 𝐴, 𝐵) ∈ 𝐶)
Colors of variables:    wff set class
This proof depends on syntax axioms:  ¬ wn 3   → wi 4   ∧ wa 104   ∨ wo 720  DECID wdc 846   = wceq 1402   ∈ wcel 2209  ifcif 3638
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 106  ax-ia2 107  ax-ia3 108  ax-in2 624  ax-io 721  ax-5 1500  ax-7 1501  ax-gen 1502  ax-ie1 1546  ax-ie2 1547  ax-8 1557  ax-11 1559  ax-4 1563  ax-17 1579  ax-i9 1583  ax-ial 1587  ax-i5r 1588  ax-ext 2220
This proof depends on definitions:  df-bi 117  df-dc 847  df-nf 1514  df-sb 1816  df-clab 2225  df-cleq 2231  df-clel 2234  df-if 3639
This theorem is used by:  ifprdc  3819  pw2f1odclem  7140  fimax2gtrilemstep  7211  2omap  7325  nnnninf  7473  nnnninfeq  7475  fodjuf  7492  fodjum  7493  fodju0  7494  mkvprop  7505  nninfwlporlemd  7519  nninfwlporlem  7520  nninfwlpoimlemg  7522  nninfwlpoimlemginf  7523  xaddf  10263  xaddval  10264  nninfinf  10901  seqf1oglem1  10977  seqf1oglem2  10978  uzin2  11775  fsum3ser  12189  fsumsplit  12199  explecnv  12297  fprodsplitdc  12388  nninfctlemfo  12842  pcmpt2  13152  ennnfonelemp1  13355  opifismgmdc  13750  snifpsrbagfi  15169  psr1clfi  15218  mvrffi  15230  mvrclfi  15238  mplsubrgfi  15250  elply2  15998  ply1term  16006  plyaddlem1  16010  plyaddlem  16012  prmorcht  16319  chtublem  16332  bposlem1  16348  lgsval  16365  lgsfvalg  16366  lgsfcl2  16367  lgscllem  16368  lgsval2lem  16371  lgsneg  16385  lgsdilem  16388  lgsdir2  16394  lgsdir  16396  lgsdi  16398  lgsne0  16399  gausslemma2dlem1cl  16420  gausslemma2dlem4  16425  eupth2lemsfi  16961  bj-charfundc  17076  nnsf  17291  peano4nninf  17292  nninfsellemcl  17297  nninffeq  17306  dceqnconst  17354  dcapnconst  17355
  Copyright terms: Public domain W3C validator