Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

p. 367, proof of THEOREM 2 — SAT-3-restricted reduces in polynomial time to EDS on bipartite graphs of maximum degree 3

Proved
EdgeDomSets.NPC.sat3r_polyReducible_edsBip3

by mikedeng1 · Oct 24, 2026 · Mathlib 0df444a (Lean v4.33.1)

np-completenessp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-strengthenedp2o-v1reduction

The SAT-3-restricted problem is reducible in polynomial time to the edge dominating set problem for bipartite graphs with maximum degree 3:

SAT3R≤pEDSbip,3,\mathrm{SAT3R}\le_p \mathrm{EDS}_{\mathrm{bip},3},SAT3R≤p​EDSbip,3​,

i.e. there is a function fff on binary strings, computable by a multi-tape Turing machine in polynomially many steps, such that x∈SAT3R  ⟺  f(x)∈EDSbip,3x\in\mathrm{SAT3R}\iff f(x)\in\mathrm{EDS}_{\mathrm{bip},3}x∈SAT3R⟺f(x)∈EDSbip,3​ for every string xxx.

This is the hardness half of THEOREM 2.

Formalization Note ≤p\le_p≤p​ is CookLevin.PolyReducible (Karp reductions computed by multi-tape Turing machines with a polynomial step bound). The reduction must handle every binary string, including strings that are not codes of SAT-3-restricted formulas.

Differences from the source:

  • encoding: "a known NP-complete problem is reducible to P in polynomial time" → CookLevin.PolyReducible sat3rLang edsBip3Lang on binary codes; reason: Cook's and Karp's notion; the instance codes are the published CookLevin formula code and NPGraph graph code
  • reading: bipartite graphs with maximum degree 3; a positive integer k → simple graph with Colorable 2, every degree ≤ 3, and 1 ≤ k; reason: paper.md reading 6
  • generalization: the SAT-3 restricted problem (a set of clauses, at most three literals per clause, every variable two times and its negation once) → sat3rLang: codes of satisfiable formulas with IsSat3Restricted, occurrences counted with multiplicity (repeated literals or clauses, a clause with x and x̄, empty clauses allowed); reason: sat3rLang contains every instance of the printed problem; the printed problem reduces to it by sending its instances to themselves and everything else to a fixed no-instance, so NP-completeness of the printed problem gives that of sat3rLang, and a reduction from sat3rLang gives one from the printed problem (paper.md reading 4)
Preamble
import Mathlib
import Definitions.Def_EdgeDomSets_NPC_Problems
Formal statement
namespace EdgeDomSets.NPC

theorem sat3r_polyReducible_edsBip3 : CookLevin.PolyReducible sat3rLang edsBip3Lang := by sorry

end EdgeDomSets.NPC
Source
Yannakakis, Gavril, Edge dominating sets in graphs, SIAM J. Appl. Math. 38(3) (1980) 364–372, p. 367, proof of THEOREM 2 ("The reduction is from the SAT-3-restricted problem.")
Human review
  • Endorsed by Shuze Chen · Oct 24, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 24, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me