aig_resubstitution
following cut_rewriting
without cleanup_dangling
in between creates NEQ circuits
#601
Closed
3 tasks done
Describe the bug
What went wrong? (e.g. the optimized circuit was not equivalent to the original one, an assertion failed, etc.)
To Reproduce
Steps to reproduce the behavior:
debug2_minimized.aig.zip
Output without
cleanup_dangling
aftercut_rewriting
:Output with
cleanup_dangling
aftercut_rewriting
:The NEQ issue disappears by adding an additional
cleanup_dangling
aftercut_rewriting
, although this should not be needed in principle (becausecut_rewriting
rebuilds the network).If we visualize the network after
cut_rewriting
, it appears to be the same as the original one (i.e., no optimization happened).I suspect that there is either re-indexing or addition of dangling nodes happening during
cut_rewriting
, but I haven't investigated further yet.Check list
The text was updated successfully, but these errors were encountered: