Skip to content

Commit

Permalink
implemented from_nat
Browse files Browse the repository at this point in the history
  • Loading branch information
HuStmpHrrr committed Apr 15, 2019
1 parent 3b5cd76 commit 5abd55e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Metalib/MetatheoryAtom.v
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ Module Type ATOM <: UsualDecidableType.

Parameter nat_of : atom -> nat.

Parameter from_nat : nat -> atom.

Hint Resolve eq_dec.

Include HasUsualEq <+ UsualIsEq <+ UsualIsEqOrig.
Expand Down Expand Up @@ -102,6 +104,8 @@ Module Atom : ATOM.

Definition nat_of := fun (x : atom) => x.

Definition from_nat : nat -> atom := fun x => x.

Include HasUsualEq <+ UsualIsEq <+ UsualIsEqOrig.

(* end hide *)
Expand Down

0 comments on commit 5abd55e

Please sign in to comment.