| 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 5115 | . . . 4 ⊢ ((𝜑 ∧ 𝑥 ∈ 𝐴) → (0 ≤ 𝐵 ↔ 0 ≤ 𝐶)) |
| 3 | 2 | pm5.32da 590 | . . 3 ⊢ (𝜑 → ((𝑥 ∈ 𝐴 ∧ 0 ≤ 𝐵) ↔ (𝑥 ∈ 𝐴 ∧ 0 ≤ 𝐶))) |
| 4 | 3 | ifbid 4506 | . 2 ⊢ (𝜑 → if((𝑥 ∈ 𝐴 ∧ 0 ≤ 𝐵), 𝐵, 0) = if((𝑥 ∈ 𝐴 ∧ 0 ≤ 𝐶), 𝐵, 0)) |
| 5 | 1 | adantrr 730 | . . 3 ⊢ ((𝜑 ∧ (𝑥 ∈ 𝐴 ∧ 0 ≤ 𝐶)) → 𝐵 = 𝐶) |
| 6 | 5 | ifeq1da 4514 | . 2 ⊢ (𝜑 → if((𝑥 ∈ 𝐴 ∧ 0 ≤ 𝐶), 𝐵, 0) = if((𝑥 ∈ 𝐴 ∧ 0 ≤ 𝐶), 𝐶, 0)) |
| 7 | 4, 6 | eqtrd 2795 | 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 2145 ifcif 4482 class class class wbr 5103 0cc0 11125 ≤ cle 11269 |
| 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 2147 ax-9 2155 ax-ext 2732 |
| 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 2739 df-cleq 2752 df-clel 2835 df-rab 3413 df-v 3452 df-dif 3902 df-un 3904 df-ss 3916 df-nul 4280 df-if 4483 df-sn 4585 df-pr 4587 df-op 4591 df-br 5104 |
| This theorem is used by: isibl 25994 isibl2 25995 iblitg 25997 iblcnlem1 26016 iblcnlem 26017 itgcnlem 26018 iblrelem 26019 itgrevallem1 26023 itgeqa 26042 |
| Copyright terms: Public domain | W3C validator |