| 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 5123 | . . . 4 ⊢ ((𝜑 ∧ 𝑥 ∈ 𝐴) → (0 ≤ 𝐵 ↔ 0 ≤ 𝐶)) |
| 3 | 2 | pm5.32da 590 | . . 3 ⊢ (𝜑 → ((𝑥 ∈ 𝐴 ∧ 0 ≤ 𝐵) ↔ (𝑥 ∈ 𝐴 ∧ 0 ≤ 𝐶))) |
| 4 | 3 | ifbid 4513 | . 2 ⊢ (𝜑 → if((𝑥 ∈ 𝐴 ∧ 0 ≤ 𝐵), 𝐵, 0) = if((𝑥 ∈ 𝐴 ∧ 0 ≤ 𝐶), 𝐵, 0)) |
| 5 | 1 | adantrr 730 | . . 3 ⊢ ((𝜑 ∧ (𝑥 ∈ 𝐴 ∧ 0 ≤ 𝐶)) → 𝐵 = 𝐶) |
| 6 | 5 | ifeq1da 4521 | . 2 ⊢ (𝜑 → if((𝑥 ∈ 𝐴 ∧ 0 ≤ 𝐶), 𝐵, 0) = if((𝑥 ∈ 𝐴 ∧ 0 ≤ 𝐶), 𝐶, 0)) |
| 7 | 4, 6 | eqtrd 2800 | 1 ⊢ (𝜑 → if((𝑥 ∈ 𝐴 ∧ 0 ≤ 𝐵), 𝐵, 0) = if((𝑥 ∈ 𝐴 ∧ 0 ≤ 𝐶), 𝐶, 0)) |
| Colors of variables: wff setvar class |
| This proof depends on syntax axioms: → wi 4 ∧ wa 401 = wceq 1570 ∈ wcel 2146 ifcif 4489 class class class wbr 5111 0cc0 11117 ≤ cle 11261 |
| This proof depends on axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1828 ax-4 1842 ax-5 1943 ax-6 2000 ax-7 2041 ax-8 2148 ax-9 2156 ax-ext 2737 |
| This proof depends on definitions: df-bi 210 df-an 402 df-or 862 df-3an 1105 df-tru 1573 df-fal 1583 df-ex 1813 df-sb 2100 df-clab 2744 df-cleq 2757 df-clel 2840 df-rab 3419 df-v 3459 df-dif 3909 df-un 3911 df-ss 3923 df-nul 4287 df-if 4490 df-sn 4592 df-pr 4594 df-op 4598 df-br 5112 |
| This theorem is used by: isibl 25977 isibl2 25978 iblitg 25980 iblcnlem1 26000 iblcnlem 26001 itgcnlem 26002 iblrelem 26003 itgrevallem1 26007 itgeqa 26026 |
| Copyright terms: Public domain | W3C validator |