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/Util/Relations.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/Util/Relations.v')
-rw-r--r-- | src/Util/Relations.v | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Util/Relations.v b/src/Util/Relations.v index d6b63b38f..8859a3bcc 100644 --- a/src/Util/Relations.v +++ b/src/Util/Relations.v @@ -38,7 +38,8 @@ Global Instance Equivalence_and {A B RA RB} {Equivalence_RB:@Equivalence B RB} : Equivalence (fun ab AB => RA (fst ab) (fst AB) /\ RB (snd ab) (snd AB)). Proof. - destruct Equivalence_RA as [], Equivalence_RB as []; cbv in *|-. + do 2 match goal with H : Equivalence _ |- _ => destruct H end; + cbv in *|-. repeat match goal with | _ => intro | _ => split |