[lambda] ltree_finite_BT_bnf (by ltree_finite_by_unfolding) #1393
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hi,
This PR adds some more useful lemmas into
ltreeTheory
and further pushed the lambda example.If an ltree is generated by unfolding (
ltree_unfold
), and the unfolding seeds have a decreasing "measure", then the resulting ltree must be finite:In a more general version, an extra predicate
P
is used to restrict the involved seeds:By the above result, I have proved that Böhm trees of β-normal forms (of λ-terms) are finite:
Furthermore, if a λ-term M just has β-normal form, say, M0, then M and M0 are β-equivalent, thus have the same Böhm tree, which is finite:
The finiteness of Βöhm trees are necessary for their conversion to Rose tree as input of recursive functions (for building the original term from the tree).
P. S. Similar results for λ-terms who are or just have βη-normal forms are not proved yet, but the proof will use the above proven results.
--Chun