Repository navigation
feat(aplite): extract an independently versioned finite solver - #2167
Conversation
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: b9a87e2791
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| @@ -1,5 +1,5 @@ | |||
| //! Structural UNSAT, partition planning and SMT/Z3. No parser dependency. | |||
| pub mod finite; | |||
| pub use aplite::finite; | |||
There was a problem hiding this comment.
Include Aplite in automatic-proof source provenance
When running the automatic-proof acceptance gate with local solver changes, this extraction leaves the solver implementation outside the recorded evidence. In lydite/audit/automatic_proof/ci.py, source_files() only scans crates/lydite-*, and gate() also restricts its dirty-patch capture to the old crate paths. I confirmed that source_files() now returns zero Aplite files. Consequently, the finite solver and term implementation are absent from source snapshots, their local modifications are omitted from dirty.patch, and check_seal() no longer detects changes to them during the campaign. Update both collection scopes to include crates/aplite so the gate preserves its existing provenance and source-sealing behavior.
Useful? React with 👍 / 👎.
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
b9a87e2 to
e65a817
Compare
Revision history
|
|
This pull request is part of a Mergify stack:
|
Merge Queue Status
This pull request spent 30 minutes 3 seconds in the queue, including 27 minutes 41 seconds running CI. Required conditions to merge
|
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.