Documentation

CslibFrontier.Computability.Complexity.Classes.P.Finite

Finite problems are in P #

A finite problem is decided in polynomial time by comparing the encoded instance with the encodings of its finitely many members (Set.Finite.mem_P).

Main results #

theorem Set.Finite.mem_P {β : Type} {enc : β ↪ List Bool} {F : Set β} (hF : F.Finite) :

Finite problems are in P, decided by comparing the encoded instance with the encodings of the finitely many members.