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/Curves/Edwards/XYZT.v | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/Curves/Edwards/XYZT.v') diff --git a/src/Curves/Edwards/XYZT.v b/src/Curves/Edwards/XYZT.v index 2b126dfcb..3604e9b2e 100644 --- a/src/Curves/Edwards/XYZT.v +++ b/src/Curves/Edwards/XYZT.v @@ -105,7 +105,12 @@ Module Extended. let Z3 := F*G in (X3, Y3, Z3, T3) end. - Next Obligation. pose proof (E.denominator_nonzero _ nonzero_a square_a _ nonsquare_d _ _ (proj2_sig (to_twisted P1)) _ _ (proj2_sig (to_twisted P2))); t. Qed. + Next Obligation. + match goal with + | [ |- match (let (_, _) := coordinates ?P1 in let (_, _) := _ in let (_, _) := _ in let (_, _) := coordinates ?P2 in _) with _ => _ end ] + => pose proof (E.denominator_nonzero _ nonzero_a square_a _ nonsquare_d _ _ (proj2_sig (to_twisted P1)) _ _ (proj2_sig (to_twisted P2))) + end; t. + Qed. Global Instance isomorphic_commutative_group_m1 : @Group.isomorphic_commutative_groups -- cgit v1.2.3