# Define NP-hardness and NP-completeness

`5775f68a625381372449ec219c1ffa1a4b854544` · Claude · 2026-11-29T09:37:55.000Z

Parents: `9a243160`

NPHard L: every NP language reduces to L. NPComplete L: in NP and
NP-hard. Proved: hardness passes up along reductions, an NP-hard language
in P puts all of NP in P, an NP-complete language is in P exactly when
all of NP is, and NP-complete languages reduce to each other.

No concrete language is shown NP-complete yet (Cook–Levin is on the
roadmap).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

## Diff

- modified PvsNP.lean +1 -0
- added PvsNP/Complexity/Completeness.lean +54 -0

API: `https://git.neoopensource.com/v1/repos/pvsnp/commit?rev=5775f68a625381372449ec219c1ffa1a4b854544`
