| Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
||
| Mirrors > Home > MPE Home > Th. List > ifeq1da | Structured version Visualization version GIF version | ||
| Description: Conditional equality. (Contributed by Jeff Madsen, 2-Sep-2009.) |
| Ref | Expression |
|---|---|
| ifeq1da.1 | ⊢ ((𝜑 ∧ 𝜓) → 𝐴 = 𝐵) |
| Ref | Expression |
|---|---|
| ifeq1da | ⊢ (𝜑 → if(𝜓, 𝐴, 𝐶) = if(𝜓, 𝐵, 𝐶)) |
| Step | Hyp | Ref | Expression |
|---|---|---|---|
| 1 | ifeq1da.1 | . . 3 ⊢ ((𝜑 ∧ 𝜓) → 𝐴 = 𝐵) | |
| 2 | 1 | ifeq1d 4512 | . 2 ⊢ ((𝜑 ∧ 𝜓) → if(𝜓, 𝐴, 𝐶) = if(𝜓, 𝐵, 𝐶)) |
| 3 | iffalse 4501 | . . . 4 ⊢ (¬ 𝜓 → if(𝜓, 𝐴, 𝐶) = 𝐶) | |
| 4 | iffalse 4501 | . . . 4 ⊢ (¬ 𝜓 → if(𝜓, 𝐵, 𝐶) = 𝐶) | |
| 5 | 3, 4 | eqtr4d 2812 | . . 3 ⊢ (¬ 𝜓 → if(𝜓, 𝐴, 𝐶) = if(𝜓, 𝐵, 𝐶)) |
| 6 | 5 | adantl 487 | . 2 ⊢ ((𝜑 ∧ ¬ 𝜓) → if(𝜓, 𝐴, 𝐶) = if(𝜓, 𝐵, 𝐶)) |
| 7 | 2, 6 | pm2.61dan 825 | 1 ⊢ (𝜑 → if(𝜓, 𝐴, 𝐶) = if(𝜓, 𝐵, 𝐶)) |
| Colors of variables: wff setvar class |
| This proof depends on syntax axioms: ¬ wn 3 → wi 4 ∧ wa 401 = wceq 1572 ifcif 4492 |
| This proof depends on axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1834 ax-4 1848 ax-5 1951 ax-6 2009 ax-7 2050 ax-8 2158 ax-9 2166 ax-ext 2746 |
| This proof depends on definitions: df-bi 210 df-an 402 df-or 862 df-tru 1575 df-ex 1819 df-sb 2110 df-clab 2753 df-cleq 2766 df-clel 2850 df-rab 3424 df-v 3463 df-un 4161 df-if 4493 |
| This theorem is used by: ifeq12da 4526 cantnflem1d 9745 cantnflem1 9746 dfac12lem1 10280 xrmaxeq 13368 xrmineq 13369 rexmul 13460 max0add 15541 sumeq2ii 15925 fsumser 15961 ramcl 17275 dmdprdsplitlem 20335 coe1pwmul 22704 scmatscmiddistr 22931 mulmarep1gsum1 22996 maducoeval2 23063 madugsum 23066 madurid 23067 ptcld 24040 ibllem 26193 itgvallem3 26214 iblposlem 26220 iblss2 26234 iblmulc2 26259 cnplimc 26315 limcco 26321 dvexp3 26406 dchrinvcl 27728 lgsval2lem 27782 lgsval4lem 27783 lgsneg 27796 lgsmod 27798 lgsdilem2 27808 rpvmasum2 27987 esplyind 34409 mrsubrn 36585 ftc1anclem6 38986 ftc1anclem8 38988 fsuppind 43983 |
| Copyright terms: Public domain | W3C validator |