proposition: Lemma InvertedIndex_BagCountCorrect : BagCountCorrect InvertedIndex_RepInv InvertedIndex_bcount InvertedIndex_bfind.
proof: Proof. unfold BagCountCorrect, InvertedIndex_bcount, InvertedIndex_bfind; intros. induction (MValues.elements (Find_MatchingIndexes container (fst search_term) container)); simpl; eauto. find_if_inside; simpl; eauto. Qed.
imports: Fiat.Common.Coq__8_4__8_5__Compat Fiat.QueryStructure.Implementation.DataStructures.Bags.BagsInterface Fiat.QueryStructure.Implementation.DataStructures.Bags.BagsProperties Coq.Arith.Peano_dec Coq.Structures.OrdersEx Coq.FSets.FMapInterface Coq.FSets.FMapFacts Coq.FSets.FMapAVL Coq.ZArith.ZArith Fiat.Common Fiat.Common.String_as_OT Fiat.Common.List.ListFacts Fiat.Common.List.FlattenList Fiat.Common.SetEqProperties Fiat.Common.FMapExtensions Fiat.Common.List.PermutationFacts Fiat.QueryStructure.Specification.SearchTerms.ListInclusion