![]() |
Intuitionistic Logic Explorer |
< Previous
Next >
Nearby theorems |
|
Mirrors > Home > ILE Home > Th. List > ifbi | GIF version |
Description: Equivalence theorem for conditional operators. (Contributed by Raph Levien, 15-Jan-2004.) |
Ref | Expression |
---|---|
ifbi | ⊢ ((𝜑 ↔ 𝜓) → if(𝜑, 𝐴, 𝐵) = if(𝜓, 𝐴, 𝐵)) |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | anbi2 467 | . . . 4 ⊢ ((𝜑 ↔ 𝜓) → ((𝑥 ∈ 𝐴 ∧ 𝜑) ↔ (𝑥 ∈ 𝐴 ∧ 𝜓))) | |
2 | notbi 666 | . . . . 5 ⊢ ((𝜑 ↔ 𝜓) → (¬ 𝜑 ↔ ¬ 𝜓)) | |
3 | 2 | anbi2d 464 | . . . 4 ⊢ ((𝜑 ↔ 𝜓) → ((𝑥 ∈ 𝐵 ∧ ¬ 𝜑) ↔ (𝑥 ∈ 𝐵 ∧ ¬ 𝜓))) |
4 | 1, 3 | orbi12d 793 | . . 3 ⊢ ((𝜑 ↔ 𝜓) → (((𝑥 ∈ 𝐴 ∧ 𝜑) ∨ (𝑥 ∈ 𝐵 ∧ ¬ 𝜑)) ↔ ((𝑥 ∈ 𝐴 ∧ 𝜓) ∨ (𝑥 ∈ 𝐵 ∧ ¬ 𝜓)))) |
5 | 4 | abbidv 2295 | . 2 ⊢ ((𝜑 ↔ 𝜓) → {𝑥 ∣ ((𝑥 ∈ 𝐴 ∧ 𝜑) ∨ (𝑥 ∈ 𝐵 ∧ ¬ 𝜑))} = {𝑥 ∣ ((𝑥 ∈ 𝐴 ∧ 𝜓) ∨ (𝑥 ∈ 𝐵 ∧ ¬ 𝜓))}) |
6 | df-if 3535 | . 2 ⊢ if(𝜑, 𝐴, 𝐵) = {𝑥 ∣ ((𝑥 ∈ 𝐴 ∧ 𝜑) ∨ (𝑥 ∈ 𝐵 ∧ ¬ 𝜑))} | |
7 | df-if 3535 | . 2 ⊢ if(𝜓, 𝐴, 𝐵) = {𝑥 ∣ ((𝑥 ∈ 𝐴 ∧ 𝜓) ∨ (𝑥 ∈ 𝐵 ∧ ¬ 𝜓))} | |
8 | 5, 6, 7 | 3eqtr4g 2235 | 1 ⊢ ((𝜑 ↔ 𝜓) → if(𝜑, 𝐴, 𝐵) = if(𝜓, 𝐴, 𝐵)) |
Colors of variables: wff set class |
Syntax hints: ¬ wn 3 → wi 4 ∧ wa 104 ↔ wb 105 ∨ wo 708 = wceq 1353 ∈ wcel 2148 {cab 2163 ifcif 3534 |
This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-ia1 106 ax-ia2 107 ax-ia3 108 ax-in1 614 ax-in2 615 ax-io 709 ax-5 1447 ax-7 1448 ax-gen 1449 ax-ie1 1493 ax-ie2 1494 ax-8 1504 ax-11 1506 ax-4 1510 ax-17 1526 ax-i9 1530 ax-ial 1534 ax-i5r 1535 ax-ext 2159 |
This theorem depends on definitions: df-bi 117 df-tru 1356 df-nf 1461 df-sb 1763 df-clab 2164 df-cleq 2170 df-if 3535 |
This theorem is referenced by: ifbid 3555 ifbieq2i 3557 fodjuomni 7141 fodjumkv 7152 nninfwlpoimlemg 7167 1tonninf 10426 lgsdi 14105 nninfsellemqall 14420 nninfomni 14424 |
Copyright terms: Public domain | W3C validator |