Skip to content

Release Caesar 4.2.0 - #136

Merged
Philipp15b merged 32 commits into
mainfrom
codex/caesar-4.2.0
Nov 18, 2026
Merged

Philipp15b merged 32 commits into
mainfrom
codex/caesar-4.2.0

Conversation

@Philipp15b

Copy link
Copy Markdown
Collaborator

Prepare Caesar 4.2.0 and its website announcement.

Changes

  • Preserve procedure-call initializers when proof rules copy loop bodies, reset literal initializers on each JANI loop iteration, and fix arithmetic under --explain-core-vc.
  • Extend @past to bound expected loop rewards and @ost to prove expected reward lower bounds. Allow omitted else blocks in Boolean conditionals.
  • Read Storm 2.0 results and solution bounds, separate solver sessions from proof obligations, and fix Linux memory-limit checks.
  • Add the HeyVL example gallery and walkthroughs, update the documentation and news layouts, and set the verifier and VS Code extension versions to 4.2.0.

Local validation

  • All 253 Rust workspace tests with bundled Z3, rustfmt, and Clippy passed.
  • All 38 documented example commands passed. Storm 2.0 result parsing and the JANI initializer smoke test passed.
  • The production website built successfully. Browser checks covered the release post, updated introduction, and news and About layouts on desktop and mobile.
  • The VS Code 4.2.0 VSIX packaged successfully.

QEMU user-mode emulation reports zero RSS in /proc/self/smaps, so Caesar can exceed --mem without triggering the memory check.
The memory-stats reader also fails when smaps contains a non-UTF-8 mapped path, disabling monitoring for that run.

Enable always_use_statm to read Linux RSS from /proc/self/statm.
This avoids the smaps failures at the cost of a less precise reading on kernels that report batched RSS counters.
Update the warning to describe what happens if reading memory usage still fails.
Proof rules copy loop bodies while sharing variable declarations.
Lowering an initializer used to remove it from every copy, which could verify a false postcondition, report a spurious counterexample, or miss a call direction mismatch.
Store the initializer on the statement so each copy can lower its call independently.

Keep the variable declaration in its enclosing block for later references and declare a fresh saved argument inside each lowered call.
The JANI exporter set literal initializers at model startup and skipped them during execution.
A later loop iteration could then read the previous iteration's value and produce an incorrect model-checking result.

Emit an assignment each time control reaches the declaration, including when the initializer is a literal.
@Philipp15b
Philipp15b enabled auto-merge November 18, 2026 15:11
@Philipp15b
Philipp15b merged commit 7c5d319 into main Nov 18, 2026
12 checks passed

This branch had an error being deployed

1 failed deployment
github-pages — 7c5d3195 Deployed Nov 18, 2026 by Philipp15b via deploy #421
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant