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 are the types of assemblies, There are two types of assemblies:- 1...

There are two types of assemblies:- 1. Private Assemblies 2. Shared Assemblies

Explain the term granularity, Granularity In 'Parallel computing', Gran...

Granularity In 'Parallel computing', Granularity can be defined as a qualitative assess of the ratio of computation to communication. 1) Coarse Granularity - relatively hug

Translation look aside buffer - computer architecture, Translation Look asi...

Translation Look aside Buffer :    A TLB is a cache that holds only page table mapping If there is no matching entry in the TLB for a page ,the page table have to

Essential features of an algorithm, Necessary features of an algorithm: ...

Necessary features of an algorithm: 1.Input: The algorithm should take zero or more input. 2. Output: The algorithm should generate one or more outputs.  3. Definiteness:

Define the information system, Define the Information System Growi...

Define the Information System Growing sophistication in products and markets is driving the organisational requirement for increasing amounts of information. This req

Which one state is not a fundamental process state, Which one state is not ...

Which one state is not a fundamental process state? Ans. Blocked state is not a fundamental process state.

Computer science, Read in integers until a zero is read in. Keep a total o...

Read in integers until a zero is read in. Keep a total of both the quantity and the sum of the negative integers and the positive integers. Once a zero is read in (signifying the

How putchar function is used within a c program, How putchar function is us...

How putchar function is used within a C Program ? The following program reads each character in the first line of input entered at the terminal's keyboard. It uses putchar to d

Explain register indirect addressing, Q. Explain Register Indirect Addressi...

Q. Explain Register Indirect Addressing? In this addressing technique the operand is data in memory pointed to by a register. Or we can say in other words that the operand fie

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