Example of variables and quantifiers - first-order logic, Computer Engineering

Assignment Help:

Example of Variables and quantifiers:

We should have started with something such
2207_Example of Variables and quantifiers.png

which reflects the fact that we're really talking for some meal at the Red Lion, nevertheless than a particular one. Moreover, this isn't relatively specific enough. Actually we use to tell the reader of our translated sentence something more for our beliefs concerning the variable X. Such in this case, we require to tell the reader that we believe there exists like an X. So then there is a specific symbol in predicate logic which we use for this purpose, calling the 'exists symbol'. And this is written in also: . In fact we put it around our pair of predicates, whenever we get a fully formed sentence in first-order logic:

As above we seen this is read as "there is something calling X, here X is a meal and X costs three pounds at the Red Lion".
For now if we want to say that all meals at the Red Lion cost three pounds. So than in this such case, we use to different symbol, that we call the 'forall' symbol. According to that this states that the predicates concerning the variable to that the symbol applies are true to all possible instances of variable. Nevertheless, what would come to pass if we replaced the exists symbol more than by our new forall symbol?? We would catch this:

2207_Example of Variables and quantifiers.png

If is this actually that we wanted to already say? Aren't we saying something on the subject of all meals in the universe? So well, in reality we're saying something about every item in the Universe: the whole lot is a meal which you can buy from the Red Lion. Just for three pounds! What we in actuality wanted to say should have been expressed more such of represent as this:

1247_Example of Variables and quantifiers1.png

Well this is read as: for all objects or items X, if X is a meal, so it costs three pounds in the Red Lion. If we're still not there than though. Exactly this implies that every meal can be brought at the Red Lion. There is possibly we should throw in another predicate: serves like Pub, Meal that states such as Pub serves the Meal. Now what we wanted to say we can finally write:

303_Example of Variables and quantifiers2.png

This can be read as: for all objects X, if X is a meal and X is served in the Red Lion, then X costs three pounds.


Related Discussions:- Example of variables and quantifiers - first-order logic

What is home shopping, Home Shopping TV broadcast of goods for purchase...

Home Shopping TV broadcast of goods for purchase, sent directly to a viewer . This online shopping is available because of e-commerce.

Disadvantages of edi(electronic data interchange), Disadvantages  1.  T...

Disadvantages  1.  The X12 standard is so large and general  2.  EDI communications negotiate a technical agreement to explain exactly what subset of EDI they will use

Explain difference between scanning and parsing, Explain difference between...

Explain difference between Scanning and parsing. Scanning and parsing: Scanning process is the process of recognizing the lexical components in a source string whereas parsin

What are the major components of a web browser, What are the major componen...

What are the major components of a web browser? A browser contains a set of clients, a controller and a set of interpreters which manages them. All browsers must have an HTML

Describe program control instructions, Q. Describe Program Control Instruct...

Q. Describe Program Control Instructions? These instructions specify conditions for altering the sequence of program execution or we can say in other words that the content of

Explain naming convention constants, Explanation Constants are "variable...

Explanation Constants are "variables" that cannot be changed within a function- or script-body. The value will always be the similar during script-implementation. Syntax "AX

Define linear probing with respect to hashing technique, Define Linear Pro...

Define Linear Probing Linear Probing:  The easiest way to resolve a collision is to begin with the hash address and do a sequential search by the table for an empty location.

What is gimp?, The GNU Image Manipulation Program, or GIMP, is a raster gra...

The GNU Image Manipulation Program, or GIMP, is a raster graphics editor application with some support for vector graphics. GIMP is used to process digital graphics & photographs.

What is input - output commands, Q. What is Input - Output commands? Th...

Q. What is Input - Output commands? There are four kinds of I/O commands which an I/O interface can receive when it's addressed by a processor: Control : This type of c

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd