Intuitionistic Logic Explorer |
< Previous
Next >
Nearby theorems |
||
Mirrors > Home > ILE Home > Th. List > ifeq2 | GIF version |
Description: Equality theorem for conditional operator. (Contributed by NM, 1-Sep-2004.) (Revised by Mario Carneiro, 8-Sep-2013.) |
Ref | Expression |
---|---|
ifeq2 | ⊢ (𝐴 = 𝐵 → if(𝜑, 𝐶, 𝐴) = if(𝜑, 𝐶, 𝐵)) |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | rabeq 2678 | . . 3 ⊢ (𝐴 = 𝐵 → {𝑥 ∈ 𝐴 ∣ ¬ 𝜑} = {𝑥 ∈ 𝐵 ∣ ¬ 𝜑}) | |
2 | 1 | uneq2d 3230 | . 2 ⊢ (𝐴 = 𝐵 → ({𝑥 ∈ 𝐶 ∣ 𝜑} ∪ {𝑥 ∈ 𝐴 ∣ ¬ 𝜑}) = ({𝑥 ∈ 𝐶 ∣ 𝜑} ∪ {𝑥 ∈ 𝐵 ∣ ¬ 𝜑})) |
3 | dfif6 3476 | . 2 ⊢ if(𝜑, 𝐶, 𝐴) = ({𝑥 ∈ 𝐶 ∣ 𝜑} ∪ {𝑥 ∈ 𝐴 ∣ ¬ 𝜑}) | |
4 | dfif6 3476 | . 2 ⊢ if(𝜑, 𝐶, 𝐵) = ({𝑥 ∈ 𝐶 ∣ 𝜑} ∪ {𝑥 ∈ 𝐵 ∣ ¬ 𝜑}) | |
5 | 2, 3, 4 | 3eqtr4g 2197 | 1 ⊢ (𝐴 = 𝐵 → if(𝜑, 𝐶, 𝐴) = if(𝜑, 𝐶, 𝐵)) |
Colors of variables: wff set class |
Syntax hints: ¬ wn 3 → wi 4 = wceq 1331 {crab 2420 ∪ cun 3069 ifcif 3474 |
This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-ia1 105 ax-ia2 106 ax-ia3 107 ax-io 698 ax-5 1423 ax-7 1424 ax-gen 1425 ax-ie1 1469 ax-ie2 1470 ax-8 1482 ax-10 1483 ax-11 1484 ax-i12 1485 ax-bndl 1486 ax-4 1487 ax-17 1506 ax-i9 1510 ax-ial 1514 ax-i5r 1515 ax-ext 2121 |
This theorem depends on definitions: df-bi 116 df-tru 1334 df-nf 1437 df-sb 1736 df-clab 2126 df-cleq 2132 df-clel 2135 df-nfc 2270 df-rab 2425 df-v 2688 df-un 3075 df-if 3475 |
This theorem is referenced by: ifeq12 3488 ifeq2d 3490 ifbieq2i 3495 xrmaxiflemcom 11018 |
Copyright terms: Public domain | W3C validator |