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

Logic diagrams for same boolean expression, Q. Logic diagrams for same Bool...

Q. Logic diagrams for same Boolean expression? The expression F can be simplified using Boolean algebra. The logic diagram of simplified expression is drawn in fig (b)

Which work process triggers database changes, Which work process triggers d...

Which work process triggers database changes? Update work process

Eight-stage process - conjunctive normal forms, Eight-stage process - Conju...

Eight-stage process - Conjunctive normal forms: Hence we notice the following eight-stage process converts any sentence with CNF as:  1.  Eliminate all arrow connectives by

Explain an expression tree with a suitable example, What is an expression t...

What is an expression tree? How an expression is evaluated using an expression tree? Algebraic expressions is as given here a/b+(c-d)e That has an inherent tree-like structure

Largest and the second largest number, The largest and the second largest n...

The largest and the second largest number from a set of n distinct numbers can be found in    O (n)

#title.sequential circuit, design modulo 12 up synchronous counter using t ...

design modulo 12 up synchronous counter using t flip flop

Explian two limitations of dead-box analysis, (a) Explian two limitations o...

(a) Explian two limitations of dead-box analysis. (b) Describe why memory analysis is difficult. (c) With reference to the "Shadow Walker" rootkit, explain what is meant by

Define the state and instance of properties of object, Define the state and...

Define the state and instance of properties of object A state encompasses all properties of object along with values of each of these properties. An instance is a concr

What are the differences between struts and units, What are the differences...

What are the differences between struts and units?  A warm up question. Units are static objects that exist from the start of the simulation right up to its end, whereas struts

Object oriented systems analysis and design, Analysis and design form the b...

Analysis and design form the basis on any significant software artifact. Analysis is critical in terms of making sure that the final artifact actually meets user requirements (ie b

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