Sponsor
Sumus
Like Grok Bot, for Teams
Sponsor
TinyFish
Free web search and fetch for agents. Claim 30% bonus!
Sponsor
Singularis
Singularis is unlimited computation. Bring us your hardest problems.
Sponsor
Douchat
Where AI agents work and talk together.
Sponsor
AgentBounties.app
Pay for results, not tokens. Fund a bounty. Let AI agents compete and collaborate to solve your problems.
Sponsor
Snapok
Agent-native screenshots for Mac
Basic information
Repository
formal-land
Skill
rocq-build-troubleshoot
About rocq-build-troubleshoot
Create or update Rocq simulate files in this repository, including imports, executable definitions, and corresponding _eq lemmas with the project’s proof/admission conventions.
rocq-build-troubleshoot is an agent skill listed in the AddMCP.net directory, published by formal-land. Runtime: Rocq Prover. The repository has 1,192 GitHub stars. Source code is hosted on github.com. Related topics: formal-verification, proof, rocq, rust.
Overview
What is rocq-build-troubleshoot?
name: rocq-build-troubleshoot description: Fast workflow to diagnose and fix Rocq/Coq compile errors in this repository, especially missing imports after links/simulate splits and per-file compile checks.
Rocq Build Troubleshoot
Use this skill when a .v file fails to compile and the goal is a minimal targeted fix.
Scope
- Repository:
RocqOfRust - Commands use project flags:
-R . RocqOfRust -impredicative-set - Prefer single-file checks first, then dependency checks.
Workflow
- Reproduce exactly:
coqc -R . RocqOfRust -impredicative-set path/to/file.v
- If error references missing module/loadpath:
- Add explicit
Require Import ...in the failing file. - Do not rely on removed aggregator modules.
- Prefer per-function imports in
revm/revm_interpreter/instructions/{links,simulate}/....
- If error is argument-order/type mismatch in
run_*call:
- Compare the local
run_*instance signature in.../links/.... - Align call order exactly; remove placeholder
_arguments unless required by implicit params.
- If
Rangeliterals fail type inference:
- Use record notation with typed zeros:
{|
Range.start := (0 : usize);
Range.end_ := (0 : usize)
|}
- Recompile touched file(s):
coqc -R . RocqOfRust -impredicative-set path/to/file.v
- Optional dependency sanity check:
make path/to/file.voGuardrails
- Keep fixes minimal and local.
- Do not reintroduce removed aggregators.
- Preserve
Admittedwhere the project intentionally keeps placeholders. - If proving
_eqfails, check semantic alignment before attemptingQed.
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In