You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

5 lines
320 B

5 months ago
  1. We give the definition of well-formed formulas in propositional logic
  2. using a grammar in Backus-Naur form (BNF) as:
  3. %
  4. $$\varphi \coloneqq ~ < \text{atomic proposition>} ~ | ~\varphi \wedge \varphi~ |~ \varphi \vee \varphi~ | ~\neg \varphi ~| ~\varphi \imp \varphi~ | ~\varphi \leftrightarrow \varphi~ | ~( \varphi )$$