Revision as of 17:49, 18 July 2007 edit209.215.163.123 (talk) Added link to Woodhull Freedom Foundation & Federation (acronym WFF)← Previous edit | Revision as of 21:13, 19 August 2007 edit undoDessources (talk | contribs)Extended confirmed users1,277 edits →Examples: Reworked the example, including example of formal grammarNext edit → | ||
Line 5: | Line 5: | ||
In formal logic, ]s are sequences of WFFs with certain properties, and the final WFF in the sequence is what is proven. | In formal logic, ]s are sequences of WFFs with certain properties, and the final WFF in the sequence is what is proven. | ||
== |
==Example== | ||
For example, in ] the sequence of symbols | |||
The well-formed formulae of the ] <math>\mathcal{L}</math> are defined by the following formal grammar, written in ]: | |||
:<math>((\alpha\rightarrow\beta)\rightarrow(\neg\beta\rightarrow\neg\alpha))</math> | |||
:<alpha set> ::= p | q | r | s | t | u | ... (a finite set of ]) | |||
:<wff> ::= <alpha set> | <math>\neg</math><wff> | (<wff><math>\wedge</math><wff>) | (<wff><math>\vee</math><wff>) | (<wff><math>\rightarrow</math><wff>) | (<wff><math>\leftrightarrow</math><wff>) | |||
The sequence of symbols | |||
:(((''p'' <math>\rightarrow</math> ''q'') <math>\wedge</math> (''r'' <math>\rightarrow</math> ''s'')) <math>\wedge</math> (<math>\neg</math>''q'' <math>\vee</math> <math>\neg</math>''s'')) | |||
is a WFF because it is grammatically correct. The sequence of symbols | is a WFF because it is grammatically correct. The sequence of symbols | ||
:<math> |
:((''p'' <math>\rightarrow</math> ''q'')<math>\rightarrow</math>(''qq''))''p'')) | ||
is not a WFF, because it does not conform to the grammar of |
is not a WFF, because it does not conform to the grammar of <math>\mathcal{L}</math>. | ||
==Trivia== | ==Trivia== |
Revision as of 21:13, 19 August 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.
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 | ... (a 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 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, 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 an accepted pun on whiffenpoof, a nonsense word used as a cheer at Yale University made popular in The Whiffenpoof Song and The Whiffenpoofs.
Notes
- 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