specula-org/tlaps-bench/tlaps-proof-hints

Claude Code and agent skill by specula-org/tlaps-bench

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Resolve TLAPS proof failures involving theorem instances from modules with assumptions. Use when a citation such as BY I!Thm does not close a goal because prefixed and unprefixed imported operators are treated as different symbols.

Install

npx vskill@latest install specula-org/tlaps-bench/tlaps-proof-hints

SKILL.md

Use a theorem from an instantiated module

Symptom

A citation such as BY I!Thm, NA does not close the goal even though I!Thm appears to prove it and NA appears to supply the corresponding local assumption.

Cause

When a module with assumptions is instantiated as I == INSTANCE M, the instantiated assumptions become hypotheses of its theorem instances. If an assumption mentions an operator imported through EXTENDS, the instance re-exports that operator under the I! prefix. TLAPS treats the prefixed and unprefixed names as distinct internal symbols, so backends do not automatically relate I!Pos(N) to Pos(N).

Fix

Prove a bridge theorem equating the prefixed operator with its local counterpart and cite it alongside the instantiated theorem:

tla
---- MODULE Lib ----
EXTENDS Integers
Pos(n) == n > 0
====
---- MODULE A ----
EXTENDS Lib
CONSTANT N
ASSUME NA == Pos(N)
THEOREM Thm == N > 0
BY NA DEF Pos
====
---- MODULE B ----
EXTENDS Lib
CONSTANT N
ASSUME NA == Pos(N)
I == INSTANCE A
THEOREM Bridge == \A n : I!Pos(n) = Pos(n)
BY DEF I!Pos, Pos
THEOREM Test == N > 0
\* BY I!Thm, NA \* FAILS
BY I!Thm, NA, Bridge \* WORKS
====

Source: tlaplus/tlapm#279

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
5

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/specula-org/tlaps-bench/tlaps-proof-hints/badge)](https://verified-skill.com/skills/specula-org/tlaps-bench/tlaps-proof-hints)

Something wrong with this skill or its page? Tell us.