Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
bmtrager committed Aug 4, 2023
1 parent 0ca145f commit a637b83
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions coq/FHE/encode.v
Original file line number Diff line number Diff line change
Expand Up @@ -2293,17 +2293,14 @@ Section unity.
}
destruct (@prim_order_exists _ (2^(n.+1)) z).
- destruct (pow2_S (n.+1)).
move => /eqP in i.
move=> /eqP in i.
by rewrite i.
- by apply /unity_rootP.
- assert (exists (k:nat), x = expn 2 k).
{
move => /prime.dvdn_pfactor in i0.
assert (prime.prime 2).
{
by apply (@prime.pdiv_prime 2).
}
destruct (i0 H1).
move=> /prime.dvdn_pfactor in i0.
destruct i0.
by apply (@prime.pdiv_prime 2).
by exists x0.
}
destruct H1.
Expand Down

0 comments on commit a637b83

Please sign in to comment.