Mathbox for Richard Penner |
< Previous
Next >
Nearby theorems |
||
Mirrors > Home > MPE Home > Th. List > Mathboxes > ifpdfnan | Structured version Visualization version GIF version |
Description: Define nand as conditional logic operator. (Contributed by RP, 20-Apr-2020.) |
Ref | Expression |
---|---|
ifpdfnan | ⊢ ((𝜑 ⊼ 𝜓) ↔ if-(𝜑, ¬ 𝜓, ⊤)) |
Step | Hyp | Ref | Expression |
---|---|---|---|
1 | df-nan 1484 | . 2 ⊢ ((𝜑 ⊼ 𝜓) ↔ ¬ (𝜑 ∧ 𝜓)) | |
2 | ifpdfan 40971 | . . 3 ⊢ ((𝜑 ∧ 𝜓) ↔ if-(𝜑, 𝜓, ⊥)) | |
3 | 2 | notbii 319 | . 2 ⊢ (¬ (𝜑 ∧ 𝜓) ↔ ¬ if-(𝜑, 𝜓, ⊥)) |
4 | ifpnot23 40983 | . . 3 ⊢ (¬ if-(𝜑, 𝜓, ⊥) ↔ if-(𝜑, ¬ 𝜓, ¬ ⊥)) | |
5 | notfal 1567 | . . . 4 ⊢ (¬ ⊥ ↔ ⊤) | |
6 | ifpbi3 40973 | . . . 4 ⊢ ((¬ ⊥ ↔ ⊤) → (if-(𝜑, ¬ 𝜓, ¬ ⊥) ↔ if-(𝜑, ¬ 𝜓, ⊤))) | |
7 | 5, 6 | ax-mp 5 | . . 3 ⊢ (if-(𝜑, ¬ 𝜓, ¬ ⊥) ↔ if-(𝜑, ¬ 𝜓, ⊤)) |
8 | 4, 7 | bitri 274 | . 2 ⊢ (¬ if-(𝜑, 𝜓, ⊥) ↔ if-(𝜑, ¬ 𝜓, ⊤)) |
9 | 1, 3, 8 | 3bitri 296 | 1 ⊢ ((𝜑 ⊼ 𝜓) ↔ if-(𝜑, ¬ 𝜓, ⊤)) |
Colors of variables: wff setvar class |
Syntax hints: ¬ wn 3 ↔ wb 205 ∧ wa 395 if-wif 1059 ⊼ wnan 1483 ⊤wtru 1540 ⊥wfal 1551 |
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 206 df-an 396 df-or 844 df-ifp 1060 df-nan 1484 df-tru 1542 df-fal 1552 |
This theorem is referenced by: (None) |
Copyright terms: Public domain | W3C validator |