NP-Complete Problem: Determine if NFAs A and B Accept Same Language

  • Thread starter Thread starter complexity9
  • Start date Start date
Click For Summary
The discussion centers on the NP-Complete problem of determining whether two acyclic NFAs, A and B, accept the same language, L(A) = L(B). Participants explore how to demonstrate that this problem is NP-hard, suggesting a reduction from the SAT problem. It is noted that each SAT instance can be viewed as a language of variable assignments that yield true, with unsatisfiable instances corresponding to an empty language. The conversation emphasizes the potential connection between solving SAT and the NFA language equivalence problem. Ultimately, the goal is to establish a clear method for this reduction to prove NP-hardness.
complexity9
Messages
14
Reaction score
0
An NFA (nondeterministic finite automaton) is acyclic if there is no path from a state to itself.

Decision problem: Given two acyclic NFAs A and B, does L(A)=L(B), i.e. does A accept the same language as B.

Show that the above decision problem is NP-Complete.

I am unable to show that it is either NP or NP-hard, but was told that we may use a reduction from SAT to show NP-Hardness. Any help would be appreciated, I have been thinking about this for a while and don't know where to start!
 
Physics news on Phys.org
Consider an instance of SAT - you're given a specific boolean formula and are asked whether a variable assignment exists that evaluates to true.

How many such possible assignments are there, for a specific SAT instance? You might say that each SAT instance itself has a language: the language composed of all distinct variable assignments that evaluate to true.

Additionally, under this interpretation, all unsatisfiable SAT instances have the same language - an empty language - given that there are no assignments that evaluate to true.

Do you see a way to solve SAT by using a solution to the problem of determining whether two NFAs have the same language?
 
Question: A clock's minute hand has length 4 and its hour hand has length 3. What is the distance between the tips at the moment when it is increasing most rapidly?(Putnam Exam Question) Answer: Making assumption that both the hands moves at constant angular velocities, the answer is ## \sqrt{7} .## But don't you think this assumption is somewhat doubtful and wrong?

Similar threads

  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 19 ·
Replies
19
Views
5K
Replies
12
Views
3K
Replies
11
Views
3K
Replies
1
Views
2K
Replies
5
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K
Replies
4
Views
3K
Replies
10
Views
3K
  • · Replies 4 ·
Replies
4
Views
1K