diff options
author | Andres Erbsen <andreser@mit.edu> | 2017-02-22 14:11:41 -0500 |
---|---|---|
committer | Andres Erbsen <andreser@mit.edu> | 2017-03-02 13:37:14 -0500 |
commit | 2a321d84d1eceffbe35538c6f7fff2974e034e50 (patch) | |
tree | 853a56ca9fda978b82e8126fd754a002d7f74aa1 /src/CompleteEdwardsCurve/Pre.v | |
parent | f5c6a57c1453249aac448a33ac3443e45a0d3222 (diff) |
use [positive] for [F] modulus, char_ge_C instead of char_gt_C
Diffstat (limited to 'src/CompleteEdwardsCurve/Pre.v')
-rw-r--r-- | src/CompleteEdwardsCurve/Pre.v | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/CompleteEdwardsCurve/Pre.v b/src/CompleteEdwardsCurve/Pre.v index 1d86a8e91..32eae2334 100644 --- a/src/CompleteEdwardsCurve/Pre.v +++ b/src/CompleteEdwardsCurve/Pre.v @@ -17,7 +17,7 @@ Section Edwards. Context (a:F) (a_nonzero : a<>0) (a_square : exists sqrt_a, sqrt_a^2 = a). Context (d:F) (d_nonsquare : forall sqrt_d, sqrt_d^2 <> d). - Context {char_gt_2:@Ring.char_gt F eq zero one opp add sub mul 2}. + Context {char_ge_3:@Ring.char_ge F eq zero one opp add sub mul 3}. Local Notation onCurve x y := (a*x^2 + y^2 = 1 + d*x^2*y^2) (only parsing). Lemma onCurve_zero : onCurve 0 1. fsatz. Qed. |