fix(kmir): preserve symbolic parallel proving server selection#980
Draft
fix(kmir): preserve symbolic parallel proving server selection#980
Conversation
Use the Haskell-only symbolic path without advertising a mismatched LLVM library, and fall back to KoreServer for parallel proof exploration when no proof-specific LLVM library exists. This removes the PR853 empty-response crash on symbolic proofs without reintroducing symbolic llvm-kompile.
Contributor
Author
|
Added TDD-structured follow-up commits for HS-only booster wiring:\n\n- test(kmir): add hs-only symbol env wiring unit tests\n- feat(kmir): pass KMIR_HS_ONLY_SYMBOLS to kore-rpc-booster\n\nRed/green evidence:\n- Red: -> 3 AttributeError failures before wiring\n- Green: same command -> 3 passed after wiring |
Contributor
Author
|
Correction with exact refs:\n\nAdded TDD-structured follow-up commits for HS-only booster wiring:\n- 0f208ed: test(kmir): add hs-only symbol env wiring unit tests\n- 6ef9fc9: feat(kmir): pass KMIR_HS_ONLY_SYMBOLS to kore-rpc-booster\n\nRed/green evidence command:\nuv --project kmir run -- pytest kmir/src/tests/unit/test_kmir_hs_only_symbols.py -q\n- red (before wiring): 3 AttributeError failures\n- green (after wiring): 3 passed |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
prove-rson the Haskell-only path (KompiledSymbolic.llvm_lib_dir=None) while preserving parallel exploration by selectingKoreServerwhen no LLVM library is availableKMIR_HS_ONLY_SYMBOLSthrough--hs-only-symbolflags when booster is usedtest_prove_parallel_uses_kore_server_without_llvm_library)kompile.pysymbols/locals that were failingflake8in CIContext
This branch rebases the PR853 experiment onto
masterand focuses on the symbolic-proof server selection mismatch on the rebased head.Implementation Notes
_prove_parallel()now builds common server args once, then choosesBoosterServeronly whenllvm_library_direxists, otherwiseKoreServer._prove.pyand the new unit test somypypasses undermake check.Testing
Automated checks run:
make check(passed)uv run pytest -q src/tests/unit(passed,42 passed)Manual/targeted checks:
uv run pytest -q src/tests/integration/test_cli.py::test_cli_prove_rs_add_module(not passed locally: missing/Users/steven/.cache/kdist-21d0fbc/mir-semantics/haskellfixture directory)Known Limitations / Follow-ups
unsureuntil requiredkdistartifacts are available; rely on CI integration jobs for full integration validation.