Predicate Logic : Introduction

From bitrary
Jump to: navigation, search

General Idea

There are functions of N variables that return a boolean values. The types of the variables can differ. The functions are called predicates.

An example:


As the predicates are functions that return boolean values, they can be combined with each-other by the means of propositional logic. An example:

Eats(the_one_who_digests,food_item) AND GoesToHell(politician)

A function that is constructed by combining predicates by the means of propositional logic is itself a predicate, because it takes in N variables and always returns a boolean value. An example:

:=Eats(the_one_who_digests,food_item) AND GoesToHell(politician)