File tree Expand file tree Collapse file tree 1 file changed +2
-9
lines changed
Expand file tree Collapse file tree 1 file changed +2
-9
lines changed Original file line number Diff line number Diff line change @@ -50,13 +50,6 @@ by move=> [|n] // ihSn; rewrite -addn1 Nat2Pos.inj_add //; apply/ih.
5050Qed .
5151End PosInd.
5252
53- (* -------------------------------------------------------------------- *)
54- Lemma addP m n : (m + n)%coq_nat = (m + n)%nat.
55- Proof . by []. Qed .
56-
57- Lemma mulP m n : (m * n)%coq_nat = (m * n)%nat.
58- Proof . by []. Qed .
59-
6053(* -------------------------------------------------------------------- *)
6154Definition int_to_Z (z : int) : Z :=
6255 match z with
@@ -244,10 +237,10 @@ Proof.
244237split=> // -[|x|x] y /=; first by rewrite mul0r.
245238- elim/posind: x => [|p ih]; first by rewrite !mul1r.
246239 rewrite Pos2Z.inj_add addZE mulrDl mul1r raddfD /=.
247- by rewrite ih Pos2Nat.inj_add /= addP PoszD mulrDl mul1r.
240+ by rewrite ih Pos2Nat.inj_add /= PoszD mulrDl mul1r.
248241- elim/posind: x => [|p ih]; first by rewrite !mulN1r raddfN.
249242 rewrite -Pos2Z.add_neg_neg addZE mulrDl mulN1r.
250- rewrite raddfB /= ih Pos2Nat.inj_add addP PoszD.
243+ rewrite raddfB /= ih Pos2Nat.inj_add PoszD.
251244 by rewrite opprD mulrDl mulN1r.
252245Qed .
253246
You can’t perform that action at this time.
0 commit comments