加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 百科 > 正文

正则表达式 – 简化数学中的正则表达式

发布时间:2020-12-14 06:33:36 所属栏目:百科 来源:网络整理
导读:我最近发现大约 Kleene algebra用于操纵和简化正则表达式。 我想知道这是否已经建立在像Mathematica这样的计算软件程序中?拥有一个用于进行联合和大型表达式连接的计算工具,并让计算机简化它是非常好的。 如果您不知道内置此代数的任何程序,您是否知道允
我最近发现大约 Kleene algebra用于操纵和简化正则表达式。

我想知道这是否已经建立在像Mathematica这样的计算软件程序中?拥有一个用于进行联合和大型表达式连接的计算工具,并让计算机简化它是非常好的。

如果您不知道内置此代数的任何程序,您是否知道允许使用新代数扩展其引擎的任何程序?

http://www.maplesoft.com/msw/program/MSW04FinalProgram.pdf,它说:

One of the basic results of the theory of finite automata is the
famous Kleene theorem,which states that a language is acceptable by a
finite automaton if and only if it can be represented by a regular
expression.

The main difficulty of the algorithmic treatment of regular
expressions is,however,their simplification. Although several
identities are known concerning regular expressions,e.g.,the rules
of Kleene algebra,there does not exist an effective algorithm for
solving the simplification problem of regular expressions.

Under the circumstances,the only way left is to develop heuristic
algorithms for simplifying regular expressions. For the aut package,
this paper outlines the Maple procedures Rsimplify,Rabsorb and
Rexpand.

我想知道是否存在Kleene代数算法的开源实现。

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读