P is closed under complement
Lax434930.ComplementClosure · concepts/Lax434930/ComplementClosure.lean · lax-434930
No public endorsements yet.
Loading review…
Sign in with ORCIDNatural Language Statement
Lemma
If a language of binary strings belongs to , then its complement also belongs to . The complement is taken in the set of all finite binary strings.
Concept map
In the paper
- page 4 of this submission's paper
Lean source view on GitHub
| 1 | import Lax434930.PolynomialTime |
| 2 | |
| 3 | /-! |
| 4 | --- |
| 5 | title: P is closed under complement |
| 6 | type: lemma |
| 7 | --- |
| 8 | If a language of binary strings belongs to , then its complement |
| 9 | also belongs to . The complement is taken in the set of all finite |
| 10 | binary strings. |
| 11 | -/ |
| 12 | |
| 13 | namespace Lax434930.ComplementClosure |
| 14 | |
| 15 | open Lax434930.PolynomialTime |
| 16 | |
| 17 | /-- The complement of a polynomial-time decidable language is polynomial-time decidable. -/ |
| 18 | axiom closed_under_complement (L : Language) : L ∈ P → Lᶜ ∈ P |
| 19 | |
| 20 | end Lax434930.ComplementClosure |
| 21 |
Discussion
Ask a question or add context. Endorsements and structured flags are kept in the review panel above.
0 comments