Skip to content

Commit

Permalink
Merge pull request #159 from mrhaandi/mod-uniform
Browse files Browse the repository at this point in the history
Future proof Zlcm.v and ZMod.v for
  • Loading branch information
spitters committed Apr 9, 2021
2 parents b1add83 + 5fbc305 commit c366d3f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion liouville/Zlcm.v
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ Proof.
reflexivity.
assumption.
case (Z.eq_dec a 0).
intro H; rewrite H; simpl; apply Zmod_0_r.
now intro H; rewrite H in Hap.
intro H; clear H.
apply Zmod0_Zdivides; assumption.
Qed.
Expand Down
3 changes: 2 additions & 1 deletion model/Zmod/ZMod.v
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,8 @@ Proof.
case m; auto.
Qed.

Lemma Zmod_zero_rht : forall a : Z, (a mod 0)%Z = 0%Z.
Lemma Zmod_zero_rht : forall a : Z, (a mod 0)%Z =
ltac:(match eval hnf in (1 mod 0) with | 0 => exact 0%Z | _ => exact a end).
Proof.
intro a.
case a; auto.
Expand Down

0 comments on commit c366d3f

Please sign in to comment.