From 75dace920133e147abd6463645068b52f431a690 Mon Sep 17 00:00:00 2001 From: Oliver Nash Date: Wed, 24 Apr 2019 12:23:20 +0100 Subject: Add PairUsualDecidableTypeFull A module allowing the user to build a UsualDecidableTypeFull from a pair of such, exactly analogous to the extant PairDecidableType and PairUsualDecidableType modules. Co-authored-by: Jean-Christophe Léchenet --- CHANGES.md | 2 ++ theories/Structures/EqualitiesFacts.v | 11 +++++++++++ 2 files changed, 13 insertions(+) diff --git a/CHANGES.md b/CHANGES.md index 3c8070d585..5ca16ae1fe 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -45,6 +45,8 @@ Unreleased changes **Standard library** +- Added Coq.Structures.EqualitiesFacts.PairUsualDecidableTypeFull + **Infrastructure and dependencies** diff --git a/theories/Structures/EqualitiesFacts.v b/theories/Structures/EqualitiesFacts.v index c738b57f44..0f63855b55 100644 --- a/theories/Structures/EqualitiesFacts.v +++ b/theories/Structures/EqualitiesFacts.v @@ -212,3 +212,14 @@ Module PairUsualDecidableType(D1 D2:UsualDecidableType) <: UsualDecidableType. Defined. End PairUsualDecidableType. + +(** And also for pairs of UsualDecidableTypeFull *) + +Module PairUsualDecidableTypeFull (D1 D2:UsualDecidableTypeFull) + <: UsualDecidableTypeFull. + + Module M := PairUsualDecidableType D1 D2. + Include Backport_DT (M). + Include HasEqDec2Bool. + +End PairUsualDecidableTypeFull. -- cgit v1.2.3