test-structure-preservation

Installation
SKILL.md

test-structure-preservation

Purpose

Test whether a proposed mapping preserves required relations, operations, and invariants, while searching a minimal counterexample.

Input contract

required: [mapping, preservation_obligations, source_and_target]
optional: [counterexample_search_space]
constraints: [obligations must be enumerated before testing]

Procedure

  1. Evaluate each relation, operation, and invariant.
  2. Search for the smallest preservation failure.
  3. Record pass, fail, unknown, and counterexample evidence.

If material relations fail to survive the mapping, consider downgrade-equivalence-claim as the next tactic.

Installs
15
GitHub Stars
505
First Seen
Sep 24, 2026