fact: Definition rewriteTypeSpecs (ts:TYPESPEC.t) (enc:TYPEDEF.t) : TYPESPEC.t := let invs0 := TYPESPEC.invariant ts in let invs1 := rewriteInvariants invs0 enc in TYPESPEC.setInvariant ts invs1.
imports: JML(Prelude) Coq(ZArith) Coq(Bool) Coq(List) JML(TaggedList) JML(ListHelpers) JML(ListFunctions) JML(OptionHelpers) JML(JMLProgramPlusImpl) JML(JMLFull2Basic) JML(JMLExpressionNotations)