Skip to content

Derive EnumSuchThat instances using new unification/schedule-based algorithm#29

Merged
ngernest merged 15 commits intometaprogrammingfrom
enumerator_schedules
Aug 7, 2025
Merged

Derive EnumSuchThat instances using new unification/schedule-based algorithm#29
ngernest merged 15 commits intometaprogrammingfrom
enumerator_schedules

Conversation

@ngernest
Copy link
Copy Markdown
Owner

@ngernest ngernest commented Aug 7, 2025

This PR takes the improvements for deriving ArbitrarySuchThat instances from #27 , and applies them when deriving EnumSuchThat. See #27 for more details. At a high level, the algorithm for deriving enumerators now uses the unification algorithm from Generating Good Generators and the mechanism for computing generator schedules from Testing Theorems.

Snapshot tests for deriving EnumSuchThat instances have also been updated.

@ngernest ngernest changed the title WIP: Derive EnumSuchThat instances using new unification/schedule-based algorithm Derive EnumSuchThat instances using new unification/schedule-based algorithm Aug 7, 2025
@ngernest ngernest marked this pull request as ready for review August 7, 2025 21:41
@ngernest ngernest merged commit 6adfa3d into metaprogramming Aug 7, 2025
2 checks passed
@ngernest ngernest deleted the enumerator_schedules branch August 7, 2025 21:42
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.

1 participant