Skip to content

docs: verify reduction #970 — CircuitSAT → Satisfiability#990

Closed
zazabap wants to merge 1 commit intomainfrom
issue/970-verify-circuitsat-satisfiability
Closed

docs: verify reduction #970 — CircuitSAT → Satisfiability#990
zazabap wants to merge 1 commit intomainfrom
issue/970-verify-circuitsat-satisfiability

Conversation

@zazabap
Copy link
Copy Markdown
Collaborator

@zazabap zazabap commented Apr 1, 2026

Summary

Tseitin transformation verification via /verify-reduction pipeline.

  • Constructor: 14,454 checks, 0 failures — gate clause truth tables, random circuits (2-5 vars), exhaustive n≤5, forward+backward, extraction
  • Adversary: 15,276 checks, 0 failures — independent implementation with hypothesis PBT (3,000 examples)
  • Test vectors: YES (AND+OR circuit, 7 SAT vars) and NO (contradictory NOT circuit) instances exported

Ready for /add-reduction to implement the Rust code.

Closes #970

🤖 Generated with Claude Code

Tseitin transformation: each gate (NOT/AND/OR/XOR) → definitional CNF clauses.
Constructor: 14,454 checks, 0 failures (7 sections, random circuits + exhaustive n≤5)
Adversary: 15,276 checks, 0 failures (independent impl + hypothesis PBT)
Both reproduce YES example (AND+OR circuit) and NO example (contradictory NOT).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@codecov
Copy link
Copy Markdown

codecov bot commented Apr 1, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.03%. Comparing base (423506c) to head (13c21dd).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #990   +/-   ##
=======================================
  Coverage   98.03%   98.03%           
=======================================
  Files         784      784           
  Lines       82310    82310           
=======================================
+ Hits        80695    80696    +1     
+ Misses       1615     1614    -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@zazabap zazabap closed this Apr 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Rule] CircuitSAT to Satisfiability

1 participant