![]() |
Mathbox for BJ |
< Previous
Next >
Nearby theorems |
|
Mirrors > Home > MPE Home > Th. List > Mathboxes > bj-dfif | Structured version Visualization version GIF version |
Description: Alternate definition of the conditional operator for classes, which used to be the main definition. (Contributed by BJ, 26-Dec-2023.) (Proof modification is discouraged.) |
Ref | Expression |
---|---|
bj-dfif | ⊢ if(𝜑, 𝐴, 𝐵) = {𝑥 ∣ ((𝜑 ∧ 𝑥 ∈ 𝐴) ∨ (¬ 𝜑 ∧ 𝑥 ∈ 𝐵))} |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | bj-df-ifc 36546 | . 2 ⊢ if(𝜑, 𝐴, 𝐵) = {𝑥 ∣ if-(𝜑, 𝑥 ∈ 𝐴, 𝑥 ∈ 𝐵)} | |
2 | df-ifp 1064 | . . 3 ⊢ (if-(𝜑, 𝑥 ∈ 𝐴, 𝑥 ∈ 𝐵) ↔ ((𝜑 ∧ 𝑥 ∈ 𝐴) ∨ (¬ 𝜑 ∧ 𝑥 ∈ 𝐵))) | |
3 | 2 | abbii 2812 | . 2 ⊢ {𝑥 ∣ if-(𝜑, 𝑥 ∈ 𝐴, 𝑥 ∈ 𝐵)} = {𝑥 ∣ ((𝜑 ∧ 𝑥 ∈ 𝐴) ∨ (¬ 𝜑 ∧ 𝑥 ∈ 𝐵))} |
4 | 1, 3 | eqtri 2768 | 1 ⊢ if(𝜑, 𝐴, 𝐵) = {𝑥 ∣ ((𝜑 ∧ 𝑥 ∈ 𝐴) ∨ (¬ 𝜑 ∧ 𝑥 ∈ 𝐵))} |
Colors of variables: wff setvar class |
Syntax hints: ¬ wn 3 ∧ wa 395 ∨ wo 846 if-wif 1063 = wceq 1537 ∈ wcel 2108 {cab 2717 ifcif 4548 |
This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 ax-gen 1793 ax-4 1807 ax-5 1909 ax-6 1967 ax-7 2007 ax-9 2118 ax-ext 2711 |
This theorem depends on definitions: df-bi 207 df-an 396 df-or 847 df-ifp 1064 df-ex 1778 df-sb 2065 df-clab 2718 df-cleq 2732 df-if 4549 |
This theorem is referenced by: (None) |
Copyright terms: Public domain | W3C validator |