The inner constructor of the DerivationTree accepts PreDerivationTrees as children instead of directly expecting DerivationTrees. The latter seems more natural to me. In #28 the induction principle is already reworked and once the inner constructor is changed, the induction principle (recOn') can likely be further improved.
The
inner
constructor of theDerivationTree
acceptsPreDerivationTree
s as children instead of directly expectingDerivationTree
s. The latter seems more natural to me. In #28 the induction principle is already reworked and once theinner
constructor is changed, the induction principle (recOn'
) can likely be further improved.