An L-expression is defined as any one of the following:
a natural number;
the symbol
the symbol
the symbol
a pair of L-expressions
An L-expression can be transformed according to the following rules:
For example, after applying all possible rules, the L-expression
Similarly, the L-expression
Find the result of the L-expression
Note: it can be proved that the L-expression in question can only be transformed a finite number of times, and the final result does not depend on the order of the transformations.
我们按如下规则递归定义 L-表达式:
一个自然数是 L-表达式。
符号
符号
符号
一对 L-表达式
我们可以按如下规则对 L-表达式进行转化:
对诸自然数
对任意 L-表达式
对任意 L-表达式
例如,不断使用上述规则可以将 L-表达式
同样的,不断使用上述规则可以将 L-表达式
不断使用上述规则,求出 L-表达式
注释: 可以证明,本题中涉及的 L-表达式只能被转化有限次,且转化的最终结果和转化的顺序无关。
点 这个链接 回到源站。
点 这个链接 回到详细版题目目录。