Skip to content

Commit

Permalink
Merge pull request #33 from Villetaneuse/rm_arith_files_coq_819
Browse files Browse the repository at this point in the history
Remove deprecated files in Coq.Arith
  • Loading branch information
RalfJung committed Oct 15, 2023
2 parents e20eee1 + 97eea49 commit 6ba0acc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions theories/Autosubst_Basics.v
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*)

Require Import Coq.Program.Tactics.
Require Import Coq.Arith.Plus List FunctionalExtensionality.
Require Import Coq.Arith.PeanoNat List FunctionalExtensionality.

(** Annotate "a" with additional information. *)
Definition annot {A B} (a : A) (b : B) : A := a.
Expand Down Expand Up @@ -240,7 +240,7 @@ Lemma plusSn n m : S n + m = S (n + m). reflexivity. Qed.
Lemma plusnS n m : n + S m = S (n + m). symmetry. apply plus_n_Sm. Qed.
Lemma plusOn n : O + n = n. reflexivity. Qed.
Lemma plusnO n : n + O = n. symmetry. apply plus_n_O. Qed.
Lemma plusA n m k : n + (m + k) = (n + m) + k. apply plus_assoc. Qed.
Lemma plusA n m k : n + (m + k) = (n + m) + k. apply Nat.add_assoc. Qed.

Lemma scons_eta f n : f n .: (+S n) >>> f = (+n) >>> f.
Proof.
Expand Down

0 comments on commit 6ba0acc

Please sign in to comment.