Skip to content

fix(hax-specs): emit <fn>.spec as reducible - #99

Merged
abentkamp merged 2 commits into
devfrom
spec-reducible
Nov 19, 2026
Merged

abentkamp merged 2 commits into
devfrom
spec-reducible

Conversation

@abentkamp

Copy link
Copy Markdown
Collaborator

The ProofObligations.lean file we currently generate does not compile because the @[spec] attribute can only be attached to theorems that are a mvcgen Triple, without needing to unfold definitions. In our context, the Triple is hiding behind a definition, which makes @[spec] fail. This PR resolves this by making the definition reducible.

Assisted by AI; human-reviewed.

@abentkamp
abentkamp marked this pull request as ready for review November 19, 2026 13:58
Lets the `@[spec]` attribute accept the generated proof obligations.

Fork-Patch: hax-specs
Assisted-by: Claude Opus 5.5
Fork-Patch: hax-specs
Assisted-by: Claude Opus 5.5
@abentkamp
abentkamp added this pull request to the merge queue Nov 19, 2026
Merged via the queue into dev with commit 4c3eb48 Nov 19, 2026
15 checks passed
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.

2 participants