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  7324  nnnninf  7472  nnnninfeq  7474  fodjuf  7491  fodjum  7492  fodju0  7493  mkvprop  7504  nninfwlporlemd  7518  nninfwlporlem  7519  nninfwlpoimlemg  7521  nninfwlpoimlemginf  7522  xaddf  10262  xaddval  10263  nninfinf  10900  seqf1oglem1  10976  seqf1oglem2  10977  uzin2  11774  fsum3ser  12188  fsumsplit  12198  explecnv  12296  fprodsplitdc  12387  nninfctlemfo  12841  pcmpt2  13151  ennnfonelemp1  13354  opifismgmdc  13749  snifpsrbagfi  15168  psr1clfi  15207  mvrffi  15218  mvrclfi  15226  elply2  15978  ply1term  15986  plyaddlem1  15990  plyaddlem  15992  prmorcht  16299  chtublem  16312  bposlem1  16328  lgsval  16345  lgsfvalg  16346  lgsfcl2  16347  lgscllem  16348  lgsval2lem  16351  lgsneg  16365  lgsdilem  16368  lgsdir2  16374  lgsdir  16376  lgsdi  16378  lgsne0  16379  gausslemma2dlem1cl  16400  gausslemma2dlem4  16405  eupth2lemsfi  16941  bj-charfundc  17056  nnsf  17271  peano4nninf  17272  nninfsellemcl  17277  nninffeq  17286  dceqnconst  17334  dcapnconst  17335
  Copyright terms: Public domain W3C validator