read_verilog alu2.v
techmap
flatten
select alu2_lev2
glift -create-sketch
opt
rename alu2_lev2 uut
cd ..
delete [AIONX][NVXR]2
glift -create-precise
rename alu2_lev2 spec
design -push-copy
miter -equiv spec uut miter
delete uut spec
stat miter
abc -script +print_stats;strash;print_stats;drwsat;print_stats;print_stats;fraig;print_stats;dc2,-l,-b;print_stats;irw,-l,-z;print_stats;refactor,-N,15,-z;print_stats;dch,-S,50000,-C,10000;print_stats;dc2,-l;print_stats;fraig,-C,10000;print_stats miter
stat
qbfsat -dump-final-smt2 /tmp/test.smt2 -write-solution alu2.soln -show-smtbmc -solver yices -timeout 3600 -nocleanup -assume-outputs -assume-negative-polarity -specialize miter
design -pop
copy uut solved
qbfsat -specialize-from-file alu2.soln solved
opt solved
miter -equiv spec solved satmiter
sat -prove trigger 0 satmiter
delete satmiter
shell