MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  ifboth Structured version   Visualization version   GIF version

Theorem ifboth 4527
Description: A wff 𝜃 containing a conditional operator is true when both of its cases are true. (Contributed by NM, 3-Sep-2006.) (Revised by Mario Carneiro, 15-Feb-2015.)
Hypotheses
Ref Expression
ifboth.1 (𝐴 = if(𝜑, 𝐴, 𝐵) → (𝜓 ↔ 𝜃))
ifboth.2 (𝐵 = if(𝜑, 𝐴, 𝐵) → (𝜒 ↔ 𝜃))
Assertion
Ref Expression
ifboth ((𝜓 ∧ 𝜒) → 𝜃)

Proof of Theorem ifboth
StepHypRef Expression
1 ifboth.1 . 2 (𝐴 = if(𝜑, 𝐴, 𝐵) → (𝜓 ↔ 𝜃))
2 ifboth.2 . 2 (𝐵 = if(𝜑, 𝐴, 𝐵) → (𝜒 ↔ 𝜃))
3 simpll 779 . 2 (((𝜓 ∧ 𝜒) ∧ 𝜑) → 𝜓)
4 simplr 781 . 2 (((𝜓 ∧ 𝜒) ∧ ¬ 𝜑) → 𝜒)
51, 2, 3, 4ifbothda 4526 1 ((𝜓 ∧ 𝜒) → 𝜃)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:  ¬ wn 3   → wi 4   ↔ wb 209   ∧ wa 401   = wceq 1572  ifcif 4487
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1830  ax-4 1844  ax-5 1947  ax-6 2004  ax-7 2045  ax-8 2153  ax-9 2161  ax-ext 2741
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-ex 1815  df-sb 2105  df-clab 2748  df-cleq 2761  df-clel 2845  df-if 4488
This theorem is used by:  ifcl  4533  keephyp  4559  soltmin  6152  xrmaxlt  13355  xrltmin  13356  xrmaxle  13357  xrlemin  13358  ifle  13371  expmulnbnd  14424  limsupgre  15696  isumless  16062  cvgrat  16100  rpnnen2lem4  16432  ruclem2  16447  sadcaddlem  16674  sadadd3  16678  pcmptdvds  17123  prmreclem5  17149  prmreclem6  17150  pnfnei  23610  mnfnei  23611  xkopt  24046  xmetrtri2  24747  stdbdxmet  24906  stdbdmet  24907  stdbdmopn  24909  xrsxmet  25201  icccmplem2  25215  metdscn  25248  metnrmlem1a  25250  ivthlem2  25845  ovolicc2lem5  25914  ioombl1lem1  25951  ioombl1lem4  25954  ismbfd  26032  mbfi1fseqlem4  26111  mbfi1fseqlem5  26112  itg2const  26133  itg2const2  26134  itg2monolem3  26145  itg2gt0  26153  itg2cnlem1  26154  itg2cnlem2  26155  iblss  26197  itgless  26209  ibladdlem  26212  iblabsr  26222  iblmulc2  26223  bddiblnc  26234  dvferm1lem  26376  dvferm2lem  26378  dvlip2  26387  dgradd2  26655  plydiveu  26687  chtppilim  27872  dchrvmasumiflem1  27898  ostth3  28035  1smat1  34558  poimirlem24  38850  mblfinlem2  38864  itg2addnclem  38877  itg2addnc  38880  itg2gt0cn  38881  ibladdnclem  38882  iblmulc2nc  38891  ftc1anclem5  38903  ftc1anclem8  38906  ftc1anc  38907
  Copyright terms: Public domain W3C validator