GATE Computer ScienceVery hardGATE CS
Which of the following sets of connectives are functionally complete? I. {→, ⊥} II. {↔, ⊕} III. {→, ⊕} IV. {∧, ∨, →} V. {↛, ⊤} (↛ is 'p and not q')
- A. I and II only
- B. I, III and V only
- C. I, III, IV and V
- D. I, II and V only
Correct answer: B. I, III and V only
I: ¬p = p → ⊥. III: 1 = p → p and ¬p = p ⊕ 1. V: ¬p = ⊤ ↛ p, p ∧ q = p ↛ ¬q. II is affine (↔, ⊕ are linear) and IV preserves 1, so neither is complete.
More Discrete Mathematics questions
- Which of the following sets of connectives are functionally complete (no constants may be used unless they can be built from the…
- Which of the following first-order formulas are valid (true in every interpretation over every non-empty domain)? I. ∃x(P(x) → Q(x)) ↔ (∀x…
- Which of the following first-order formulas are valid? I. ∀x(P(x) ∨ Q(x)) → (∀x P(x) ∨ ∃x Q(x)) II. (∃x P(x) ∧ ∃x Q(x)) → ∃x(P(x) ∧ Q(x))…
- Over the domain D = {1, 2, 3, 4}, how many interpretations of the binary predicate R make ∀x∀y(R(x, y) → R(y, x)) ∧ ∀x∃y(x ≠ y ∧ R(x, y))…
- How many of the 64 assignments to a, b, c, d, e, f satisfy a ∧ (a → b) ∧ ((b ∧ c) → d) ∧ (d → e) ∧ (e → c) ∧ (¬d ∨ ¬f)?
- On an island knights always tell the truth and knaves always lie. A says 'B is a knave'. B says 'A and C are of the same type'. C says…