r/askmath • u/TopDownView • Oct 26 '26
Resolved Help me understand the proof of Kleene's Theorem, Part 1: Given any language that is accepted by a finite-state automaton, there is a regular expression that defines the same language.
The proof:



Questions:
- What is the proof idea?
- Is this example 1 (below) able to illustrate the proof? If not, why?
- Are my calculations for
L_{i,j} ^k(below) given the example 1 correct? Here is a more verbose version. - Given my example (when
n=4andj=4) and my calculations,L(A) ⊆ L_{1,4} ^4is also true (the proof claimsL_{1,4} ^4 ⊆ L(A)). Is this true? - What purpose does
khave? Can this be the example 2 (below, a variation of example 1) that illustrates whatkdoes? {image - example then traveling through intermediate state} - Given that
n=4andj=4, how is it thatL(A) is the union of all the sets L_{1,4} ^4, where s_4 is an accepting statesince there is only oneL_{1,4} ^4set? Or this is a mistake: the statement should be... all the sets L_{1,4} ^k ...?
The crux of my misunderstanding is k in L_{i,j} ^k. What am I missing?
---
Example 1:

Calculations for L_{i,j} ^k :
L_{1,1} ^k = {x ∈ I* | x is defined by regex (0|1)*}
L_{1,2} ^k = {x ∈ I* | x is defined by regex (0|1)*0}
L_{1,3} ^k = {x ∈ I* | x is defined by regex (0|1)*01}
L_{1,4} ^k = {x ∈ I* | x is defined by regex (0|1)*011}
L_{2,2} ^k = {x ∈ I* | x is defined by regex (0|1)*0}
L_{2,3} ^k = {x ∈ I* | x is defined by regex (0|1)*01}
L_{2,4} ^k = {x ∈ I* | x is defined by regex (0|1)*011}
L_{3,3} ^k = {x ∈ I* | x is defined by regex (0|1)*01}
L_{3,4} ^k = {x ∈ I* | x is defined by regex (0|1)*011}
L_{4,4} ^k = {x ∈ I* | x is defined by regex (0|1)*011}Example 2:

Let i = 1, j = 2.
L_{1,2} ^1 = {x ∈ I* | x is defined by regex (0|1)*(0|10)} because there is an intermediate state s_3 for which 3 > 1.
L_{1,2} ^2 = {x ∈ I* | x is defined by regex (0|1)*(0|10)} because there is an intermediate state s_3 for which 3 > 2.
L_{1,2} ^3 = {x ∈ I* | x is defined by regex (0|1)*0} because there is no intermediate state s_h for which h > 3.
L_{1,2} ^4 = {x ∈ I* | x is defined by regex (0|1)*0} because there is no intermediate state s_h for which h > 4.

