fact: Definition IBagFindCorrect (RepInv : TMap -> TBag -> Prop) (Matcher : TSearchTerm -> TItem -> bool) (ibenumerate : TBag -> list TIndex) (ibfind : TBag -> TSearchTerm -> list TIndex) := forall bag imap searchterm, RepInv imap bag -> Permutation (ibfind bag searchterm) (List.filter (IBagMatcher Matcher imap searchterm) (ibenumerate bag)).
imports: Fiat.Common.Coq__8_4__8_5__Compat Fiat.QueryStructure.Implementation.DataStructures.Bags.BagsInterface Fiat.QueryStructure.Implementation.DataStructures.Bags.BagsProperties