![]() |
Metamath Proof Explorer |
< Previous
Next >
Nearby theorems |
|
Mirrors > Home > MPE Home > Th. List > ifeq1 | Structured version Visualization version GIF version |
Description: Equality theorem for conditional operator. (Contributed by NM, 1-Sep-2004.) (Revised by Mario Carneiro, 8-Sep-2013.) |
Ref | Expression |
---|---|
ifeq1 | ⊢ (𝐴 = 𝐵 → if(𝜑, 𝐴, 𝐶) = if(𝜑, 𝐵, 𝐶)) |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | rabeq 3447 | . . 3 ⊢ (𝐴 = 𝐵 → {𝑥 ∈ 𝐴 ∣ 𝜑} = {𝑥 ∈ 𝐵 ∣ 𝜑}) | |
2 | 1 | uneq1d 4162 | . 2 ⊢ (𝐴 = 𝐵 → ({𝑥 ∈ 𝐴 ∣ 𝜑} ∪ {𝑥 ∈ 𝐶 ∣ ¬ 𝜑}) = ({𝑥 ∈ 𝐵 ∣ 𝜑} ∪ {𝑥 ∈ 𝐶 ∣ ¬ 𝜑})) |
3 | dfif6 4531 | . 2 ⊢ if(𝜑, 𝐴, 𝐶) = ({𝑥 ∈ 𝐴 ∣ 𝜑} ∪ {𝑥 ∈ 𝐶 ∣ ¬ 𝜑}) | |
4 | dfif6 4531 | . 2 ⊢ if(𝜑, 𝐵, 𝐶) = ({𝑥 ∈ 𝐵 ∣ 𝜑} ∪ {𝑥 ∈ 𝐶 ∣ ¬ 𝜑}) | |
5 | 2, 3, 4 | 3eqtr4g 2798 | 1 ⊢ (𝐴 = 𝐵 → if(𝜑, 𝐴, 𝐶) = if(𝜑, 𝐵, 𝐶)) |
Colors of variables: wff setvar class |
Syntax hints: ¬ wn 3 → wi 4 = wceq 1542 {crab 3433 ∪ cun 3946 ifcif 4528 |
This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1798 ax-4 1812 ax-5 1914 ax-6 1972 ax-7 2012 ax-8 2109 ax-9 2117 ax-ext 2704 |
This theorem depends on definitions: df-bi 206 df-an 398 df-or 847 df-tru 1545 df-ex 1783 df-sb 2069 df-clab 2711 df-cleq 2725 df-clel 2811 df-rab 3434 df-v 3477 df-un 3953 df-if 4529 |
This theorem is referenced by: ifeq12 4546 ifeq1d 4547 ifbieq12i 4555 rdgeq2 8409 dfoi 9503 wemaplem2 9539 cantnflem1 9681 prodeq2w 15853 prodeq2ii 15854 mgm2nsgrplem2 18797 mgm2nsgrplem3 18798 mplcoe3 21585 marrepval0 22055 ellimc 25382 ply1nzb 25632 dchrvmasumiflem1 26994 signspval 33552 dfrdg2 34756 dfafv22 45954 |
Copyright terms: Public domain | W3C validator |