language-icon Old Web
English
Sign In

Truth function

In logic, a truth function is a function that accepts truth values as input and produces a truth value as output, i.e., the input and output are all truth values. The typical example is in propositional logic, wherein a compound statement is constructed by one or two statements connected by a logical connective; if the truth value of the compound statement is determined by the truth value(s) of the constituent statement(s), the compound statement is called a truth function, and the logical connective is said to be truth functional. In logic, a truth function is a function that accepts truth values as input and produces a truth value as output, i.e., the input and output are all truth values. The typical example is in propositional logic, wherein a compound statement is constructed by one or two statements connected by a logical connective; if the truth value of the compound statement is determined by the truth value(s) of the constituent statement(s), the compound statement is called a truth function, and the logical connective is said to be truth functional. Classical propositional logic is a truth-functional propositional logic, in that every statement has exactly one truth value which is either true or false, and every logical connective is truth functional (with a correspondent truth table), thus every compound statement is a truth function. On the contrary, modal logic is non-truth-functional. A logical connective is truth-functional if the truth-value of a compound sentence is a function of the truth-value of its sub-sentences. A class of connectives is truth-functional if each of its members is. For example, the connective 'and' is truth-functional since a sentence like 'Apples are fruits and carrots are vegetables' is true if, and only if each of its sub-sentences 'apples are fruits' and 'carrots are vegetables' is true, and it is false otherwise. Some connectives of a natural language, such as English, are not truth-functional. Connectives of the form 'x believes that ...' are typical examples of connectives that are not truth-functional. If e.g. Mary mistakenly believes that Al Gore was President of the USA on April 20, 2000, but she does not believe that the moon is made of green cheese, then the sentence

[ "Fuzzy logic", "Truth value", "Propositional calculus", "Logic alphabet" ]
Parent Topic
Child Topic
    No Parent Topic