Skip to content

Commit

Permalink
prettify egcd_coprime_mult
Browse files Browse the repository at this point in the history
Signed-off-by: Avi Shinnar <[email protected]>
  • Loading branch information
shinnar committed Dec 11, 2023
1 parent 4c3b373 commit 3c969fe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions coq/FHE/zp_prim_root.v
Original file line number Diff line number Diff line change
Expand Up @@ -379,8 +379,8 @@ Section chinese.
intros.
rewrite -mulnA -modnMmr egcd_coprime //.
rewrite modnS mod0n dvdn1.
case (boolP (b == 1)); intros HH; move /eqP in HH.
- by rewrite HH muln0 !modn1.
case: eqVneq => [-> |].
- by rewrite muln0 !modn1.
- by rewrite muln1.
Qed.

Expand Down

0 comments on commit 3c969fe

Please sign in to comment.