Question about Finite State Automatons

  • Thread starter Thread starter Wallboy
  • Start date Start date
  • Tags Tags
    Finite State
Click For Summary
SUMMARY

This discussion centers on the limitations of Finite State Automatons (FSA) in recognizing certain languages, specifically the language {0n1n | n ≥ 0}, which an FSA cannot process. The conversation explores the concept of associating outputs with states, referencing Mealy and Moore models, and proposes using an external counter to manage state transitions based on input sequences. However, the participants conclude that while practical counters can be designed, they do not address the theoretical requirement for infinite values of n, highlighting the inherent limitations of FSAs.

PREREQUISITES
  • Understanding of Finite State Automatons (FSA)
  • Familiarity with Mealy and Moore state machine models
  • Basic knowledge of automata theory
  • Concept of theoretical limits in computational models
NEXT STEPS
  • Research the limitations of Finite State Automatons in automata theory
  • Study the differences between Mealy and Moore machines
  • Explore the concept of Turing machines and their capabilities
  • Investigate the implications of infinite state systems in theoretical computer science
USEFUL FOR

This discussion is beneficial for computer science students, automata theorists, and anyone interested in the foundational concepts of computation and state machines.

Wallboy
Messages
4
Reaction score
0
I'm reading about automata theory and am currently at the part about what a FSA can recognize and what it cannot. They use the example of some language: {0n1n | n ≥ 0} which an FSA cannot be built for.

When I first started learning about state machines before reading into theory of computation was from the Mealy/Moore models where we can have outputs associated with each state.

So my question is, could you not have an output associated with the first state such that every time it would see a 0, an output signal would be generated to increment some external counter, so that when the machine finally does see a 1, it jumps to the next state and uses that counter information to know how many 1's to repeat?

I'm guessing I am jumping ahead and adding more power to the 5-tuple description of what a FSA really is?
 
Technology news on Phys.org
Wallboy said:
So my question is, could you not have an output associated with the first state such that every time it would see a 0, an output signal would be generated to increment some external counter, so that when the machine finally does see a 1, it jumps to the next state and uses that counter information to know how many 1's to repeat?

What do you do when the counter overflows? Your idea works up to the maximum number the counter can hold, but it doesn't solve the problem for ANY value of n.

You could easily make a counter big enough for any practical purpose (e.g. it would work if the number of 0s and 1s was as big as the number of atoms in the observable universe) but the question is about the theoretical situation when there is no limit to the size of n.
 
Ahh that's right. I just over thought it and forgot that the counter itself would have to go to infinity. Thanks.
 
We have many threads on AI, which are mostly AI/LLM, e.g,. ChatGPT, Claude, etc. It is important to draw a distinction between AI/LLM and AI/ML/DL, where ML - Machine Learning and DL = Deep Learning. AI is a broad technology; the AI/ML/DL is being developed to handle large data sets, and even seemingly disparate datasets to rapidly evaluated the data and determine the quantitative relationships in order to understand what those relationships (about the variaboles) mean. At the Harvard &...

Similar threads

Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 17 ·
Replies
17
Views
3K
Replies
5
Views
4K
  • · Replies 16 ·
Replies
16
Views
3K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
29
Views
5K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 13 ·
Replies
13
Views
4K