Using invariants to optimize formal specifications before code synthesis | IEEE Conference Publication | IEEE Xplore