0

I know that $p\rightarrow q$ can be written as $p$' or $q$. Can an equation like ($p'$ or $q$ or $r$) be written as $((p\rightarrow q)\text{ or }r)$?

J. W. Tanner
  • 63,683
  • 4
  • 43
  • 88

1 Answers1

0

Yes, this is allowed. The or operation is associative, so when we have several ors in a row, we are allowed to put brackets wherever we want and write

p' or q or r
(p' or q) or r
(p -> q) or r

Usually, you would want to go the other way, though. Certainly, to me, the top row looks simpler to grok than the bottom row.

Arthur
  • 204,511