An easy way to find redundant edges in a DAG
foldl.de