Repository navigation
merge queue: checking #2168 + #2170 together on master (9ad5492), stacked on #2167 - #2173
Closed
mergify[bot] wants to merge 6 commits into
Closed
mergify[bot] wants to merge 6 commits into
mergify[bot] wants to merge 6 commits into
Conversation
Make lydite's existing finite solver usable as the standalone aplite crate, starting at 0.1.0 in the same Cargo workspace. Move the Boolean/bit-vector/array solver and expression IR without algorithm changes; keep lydite's public paths through re-exports and leave proof construction, structural proof rules and the external Z3 route with lydite. Preserve source provenance collection and the direct Rust memory-rule checker after the move. Give Aplite independent release-please configuration, component tags, changelog and version checks. Exclude its own paths from the Celox release and retain the existing Celox publisher's package set. Run Aplite tests directly in the Lydite CI lane, including changes to its doctests and private tests. Publish Aplite independently through crates.io Trusted Publishing after its reviewed release PR merges. Dispatch the dedicated workflow at the component release tag, validate release identity and standalone packaging, and skip already published versions on retries. The initial 0.0.0 registry bootstrap is separate from the first implementation release. Validation: 73 Aplite unit tests and its public README doctest; lydite IR/solver suites; 25 verifier unit tests; seven pipeline and search-hint consumer tests, including finite-only proofs and deliberately broken models. The direct memory-rule checker passed 6,291,456 read and 524,288 write comparisons. Release/CI script tests (including tag, release identity, registry failure and component dispatch regressions), version checks, release-please JSON schema and workflow YAML validation, affected all-target clippy, formatting, package include checks and standalone cargo package verification passed. A normalized source comparison confirms that solver algorithms and term representation are unchanged. The full pinned RV32I acceptance campaign and Lean proofs were not rerun locally; runner plumbing tests are not claimed as proof evidence. No local release build was performed. Change-Id: I912d358354ee7adcdb5f99991d1b6c552e02b53b
Aplite's fixed SAT phases produce the same witness for repeated scalar queries. Add solve_seeded with caller-owned seed-selected initial phases so constrained-randomization consumers can vary witnesses without changing the asserted formula or using global RNG state. Keep the existing proof search paths unchanged and use one bounded CDCL search for seeded queries. Replay all SAT assignments against the original formula and context; unsupported arrays and exhausted budgets return Unknown. This is a seeded search primitive, not uniform sampling. IEEE 1800-2023 section 18.5.9 requires uniform legal-combination distributions unless ordering changes them. Distribution policy, solve-before, randc and SystemVerilog frontend/runtime integration remain follow-up work; this PR does not claim constrained-randomization conformance. Validation: all 73 existing Aplite unit tests plus five seeded regressions, two README doctests, exhaustive two-Boolean truth-table oracle across 16 seeds, constrained bit-vector model diversity and replay, seed reproducibility, unique/unsatisfiable inputs and budget/unsupported cases. Lydite IR (38), solver (29) and kernel integration (5) tests passed with Z3 configured. Affected all-target clippy, cargo fmt, diff checks and standalone cargo package verification passed. No full RV32I campaign or release build was run. Change-Id: Icc9fb9fedd174944495a3cef3d16c9a3b8f1bafb
Add a test-only bounded oracle for projected scalar solution sets. Enumerate distinct projected assignments, verify exact cardinalities on small domains and select a reservoir sample to check projection weighting. Hidden witness multiplicity must not change projected probabilities; incomplete enumeration must not expose a partial sample. Whole-space enumeration is intentionally excluded from the public API and production build. It is a correctness reference for future scalable constrained-randomization algorithms, not the runtime randomize path. Keep the public solver surface at solve, solve_with_hint and solve_seeded; do not claim uniform production sampling or SystemVerilog constraint support. Validation: 84 Aplite unit tests and two README doctests passed, including all two-Boolean truth-table counts, hidden-witness multiplicity, deterministic seed/distribution checks, exact model limits, global work exhaustion, zero timeout, empty projections and invalid input. All-target clippy, formatting and diff checks passed. No production solver algorithms were changed and no full RV32I campaign or release build was run. Change-Id: Ia225f690beff201815b45c973d09d019d82d4b57
This was referenced Oct 26, 2026
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.
Note
This is a merge queue draft opened by Mergify. Nobody needs to act on it.
Mergify opened it for batch amusing-livaro-rl5oxm of the
changesqueue, to test #2168 and #2170 before they merge intomaster. Pushing to this branch or closing this pull request removes them from the queue.What this draft tests
Mergify checks that #2168 and #2170 still pass CI once combined with everything queued ahead of them. CI runs on this draft's code, built in this order:
masterat9ad5492dd64751The check is speculative: it assumes the pull requests ahead will merge, so it starts without waiting for them.
🎉 Where it stands: checks passed
CI passed on this draft.
Follow the
changesqueue in the dashboardWhat happens next
masterand closes this draft.Tip
A red check is not necessarily caused by this batch. These checks run on a tip that also carries the commits of the pull request ahead, so a failure here can come from it as much as from #2168 + #2170. See only this batch's changes.
Queued ahead of this batch
This pull request entered the queue before this batch and is not part of it.
Metadata for CI tooling, read by
mergify ci1 scope
coreRequired conditions of queue rule
changesfor mergecheck-success = Conventional Commit titlecheck-success = Queue validationdepends-on = celox-sim/celox#2168[⛓️ feat(aplite): add reproducible seeded scalar model search #2168]master]:check-success = @github-actions/Lint & Formatcheck-neutral = @github-actions/Lint & Formatcheck-skipped = @github-actions/Lint & Formatmaster]:check-success = @github-actions/NAPI Build (Linux ARM64 GNU)check-neutral = @github-actions/NAPI Build (Linux ARM64 GNU)check-skipped = @github-actions/NAPI Build (Linux ARM64 GNU)master]:check-success = @github-actions/NAPI Build (Windows)check-neutral = @github-actions/NAPI Build (Windows)check-skipped = @github-actions/NAPI Build (Windows)master]:check-success = @github-actions/Rust Test & NAPI Buildcheck-neutral = @github-actions/Rust Test & NAPI Buildcheck-skipped = @github-actions/Rust Test & NAPI Buildmaster]:check-success = @github-actions/JS Test (Ubuntu)check-neutral = @github-actions/JS Test (Ubuntu)check-skipped = @github-actions/JS Test (Ubuntu)master]:check-success = @github-actions/JS Test (Windows)check-neutral = @github-actions/JS Test (Windows)check-skipped = @github-actions/JS Test (Windows)master]:check-success = @github-actions/Conventional Commit titlecheck-neutral = @github-actions/Conventional Commit titlecheck-skipped = @github-actions/Conventional Commit titleRequired conditions to stay in the queue
-conflict-draft-head ~= ^(integration/|renovate/veryl-crates$|upgrade/veryl-|release-please--branches--master--components--celox$|master$)-head ~= ^renovate/-label = release:holddepends-on = celox-sim/celox#2168[⛓️ feat(aplite): add reproducible seeded scalar model search #2168]base ~= ^(master|develop)$base ~= ^stack/body ~= (?m)^Depends-On:head != release-please--branches--master--components--celoxlabel = merge-readymaster]:check-success = @github-actions/Lint & Formatcheck-neutral = @github-actions/Lint & Formatcheck-skipped = @github-actions/Lint & Formatmaster]:check-skipped = @github-actions/NAPI Build (Linux ARM64 GNU)check-neutral = @github-actions/NAPI Build (Linux ARM64 GNU)check-success = @github-actions/NAPI Build (Linux ARM64 GNU)master]:check-skipped = @github-actions/NAPI Build (Windows)check-neutral = @github-actions/NAPI Build (Windows)check-success = @github-actions/NAPI Build (Windows)master]:check-success = @github-actions/Rust Test & NAPI Buildcheck-neutral = @github-actions/Rust Test & NAPI Buildcheck-skipped = @github-actions/Rust Test & NAPI Buildmaster]:check-skipped = @github-actions/JS Test (Ubuntu)check-neutral = @github-actions/JS Test (Ubuntu)check-success = @github-actions/JS Test (Ubuntu)master]:check-skipped = @github-actions/JS Test (Windows)check-neutral = @github-actions/JS Test (Windows)check-success = @github-actions/JS Test (Windows)master]:check-success = @github-actions/Conventional Commit titlecheck-neutral = @github-actions/Conventional Commit titlecheck-skipped = @github-actions/Conventional Commit titleQueue graph
The diagram is not laid out in queue order, so a node's position says nothing about when it merges.
graph LR 8de958f863e644c2bef6270269c27279["amusing-livaro-rl5oxm<br/>#2168 + #2170<br/>scopes: core"] f4589e12df3548ffafba74307cac5dbd["monetary-navet-d6u5p4<br/>#2175 + #2171<br/>scopes: core"] 8de958f863e644c2bef6270269c27279 --> f4589e12df3548ffafba74307cac5dbd style 8de958f863e644c2bef6270269c27279 fill:#6366f1,color:#fff