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  7134  fimax2gtrilemstep  7205  snopfsuppdc  7299  2omap  7319  nnnninf  7467  nnnninfeq  7469  fodjuf  7486  fodjum  7487  fodju0  7488  mkvprop  7499  nninfwlporlemd  7513  nninfwlporlem  7514  nninfwlpoimlemg  7516  nninfwlpoimlemginf  7517  xaddf  10257  xaddval  10258  nninfinf  10895  seqf1oglem1  10971  seqf1oglem2  10972  uzin2  11769  fsum3ser  12183  fsumsplit  12193  explecnv  12291  fprodsplitdc  12382  nninfctlemfo  12836  pcmpt2  13146  ennnfonelemp1  13349  opifismgmdc  13744  psr1clfi  15170  elply2  15927  ply1term  15935  plyaddlem1  15939  plyaddlem  15941  prmorcht  16243  chtublem  16256  bposlem1  16272  lgsval  16289  lgsfvalg  16290  lgsfcl2  16291  lgscllem  16292  lgsval2lem  16295  lgsneg  16309  lgsdilem  16312  lgsdir2  16318  lgsdir  16320  lgsdi  16322  lgsne0  16323  gausslemma2dlem1cl  16344  gausslemma2dlem4  16349  eupth2lemsfi  16885  bj-charfundc  17000  nnsf  17214  peano4nninf  17215  nninfsellemcl  17220  nninffeq  17229  dceqnconst  17277  dcapnconst  17278
  Copyright terms: Public domain W3C validator