Skip to content

feat(aplite): extract an independently versioned finite solver - #2167

Merged
mergify[bot] merged 1 commit into
masterfrom
stack/tignear/feat/aplite/extract-independently-versioned-finite-solver--912d3583
Oct 26, 2026
Merged

mergify[bot] merged 1 commit into
masterfrom
stack/tignear/feat/aplite/extract-independently-versioned-finite-solver--912d3583

Conversation

@tignear

@tignear tignear commented Oct 26, 2026 •

Copy link
Copy Markdown
Contributor

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.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 26, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-26T16:29:52.325997Z e65a817 New commits
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@tignear tignear added the merge-ready Request merging through Mergify after required checks label Oct 26, 2026

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 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;

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge 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
@tignear
tignear force-pushed the stack/tignear/feat/aplite/extract-independently-versioned-finite-solver--912d3583 branch from b9a87e2 to e65a817 Compare October 26, 2026 16:26
@tignear

tignear commented Oct 26, 2026

Copy link
Copy Markdown
Contributor Author

Revision history

# Type Changes Reason Date
1 initial b9a87e2 2026-10-26 16:26 UTC
2 content b9a87e2 → e65a817 Add requested independent Aplite Trusted Publishing workflow and release dispatch after authorized 0.0.0 bootstrap. 2026-10-26 16:26 UTC

@tignear

tignear commented Oct 26, 2026 •

Copy link
Copy Markdown
Contributor Author

This pull request is part of a Mergify stack:

# Pull Request Link
1 feat(aplite): extract an independently versioned finite solver #2167 👈
2 feat(aplite): add reproducible seeded scalar model search #2168
3 test(aplite): keep exhaustive sampling as a small-domain oracle #2170
4 feat(aplite): reuse compiled queries with temporary assumptions #2175
5 feat(aplite): query bounded projected XOR cells #2177

@mergify

mergify Bot commented Oct 26, 2026 •

Copy link
Copy Markdown
Contributor

Merge Queue Status

  • ✅ Entered queue — 2026-10-26 16:54 UTC · Rule: changes · triggered by rule Queue explicitly requested merges
  • ✅ Checks passed · on draft merge queue: checking #2167 on master (9ad5492) #2172
  • ✅ Merged — 2026-10-26 17:24 UTC · at 6b3e8b4e1a3b5745c1418c9c7fe6cd747dd4dad0 · merge

This pull request spent 30 minutes 3 seconds in the queue, including 27 minutes 41 seconds running CI.

Required conditions to merge
  • check-success = Conventional Commit title
  • check-success = Queue validation
  • any of [🛡 GitHub repository ruleset rule master]:
    • check-success = @github-actions/Lint & Format
    • check-neutral = @github-actions/Lint & Format
    • check-skipped = @github-actions/Lint & Format
  • any of [🛡 GitHub repository ruleset rule master]:
    • 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)
  • any of [🛡 GitHub repository ruleset rule master]:
    • check-success = @github-actions/NAPI Build (Windows)
    • check-neutral = @github-actions/NAPI Build (Windows)
    • check-skipped = @github-actions/NAPI Build (Windows)
  • any of [🛡 GitHub repository ruleset rule master]:
    • check-success = @github-actions/Rust Test & NAPI Build
    • check-neutral = @github-actions/Rust Test & NAPI Build
    • check-skipped = @github-actions/Rust Test & NAPI Build
  • any of [🛡 GitHub repository ruleset rule master]:
    • check-success = @github-actions/JS Test (Ubuntu)
    • check-neutral = @github-actions/JS Test (Ubuntu)
    • check-skipped = @github-actions/JS Test (Ubuntu)
  • any of [🛡 GitHub repository ruleset rule master]:
    • check-success = @github-actions/JS Test (Windows)
    • check-neutral = @github-actions/JS Test (Windows)
    • check-skipped = @github-actions/JS Test (Windows)
  • any of [🛡 GitHub repository ruleset rule master]:
    • check-success = @github-actions/Conventional Commit title
    • check-neutral = @github-actions/Conventional Commit title
    • check-skipped = @github-actions/Conventional Commit title

@mergify
mergify Bot merged commit 6b3e8b4 into master Oct 26, 2026
26 of 27 checks passed
@mergify
mergify Bot deleted the stack/tignear/feat/aplite/extract-independently-versioned-finite-solver--912d3583 branch October 26, 2026 17:24
@mergify mergify Bot removed the queued Mergify queue entry label Oct 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merge-ready Request merging through Mergify after required checks

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant