Skip to content

Commit

Permalink
example
Browse files Browse the repository at this point in the history
  • Loading branch information
thery committed Oct 12, 2024
1 parent 784a16f commit a5126e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion euler.v
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Qed.

Definition res_quad p a := has (fun i => (i * i) %% p == a) (iota 0 p).

Compute res_quad 4 2.
Compute res_quad 7 4.

Lemma res_quadP a p :
reflect (exists i : 'I_p, (i * i) %% p = a) (res_quad p a).
Expand Down

0 comments on commit a5126e9

Please sign in to comment.