用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/tomevault-io/skills-registry --skill fstarverifier命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | fstarverifier |
| description | Use fstar.exe to verify F* code and interpret the errors reported Use when this capability is needed. |
| metadata | {"author":"fstarlang"} |
This skill is used when:
# Verify a single file
fstar.exe Module.fst
# With Pulse extension
fstar.exe --include <PULSE_HOME>/out/lib/pulse Module.fst
# With include paths
fstar.exe --include <PULSE_HOME>/out/lib/pulse --include path/to/lib Module.fst
# Show query statistics (find slow/cancelled proofs)
fstar.exe --query_stats Module.fst
# Split queries for isolation
fstar.exe --split_queries always Module.fst
# Log SMT queries for analysis
fstar.exe --log_queries Module.fst
# Refresh Z3 between queries
fstar.exe --z3refresh Module.fst
# Combined debugging
fstar.exe --include <PULSE_HOME>/out/lib/pulse --query_stats --split_queries always --z3refresh Module.fst
# Set rlimit (default varies, target ≤10 for robustness)
# In file: #push-options "--z3rlimit 10"
# Set fuel for recursive functions
# In file: #push-options "--fuel 1 --ifuel 1"
Cause: SMT cannot establish the postcondition from available facts Solutions:
assert statementsSeq.equal/Set.equal for collection equalityFS.all_finite_set_facts_lemma() for FiniteSet reasoningCause: Symbol not in scope Solutions:
open, module X = ...)Cause: Proof too complex for SMT within time limit Solutions:
#push-options "--fuel 0 --ifuel 0"opaque_to_smt and instantiate manuallyCause: Type mismatch, often with refinements Solutions:
Cause: Calling stateful function in ghost context (Pulse-specific) Solutions:
with bindings--query_stats to identify slow queriesassert statements to locate failure pointSeq.equal over == for sequencesFind the directory PoP-in-FStar on the local machine, or locate it here: https://github.com/FStarLang/PoP-in-FStar
This contains the sources to the Proof-oriented Programming in F* book. You can search through the book for various explanations, tips and common patterns.
Also look at FStar/ulib, FStar/doc, FStar/examples for sample code.
Converted and distributed by TomeVault — claim your Tome and manage your conversions.