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

Theorem ifcldadc 3632
Description: Conditional closure. (Contributed by Jim Kingdon, 11-Jan-2022.)
Hypotheses
Ref Expression
ifcldadc.1 ((𝜑𝜓) → 𝐴𝐶)
ifcldadc.2 ((𝜑 ∧ ¬ 𝜓) → 𝐵𝐶)
ifcldadc.dc (𝜑DECID 𝜓)
Assertion
Ref Expression
ifcldadc (𝜑 → if(𝜓, 𝐴, 𝐵) ∈ 𝐶)

Proof of Theorem ifcldadc
StepHypRef Expression
1 iftrue 3607 . . . 4 (𝜓 → if(𝜓, 𝐴, 𝐵) = 𝐴)
21adantl 277 . . 3 ((𝜑𝜓) → if(𝜓, 𝐴, 𝐵) = 𝐴)
3 ifcldadc.1 . . 3 ((𝜑𝜓) → 𝐴𝐶)
42, 3eqeltrd 2306 . 2 ((𝜑𝜓) → if(𝜓, 𝐴, 𝐵) ∈ 𝐶)
5 iffalse 3610 . . . 4 𝜓 → if(𝜓, 𝐴, 𝐵) = 𝐵)
65adantl 277 . . 3 ((𝜑 ∧ ¬ 𝜓) → if(𝜓, 𝐴, 𝐵) = 𝐵)
7 ifcldadc.2 . . 3 ((𝜑 ∧ ¬ 𝜓) → 𝐵𝐶)
86, 7eqeltrd 2306 . 2 ((𝜑 ∧ ¬ 𝜓) → if(𝜓, 𝐴, 𝐵) ∈ 𝐶)
9 ifcldadc.dc . . 3 (𝜑DECID 𝜓)
10 exmiddc 841 . . 3 (DECID 𝜓 → (𝜓 ∨ ¬ 𝜓))
119, 10syl 14 . 2 (𝜑 → (𝜓 ∨ ¬ 𝜓))
124, 8, 11mpjaodan 803 1 (𝜑 → if(𝜓, 𝐴, 𝐵) ∈ 𝐶)
Colors of variables: wff set class
Syntax hints:  ¬ wn 3  wi 4  wa 104  wo 713  DECID wdc 839   = wceq 1395  wcel 2200  ifcif 3602
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 618  ax-io 714  ax-5 1493  ax-7 1494  ax-gen 1495  ax-ie1 1539  ax-ie2 1540  ax-8 1550  ax-11 1552  ax-4 1556  ax-17 1572  ax-i9 1576  ax-ial 1580  ax-i5r 1581  ax-ext 2211
This theorem depends on definitions:  df-bi 117  df-dc 840  df-nf 1507  df-sb 1809  df-clab 2216  df-cleq 2222  df-clel 2225  df-if 3603
This theorem is referenced by:  updjudhf  7242  omp1eomlem  7257  difinfsnlem  7262  ctmlemr  7271  ctssdclemn0  7273  ctssdc  7276  enumctlemm  7277  xaddf  10036  xaddval  10037  iseqf1olemqcl  10716  iseqf1olemnab  10718  iseqf1olemjpcl  10725  iseqf1olemqpcl  10726  seq3f1oleml  10733  seq3f1o  10734  exp3val  10758  ccatcl  11123  swrdclg  11177  xrmaxiflemcl  11751  summodclem2a  11887  zsumdc  11890  fsum3  11893  isumss  11897  fsum3cvg2  11900  fsum3ser  11903  fsumcl2lem  11904  fsumadd  11912  sumsnf  11915  sumsplitdc  11938  fsummulc2  11954  isumlessdc  12002  cvgratz  12038  prodmodclem3  12081  prodmodclem2a  12082  zproddc  12085  fprodseq  12089  fprodmul  12097  prodsnf  12098  eucalgval2  12570  lcmval  12580  pcmpt  12861  ennnfonelemg  12969  mulgval  13654  mulgfng  13656  elplyd  15409  dvply1  15433  lgsval  15677  lgsfvalg  15678  lgsfcl2  15679  lgscllem  15680  lgsval2lem  15683  lgsdir  15708  lgsdilem2  15709  lgsdi  15710  lgsne0  15711  subctctexmid  16325
  Copyright terms: Public domain W3C validator