Proved solution for the Palomar statement #
Comparator checks that Palomar.beyond_bethe_permanent has exactly the same
type as its counterpart in Challenge.lean. The proof below extracts the
concrete algorithm and its finite-word Turing-machine implementation from the
fully internal theorem BeyondBethe.theoremOne, then applies Complexitylib's
formal proof of Cobham's characterization of polynomial time.