Skip to content

Add ToPlaceholders TermTransformer#806

Merged
quickbeam123 merged 6 commits intomasterfrom
matthias-to-placeholders
Jan 27, 2026
Merged

Add ToPlaceholders TermTransformer#806
quickbeam123 merged 6 commits intomasterfrom
matthias-to-placeholders

Conversation

@hetzenmat
Copy link
Contributor

The ToPlaceholders term transformer allows to replace higher-order subterms by a special polymorphic placeholder constant.
This is a preparation for the HOL unification machinery, as we can then use a SubstitutionTree as a filter for the first-order term skeletons before we even start with the expensive HOL unification.

Also, I renamed the HOL unit tests in order to be able to run them all with the command ctest -R HOL_.

@hetzenmat hetzenmat requested a review from mezpusz January 23, 2026 10:12
@hetzenmat hetzenmat force-pushed the matthias-to-placeholders branch from bdf11ee to 8b40883 Compare January 26, 2026 18:28
Copy link
Contributor

@mezpusz mezpusz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the changes! From my side this looks good to go.

Do you think it's enough to run regression when merging unification? The changes don't seem to affect anything core.

@hetzenmat
Copy link
Contributor Author

Thank you.
I also agree that we can postpone regression testing for the bigger unification PR.

@quickbeam123
Copy link
Collaborator

Good job, thank you!

@quickbeam123 quickbeam123 merged commit ee47556 into master Jan 27, 2026
1 check passed
@quickbeam123 quickbeam123 deleted the matthias-to-placeholders branch January 27, 2026 09:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants