Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
proux01 committed Jun 28, 2024
1 parent 07cbbe8 commit cc6ee10
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions theories/schutte/ssete9.v
Original file line number Diff line number Diff line change
Expand Up @@ -1918,7 +1918,7 @@ Lemma mul_int n m : \F n * \F m = \F (n *m)%N.
Proof.
case: n; first by rewrite T1mul0n.
move => n;case: m; first by rewrite T1muln0 muln0.
by move => m /=; rewrite - mulnE mulnSr addnC.
by move=> m /=; rewrite -?mulnE mulnSr addnC. (* FIXME: remove -?mulnE when requiring Coq >= 8.21 *)
Qed.

Lemma mul_phi0 a b: phi0 (a + b) = phi0 a * phi0 b.
Expand Down Expand Up @@ -3780,7 +3780,7 @@ Lemma T2addn0: right_id zero T2add. Proof. by case. Qed.

Lemma add_int n m : \F n + \F m = \F (n +m)%N.
Proof.
by case: n m => // n [ | m]; rewrite /= - ? addnS // - addnE addn0.
by case: n m => // n [ | m]; rewrite /= - ? addnS // -?addnE addn0. (* FIXME: remove -?addnE when requiring Coq >= 8.21 *)
Qed.

Lemma add_fin_omega n: \F n + omega = omega.
Expand Down
2 changes: 1 addition & 1 deletion theories/stern/fibm.v
Original file line number Diff line number Diff line change
Expand Up @@ -3965,7 +3965,7 @@ apply:ZeckM_prop3; apply/andP; split.
by elim:n (0) => // k H n /=; rewrite H eqxx.
rewrite /Zeck_val - fib_sum !big_ord_recl /=.
elim:n => [|n Hr];first by rewrite big_nil big_ord0.
by rewrite big_ord_recr - (eqP Hr) iota_Sr rev_rcons big_cons addnC.
by rewrite big_ord_recr 1?addnA -(eqP Hr) iota_Sr rev_rcons big_cons addnC. (* FIXME: change 1?addnA into addnA when requiring Coq >= 8.21 *)
Qed.


Expand Down

0 comments on commit cc6ee10

Please sign in to comment.