Skip to content

Compare root namespaces when rewriting function applications#25

Merged
ngernest merged 1 commit intometaprogrammingfrom
fix_namespace_issue
Jul 28, 2025
Merged

Compare root namespaces when rewriting function applications#25
ngernest merged 1 commit intometaprogrammingfrom
fix_namespace_issue

Conversation

@ngernest
Copy link
Copy Markdown
Owner

Small fix: When detecting whether the conclusion of a constructor (for an inductive relation) containing a non-trivial function application (i.e. an application where the function isn't a constructor of some inductive type), compare the root namespaces of the function & the inductive relation being targeted by the generator.

(This is a temporary fix as we migrate towards using the unification algorithm from Generating Good Generators + the generator schedules in Testing Theorems, see #23.)

@ngernest ngernest marked this pull request as ready for review July 28, 2025 17:53
@ngernest ngernest merged commit 7a4c0b5 into metaprogramming Jul 28, 2025
2 checks passed
@ngernest ngernest deleted the fix_namespace_issue branch July 28, 2025 17:53
ngernest pushed a commit that referenced this pull request Jul 28, 2025
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