]> matita.cs.unibo.it Git - helm.git/blob - helm/software/components/ng_paramodulation/orderings.mli
Branched paramodulation for CNF (Horn clauses)
[helm.git] / helm / software / components / ng_paramodulation / orderings.mli
1 (*
2     ||M||  This file is part of HELM, an Hypertextual, Electronic        
3     ||A||  Library of Mathematics, developed at the Computer Science     
4     ||T||  Department, University of Bologna, Italy.                     
5     ||I||                                                                
6     ||T||  HELM is free software; you can redistribute it and/or         
7     ||A||  modify it under the terms of the GNU General Public License   
8     \   /  version 2 or (at your option) any later version.      
9      \ /   This software is distributed as is, NO WARRANTY.     
10       V_______________________________________________________________ *)
11
12 (* $Id: nCic.ml 9058 2008-10-13 17:42:30Z tassi $ *)
13
14 module type Blob =
15   sig 
16     include Terms.Blob 
17
18     (* This order relation should be:
19      * - stable for instantiation
20      * - total on ground terms
21      *
22      *)
23     val compare_terms : 
24           t Terms.foterm -> t Terms.foterm -> Terms.comparison
25
26     (* these could be outside the module, but to ease experimentation
27      * we allow them to be tied with the ordering *)
28     val compute_clause_weight : 't Terms.clause -> int
29
30     val name : string
31
32   end
33
34 module NRKBO (B : Terms.Blob) : Blob 
35 with type t = B.t and type input = B.input
36
37 module KBO (B : Terms.Blob) : Blob 
38 with type t = B.t and type input = B.input
39
40 module LPO (B : Terms.Blob) : Blob 
41 with type t = B.t and type input = B.input