Skip to content

fix(rivet): correct FEAT-001 -- Coq-Interval is not actually usable - #44

Closed
avrabe wants to merge 1 commit into
mainfrom
docs/feat-001-interval-gap-correction
Closed

fix(rivet): correct FEAT-001 -- Coq-Interval is not actually usable#44
avrabe wants to merge 1 commit into
mainfrom
docs/feat-001-interval-gap-correction

Conversation

@avrabe

@avrabe avrabe commented Jul 22, 2026

Copy link
Copy Markdown
Contributor

Summary

PR #43 reported (and I independently reproduced/deepened) that Require Import Interval.Tactic fails: #41 fetched coqPackages.interval but never wired its real dependency closure (bignums, mathcomp-boot, mathcomp-fingroup, and transitively hierarchy-builder + the coq-elpi OCaml plugin — see the PR #43 review comment for the full trace).

FEAT-001 and REQ-002 previously claimed this capability was implemented. Demoting both back to draft/approved until it's genuinely fixed and covered by a CI target that exercises Interval.Tactic, not just fetches the package — this is the same claim-honesty discipline as #42, applied to a rivet artifact instead of a README.

Adds DD-003: the verified fix is coq_9_0.withPackages(...), which resolves the whole transitive closure automatically (confirmed empirically — its coqc compiles a Require Import Interval.Tactic smoke proof cleanly, which no amount of manual nixpkgs_package + -Q wiring reached). Left as a draft design decision for the follow-up PR that actually implements the fix — not implemented in this PR.

Test plan

  • rivet validate — PASS (same warning baseline as before)

Refs #43

🤖 Generated with Claude Code

https://claude.ai/code/session_011MptgyfLZuHYCbfpq1zDey

PR #43 reported (and I independently reproduced/deepened) that
Require Import Interval.Tactic fails: #41 fetched coqPackages.interval
but never wired its real dependency closure (bignums, mathcomp-boot,
mathcomp-fingroup, and transitively hierarchy-builder + the coq-elpi
OCaml plugin). FEAT-001 and REQ-002 previously claimed this was done;
demoting both back to draft/approved until it's genuinely fixed and
covered by a CI target that exercises Interval.Tactic, not just
fetches the package.

Adds DD-003: the verified fix is coq_9_0.withPackages(...), which
resolves the whole transitive closure (confirmed: its coqc compiles
a Require Import Interval.Tactic smoke proof cleanly, which no amount
of manual nixpkgs_package + -Q wiring reached). Left as a draft design
decision for the follow-up PR, not implemented here.

Refs #43

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011MptgyfLZuHYCbfpq1zDey
@avrabe

avrabe commented Jul 22, 2026

Copy link
Copy Markdown
Contributor Author

Superseded by #43 — that PR now contains this correction (FEAT-001/REQ-002 demoted, DD-003 added) plus the actual fix (a working `coq_9_0.withPackages` environment + `rocq_interval_proof` rule + a real `Require Import Interval.Tactic` smoke test, verified PASSED). Closing this one rather than merging two PRs that both rewrite the same rivet artifacts.

🤖 Generated with Claude Code

@avrabe avrabe closed this Jul 22, 2026
@avrabe
avrabe deleted the docs/feat-001-interval-gap-correction branch July 22, 2026 17:36
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