Denote the set of well-formed propositional formulas

Assignment Help Other Subject
Reference no: EM132141507

Assignment -

Question 1. Let (T, ∧, ∨,', 0, 1) be a Boolean Algebra.

Define ∗ : T × T → T and o : T × T → T as follows:

x ∗ y := (x ∨ y)' x o y := (x ∧ y)'

(a) Show, using the laws of Boolean Algebra, how to define x ∗ y using only x, y, o and parentheses.

(b) Show, using the laws of Boolean Algebra, how to define x o y using only x, y, ∗ and parentheses.

Define R ⊆ T × T as follows: (x, y) ∈ R if, and only if, (x ∧ y) ∨ (x' ∧ y') = 1

(c) Show, using the laws of Boolean Algebra, that R is an equivalence relation. Hint: You may want to use the observation that if A = B = 1 then A ∧ B ∧ C = A ∧ B implies C = 1 (why?)

Question 2. Let P F denote the set of well-formed propositional formulas made up of propositional variables, T, ⊥, and the connectives ¬, ∧, and ∨. Recall from Quiz 7 the definitions of dual and flip as functions from PF to PF:

  • dual(p) = p
  • flip(p) = ¬p
  • dual(T) = ⊥; dual(⊥) = T
  • flip(T) = T; flip(⊥) = ⊥
  • dual(¬φ) = ¬dual(φ)
  • flip(¬φ) = ¬flip(φ)
  • dual(φ ∧ ψ) = dual(φ) ∨ dual(ψ)
  • flip(φ ∧ ψ) = flip(φ) ∧ flip(ψ)
  • dual(φ ∨ ψ) = dual(φ) ∧ dual(ψ)
  • flip(φ ∨ ψ) = flip(φ) ∨ flip(ψ)

 (a) For the formula φ = p ∨ (q ∧ ¬r):

(i) What is dual(φ)?

(ii) What is flip(φ)?

(b) Prove that for all φ ∈ PF: flip(φ) is logically equivalent to ¬dual(φ).

Question 3. Let P(n) be the proposition that: for all k, with 1 ≤ k ≤ n,

1743_figure.png

(a) Prove that P(n) holds for all n ≥ 1. (Note: it is possible to do this without using induction)

We can compute 1858_figure2.pngfrom the formula given in lectures, however this can often require computing unnecessarily large numbers. For example,1543_figure3.png= 253338471349988640 which can be expressed as a 64-bit integer, but 100! is larger than a 512-bit integer. We can, however, make use of the equation above to compute 1858_figure2.pngmore efficiently. Here are two algorithms for doing this:

613_figure4.png

Let trec(n, k) be the running time for chooseRec(n, k), and let titer(n) be the running time for chooseIter(n, k). Let Trec(n) = max0≤k≤n trec(n, k) and Titer(n) = max0≤k≤n titer(n, k) (so Trec(n) ≥ trec(n, k) for all k, and likewise for Titer(n)).

(b) Give an asymptotic upper bound for Trec(n). Justify your answer.

(c) Give an asymptotic upper bound for Titer(n). Justify your answer.

Verified Expert

In example 1 we had the equivalence relation of R defined in problem for given Boolean function. We also find the relation between two different Boolean functions as in problem.In example 2 we got the properties of flip and dual operators in mathematical logic.We also derived the study for dual and flip here. In example 3 we proved the equality between two combinatorial expressions, it is known as pascal’s triangle in form of combinatorics. We also had the study of asymptotic analysis on algorithm to calculate the pascal’s triangle for big number. We derived asymptotic upper bound for running time of given combinatorial algorithm.

Reference no: EM132141507

Questions Cloud

What is jalisco corporation diluted eps for the year ended : The exercise price of the options was $20 while the average market price for the shares was $25. What is Jalisco corporation's diluted EPS for the year ended
Discuss common barriers to substance abuse treatment : Discuss the power differential among the groups noted in this chapter and the influence of societal perceptions and actions that have limited.
What is the effective annual rate of this loan : You are considering a car loan with a stated APR of 6% based on monthly compounding. What is the effective annual rate of this loan?
Describe two things within the organization that should : Describe two things within the organization that should change and how you would to about implementing it.
Denote the set of well-formed propositional formulas : Show using the laws of Boolean Algebra, that R is an equivalence relation - definitions of dual and flip as functions from PF to PF
Distinguish between controllable and uncontrollable factors : The authors distinguish between controllable and uncontrollable factors that influence the demand for a product
Develop a crm program for your chosen business : Customer Relationship Management (CRM) is defined as a "company-wide business strategy designed to optimize profitability.
Discussing the importance of collaboration : In class we were discussing the importance of collaboration within a group structure. Can you help explain this concept to me.
Identify the moral or ethical issues : MGT 552 : Identify the moral or ethical issues. Evaluate the arguments for each option using an ethical framework/lens.

Reviews

urv2141507

11/21/2018 10:27:43 PM

The Expert is able to complete my requirement in such a short time and the quality of the assignment is definitely surpass what i expected. Thanks. This was a nice work. Though i thought that I wont get it in the mentioned time limit but I was wrong here, I got it even 1 hour before in this short deadline as well. I am very glad to have such expert here.

urv2141507

11/21/2018 10:26:53 PM

Be careful with giving multiple or alternative answers. If you give multiple answers, then we will give you marks only for ”your worst answer”, as this indicates how well you understood the question. • Some of the questions are very easy (with the help of the lecture notes or book). You can use the material presented in the lecture or book (without proving it). You do not need to write more than necessary (see comment above). • When giving answers to questions, we always would like you to prove/exp- lain/motivate your answers. • If you use further resources (books, scientific papers, the internet,...) to formulate your answers, then add references to your sources.

urv2141507

11/21/2018 10:26:37 PM

Advice on how to do the assignment All submitted work must be done individually without consulting someone else’s solutions in accordance with the University’s “Academic Dishonesty and Pla- giarism” policies. • Assignments are to be submitted via WebCMS (or give) as a single pdf (max size 2Mb). In Linux, the following command pdfjoin --outfile output.pdf input1.pdf input2.pdf ... can be used to combine multiple pdf files. The command convert -density 150x150 -compress jpeg input.pdf output.pdf can be used to reduce the filesize of a pdf (change 150 to reduce/improve quality/filesize). Please ensure your files are legible before submitting.

Write a Review

Other Subject Questions & Answers

  Cross-cultural opportunities and conflicts in canada

Short Paper on Cross-cultural Opportunities and Conflicts in Canada.

  Sociology theory questions

Sociology are very fundamental in nature. Role strain and role constraint speak about the duties and responsibilities of the roles of people in society or in a group. A short theory about Darwin and Moths is also answered.

  A book review on unfaithful angels

This review will help the reader understand the social work profession through different concepts giving the glimpse of why the social work profession might have drifted away from its original purpose of serving the poor.

  Disorder paper: schizophrenia

Schizophrenia does not really have just one single cause. It is a possibility that this disorder could be inherited but not all doctors are sure.

  Individual assignment: two models handout and rubric

Individual Assignment : Two Models Handout and Rubric,    This paper will allow you to understand and evaluate two vastly different organizational models and to effectively communicate their differences.

  Developing strategic intent for toyota

The following report includes the description about the organization, its strategies, industry analysis in which it operates and its position in the industry.

  Gasoline powered passenger vehicles

In this study, we examine how gasoline price volatility and income of the consumers impacts consumer's demand for gasoline.

  An aspect of poverty in canada

Economics thesis undergrad 4th year paper to write. it should be about 22 pages in length, literature review, economic analysis and then data or cost benefit analysis.

  Ngn customer satisfaction qos indicator for 3g services

The paper aims to highlight the global trends in countries and regions where 3G has already been introduced and propose an implementation plan to the telecom operators of developing countries.

  Prepare a power point presentation

Prepare the power point presentation for the case: Santa Fe Independent School District

  Information literacy is important in this environment

Information literacy is critically important in this contemporary environment

  Associative property of multiplication

Write a definition for associative property of multiplication.

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