From 092b80668ed9b56b54906f362ae6fae8155e94b0 Mon Sep 17 00:00:00 2001 From: Jason Gross Date: Mon, 3 Oct 2016 16:20:41 -0400 Subject: 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. --- src/BoundedArithmetic/DoubleBounded.v | 1 + src/BoundedArithmetic/DoubleBoundedProofs.v | 1 + 2 files changed, 2 insertions(+) (limited to 'src/BoundedArithmetic') 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. -- cgit v1.2.3