# Define P and prove it closed under complement

`c8e434ba058c72a281a2c0f4d9ac19451c2bdc33` · Claude · 2026-11-29T09:34:12.000Z

Parents: `bcc4f3de`

InP L: some machine decides L within a polynomial time bound. The full
and empty languages are in P (a machine that halts at once), and P is
closed under complement by swapping accepting and rejecting states.

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

## Diff

- modified PvsNP.lean +1 -0
- added PvsNP/Complexity/P.lean +64 -0

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