<?xml version="1.0" encoding="UTF-8"?>

<record version="3" id="483">
 <title>truth function</title>
 <name>TruthFunction</name>
 <created>2001-10-24 19:25:52</created>
 <modified>2005-02-28 09:43:00</modified>
 <type>Definition</type>
 <creator id="2" name="akrowne"/>
 <author id="2" name="akrowne"/>
 <classification>
	<category scheme="msc" code="03B05"/>
 </classification>
 <preamble>\usepackage{amssymb}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{graphicx}
\usepackage{xypic}</preamble>
 <content>A \emph{truth function} is a function that returns one of two values, one of which is interpreted as ``true,'' and the other which is interpreted as ``false''.  Typically either ``T'' and ``F'' are used, or ``1'' and ``0'', respectively.  Using the latter, we can write $$f : \{0,1\}^n \rightarrow \{0,1\}$$
defines a truth function $f$. That is, $f$ is a mapping from any number ($n$) of true/false (0 or 1) values to a single value, which is 0 or 1.</content>
</record>
