MHB Convert a non-deterministic finite automata to a regular expression.

Click For Summary
The discussion focuses on converting a non-deterministic finite automaton (NFA) to a regular expression. The original poster expressed uncertainty about their solution, which was a*ab(baUb)*b, and sought clarification on their conversion process. They acknowledged a mistake in their diagram and described the preprocessing steps required for the NFA, including ensuring a single final state and proper arrow configurations. After sharing their lecture notes on the conversion algorithm, they later confirmed that they successfully solved the problem. The thread highlights the importance of accurate representation and understanding of conversion methods in automata theory.
JamesBwoii
Messages
71
Reaction score
0
Physics news on Phys.org
Hi, and welcome to the forum!

In the first image, you have an arrow labeled just be $b$ from the second state to the accepting state, but in the first automata in the second image, this arrow is labeled by $a,b$.

Also, which book or source describes the conversion procedure you are using?
 
Sorry, the first image is the correct one and the one I have drawn at the top of the page is a mistake.

As for the procedure it is a method that has been taught to us in lectures, although I could be misunderstanding it, here is how I take it:

Firstly, the NFA must be preprocessed such that:
1. Has a single final state.
2. Initial state does not have any incoming arrows.
3. Final state has no out going arrows.

As for the conversion algorithm, I will post a photo of my lecture notes as I feel that will represent it best - http://i.imgur.com/kbbVD1w.png

EDIT: I've managed to solve it now.
 
Last edited:
First trick I learned this one a long time ago and have used it to entertain and amuse young kids. Ask your friend to write down a three-digit number without showing it to you. Then ask him or her to rearrange the digits to form a new three-digit number. After that, write whichever is the larger number above the other number, and then subtract the smaller from the larger, making sure that you don't see any of the numbers. Then ask the young "victim" to tell you any two of the digits of the...

Similar threads

  • · Replies 2 ·
Replies
2
Views
14K
  • · Replies 6 ·
Replies
6
Views
4K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 3 ·
Replies
3
Views
4K
  • · Replies 19 ·
Replies
19
Views
8K
  • · Replies 5 ·
Replies
5
Views
4K
  • · Replies 140 ·
5
Replies
140
Views
12K
  • · Replies 40 ·
2
Replies
40
Views
5K
  • · Replies 1 ·
Replies
1
Views
2K