To demonstrate that the Intersecting Set Problem is NP-complete, we'll follow a two-step approach:
- Show that the problem is in NP.
- Prove that the problem is NP-hard by reducing a known NP-complete problem to it.
1. The Problem is in NP
A problem is in NP if a proposed solution can be verified in polynomial time. For the Intersecting Set Problem:
- Verification Steps:
- Subset Check: Given a subset ( S \subseteq U ), verify that ( S ) intersects every set in family ( F ). Since ( F ) contains disjoint subsets, this can be done in linear time relative to the size of ( F ) and ( U ).
- Budget Constraints: For each subset ( Z \in A ), check that ( |Z \cap S| \leq b(Z) ). This also takes linear time relative to the sizes of ( A ) and ( U ).
Since both verification steps can be performed in polynomial time, the Intersecting Set Problem is in NP.
2. The Problem is NP-Hard
To prove NP-hardness, we'll reduce the well-known Hitting Set Problem (which is NP-complete) to the Intersecting Set Problem.
Hitting Set Problem Overview:
Reduction Strategy:
We'll transform an instance of the Hitting Set Problem into an instance of the Intersecting Set Problem such that solving the latter would solve the former.
Reduction Steps:
-
Construct the Universe ( U ) for the Intersecting Set Problem:
- For each element ( u \in U' ) and each set ( Y \in \mathcal{F}' ) that contains ( u ), create a unique element ( (u, Y) ).
- Formally, ( U = { (u, Y) \mid u \in U', Y \in \mathcal{F}', u \in Y } ).
-
Define Family ( F ) of Disjoint Subsets:
- For each set ( Y \in \mathcal{F}' ), create a subset ( F_Y = { (u, Y) \mid u \in Y } ).
- Since each ( F_Y ) is associated with a unique ( Y ), all ( F_Y ) are pairwise disjoint.
-
Define Family ( A ) with Budget Constraints:
- For each element ( u \in U' ), create a subset ( A_u = { (u, Y) \mid Y \in \mathcal{F}', u \in Y } ).
- Set the budget for each ( A_u ) as ( b(A_u) = 1 ). This ensures that for each original element ( u ), at most one copy ( (u, Y) ) can be included in the solution ( S ).
-
Set the Budget and Cardinality Constraints:
- The goal is to find a subset ( S \subseteq U ) of minimum size such that:
- ( S ) intersects every ( F_Y ) (i.e., for every ( Y \in \mathcal{F}' ), there exists at least one ( (u, Y) \in S )).
- ( |S \cap A_u| \leq 1 ) for all ( u \in U' ) (i.e., each original element ( u ) is chosen at most once across all sets).
-
Establish the Equivalence:
-
Conclusion of the Reduction:
- Since the Hitting Set Problem is NP-complete and we've provided a polynomial-time reduction from it to the Intersecting Set Problem, the Intersecting Set Problem is NP-hard.
- Combined with the fact that Intersecting Set is in NP, we conclude that it is NP-complete.
Summary
By constructing a specific instance of the Intersecting Set Problem from an arbitrary instance of the Hitting Set Problem and establishing a clear correspondence between their solutions, we've demonstrated that solving the Intersecting Set Problem is at least as hard as solving the Hitting Set Problem. Since the Hitting Set Problem is known to be NP-complete, it follows that the Intersecting Set Problem is also NP-complete.