There are countably many problems in P #
Problems in P are decidable (Cslib.Complexity.isDecidable_of_mem_P), and there are countably
many decidable problems (Turing.MultiTapeTM.countable_setOf_isDecidable), so P is countable
(Cslib.Complexity.countable_P). Diagonalization over P needs only this count: the existence of
complexity cores (CslibFrontier.Computability.Complexity.Classes.Immune.Core) is an example.
Main results #
Cslib.Complexity.isDecidable_of_mem_P: problems inPare decidable.Cslib.Complexity.countable_P: there are countably many problems inP.