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

Theorem ifcldcd 3593
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 3562 . . . 4 (𝜓 → if(𝜓, 𝐴, 𝐵) = 𝐴)
21adantl 277 . . 3 ((𝜑𝜓) → if(𝜓, 𝐴, 𝐵) = 𝐴)
3 ifcldcd.a . . . 4 (𝜑𝐴𝐶)
43adantr 276 . . 3 ((𝜑𝜓) → 𝐴𝐶)
52, 4eqeltrd 2270 . 2 ((𝜑𝜓) → if(𝜓, 𝐴, 𝐵) ∈ 𝐶)
6 iffalse 3565 . . . 4 𝜓 → if(𝜓, 𝐴, 𝐵) = 𝐵)
76adantl 277 . . 3 ((𝜑 ∧ ¬ 𝜓) → if(𝜓, 𝐴, 𝐵) = 𝐵)
8 ifcldcd.b . . . 4 (𝜑𝐵𝐶)
98adantr 276 . . 3 ((𝜑 ∧ ¬ 𝜓) → 𝐵𝐶)
107, 9eqeltrd 2270 . 2 ((𝜑 ∧ ¬ 𝜓) → if(𝜓, 𝐴, 𝐵) ∈ 𝐶)
11 ifcldcd.dc . . 3 (𝜑DECID 𝜓)
12 df-dc 836 . . 3 (DECID 𝜓 ↔ (𝜓 ∨ ¬ 𝜓))
1311, 12sylib 122 . 2 (𝜑 → (𝜓 ∨ ¬ 𝜓))
145, 10, 13mpjaodan 799 1 (𝜑 → if(𝜓, 𝐴, 𝐵) ∈ 𝐶)
Colors of variables: wff set class
Syntax hints:  ¬ wn 3  wi 4  wa 104  wo 709  DECID wdc 835   = wceq 1364  wcel 2164  ifcif 3557
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 106  ax-ia2 107  ax-ia3 108  ax-in2 616  ax-io 710  ax-5 1458  ax-7 1459  ax-gen 1460  ax-ie1 1504  ax-ie2 1505  ax-8 1515  ax-11 1517  ax-4 1521  ax-17 1537  ax-i9 1541  ax-ial 1545  ax-i5r 1546  ax-ext 2175
This theorem depends on definitions:  df-bi 117  df-dc 836  df-nf 1472  df-sb 1774  df-clab 2180  df-cleq 2186  df-clel 2189  df-if 3558
This theorem is referenced by:  pw2f1odclem  6890  fimax2gtrilemstep  6956  nnnninf  7185  nnnninfeq  7187  fodjuf  7204  fodjum  7205  fodju0  7206  mkvprop  7217  nninfwlporlemd  7231  nninfwlporlem  7232  nninfwlpoimlemg  7234  nninfwlpoimlemginf  7235  xaddf  9910  xaddval  9911  nninfinf  10514  seqf1oglem1  10590  seqf1oglem2  10591  uzin2  11131  fsum3ser  11540  fsumsplit  11550  explecnv  11648  fprodsplitdc  11739  nninfctlemfo  12177  pcmpt2  12482  ennnfonelemp1  12563  opifismgmdc  12954  elply2  14881  ply1term  14889  plyaddlem1  14893  plyaddlem  14895  lgsval  15120  lgsfvalg  15121  lgsfcl2  15122  lgscllem  15123  lgsval2lem  15126  lgsneg  15140  lgsdilem  15143  lgsdir2  15149  lgsdir  15151  lgsdi  15153  lgsne0  15154  gausslemma2dlem1cl  15175  gausslemma2dlem4  15180  bj-charfundc  15300  nnsf  15495  peano4nninf  15496  nninfsellemcl  15501  nninffeq  15510  dceqnconst  15550  dcapnconst  15551
  Copyright terms: Public domain W3C validator