infer sort to uninject sorts
use unsafe build in sort inference
call sdf_desugar without typesmart syntax
ignore "Locked(_)" terms