What is flip

Assignment Help Mathematics
Reference no: EM132136441

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.

Reference no: EM132136441

Questions Cloud

Promote a habit of reviewing business related articles : The goal of this assignment is to promote a habit of reviewing business related articles to foster awareness of current trends and topics facing businesses.
List what might be done to provide fault tolerance : Search for information on system and equipment failure on your favorite search engine. List what might be done to provide fault tolerance for a single system.
Prepare a business plan with financial projections : Prepare a business plan for a joint venture between physician groups and a healthcare system to provide outpatient services.
Establish a sample hardware asset list for the company : You are part of a disaster recovery team charged with completing the asset inventory at a small business that primarily sells a small selection of products.
What is flip : Show using the laws of Boolean Algebra, that R is an equivalence relation - compute from the formula given in lectures, however this can often
Identify how you plan to stay on track : You have been selected to be the project manager (for a project of your choice). The project that you decide to use should meet all the key criteria.
Research a legal system of a foreign country : LAWS20058 - AUSTRALIAN COMMERCIAL LAW ASSESSMENT - Research a legal system of a foreign country and explain what penalties can be imposed by a court
Review offsite versus on site in detail : Your organization has approximately IOTB of data, and you need to decide if your organization should have on-site or offsite tape storage.
Develop an outline of the project plan for the testing : As part of the disaster recovery planning at a medium-sized business you have been asked to develop a project plan to test the backups of production systems.

Reviews

urv2136441

11/23/2018 12:57:28 AM

love it. keep going. It was on time and completed, I am very happy with that. I would prefer your service again. definitely gonna using service in future. thanks you so much guys.

len2136441

10/9/2018 11:58:15 PM

In your assignment, how you arrived at your solution is as important (if not more so) than the solution itself and will be assessed accordingly. There may be more than one way to find a solution, and your approach should contain enough detail to justify its correctness. Lecture content can be assumed to be common knowledge.

Write a Review

Mathematics Questions & Answers

  The alternative is that subject has esp and can guess at

an esp experiment is done in which a participant guesses which of 8 cards the researcher has randomly picked where each

  Find the area of the region that is bounded

find the area of the region that is bounded by the given curve and lies in the specified vector.

  Which sum is an overestimate

On a sketch of y = ln x, represent the left Riemann sum with n = 2 approximating, Write out the terms in the sum, but do not evaluate it.

  In row of six houses each house is different color the

in a row of six houses each house is a different color. the house colors are blue purple red white green and yellow.

  What kinds of things are these percentages describing

What kinds of things are these percentages describing? How are percentages helpful in understanding what you are dealing with?

  What proportion of light bulbs

Suppose that the lifetimes of light bulbs are approximately normally distributed, with a mean of 56 hours and a standard deviation of 3.3 hours. With this information, answer the following questions. (a) What proportion of light bulbs will last mo..

  A ull z table in doc sharing

Use the following z table portion to assist you with answering the Discussion topics. There is a full z table in Doc Sharing. Different university departments use different tests to compare student performance and to determine graduate admission stat..

  Complete a depreciation schedule for the vineyard

Find the depreciation for the 14th year of a property that cost $83,500 and is placed in service as a 15-year property under the MACRS method of depreciation.

  Basic probability problems

Basic probability problems

  By which percentage will increase y

Which percentage will increase y with respect to the value y had when x = 13.4 -

  Finally caught the infamous con artist

If you can verify that sin (x) 1 + cos (x) is in fact his cover up identity, then you will have finally caught the infamous con artist.

  Vertices of a tree

A tree has 11 vertices of degree 3, 12 vertices of degree 2, 10 vertices of degree 4 and the remaining vertices are of degree 1. How many vertices does it have?

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