From 7488682db4cf259e0bb0c886e13301c32a2eeaa2 Mon Sep 17 00:00:00 2001 From: Jason Gross Date: Fri, 2 Jun 2017 00:01:35 -0400 Subject: Don't rely on autogenerated names This fixes all of the private-names warnings emitted by compiling fiat-crypto with https://github.com/coq/coq/pull/268 (minus the ones in coqprime, which I didn't touch). --- src/Compilers/TestCase.v | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/Compilers/TestCase.v') diff --git a/src/Compilers/TestCase.v b/src/Compilers/TestCase.v index 36774e4e3..e1fb0087a 100644 --- a/src/Compilers/TestCase.v +++ b/src/Compilers/TestCase.v @@ -212,17 +212,17 @@ Module bounds. Definition add_bounded_pf (x y : bounded_pf) : bounded_pf. Proof. exists (map_bounded_f2 plus false (proj1_sig x) (proj1_sig y)). - simpl; abstract (destruct x, y; simpl; omega). + simpl; let x := x in let y := y in abstract (destruct x, y; simpl; omega). Defined. Definition mul_bounded_pf (x y : bounded_pf) : bounded_pf. Proof. exists (map_bounded_f2 mult false (proj1_sig x) (proj1_sig y)). - simpl; abstract (destruct x, y; simpl; nia). + simpl; let x := x in let y := y in abstract (destruct x, y; simpl; nia). Defined. Definition sub_bounded_pf (x y : bounded_pf) : bounded_pf. Proof. exists (map_bounded_f2 minus true (proj1_sig x) (proj1_sig y)). - simpl; abstract (destruct x, y; simpl; omega). + simpl; let x := x in let y := y in abstract (destruct x, y; simpl; omega). Defined. Definition interp_base_type_bounds (v : base_type) : Type := match v with -- cgit v1.2.3