|   | Metamath Proof Explorer | < Previous  
      Next > Nearby theorems | |
| Mirrors > Home > MPE Home > Th. List > casesifp | Structured version Visualization version GIF version | ||
| Description: Version of cases 1043 expressed using if-. Case disjunction according to the value of 𝜑. One can see this as a proof that the two hypotheses characterize the conditional operator for propositions. For the converses, see ifptru 1075 and ifpfal 1076. (Contributed by BJ, 20-Sep-2019.) | 
| Ref | Expression | 
|---|---|
| casesifp.1 | ⊢ (𝜑 → (𝜓 ↔ 𝜒)) | 
| casesifp.2 | ⊢ (¬ 𝜑 → (𝜓 ↔ 𝜃)) | 
| Ref | Expression | 
|---|---|
| casesifp | ⊢ (𝜓 ↔ if-(𝜑, 𝜒, 𝜃)) | 
| Step | Hyp | Ref | Expression | 
|---|---|---|---|
| 1 | casesifp.1 | . . 3 ⊢ (𝜑 → (𝜓 ↔ 𝜒)) | |
| 2 | casesifp.2 | . . 3 ⊢ (¬ 𝜑 → (𝜓 ↔ 𝜃)) | |
| 3 | 1, 2 | cases 1043 | . 2 ⊢ (𝜓 ↔ ((𝜑 ∧ 𝜒) ∨ (¬ 𝜑 ∧ 𝜃))) | 
| 4 | df-ifp 1064 | . 2 ⊢ (if-(𝜑, 𝜒, 𝜃) ↔ ((𝜑 ∧ 𝜒) ∨ (¬ 𝜑 ∧ 𝜃))) | |
| 5 | 3, 4 | bitr4i 278 | 1 ⊢ (𝜓 ↔ if-(𝜑, 𝜒, 𝜃)) | 
| Colors of variables: wff setvar class | 
| Syntax hints: ¬ wn 3 → wi 4 ↔ wb 206 ∧ wa 395 ∨ wo 848 if-wif 1063 | 
| This theorem was proved from axioms: ax-mp 5 ax-1 6 ax-2 7 ax-3 8 | 
| This theorem depends on definitions: df-bi 207 df-an 396 df-or 849 df-ifp 1064 | 
| This theorem is referenced by: hadifp 1605 cadifp 1619 brif1 7530 wl-1xor 37483 wl-1mintru1 37489 brif2 42263 brif12 42264 | 
| Copyright terms: Public domain | W3C validator |