1. Consider a graph G = (V, E), where V = {A, B, C, D, E}. The edge set, E, is to be decided by you, according to criteria given below. The criteria are given in first-order logic, using the following functions and predicates:
• Degree(v): a function giving the degree of vertex v.
• Even(x): a predicate that is true if and only if the number x is even.
• > : a predicate with the usual mathematical greater-than meaning.
i. (2pts) Give a value for the edge set E that minimizes |E| and satisfies this criteria:
ii. (2pts) Give a value for the edge set E that minimizes |E| and satisfies this criteria:
2. Given a function f : A → A (where A is some set), we define a relation Rf over A as
x Rf y if f(x) = y.
i. (2pts) Define a function f : ℕ → ℕ that makes Rf reflexive.
ii. (2pts) Define a function f : ℕ → ℕ that makes Rf symmetric, but neither reflexive nor transitive.
iii. Define a function f : ℕ → ℕ that makes Rf transitive, but neither reflexive nor symmetric.
3. Given a function f : A → B (where A and B are sets), we define a new function popf : ℘(A) → ℘(B) as follows:
Popf (S) = { y ∈ B | ∃x ∈ S. f(x) = y }
Notice that each input to popf is a set S, because the domain of popf is ℘(A) (so each S is some subset of A). Given some subset of A as input, popf produces as output an element of ℘(B) (so each output is some subset of B), formed by applying f to each element of S.
i. (3pts) Let A = {0, 1} and B = {2, 3}. Define a function f : A → B such that its resulting popf
function is not surjective.
f(x) = 2 if x is 0 2 if x is 1
ii. Let A and B be sets. Prove that if f : A → B has a left inverse, then popf has a left inverse.
Delivering a high-quality product at a reasonable price is not enough anymore.
That’s why we have developed 5 beneficial guarantees that will make your experience with our service enjoyable, easy, and safe.
You have to be 100% sure of the quality of your product to give a money-back guarantee. This describes us perfectly. Make sure that this guarantee is totally transparent.
Read moreEach paper is composed from scratch, according to your instructions. It is then checked by our plagiarism-detection software. There is no gap where plagiarism could squeeze in.
Read moreThanks to our free revisions, there is no way for you to be unsatisfied. We will work on your paper until you are completely happy with the result.
Read moreYour email is safe, as we store it according to international data protection rules. Your bank details are secure, as we use only reliable payment systems.
Read moreBy sending us your money, you buy the service we provide. Check out our terms and conditions if you prefer business talks to be laid out in official language.
Read more