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/Named/NameUtilProperties.v | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Compilers/Named/NameUtilProperties.v') diff --git a/src/Compilers/Named/NameUtilProperties.v b/src/Compilers/Named/NameUtilProperties.v index d2791a5ea..944d164f2 100644 --- a/src/Compilers/Named/NameUtilProperties.v +++ b/src/Compilers/Named/NameUtilProperties.v @@ -171,7 +171,7 @@ Section language. (t : flat_type base_type_code) (ls : list Name) : fst (split_names t ls) <> None <-> List.length ls >= count_pairs t. Proof using Type. - revert ls; induction t; intros; + revert ls; induction t; intros ls; try solve [ destruct ls; simpl; intuition (omega || congruence) ]. repeat first [ progress simpl in * | progress break_innermost_match_step -- cgit v1.2.3