Explain what it means in terms of natural numbers

Assignment Help Theory of Computation
Reference no: EM132979928

Challenge

The notation we use for first-order predicate logic includes function symbols. This allows a very simple representation of the natural numbers. Namely, for natural numbers, we use terms built from a constant symbol (here we choose a, but any other symbol would do) and a function symbol of arity 1 (we will use s, for "successor"). The idea is that 0 is represented by a, 1 by s(a), 2 by s(s(a)), and so on. In general, s(x) represents the successor of x, that is, x+ 1. Logicians prefer this "successor" notation, because it uses so few symbols and supports recursive definition-a natural number is either ‘a' (the base case), or it is of the form ‘s(. . .)', where . . . is a term representing a natural number. (Of course, for practical use, we prefer the positional decimal system.)

With successor notation, we can capture the usual "less than or equal" ordering of N (the set of natural numbers) with these two axioms, where L(x, y) stands for x ≤ y:

∀y(L(a, y))

∀x∀y(L(x, y) ⇒ L(s(x), s(y)))

(1) says that 0 is smaller than or equal to any natural number, and (2) says that if x ≤ y then x + 1 ≤ y + 1. Similarly, we can capture addition by introducing a predicate symbol for the addition relation, letting P (x, y, z) stand for x + y = z:

∀y(P (a, y, y))
∀x∀y∀z(P (x, y, z) ⇒ P (s(x), y, s(z)))

Turning the conjunction of (1)-(4) into clausal form, we end up with this set of clauses:

{{L(s(v1), s(v2)), ¬L(v1, v2)}, {L(a, v3)}, {P (s(v4), v5, s(v6)), ¬P (v4, v5, v6)}, {P (a, v7, v7)}}

Task A. Use resolution to show that

∃x∃y(L(s(a), x) ∧ P (y, y, x)) (5)

is a logical consequence of the axioms (1)-(4).

Task B. Your resolution proof will not only establish the truth of (5). The resolution proof provides a sequence of most general unifiers, one per resolution step, and when these are composed, in the order they were generated, you have a substitution that solves the constraint 1 ≤ x∧y+y = x. Give that substitution and explain what it means in terms of natural numbers.

Reference no: EM132979928

Questions Cloud

Impact of human resources management activities : Critically discuss the impact of Human Resources Management activities on the Organisational Performance. The Candidate must justify how the chosen organization
What would be the reduction in singer equity : Singer Corporation owned 900,000 shares of Writer Corporation. What would be the reduction in Singer's equity as a result of the above transactions
Calculate the price of a three-month call option : Calculate the price of a 3-month call option on the Company stock with strike price equal to K22. Calculate the forward price for delivery in 9 months
What was the net profit on this option to the speculator : The spot rate at expiration was $0.48. Assume there are 62,500 units in a Swiss franc option. What was the net profit on this option to the speculator
Explain what it means in terms of natural numbers : Provides a sequence of most general unifiers, one per resolution step, and when these are composed, in the order they were generated, you have a substitution
What is the profit or loss : Use the profit formula to determine whether Benjamin's Backpacks makes a profit or loss if it sells 10 backpacks. What is the profit or loss
Determine whether g is valid or not : Determine whether G is valid or not. Either provide a proof that uses resolution to show validity, or else specify an interpretation that makes G false
By how much share premium would increase on February : A corporation was organized in January 2016 with authorized capital of P10 par value ordinary shares. By how much share premium would increase on February
Implement haskell function to encode the logical constraints : Implement a Haskell function to encode the logical constraints implied by an equality logic formula's connectives as a formula in propositional logic

Reviews

Write a Review

Theory of Computation Questions & Answers

  Prove the given proposition using proof contradiction

Prove the given proposition using Proof Contradiction.

  Write down a 2 page research paper excluding the title page

write a 2 page research paper excluding the title page on the turing and von neumann models. compare and contrast each

  Imagine you are a compensation analyst at a large

imagine you are a compensation analyst at a large manufacturing organization. the ceo recently came to your boss the

  Prove or disprove the following proposed inference rules

A proof should be made by using the reflexive, augmentation, transitive, decomposition, union, and pseudotransitive rules.

  Find the definition of cellular automata

Give the definition of cellular automata. Explain their applications. Use the Game of Life as an example.

  Design 64 fft using vhdl step by step

What is FFT? Design 64 FFT using VHDL, step by step.

  Deterministic finite automaton accepting

Prove explicitly that there does not exist any deterministic finite automaton accepting/recognizing L. Solution has to be given without using pumping lemma

  Prove using the pumping lemma and closure properties

Prove using the pumping lemma and closure properties that the languages below are not regular. You can use the game argument provided in class.

  Translate the following english sentences into symbolic

translate the following english sentences into symbolic logic propositions. all variables are quantified over the set

  Finite-state machine design

Create a finite-state machine design to turn your FPGA development board into a simple programmable music box.

  Create a version management system in your machine for code

Create a version management system in your machine for the code of question 5. Present how you use it to manage your code files.

  What are the formal descriptions of the DFAs

CS 5700 Computability, Automata, and Formal Languages Assignment - What are the formal descriptions of the following DFAs

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