Conceptio › Archive › Stack Exchange
Stack Exchange open access CC BY-SA

How to convert finite automata to regular expressions?

Raphael · 2012
Stack Exchange · Datasets · License: CC BY-SA · 2012
Open Source ↗
algorithmscs
Converting regular expressions into (minimal) NFA that accept the same language is easy with standard algorithms, e.g. Thompson's algorithm. The other direction seems to be more tedious, though, and sometimes the resulting expressions are messy. What algorithms are there for converting NFA into equivalent regular expressions? Are there advantages regarding time complexity or result size? This is supposed to be a reference question. Please include a general decription of your method as well as a non-trivial example.
Conceptio Open Archive

Analyze & explore related research in Conceptio

Connect this record directly into your research workflow or AI agent. Explore citations across open repositories, query full text, and export structured proof bundles.

This document is indexed with metadata only: full text is not available in the archive for this record. Open the official source ↗

Related documents

Record · ID 796526
Retrieved via Conceptio: every document is proof-bundled with source, license, and retrieval metadata.
Bring this data into your agent: Connect via MCP or API · 20 free credits to start · no card required
Read the Docs → · View CLI source on GitHub · Conceptio Open Knowledge Archive