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

Theorem ibllem 23337
Description: Conditioned equality theorem for the if statement. (Contributed by Mario Carneiro, 31-Jul-2014.)
Hypothesis
Ref Expression
ibllem.1 ((𝜑𝑥𝐴) → 𝐵 = 𝐶)
Assertion
Ref Expression
ibllem (𝜑 → if((𝑥𝐴 ∧ 0 ≤ 𝐵), 𝐵, 0) = if((𝑥𝐴 ∧ 0 ≤ 𝐶), 𝐶, 0))

Proof of Theorem ibllem
StepHypRef Expression
1 ibllem.1 . . . . 5 ((𝜑𝑥𝐴) → 𝐵 = 𝐶)
21breq2d 4595 . . . 4 ((𝜑𝑥𝐴) → (0 ≤ 𝐵 ↔ 0 ≤ 𝐶))
32pm5.32da 671 . . 3 (𝜑 → ((𝑥𝐴 ∧ 0 ≤ 𝐵) ↔ (𝑥𝐴 ∧ 0 ≤ 𝐶)))
43ifbid 4058 . 2 (𝜑 → if((𝑥𝐴 ∧ 0 ≤ 𝐵), 𝐵, 0) = if((𝑥𝐴 ∧ 0 ≤ 𝐶), 𝐵, 0))
51adantrr 749 . . 3 ((𝜑 ∧ (𝑥𝐴 ∧ 0 ≤ 𝐶)) → 𝐵 = 𝐶)
65ifeq1da 4066 . 2 (𝜑 → if((𝑥𝐴 ∧ 0 ≤ 𝐶), 𝐵, 0) = if((𝑥𝐴 ∧ 0 ≤ 𝐶), 𝐶, 0))
74, 6eqtrd 2644 1 (𝜑 → if((𝑥𝐴 ∧ 0 ≤ 𝐵), 𝐵, 0) = if((𝑥𝐴 ∧ 0 ≤ 𝐶), 𝐶, 0))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 383   = wceq 1475  wcel 1977  ifcif 4036   class class class wbr 4583  0cc0 9815  cle 9954
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1713  ax-4 1728  ax-5 1827  ax-6 1875  ax-7 1922  ax-10 2006  ax-11 2021  ax-12 2034  ax-13 2234  ax-ext 2590
This theorem depends on definitions:  df-bi 196  df-or 384  df-an 385  df-3an 1033  df-tru 1478  df-ex 1696  df-nf 1701  df-sb 1868  df-clab 2597  df-cleq 2603  df-clel 2606  df-nfc 2740  df-rab 2905  df-v 3175  df-dif 3543  df-un 3545  df-in 3547  df-ss 3554  df-nul 3875  df-if 4037  df-sn 4126  df-pr 4128  df-op 4132  df-br 4584
This theorem is referenced by:  isibl  23338  isibl2  23339  iblitg  23341  iblcnlem1  23360  iblcnlem  23361  itgcnlem  23362  iblrelem  23363  itgrevallem1  23367  itgeqa  23386
  Copyright terms: Public domain W3C validator