aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.common2
-rw-r--r--theories/MSets/MSetToFiniteSet.v8
2 files changed, 5 insertions, 5 deletions
diff --git a/Makefile.common b/Makefile.common
index b815941768..989ce3c587 100644
--- a/Makefile.common
+++ b/Makefile.common
@@ -379,7 +379,7 @@ MSETSVO:=$(addprefix theories/MSets/, \
MSetInterface.vo MSetList.vo \
MSetFacts.vo MSetProperties.vo MSetEqProperties.vo \
MSetWeakList.vo MSetAVL.vo MSetDecide.vo \
- MSets.vo )
+ MSets.vo MSetToFiniteSet.vo)
RELATIONSVO:=$(addprefix theories/Relations/, \
Operators_Properties.vo Relation_Definitions.vo \
diff --git a/theories/MSets/MSetToFiniteSet.v b/theories/MSets/MSetToFiniteSet.v
index e8f8ab5e9f..f805a3c965 100644
--- a/theories/MSets/MSetToFiniteSet.v
+++ b/theories/MSets/MSetToFiniteSet.v
@@ -16,8 +16,8 @@ Require Import MSetInterface MSetProperties OrderedType2Ex DecidableType2Ex.
(** * Going from [MSets] with usual Leibniz equality
to the good old [Ensembles] and [Finite_sets] theory. *)
-Module WS_to_Finite_set (U:UsualDecidableType)(M: WSfun U).
- Module MP:= WProperties_fun U M.
+Module WS_to_Finite_set (U:UsualDecidableType)(M: WSetsOn U).
+ Module MP:= WPropertiesOn U M.
Import M MP FM Ensembles Finite_sets.
Definition mkEns : M.t -> Ensemble M.elt :=
@@ -124,7 +124,7 @@ Module WS_to_Finite_set (U:UsualDecidableType)(M: WSfun U).
Proof.
intro s; pattern s; apply set_induction; clear s; intros.
intros; replace (!!s) with (Empty_set elt); auto with sets.
- rewrite cardinal_1; auto with sets.
+ rewrite MP.cardinal_1; auto with sets.
symmetry; apply Extensionality_Ensembles.
apply Empty_Empty_set; auto.
replace (!!s') with (Add _ (!!s) x).
@@ -152,7 +152,7 @@ Module WS_to_Finite_set (U:UsualDecidableType)(M: WSfun U).
End WS_to_Finite_set.
-Module S_to_Finite_set (U:UsualOrderedType)(M: Sfun U) :=
+Module S_to_Finite_set (U:UsualOrderedType)(M: SetsOn U) :=
WS_to_Finite_set U M.