truthfunction

noun
UK /ˈtruːθˌfʌŋkʃən/
US /ˈtruːθˌfʌŋkʃən/

A truth function is a rule that gives a true or false answer based on whether its inputs are true or false.

In logic class, we learned that negation is a simple truth function that flips true to false.


OTHER MEANINGS

2. In computing, a function that returns only true or false.

The program uses a truth function to check if the password is correct.

3. A mathematical mapping from truth values to truth values.

The truth function AND outputs true only when both inputs are true.

4. A statement whose truth depends entirely on the truth of its parts.

Philosophers debated whether every sentence is a truth function of simpler claims.