aboutsummaryrefslogtreecommitdiffhomepage
path: root/theories/Num/Params.v
blob: 394c016a3a83229dae9204ccea56a9c82d120218 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
(************************************************************************)
(*  v      *   The Coq Proof Assistant  /  The Coq Development Team     *)
(* <O___,, * CNRS-Ecole Polytechnique-INRIA Futurs-Universite Paris Sud *)
(*   \VV/  **************************************************************)
(*    //   *      This file is distributed under the terms of the       *)
(*         *       GNU Lesser General Public License Version 2.1        *)
(************************************************************************)

(*i $Id$ i*)

(** 
  Axiomatisation of a numerical set 

  It will be instantiated by Z and R later on
  We choose to introduce many operation to allow flexibility in definition 
  ([S] is primitive in the definition of [nat] while [add] and [one] 
   are primitive in the definition 
*)

Parameter N:Type.
Parameter zero:N.
Parameter one:N.
Parameter add:N->N->N.
Parameter S:N->N.

(** Relations, equality is defined separately *)
Parameter lt,le,gt,ge:N->N->Prop.