![]() |
Intuitionistic Logic Explorer |
< Previous
Next >
Nearby theorems |
|
Mirrors > Home > ILE Home > Th. List > xor2dc | GIF version |
Description: Two ways to express "exclusive or" between decidable propositions. (Contributed by Jim Kingdon, 17-Apr-2018.) |
Ref | Expression |
---|---|
xor2dc | ⊢ (DECID 𝜑 → (DECID 𝜓 → (¬ (𝜑 ↔ 𝜓) ↔ ((𝜑 ∨ 𝜓) ∧ ¬ (𝜑 ∧ 𝜓))))) |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | xor3dc 1387 | . . . 4 ⊢ (DECID 𝜑 → (DECID 𝜓 → (¬ (𝜑 ↔ 𝜓) ↔ (𝜑 ↔ ¬ 𝜓)))) | |
2 | 1 | imp 124 | . . 3 ⊢ ((DECID 𝜑 ∧ DECID 𝜓) → (¬ (𝜑 ↔ 𝜓) ↔ (𝜑 ↔ ¬ 𝜓))) |
3 | pm5.17dc 904 | . . . 4 ⊢ (DECID 𝜓 → (((𝜑 ∨ 𝜓) ∧ ¬ (𝜑 ∧ 𝜓)) ↔ (𝜑 ↔ ¬ 𝜓))) | |
4 | 3 | adantl 277 | . . 3 ⊢ ((DECID 𝜑 ∧ DECID 𝜓) → (((𝜑 ∨ 𝜓) ∧ ¬ (𝜑 ∧ 𝜓)) ↔ (𝜑 ↔ ¬ 𝜓))) |
5 | 2, 4 | bitr4d 191 | . 2 ⊢ ((DECID 𝜑 ∧ DECID 𝜓) → (¬ (𝜑 ↔ 𝜓) ↔ ((𝜑 ∨ 𝜓) ∧ ¬ (𝜑 ∧ 𝜓)))) |
6 | 5 | ex 115 | 1 ⊢ (DECID 𝜑 → (DECID 𝜓 → (¬ (𝜑 ↔ 𝜓) ↔ ((𝜑 ∨ 𝜓) ∧ ¬ (𝜑 ∧ 𝜓))))) |
Colors of variables: wff set class |
Syntax hints: ¬ wn 3 → wi 4 ∧ wa 104 ↔ wb 105 ∨ wo 708 DECID wdc 834 |
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 |
This theorem depends on definitions: df-bi 117 df-stab 831 df-dc 835 |
This theorem is referenced by: xornbidc 1391 |
Copyright terms: Public domain | W3C validator |