fact: Definition addCacheToMethDef (Sig : methSig) (oldCons : @methDef rep Sig) : @methDef (@cachedRep rep cacheType) Sig := {| methBody := addCacheToMethod cacheSpec (methBody oldCons) |}.
imports: Coq.Lists.List Fiat.Common Fiat.ADT.ADTSig Fiat.ADT.Core Fiat.ADTNotation.BuildADTSig Fiat.ADTNotation.BuildADT Fiat.Common.ilist Fiat.Common.BoundedLookup Fiat.ADTRefinement.Core Fiat.ADTRefinement.SetoidMorphisms Fiat.ADTRefinement.GeneralRefinements Fiat.ADTRefinement.Refinements.HoneRepresentation Fiat.ADTRefinement.BuildADTSetoidMorphisms Fiat.ADTRefinement.Refinements.ADTCache