Automata - Term - Paper - Arden's Theorem
Automata - Term - Paper - Arden's Theorem
ARDEN’S THEOREM
Bachelor of Technology
Computer Science and Engineering
Submitted By
MAY 2020
Techno India
EM-4/1, Sector-V, Salt Lake
Kolkata- 700091
West Bengal
India
TABLE OF CONTENTS
1. Abstract
2. Introduction
3. Body
i. Arden’s Theorem
Statement
Mathematical Proof
ii. Conditions for Applying Arden’s Theorem
iii. Method to Apply Arden’s Theorem
iv. Example with solution
v. Applications of Arden’s theorem
vi. Identities Related to Regular Expressions
4. Conclusion
5. References
TISL/CSE/Term-Paper/Semester-4 2
ABSTRACT
This is a brief and concise term paper that introduces the fundamental concepts of Arden’s
theorem. This paper is very useful for educational purposes. It contains all the important/relevent
points about Arden’s theorem along with example and solution. It also contains some identities
releated to regular expression. Arden’s theorem is widely used in the field of computer science
for conversion of deterministic finite automata to regular expression.
This paper is meant as a self contained introduction to Arden’s theorem. The materials of this
paper have been inspired by books and web material.
TISL/CSE/Term-Paper/Semester-4 3
INTRODUCTION
In order to find out a regular expression of a Finite Automata, we use Arden’s Theorem along
with the properties of regular expressions. The Arden's Theorem is also called Arden’s Lemma. It
is a mathematical statement. It is also useful for checking the equivalence of two regular
expressions as well as in the conversion of DFA to a regular expression. Let us see it’s use in the
conversion of DFA to a regular expression.
TISL/CSE/Term-Paper/Semester-4 4
BODY
Arden’s Theorem
Statement :
Let P and Q be two regular expressions. If P does not contain null string, then
R = Q + RP
has a unique solution that is
R = QP*
Mathematical Proof :
R = Q + (Q + RP)P [After putting the value R = Q + RP]
= Q + QP + RPP
R = Q + QP + QP2 + QP3…..
R = Q (є + P + P2 + P3 + …. )
Hence, proved.
TISL/CSE/Term-Paper/Semester-4 5
Conditions for Applying Arden’s Theorem:
Method to Applying :
Step 1: Create equations as the following form for all the states of the DFA having n
states with initial state q1.
..…………………………
……………………………
……………………………
……………………………
Rij represents the set of labels of edges from qi to qj, if no such edge exists, then
Rij = Ø
Step 2: Solve these equations to get the equation for the final state in terms of Rij
TISL/CSE/Term-Paper/Semester-4 6
Example :
Solution :
The equations for the three states q1, q2, and q3 are as follows:
q3 = q2a
q1 = q1a + q3a + є
TISL/CSE/Term-Paper/Semester-4 7
= q1a + q1b(b + ab*)aa + є (Substituting value of q2)
= (a + b(b + ab)*aa)*
Hence,
TISL/CSE/Term-Paper/Semester-4 8
Identities Related to Regular Expressions:
1. Ø* = ε
2. ε* = ε
3. R+ = RR* = R*R
4. R*R* = R*
5. (R*)* = R*
6. RR* = R*R
7. (PQ)*P =P(QP)*
TISL/CSE/Term-Paper/Semester-4 9
CONCLUSION
Arden’s theorem is very useful for getting regular expressions of finite automata.
In the study of Arden’s Theorem a question is generated that why it has a unique
solution i.e R = QP* ?, And the reason of this is, in the expression R = Q + RP, P does
not contains null.
With the help of Arden’s Theorem we also can check the equivalence of two regular
expressions.
TISL/CSE/Term-Paper/Semester-4 10
REFERENCES
Arden, D. N. (1960). Delayed logic and finite state machines, Theory of Computing
Machine Design, pp. 1-35, University of Michigan Press, Ann Arbor, Michigan, USA.
Dean N. Arden (Oct 1961). "Delayed Logic and Finite State Machines". Proc. 2nd Ann.
Symp. on Switching Circuit Theory and Logical Design (SWCT), Detroit/MI. (open-access
abstract)
John E. Hopcroft and Jeffrey D. Ullman, Introduction to Automata Theory, Languages,
and Computation, Addison-Wesley Publishing, Reading Massachusetts, 1979. ISBN 0-201-
02988-X. Chapter 2: Finite Automata and Regular Expressions, p.54.
https://en.wikipedia.org/wiki/Arden%27s_rule#Statement_of_Arden's_rule
TISL/CSE/Term-Paper/Semester-4 11