Skip to content

feat: additional tests for bad recursors - #159

Closed
ammkrn wants to merge 1 commit into
leanprover:masterfrom
ammkrn:rec-orphan-tests
Closed

feat: additional tests for bad recursors#159
ammkrn wants to merge 1 commit into
leanprover:masterfrom
ammkrn:rec-orphan-tests

Conversation

@ammkrn

@ammkrn ammkrn commented Aug 25, 2026

Copy link
Copy Markdown
Contributor

Two additional tests to ensure the kernel rejects a recursor which improperly (1) declares it is derived from a nonexistent inductive type, or (2) declares no inductive type from which it is derived. These are more likely to be issues in kernels that rely on the recursors appearing in the export file, and then re-check the types based on post hoc derivations.

Two additional tests to ensure the kernel rejects a recursor which
improperly (1) declares it is derived from a nonexistent inductive type,
or (2) declares no inductive type from which it is derived. These
are more likely to be issues in kernels that rely on the recursors
appearing in the export file, and then re-check the types based on
post hoc derivations.
@ammkrn

ammkrn commented Aug 25, 2026

Copy link
Copy Markdown
Contributor Author

When I opened this I saw that @nomeata beat me by a few minutes.

@ammkrn ammkrn closed this Aug 25, 2026
@ammkrn
ammkrn deleted the rec-orphan-tests branch August 25, 2026 05:51
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