Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Special pages
Niidae Wiki
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Propositional calculus
(section)
Page
Discussion
English
Read
Edit
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
==== CF grammar in BNF ==== An alternative to the syntax definitions given above is to write a [[Context-free grammar|context-free (CF) grammar]] for the language <math>\mathcal{L}</math> in [[Backus–Naur form|Backus-Naur form]] (BNF).<ref name=":41"/><ref name=":42"/> This is more common in [[computer science]] than in [[philosophy]].<ref name=":42" /> It can be done in many ways,<ref name=":41" /> of which a particularly brief one, for the common set of five connectives, is this single clause:<ref name=":42" /><ref name=":02"/> :<math>\phi ::= a_1, a_2, \ldots ~ | ~ \neg\phi ~ | ~ \phi ~ \& ~ \psi ~ | ~ \phi \vee \psi ~ | ~ \phi \rightarrow \psi ~ | ~ \phi \leftrightarrow \psi</math> This clause, due to its [[Self-reference|self-referential]] nature (since <math>\phi</math> is in some branches of the definition of <math>\phi</math>), also acts as a [[recursive definition]], and therefore specifies the entire language. To expand it to add [[modal operator]]s, one need only add … <math>| ~ \Box\phi ~ | ~ \Diamond\phi</math> to the end of the clause.<ref name=":42" />
Summary:
Please note that all contributions to Niidae Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Encyclopedia:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Search
Search
Editing
Propositional calculus
(section)
Add topic