Skip to content

docs: verify-reduction — 5 type-incompatible reductions (math verified, needs decision variants)#996

Open
zazabap wants to merge 2 commits intomainfrom
feat/verify-type-incompatible
Open

docs: verify-reduction — 5 type-incompatible reductions (math verified, needs decision variants)#996
zazabap wants to merge 2 commits intomainfrom
feat/verify-type-incompatible

Conversation

@zazabap
Copy link
Copy Markdown
Collaborator

@zazabap zazabap commented Apr 2, 2026

Summary

5 reductions that are mathematically verified but cannot be implemented as ReduceTo in the current codebase due to Value type mismatches between source and target models.

# Source(Type) → Target(Type) Mismatch Checks Resolution needed
#198 MVC(Min) → HamiltonianCircuit(Or) Min→Or 29K Use VertexCover(Or) from PR #976
#890 MaxCut(Max) → OLA(Min) Max→Min 248K Add decision MaxCut variant or use ReduceToAggregate
#888 OLA(Min) → RootedTreeArrangement(Or) Min→Or 18K Add decision OLA variant (one-way reduction)
#894 MVC(Min) → PartialFeedbackEdgeSet(Or) Min→Or 721K Use VertexCover(Or) from PR #976
#395 Partition(Or) → KthLargestMTuple(Sum) Or→Sum 45K Turing reduction; needs ReduceToAggregate

Each includes Typst proof + constructor Python + adversary Python + test vectors JSON.

These are split from PR #992 (the main batch of 32 implementable verified reductions).

Test plan

  • Typst proofs compile to PDF
  • Constructor scripts pass
  • Adversary scripts pass

🤖 Generated with Claude Code

zazabap and others added 2 commits March 31, 2026 16:13
Covers 9 reductions: 2 NP-hardness chain extensions (#973, #198),
4 Tier 1a blocked issues (#379, #380, #888, #822), and
3 Tier 1b blocked issues (#892, #894, #890).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
These reductions are mathematically verified but cannot be implemented
as ReduceTo in the current codebase due to Value type mismatches.
They need decision-variant source models or ReduceToAggregate.

- #198 MVC(Min) → HamiltonianCircuit(Or) — 29K checks, GJ Thm 3.4
- #890 MaxCut(Max) → OLA(Min) — 248K checks, positional cut identity
- #888 OLA(Min) → RootedTreeArrangement(Or) — 18K checks, one-way
- #894 MVC(Min) → PartialFeedbackEdgeSet(Or) — 721K checks, novel hub construction
- #395 Partition(Or) → KthLargestMTuple(Sum) — 45K checks, Turing reduction

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

codecov bot commented Apr 2, 2026

Codecov Report

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

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #996      +/-   ##
==========================================
+ Coverage   98.03%   98.12%   +0.09%     
==========================================
  Files         784      858      +74     
  Lines       82310    89004    +6694     
==========================================
+ Hits        80695    87338    +6643     
- Misses       1615     1666      +51     

☔ 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.

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.

1 participant