Extension (predicate logic)
From Wikipedia, the free encyclopedia
For example, the statement "d2 follows the weekday d1" can be seen as a truth function associating to each tuple (d2, d1) the value true or false. The extension of this truth function is, by convention, the set of all such tuples associated with the value true, i.e.
{(Monday, Sunday),
(Tuesday, Monday),
(Wednesday, Tuesday),
(Thursday, Wednesday),
(Friday, Thursday),
(Saturday, Friday),
(Sunday, Saturday)}
By examining this extension, we can conclude that "Tuesday follows the weekday Saturday" (for example) is false.
Using set-builder notation, the extension of the n-ary predicate can be written as