This is an old revision of this page, as edited by DavidWBrooks (talk | contribs) at 13:06, 30 September 2007 (link to WFF N PROOF game). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
Revision as of 13:06, 30 September 2007 by DavidWBrooks (talk | contribs) (link to WFF N PROOF game)(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff) 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 is a WFF with respect to a given formal grammar is equivalent to saying that belongs to the language generated by , i.e. .
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 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> | <wff> | (<wff><wff>) | (<wff><wff>) | (<wff><wff>) | (<wff><wff>)
The sequence of symbols
- (((p q) (r s)) (q s))
is a WFF because it is grammatically correct. The sequence of symbols
- ((p q)(qq))p))
is not a WFF, because it does not conform to the grammar of .
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
- 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) - More technically, propositional logic using the Fitch-style calculus.
See also
External links
- Well-Formed Formula for First Order Predicate Logic - includes a short Java quiz.
- Well-Formed Formula at ProvenMath
- WFF N PROOF game site