Misplaced Pages

Well-formed formula: Difference between revisions

Article snapshot taken from Wikipedia with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.
Browse history interactively← Previous editNext edit →Content deleted Content addedVisualWikitext
Revision as of 11:53, 30 September 2007 editDessources (talk | contribs)Extended confirmed users1,277 edits Added clarification in definition← Previous edit Revision as of 13:06, 30 September 2007 edit undoDavidWBrooks (talk | contribs)Administrators41,030 edits link to WFF N PROOF gameNext edit →
Line 23: Line 23:


==Trivia== ==Trivia==
''WFF'' is the basis for an esoteric pun used in the name of a game product: "WFF 'N PROOF: The Game of Modern Logic," by Layman Allen<ref>{{cite news | first=Rachel | last=Ehrenberg | coauthors= | title=He's Positively Logical | date=Spring 2002 | publisher=University of Michigan | url=http://www.umich.edu/~newsinfo/MT/02/Spr02/mt9s02.html | work=Michigan Today | pages= | accessdate=2007-08-19 | language = }}</ref>, developed while he was at ] (he was later a professor at the ]). The suite of games is designed to teach the principles of symbolic logic to children (in ])<ref>More technically, ] using the ].</ref>. Its name is an accepted pun on '']'',{{Fact|date=September 2007}} a nonsense word used as a ] at ] made popular in ''The Whiffenpoof Song'' and ]. ''WFF'' is part of an esoteric pun used in the name of "WFF 'N PROOF: The Game of Modern Logic," by Layman Allen<ref>{{cite news | first=Rachel | last=Ehrenberg | coauthors= | title=He's Positively Logical | date=Spring 2002 | publisher=University of Michigan | url=http://www.umich.edu/~newsinfo/MT/02/Spr02/mt9s02.html | work=Michigan Today | pages= | accessdate=2007-08-19 | language = }}</ref>, developed while he was at ] (he was later a professor at the ]). The suite of games is designed to teach the principles of symbolic logic to children (in ])<ref>More technically, ] using the ].</ref>. Its name is a pun on '']'',{{Fact|date=September 2007}} a nonsense word used as a ] at ] made popular in ''The Whiffenpoof Song'' and ].


==Notes== ==Notes==
Line 35: Line 35:
* - includes a short ] quiz. * - includes a short ] quiz.
* *
*


{{portalpar|Logic}} {{portalpar|Logic}}

Revision as of 13:06, 30 September 2007

For the New Zealand government policy, see Working for Families.

In logic, WFF (pronounced "wiff") is an abbreviation for well-formed formula. Given a formal grammar, a WFF is any string that is generated by that grammar. To say that a string S {\displaystyle S} is a WFF with respect to a given formal grammar G {\displaystyle G} is equivalent to saying that S {\displaystyle S} belongs to the language generated by G {\displaystyle G} , i.e. S L ( G ) {\displaystyle S\in {\boldsymbol {L}}(G)} .

In formal logic, proofs are sequences of WFFs with certain properties, and the final WFF in the sequence is what is proven.

Example

The well-formed formulae of the propositional calculus L {\displaystyle {\mathcal {L}}} are defined by the following formal grammar, written in BNF:

<alpha set> ::= p | q | r | s | t | u | ... (arbitrary finite set of propositional variables)
<wff> ::= <alpha set> | ¬ {\displaystyle \neg } <wff> | (<wff> {\displaystyle \wedge } <wff>) | (<wff> {\displaystyle \vee } <wff>) | (<wff> {\displaystyle \rightarrow } <wff>) | (<wff> {\displaystyle \leftrightarrow } <wff>)

The sequence of symbols

(((p {\displaystyle \rightarrow } q) {\displaystyle \wedge } (r {\displaystyle \rightarrow } s)) {\displaystyle \wedge } ( ¬ {\displaystyle \neg } q {\displaystyle \vee } ¬ {\displaystyle \neg } s))

is a WFF because it is grammatically correct. The sequence of symbols

((p {\displaystyle \rightarrow } q) {\displaystyle \rightarrow } (qq))p))

is not a WFF, because it does not conform to the grammar of L {\displaystyle {\mathcal {L}}} .

Trivia

WFF is part of an esoteric pun used in the name of "WFF 'N PROOF: The Game of Modern Logic," by Layman Allen, developed while he was at Yale Law School (he was later a professor at the University of Michigan). The suite of games is designed to teach the principles of symbolic logic to children (in Polish notation). Its name is a pun on whiffenpoof, a nonsense word used as a cheer at Yale University made popular in The Whiffenpoof Song and The Whiffenpoofs.

Notes

  1. Ehrenberg, Rachel (Spring 2002). "He's Positively Logical". Michigan Today. University of Michigan. Retrieved 2007-08-19. {{cite news}}: Cite has empty unknown parameter: |coauthors= (help)
  2. More technically, propositional logic using the Fitch-style calculus.

See also

External links

Category: