Commit 01f94618 authored by Johannes Kloos's avatar Johannes Kloos

Remove redundant instances

parent e9a80032
(* Copyright (c) 2012-2017, Coq-std++ developers. *) (* Copyright (c) 2012-2017, Coq-std++ developers. *)
(* This file is distributed under the terms of the BSD license. *) (* This file is distributed under the terms of the BSD license. *)
From stdpp Require Import pretty fin_collections relations prelude. From stdpp Require Import pretty fin_collections relations prelude gmap.
(** The class [Infinite] axiomatizes types with infinitely many elements (** The class [Infinite] axiomatizes types with infinitely many elements
by giving an injection from the natural numbers into the type. It is mostly by giving an injection from the natural numbers into the type. It is mostly
...@@ -95,10 +95,3 @@ Section Fresh. ...@@ -95,10 +95,3 @@ Section Fresh.
as [m [_ [-> [notinX belowinX]]]]; auto. as [m [_ [-> [notinX belowinX]]]]; auto.
Qed. Qed.
End Fresh. End Fresh.
(** Derive fresh instances. *)
Section StringFresh.
Context `{FinCollection string C, !RelDecision elem_of}.
Global Instance string_fresh: Fresh string C := fresh_generic.
Global Instance string_fresh_spec: FreshSpec string C := fresh_generic_spec.
End StringFresh.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment