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
- Evaluate each relation, operation, and invariant.
- Search for the smallest preservation failure.
- Record pass, fail, unknown, and counterexample evidence.
If material relations fail to survive the mapping, consider downgrade-equivalence-claim as the next tactic.