Jump to content

User:Wvbailey/Predicate logic

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Wvbailey (talk | contribs) at 22:59, 19 November 2007 (Purpose of predicate logic). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Purpose of predicate logic

Some sentences cannot be analyzed effectively with the propositional calculus. The deduction from two premises to conclusion called modus ponens requires a first premise (assertion) of the form " IF...THEN..." and a second statement of existence of an specific object of discourse, such as in the following:

Example: "IF pig #34 has wings THEN it is blue. (Lo and behold!) pig #34 has wings! THEREFORE pig #34 is blue".

The following sentence on the other hand has no IF... THEN structure and only a single premise. And yet we know that its reasoning yields a truth-value of TRUTH:

Example: "All blue pigs have wings. blue pig #34 has wings."

Predicate logic allows us to study the

The predicate logic is part (simple-)sentence deconstruction and reduction to function-variable format, part algebra, and part evaluation. Its purpose is to analyze given the truth values of their component parts, certain types of sentences down to their overall truth-value evaluation (ie. TRUTH and FALSITY). The outcome of predicate logic will be a formula, and then a truth-evaluation of that formula, that can be inserted into a propositional formula.

Thus predicate logic is an extension of the propositional logic (calculus), and as such the propositional logic becomes a component of the predicate calculus. For example, to the propositional calculus the predicate calculus adds four new axioms that use a new symbol ∀, a new symbol string " P(x) " that represents PREDICATE(variable), and expands the definition of a well-formed formula.

Predicate versus propostional logic

Both logics are carried out with rules (sometimes called "laws") that operate on strings of discrete, distinguishable, and with the exception of the variables, finite symbols. In a fully axiomitized calculus these strings have no meanings whatsoever -- they are manipulated by formal rules (e.g. a Turing machine, a mathematician blindly following the rules). In the informal logic the symbols have distinct meanings.

An analysis of a compound sentence (or strings of sentences) begins with the broad disassembly of the propositional logic and then continues deeper into individual sentences with the predicate logic. As the predicate logic resides "inside" the broader structure of the propositional logic, for each sentence that it evaluates the predicate logic must return {TRUE, FALSE} if it to be compatible with the propositional logic.

Propositional logic

Propositional logic decomposes compound sentences (and strings of sentences) into simple sentences that are linked by the propositional connectives typically symbols & (AND), V (OR), ~(NOT), → (LOGICAL IMPLICATION), ≡ (LOGICAL EQUIVALENCE alternately ↔), and parentheses (, ). These and an unbounded set of variable symbols (e.g. a, b, c, ..., x, y, z, ... ) constitute the entire symbol set of the propositional calculus (or logic). Each unique simple sentence is assigned a new variable that is "global" with respect to the sentence -- the sentence is not further broken down. Then formulas are created by linking the variables by use of the propositional connectives together with parenthesis formation-rule. The resulting symbol string can then be manipulated by an algebra of the propositional logic. But for the logic to be useful the final stage is one of evaluation -- to each variable the assignment of "truth" or "falsity" ( {T, F}, {1, 0} ) and then a "calculation" of the truth value of the formula for that particular set of truth-value assignments. A typical analysis will use a truth table to evaluate all 2n possible combinations of truth-value assignments. Is the following good reasoning (NO, it is not good reasoning):

"We are searching for a winged pig. We know from previous experience that if a pig is blue it will have wings. Ergo: we will search for blue pigs."

The analysis tears the compound sentences down into the simplest sentences possible that can still express the content of the sentence (this analysis takes practice):

IF 'pig has wings' AND "IF 'pig is blue' THEN 'pig has wings' THEN 'Pig is blue' "

Assign variables to the simple sentences. In the example the symbol => is still implication → but the sentence form is called modus ponens or deduction from two premises.

  • 'pig has wings' ≡ w
  • 'pig is blue' ≡ b
(IF ( w AND (IF b THEN w)) THEN b) ≡ (w & (b → w)) => b)

If the above were "good reasoning" the yellow column under "arg" would be all TRUTHs for all four combinations of truth-value assignment of "b" and "w". But the reasoning is flawed: the red "F" indicates that quite possibly we will encounter winged pigs that are not blue; if we go winged-pig hunting we'd better open our search to pigs of other colors.

arg
w b ( ( w & ( b -> w ) ) => b )
F F F F F T F T F
F T F F T F F T T
T F T T F T T F F
T T T T T T T T T

===Predicate logic===:

= One variable relations

Predicate logic extends the analysis to the inside of propositions (i.e. sentences0. In the simplest analysis, the logic breaks a simple sentence into two parts: the subject i.e. the object or objects of discussion (assertion, description), and the predicate, at minimum a verb and more likely a verb-clause that expresses a quality or attribute of the subject "has wings":

"pigs have wings" becomes "___ have wings"


Attempts are made to express the verb as "is" or "was", i.e. This structural form is called a sentence-skeleton [1]. One author (Reichenbach) makes a distinction about the form.

Here ___ indicates an empty slot for a particular pig under discussion to be considered in relation to the notion "have wings". The notion of "have wings" is now generalized to a template or notion of "wingedness", that is, the collection templates that define all "winged things": { airplane, bird, bat, pterodactyl, flying_insect, unicorn, winged_pig }. More than likely these templates are the names of collections with further templates: set of birds: { chicken, turkey, goldfinch, chickadee, robin, etc }.

Multi-variable relations

A slightly more complex case is the one of relationship between two objects with the skeleton-structure " ____ RELATION ____ ".

Examples: "Pig #34's wings are longer than pig #52's wings". "The number '5' is greater than the number '3'." "Ann is the aunt of Nathan."

Generalization to the infinite

The sentence All blue pigs have wings, when expressed about a pen of pigs containing those with wings and withou


Footnotes

  1. ^ Reichenbach? Kleene

References