Skip to content

chore: upgrade Rocq 9.0 → 9.1#30

Draft
avrabe wants to merge 2 commits into
mainfrom
chore/rocq-9.1-upgrade
Draft

chore: upgrade Rocq 9.0 → 9.1#30
avrabe wants to merge 2 commits into
mainfrom
chore/rocq-9.1-upgrade

Conversation

@avrabe

@avrabe avrabe commented Apr 3, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Upgrade Rocq from 9.0.1 to 9.1.1
  • Use version-specific nixpkgs package sets (coqPackages_9_1) for dependency resolution
  • All nixpkgs dependencies confirmed available: rocq-core 9.1.1, hammer 1.3.2+9.1, coqutil 0.0.7
  • smpl stays on rocq-9.0 branch (opam declares rocq-core >= 9.0)

Test plan

  • CI passes — this is the real test: whether rocq-of-rust's generated code + proofs compile against Rocq 9.1

🤖 Generated with Claude Code

avrabe and others added 2 commits April 2, 2026 20:38
- Bump default Rocq version from 9.0 to 9.1
- Use version-specific coqPackages sets (coqPackages_9_1) so
  coqutil, hammer, and smpl resolve against the correct Rocq version
- smpl stays on rocq-9.0 branch (declares rocq-core >= 9.0)
- nixpkgs has all required packages: rocq-core 9.1.1, hammer 1.3.2+9.1,
  coqutil 0.0.7 (supports 9.0-9.2)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
The smpl nix expression was hardcoded to coq_9_0, causing .vo version
mismatch (90001 vs 90100) when using Rocq 9.1. Now parameterized via
rocq_nix_attr attribute passed from the extension.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@avrabe
avrabe marked this pull request as draft April 3, 2026 01:15
avrabe added a commit that referenced this pull request Jul 21, 2026
…for #37 (#40)

rules_rocq_rust had no rivet project. Initializes one (stpa + dev schemas)
and seeds the top of the V so #37 (add Flocq/Gappa/Coq-Interval for
machine-checked FP error-bound proofs) can be driven through the feature
loop with traceability from commit one:

- STPA: the loss is a false "verified" signal from this toolchain
  propagating into a downstream safety case (e.g. relay's flight-math
  kernels). H-001 generalizes an already-fixed failure class (the smpl
  .vo version mismatch in PR #30, the rocq_library -Q path issue in #35).
  H-002 is the new risk #37 introduces: trusting a Gappa-emitted proof
  certificate without replaying it through the Rocq kernel.
- REQ-001/DD-002 document the existing mechanism (Bazel action-failure
  semantics + explicit Rocq-version pinning) that already satisfies the
  general constraint.
- REQ-002/DD-001/FEAT-001 capture #37's own technical assessment
  (Gappa for rounding, Coq-Interval for approximation, Flocq underneath,
  every Gappa certificate kernel-replayed) as the accepted design.

rivet validate passes; remaining warnings are expected (no test artifacts
yet — this is the scaffold, not the implementation).


Claude-Session: https://claude.ai/code/session_011MptgyfLZuHYCbfpq1zDey

Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>
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