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/Curves/Edwards/AffineProofs.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/Curves/Edwards/AffineProofs.v')
-rw-r--r-- | src/Curves/Edwards/AffineProofs.v | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/Curves/Edwards/AffineProofs.v b/src/Curves/Edwards/AffineProofs.v index e77e39f50..8e69b78fe 100644 --- a/src/Curves/Edwards/AffineProofs.v +++ b/src/Curves/Edwards/AffineProofs.v @@ -44,7 +44,7 @@ Module E. Local Notation mul := (E.mul(nonzero_a:=nonzero_a)(square_a:=square_a)(nonsquare_d:=nonsquare_d)). Program Definition opp (P:point) : point := (Fopp (fst P), (snd P)). - Next Obligation. destruct P as [ [??]?]; cbv; fsatz. Qed. + Next Obligation. match goal with P : point |- _ => destruct P as [ [??]?] end; cbv; fsatz. Qed. Ltac t_step := match goal with @@ -203,7 +203,10 @@ Module E. cbv [compress decompress exist_option coordinates] in *; intros. t. intro. - apply (H0 f); [|congruence]. + match goal with + | [ H0 : _ |- False ] + => apply (H0 f); [|congruence] + end. admit. intro. Prod.inversion_prod; subst. rewrite solve_correct in y. |