Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Predicate vs Functions in First order logic

I have been so confused lately regarding difference between predicate and function in first order logic.

My understanding so far is,

Predicate is to show a comparison or showing a relation between two objects such as,

President(Obama, America) 

Functions are to specify what a particular object is such as,

Human(Obama) 

Now am I heading on right track to differentiate these two terms or I am completely wrong and need a brief explanation, I would like to have opinion from expert to clarify my knowledge(or approve my understanding). Thanks in advance

Krio

like image 629
TeaCupApp Avatar asked Jun 14 '11 00:06

TeaCupApp


People also ask

What is the difference between a function and a predicate?

A Predicate is just a function that takes an object of some type and returns a boolean. A Function is a generalization which can return any type, not just Boolean 's. There may be implementation details within Java itself that make them distinct, but they should be the same in theory.

What is the difference between first-order logic and predicate logic?

First-order logic is symbolized reasoning in which each sentence, or statement, is broken down into a subject and a predicate. The predicate modifies or defines the properties of the subject. In first-order logic, a predicate can only refer to a single subject.

What are functions in first-order logic?

First-Order Logic speaks about objects, which are the domain of discourse or the universe. First-Order Logic is also concerned about Properties of these objects (called Predicates), and the Names of these objects. Also we have Functions of objects and Relations over objects.

What is predicate in first-order logic?

First-order logic is also known as Predicate logic or First-order predicate logic. First-order logic is a powerful language that develops information about the objects in a more easy way and can also express the relationship between those objects.


1 Answers

A predicate is a function that returns true or false.

like image 110
Adam Avatar answered Sep 17 '22 22:09

Adam