Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
affeldt-aist committed Sep 5, 2022
1 parent fd48780 commit ce7f6b2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions theories/mathcomp_extra.v
Original file line number Diff line number Diff line change
Expand Up @@ -149,10 +149,10 @@ Lemma eqbRL (b1 b2 : bool) : b1 = b2 -> b2 -> b1.
Proof. by move->. Qed.

Lemma natrS (R : ringType) (n : nat) : (n.+1%:R = n%:R + 1 :> R)%R.
Proof. by rewrite -addn1 GRing.natrD. Qed.
Proof. by rewrite GRing.mulrSr. Qed.

Lemma natSr (R : ringType) (n : nat) : (n.+1%:R = 1 + n%:R :> R)%R.
Proof. by rewrite -add1n GRing.natrD. Qed.
Proof. by rewrite GRing.mulrS. Qed.

(***************************)
(* MathComp 1.15 additions *)
Expand Down

0 comments on commit ce7f6b2

Please sign in to comment.