GATE / CS ARCHIVE

GATE CSE 2025 SET 2 / QUESTION 42

GATE CSE 2025 Set 2 Q42

Discrete Mathematics · Partial Orders & Lattices · Full GATE CSE 2025 Set 2 paper

GATE 2025 Set 2, Q42 2 marks · MSQ
Report issue

Partial Orders & Lattices

Question 42, GATE 2025: Let F be all functions {1,…,n}→{0,1}, for positive n. Define f≼g exactly when f(x)≤g(x) for every x, using 0≤1. Select true statements.
Options: A. ≼ is symmetric; B. (F,≼) is a partial order; C. (F,≼) is a lattice; D. ≼ is an equivalence relation.
Tap to enlarge
Select all that apply
Answer & solution

Official answer: B, C

Verify the partial-order axioms coordinate by coordinate. Reflexivity holds because f(x)≤f(x). If f≼g and g≼f, then both inequalities force f(x)=g(x) at each x, so f=g; this is antisymmetry. If f≼g and g≼h, transitivity of ≤ gives f≼h. Thus B is true.

For any two functions define m(x)=min(f(x),g(x)) and j(x)=max(f(x),g(x)). Both are still {0,1}-valued functions. The function m is below both f and g; any other common lower bound is below m at every coordinate. Hence m is their greatest lower bound. Similarly, j is their least upper bound. Every pair therefore has a meet and join, establishing the lattice claim C. This is the same ordering as subset inclusion under the identification f↔{x:f(x)=1}.

A is false: the all-zero function is below the all-one function, but the reverse comparison fails for positive n. An equivalence relation must be symmetric, so D is false too. Select B,C. The positive-domain convention matters: if n=0, only the empty function exists and the relation also becomes symmetric.

Original paper, page 31 · Answer key