three-match

Reduce 3-SAT instances to colored subgraph isomorphism problems using ThreeMatch gadgets.

60|13|Updated Dec 22, 2025
One-click install
npx skills add https://github.com/plurigrid/asi --skill three-match
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: three-match
Source: https://github.com/plurigrid/asi/tree/main/skills/three-match
Command: npx skills add https://github.com/plurigrid/asi --skill three-match

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

A GF(3) conservation-based gadget that reduces 3-SAT to colored subgraph isomorphism using non-backtracking geodesics and Möbius filtering.

Core Features & Use Cases

  • Non-backtracking geodesics for local constraint enforcement
  • Möbius inversion filtering to cancel invalid paths
  • GF(3) conservation guarantees correct-by-construction behavior

Quick Start

Run the gadget demo: just three-match

Frequently Asked Questions about three-match

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I reduce 3-SAT problems to graph isomorphism?

Three-match reduces 3-SAT to colored subgraph isomorphism using non-backtracking geodesics and GF(3) conservation. This gadget-based approach enforces local constraints globally, enabling SAT solving through graph matching instead of traditional search.

What are non-backtracking geodesics and why use them for constraint enforcement?

Non-backtracking geodesics are paths that never immediately reverse direction, eliminating redundant exploration. Three-match uses them to enforce local 3-SAT clause constraints while Möbius filtering cancels invalid path combinations, guaranteeing correct-by-construction solutions.

Can I build and verify custom 3-SAT gadgets with this tool?

Yes. Three-match provides a programmable API for constructing ThreeMatch gadgets, validating constraints, and generating correctness-by-construction proofs. GF(3) conservation checks verify that gadget designs satisfy all local-to-global constraint requirements.

What makes GF(3) conservation important for 3-SAT reduction?

GF(3) conservation ensures that gadget values remain consistent across the reduction, preventing invalid satisfying assignments from leaking through. It transforms local clause constraints into global algebraic invariants checkable during subgraph isomorphism matching.

When should I use subgraph isomorphism reduction instead of direct SAT solving?

Subgraph isomorphism reduction suits workflows where graph algorithms or specialized hardware outperform SAT solvers, or when you need gadget-level constraint transparency and formal verification of reduction correctness.

What input format does the gadget require for 3-SAT instances?

Three-match accepts standard 3-SAT clause specifications and generates colored subgraph instances through gadget construction. Run the demo with `just three-match` to see input requirements and output formats in action.