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

Theorem ibllem 24367
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 5080 . . . 4 ((𝜑𝑥𝐴) → (0 ≤ 𝐵 ↔ 0 ≤ 𝐶))
32pm5.32da 581 . . 3 (𝜑 → ((𝑥𝐴 ∧ 0 ≤ 𝐵) ↔ (𝑥𝐴 ∧ 0 ≤ 𝐶)))
43ifbid 4491 . 2 (𝜑 → if((𝑥𝐴 ∧ 0 ≤ 𝐵), 𝐵, 0) = if((𝑥𝐴 ∧ 0 ≤ 𝐶), 𝐵, 0))
51adantrr 715 . . 3 ((𝜑 ∧ (𝑥𝐴 ∧ 0 ≤ 𝐶)) → 𝐵 = 𝐶)
65ifeq1da 4499 . 2 (𝜑 → if((𝑥𝐴 ∧ 0 ≤ 𝐶), 𝐵, 0) = if((𝑥𝐴 ∧ 0 ≤ 𝐶), 𝐶, 0))
74, 6eqtrd 2858 1 (𝜑 → if((𝑥𝐴 ∧ 0 ≤ 𝐵), 𝐵, 0) = if((𝑥𝐴 ∧ 0 ≤ 𝐶), 𝐶, 0))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 398   = wceq 1537  wcel 2114  ifcif 4469   class class class wbr 5068  0cc0 10539  cle 10678
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1796  ax-4 1810  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2116  ax-9 2124  ax-10 2145  ax-11 2161  ax-12 2177  ax-ext 2795
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3an 1085  df-tru 1540  df-ex 1781  df-nf 1785  df-sb 2070  df-clab 2802  df-cleq 2816  df-clel 2895  df-nfc 2965  df-rab 3149  df-v 3498  df-dif 3941  df-un 3943  df-in 3945  df-ss 3954  df-nul 4294  df-if 4470  df-sn 4570  df-pr 4572  df-op 4576  df-br 5069
This theorem is referenced by:  isibl  24368  isibl2  24369  iblitg  24371  iblcnlem1  24390  iblcnlem  24391  itgcnlem  24392  iblrelem  24393  itgrevallem1  24397  itgeqa  24416
  Copyright terms: Public domain W3C validator