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

  Current ratio-quick ratio-working capital

As of December 31, 2010, Walton Corporation had a current ratio of 1.84, quick ratio of 1.45, and working capital of $18,000. The company uses a perpetual inventory system and sells merchandise for more than it cost.

  Te process is stopped and machine is readjusted find the

brooklyn corporation manufactures cds. the machine that is used to make these cds is known to produce 6 defective cds.

  Find the dimensions that minimize the size of the page

A printed page is to contain 56 square inches and have a 3/4 -inch margin at the bottom and 1-inch margins at the top and on both sides.

  What is the sum of the maximum size of an independent set

What is the sum of the maximum size of an independent set and the minimum size of a vertex cover in a graph G? Hint: it is useful to think both about the independent set and its complement (relative to the vertex set).

  What is an expression for the spending money you have left

What is an expression for the spending money you have left after depositing 2/5 of your wages in savings? Evaluate the expression for weekly wages of $40, $50, $75, and $100.

  How high is the top of the bend

A railroad track 1000.00 ft long expands 0.20 ft (2.4 in.) during the afternoon (due to an increase in temperature of about ).

  Define the floor and ceiling functions

Define the floor and ceiling functions from the set of real numbers to the set of integers.

  Finance charge on the credit card account

Use the unpaid balance method to find the finance charge on the credit card account The last month's balance and any other other transactions are given. Round to two decimal places. Last month's balance $505; payment, $204; interest rate ,17%; bro..

  Describe an algorithm for constructing a binary search tree

Form a binary search tree for the words vireo, warbler, egret, grosbeak, nuthatch, and kingfisher.

  Write answer in its simplest form or as a decimal

Write answer in its simplest form or as a decimal rounded to the nearest thousandth. (If necessary, separate your answers with commas.)

  What is the price range of houses they should consider

If local mortgage rates are 7.5%/year compounded monthly for a conventional 30-yr mortgage, what is the price range of houses they should consider?

  How large a surface area in units of square feet

How large a surface area in units of square feet will one gallon of paint cover if we apply a coat that is .1 millimeter thick?

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