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 #
Set.Finite.mem_P: finite problems are inP.
theorem Set.Finite.mem_P {β : Type} {enc : β ↪ List Bool} {F : Set β} (hF : F.Finite) :
F ∈ Cslib.Complexity.P enc
Finite problems are in P, decided by comparing the encoded instance with the encodings
of the finitely many members.