Skip to content

Add SMT Unknown Error - #6

Open
rcosta358 wants to merge 2 commits into
mainfrom
codex/document-smt-unknown-error
Open

rcosta358 wants to merge 2 commits into
mainfrom
codex/document-smt-unknown-error

Conversation

@rcosta358

Copy link
Copy Markdown
Collaborator

Description

Add SMTUnknownError to the error table and explain that the diagnostic includes the reason as a hint.

Validation: Jekyll build and git diff --check pass. Independent review found no issues.

Related Issues

Related verifier change: liquid-java/liquidjava#330.

🤖 Generated with Codex

Co-authored-by: Codex <codex@openai.com>
@rcosta358 rcosta358 added the documentation Improvements or additions to documentation label Oct 5, 2026
@rcosta358 rcosta358 mentioned this pull request Oct 5, 2026
4 of 7 tasks
@rcosta358 rcosta358 changed the title Document SMT unknown errors Add SMT Unknown Error Oct 5, 2026
rcosta358 added a commit to liquid-java/liquidjava that referenced this pull request Oct 6, 2026
## Description

This PR adds a new `SMTUnknownError` instead of accepting refinements
when Z3 returns `UNKNOWN`.
Includes a reason hint and the refinement declaration location.

Documentation update in
[#6](liquid-java/liquidjava-docs#6).

## Example

<img width="788" height="275" alt="image"
src="https://github.com/user-attachments/assets/208938b5-3ca2-419d-a5b3-58662410c14d"
/>

## Related Issue

#303. It unexpectedly passes the verification because LJ reported
unknown results as success.

## Type of change
- [ ] Bug fix
- [x] New feature
- [ ] Documentation update
- [ ] Code refactoring

## Checklist
- [x] Added/updated tests under
`liquidjava-example/src/main/java/testSuite/` (`Correct*` / `Error*`)
- [x] `mvn test` passes locally
- [x] Updated docs/README if behavior or API changed

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant