diff options
author | Jason Gross <jgross@mit.edu> | 2017-06-02 00:01:35 -0400 |
---|---|---|
committer | Jason Gross <jasongross9@gmail.com> | 2017-06-05 18:47:35 -0400 |
commit | 7488682db4cf259e0bb0c886e13301c32a2eeaa2 (patch) | |
tree | 9baf80699c9f00b01d3180504d58351b6ecc0f33 /src/LegacyArithmetic/BaseSystemProofs.v | |
parent | c4a0d1fdde22dbd2faaa1753e973ee9602076ee8 (diff) |
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).
Diffstat (limited to 'src/LegacyArithmetic/BaseSystemProofs.v')
-rw-r--r-- | src/LegacyArithmetic/BaseSystemProofs.v | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/LegacyArithmetic/BaseSystemProofs.v b/src/LegacyArithmetic/BaseSystemProofs.v index b87df814d..f0f0a80d2 100644 --- a/src/LegacyArithmetic/BaseSystemProofs.v +++ b/src/LegacyArithmetic/BaseSystemProofs.v @@ -122,7 +122,8 @@ Section BaseSystemProofs. end. rewrite (combine_truncate_r vs bs); apply (f_equal2 Z.add); trivial; []. unfold combine; break_match. - { apply (f_equal (@length _)) in Heql; simpl length in Heql; rewrite skipn_length in Heql; omega. } + { let Heql := match goal with H : _ = nil |- _ => H end in + apply (f_equal (@length _)) in Heql; simpl length in Heql; rewrite skipn_length in Heql; omega. } { cbv -[Z.add Z.mul]; ring_simplify; f_equal. assert (HH: nth_error (z0 :: l) 0 = Some z) by ( |