knowsys / Formale-Systeme-in-LEAN

LEAN4 formalization of the undergraduate lecture "Formale Systeme" at TU Dresden (WIP)
Apache License 2.0
8 stars 0 forks source link

Improve "inner" constructor for DerivationTree #29

Open monsterkrampe opened 1 month ago

monsterkrampe commented 1 month ago

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.