add-propagator-chirho
Installation
SKILL.md
Add a new propagator to propagators-chirho: $ARGUMENTS
Instructions
- Analyze the requested propagator type and its bidirectional semantics
- Determine if it fits existing macros:
ternary_propagator_chirho!- for a op b = c patternsbinary_propagator_chirho!- for unary a = b patternscomparison_propagator_chirho!- for max/min style patterns
- Add the propagator to
src/propagator_chirho.rsfollowing existing patterns - Add corresponding method to
ConstraintSystemChirhoinsrc/constraint_system_chirho.rs - If arena feature is used, add to
src/arena_chirho.rsas well - Add unit tests for the new propagator
- Update CHANGELOG.md with the new propagator under [Unreleased]
- Run tests to verify:
cargo test