aboutsummaryrefslogtreecommitdiff
path: root/src/BoundedArithmetic
diff options
context:
space:
mode:
authorGravatar Jason Gross <jgross@mit.edu>2016-10-03 16:20:41 -0400
committerGravatar Jason Gross <jgross@mit.edu>2016-10-03 16:20:41 -0400
commit092b80668ed9b56b54906f362ae6fae8155e94b0 (patch)
treede7c7b000377a7dabc5e185be4e5abe036ec7266 /src/BoundedArithmetic
parenta60260aed203fd5886037d9c3ac8490b83d6bb21 (diff)
Work around bug 5107 (broken return inference)
This is https://coq.inria.fr/bugs/show_bug.cgi?id=5107, Unification got weaker in the past week or so. We work around this by making [dlet] non-dependent.
Diffstat (limited to 'src/BoundedArithmetic')
-rw-r--r--src/BoundedArithmetic/DoubleBounded.v1
-rw-r--r--src/BoundedArithmetic/DoubleBoundedProofs.v1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/BoundedArithmetic/DoubleBounded.v b/src/BoundedArithmetic/DoubleBounded.v
index 5cf48cd3b..09a1926f2 100644
--- a/src/BoundedArithmetic/DoubleBounded.v
+++ b/src/BoundedArithmetic/DoubleBounded.v
@@ -7,6 +7,7 @@ Require Import Crypto.Util.Tuple.
Require Import Crypto.Util.ListUtil.
Require Import Crypto.Util.Notations.
Require Import Crypto.Util.LetIn.
+Import Bug5107WorkAround.
Local Open Scope nat_scope.
Local Open Scope Z_scope.
diff --git a/src/BoundedArithmetic/DoubleBoundedProofs.v b/src/BoundedArithmetic/DoubleBoundedProofs.v
index 07727ea0d..ef6e3c5c0 100644
--- a/src/BoundedArithmetic/DoubleBoundedProofs.v
+++ b/src/BoundedArithmetic/DoubleBoundedProofs.v
@@ -13,6 +13,7 @@ Require Import Crypto.Util.ListUtil.
Require Import Crypto.Util.Tactics.
Require Import Crypto.Util.Notations.
Require Import Crypto.Util.LetIn.
+Import Bug5107WorkAround.
Import ListNotations.
Local Open Scope list_scope.