contextual-equivalence

Community

Prove program equivalence.

Authorrainoftime
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill addresses the challenge of proving that two programs behave identically, which is crucial for compiler correctness, program transformation verification, and optimization validation.

Core Features & Use Cases

  • Prove Contextual Equivalence: Demonstrate that two programs are indistinguishable in all possible execution contexts.
  • Bisimulation Techniques: Build and utilize bisimulation relations for rigorous behavioral equivalence proofs.
  • Use Case: Verify that a compiler optimization pass preserves the original program's observable behavior by proving contextual equivalence between the source and optimized code.

Quick Start

Use the contextual-equivalence skill to prove that program A is contextually equivalent to program B.

Dependency Matrix

Required Modules

operational-semantics-definerbisimulation-checker

Components

references

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: contextual-equivalence
Download link: https://github.com/rainoftime/pl-skills/archive/main.zip#contextual-equivalence

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.