| Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
||
| Mirrors > Home > MPE Home > Th. List > ibllem | Structured version Visualization version GIF version | ||
| Description: Conditioned equality theorem for the if statement. (Contributed by Mario Carneiro, 31-Jul-2014.) |
| Ref | Expression |
|---|---|
| ibllem.1 | ⊢ ((𝜑 ∧ 𝑥 ∈ 𝐴) → 𝐵 = 𝐶) |
| Ref | Expression |
|---|---|
| ibllem | ⊢ (𝜑 → if((𝑥 ∈ 𝐴 ∧ 0 ≤ 𝐵), 𝐵, 0) = if((𝑥 ∈ 𝐴 ∧ 0 ≤ 𝐶), 𝐶, 0)) |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | ibllem.1 | . . . . 5 ⊢ ((𝜑 ∧ 𝑥 ∈ 𝐴) → 𝐵 = 𝐶) | |
| 2 | 1 | breq2d 5122 | . . . 4 ⊢ ((𝜑 ∧ 𝑥 ∈ 𝐴) → (0 ≤ 𝐵 ↔ 0 ≤ 𝐶)) |
| 3 | 2 | pm5.32da 579 | . . 3 ⊢ (𝜑 → ((𝑥 ∈ 𝐴 ∧ 0 ≤ 𝐵) ↔ (𝑥 ∈ 𝐴 ∧ 0 ≤ 𝐶))) |
| 4 | 3 | ifbid 4515 | . 2 ⊢ (𝜑 → if((𝑥 ∈ 𝐴 ∧ 0 ≤ 𝐵), 𝐵, 0) = if((𝑥 ∈ 𝐴 ∧ 0 ≤ 𝐶), 𝐵, 0)) |
| 5 | 1 | adantrr 717 | . . 3 ⊢ ((𝜑 ∧ (𝑥 ∈ 𝐴 ∧ 0 ≤ 𝐶)) → 𝐵 = 𝐶) |
| 6 | 5 | ifeq1da 4523 | . 2 ⊢ (𝜑 → if((𝑥 ∈ 𝐴 ∧ 0 ≤ 𝐶), 𝐵, 0) = if((𝑥 ∈ 𝐴 ∧ 0 ≤ 𝐶), 𝐶, 0)) |
| 7 | 4, 6 | eqtrd 2765 | 1 ⊢ (𝜑 → if((𝑥 ∈ 𝐴 ∧ 0 ≤ 𝐵), 𝐵, 0) = if((𝑥 ∈ 𝐴 ∧ 0 ≤ 𝐶), 𝐶, 0)) |
| Colors of variables: wff setvar class |
| Syntax hints: → wi 4 ∧ wa 395 = wceq 1540 ∈ wcel 2109 ifcif 4491 class class class wbr 5110 0cc0 11075 ≤ cle 11216 |
| This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1795 ax-4 1809 ax-5 1910 ax-6 1967 ax-7 2008 ax-8 2111 ax-9 2119 ax-ext 2702 |
| This theorem depends on definitions: df-bi 207 df-an 396 df-or 848 df-3an 1088 df-tru 1543 df-fal 1553 df-ex 1780 df-sb 2066 df-clab 2709 df-cleq 2722 df-clel 2804 df-rab 3409 df-v 3452 df-dif 3920 df-un 3922 df-ss 3934 df-nul 4300 df-if 4492 df-sn 4593 df-pr 4595 df-op 4599 df-br 5111 |
| This theorem is referenced by: isibl 25673 isibl2 25674 iblitg 25676 iblcnlem1 25696 iblcnlem 25697 itgcnlem 25698 iblrelem 25699 itgrevallem1 25703 itgeqa 25722 |
| Copyright terms: Public domain | W3C validator |