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

Theorem ifcldadc 3591
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 3567 . . . 4 (𝜓 → if(𝜓, 𝐴, 𝐵) = 𝐴)
21adantl 277 . . 3 ((𝜑𝜓) → if(𝜓, 𝐴, 𝐵) = 𝐴)
3 ifcldadc.1 . . 3 ((𝜑𝜓) → 𝐴𝐶)
42, 3eqeltrd 2273 . 2 ((𝜑𝜓) → if(𝜓, 𝐴, 𝐵) ∈ 𝐶)
5 iffalse 3570 . . . 4 𝜓 → if(𝜓, 𝐴, 𝐵) = 𝐵)
65adantl 277 . . 3 ((𝜑 ∧ ¬ 𝜓) → if(𝜓, 𝐴, 𝐵) = 𝐵)
7 ifcldadc.2 . . 3 ((𝜑 ∧ ¬ 𝜓) → 𝐵𝐶)
86, 7eqeltrd 2273 . 2 ((𝜑 ∧ ¬ 𝜓) → if(𝜓, 𝐴, 𝐵) ∈ 𝐶)
9 ifcldadc.dc . . 3 (𝜑DECID 𝜓)
10 exmiddc 837 . . 3 (DECID 𝜓 → (𝜓 ∨ ¬ 𝜓))
119, 10syl 14 . 2 (𝜑 → (𝜓 ∨ ¬ 𝜓))
124, 8, 11mpjaodan 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 2167  ifcif 3562
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 1461  ax-7 1462  ax-gen 1463  ax-ie1 1507  ax-ie2 1508  ax-8 1518  ax-11 1520  ax-4 1524  ax-17 1540  ax-i9 1544  ax-ial 1548  ax-i5r 1549  ax-ext 2178
This theorem depends on definitions:  df-bi 117  df-dc 836  df-nf 1475  df-sb 1777  df-clab 2183  df-cleq 2189  df-clel 2192  df-if 3563
This theorem is referenced by:  updjudhf  7154  omp1eomlem  7169  difinfsnlem  7174  ctmlemr  7183  ctssdclemn0  7185  ctssdc  7188  enumctlemm  7189  xaddf  9936  xaddval  9937  iseqf1olemqcl  10608  iseqf1olemnab  10610  iseqf1olemjpcl  10617  iseqf1olemqpcl  10618  seq3f1oleml  10625  seq3f1o  10626  exp3val  10650  xrmaxiflemcl  11427  summodclem2a  11563  zsumdc  11566  fsum3  11569  isumss  11573  fsum3cvg2  11576  fsum3ser  11579  fsumcl2lem  11580  fsumadd  11588  sumsnf  11591  sumsplitdc  11614  fsummulc2  11630  isumlessdc  11678  cvgratz  11714  prodmodclem3  11757  prodmodclem2a  11758  zproddc  11761  fprodseq  11765  fprodmul  11773  prodsnf  11774  eucalgval2  12246  lcmval  12256  pcmpt  12537  ennnfonelemg  12645  mulgval  13328  mulgfng  13330  elplyd  15061  dvply1  15085  lgsval  15329  lgsfvalg  15330  lgsfcl2  15331  lgscllem  15332  lgsval2lem  15335  lgsdir  15360  lgsdilem2  15361  lgsdi  15362  lgsne0  15363  subctctexmid  15731
  Copyright terms: Public domain W3C validator