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

Theorem ifcldcd 3675
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 3642 . . . 4 (𝜓 → if(𝜓, 𝐴, 𝐵) = 𝐴)
21adantl 277 . . 3 ((𝜑𝜓) → if(𝜓, 𝐴, 𝐵) = 𝐴)
3 ifcldcd.a . . . 4 (𝜑𝐴𝐶)
43adantr 276 . . 3 ((𝜑𝜓) → 𝐴𝐶)
52, 4eqeltrd 2315 . 2 ((𝜑𝜓) → if(𝜓, 𝐴, 𝐵) ∈ 𝐶)
6 iffalse 3645 . . . 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
Syntax hints:  ¬ wn 3  wi 4  wa 104  wo 720  DECID wdc 846   = wceq 1402  wcel 2209  ifcif 3635
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 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 theorem 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 3636
This theorem is referenced by:  pw2f1odclem  7124  fimax2gtrilemstep  7195  snopfsuppdc  7289  2omap  7308  nnnninf  7456  nnnninfeq  7458  fodjuf  7475  fodjum  7476  fodju0  7477  mkvprop  7488  nninfwlporlemd  7502  nninfwlporlem  7503  nninfwlpoimlemg  7505  nninfwlpoimlemginf  7506  xaddf  10225  xaddval  10226  nninfinf  10858  seqf1oglem1  10934  seqf1oglem2  10935  uzin2  11731  fsum3ser  12142  fsumsplit  12152  explecnv  12250  fprodsplitdc  12341  nninfctlemfo  12795  pcmpt2  13101  ennnfonelemp1  13275  opifismgmdc  13668  psr1clfi  15002  elply2  15759  ply1term  15767  plyaddlem1  15771  plyaddlem  15773  lgsval  16037  lgsfvalg  16038  lgsfcl2  16039  lgscllem  16040  lgsval2lem  16043  lgsneg  16057  lgsdilem  16060  lgsdir2  16066  lgsdir  16068  lgsdi  16070  lgsne0  16071  gausslemma2dlem1cl  16092  gausslemma2dlem4  16097  eupth2lemsfi  16633  bj-charfundc  16748  nnsf  16953  peano4nninf  16954  nninfsellemcl  16959  nninffeq  16968  dceqnconst  17015  dcapnconst  17016
  Copyright terms: Public domain W3C validator