-
Notifications
You must be signed in to change notification settings - Fork 4
/
ab.sig
executable file
·58 lines (32 loc) · 1.49 KB
/
ab.sig
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
(*======================================================================
The signature of assumption bases.
=======================================================================*)
signature ABASE =
sig
type assum_base
val empty_ab: assum_base
val isMember: Prop.prop * assum_base -> bool
val areMembers: Prop.prop list * assum_base -> bool
val insert: Prop.prop * assum_base -> assum_base
val remove: assum_base * Prop.prop -> assum_base
val augment: assum_base * Prop.prop list -> assum_base
val fetch: assum_base * (Prop.prop -> bool) -> Prop.prop option
val fetchAll: assum_base * (Prop.prop -> bool) -> Prop.prop list
val getAll: assum_base -> Prop.prop list
val getTag: assum_base -> int
val getPropCode: Prop.prop -> int
val occursFree: AthTermVar.ath_term_var * assum_base -> bool
val occursFreeUpToSubsorting: AthTermVar.ath_term_var * assum_base -> bool
(* occursFreeUpToSubsorting uses Prop.occursFreeUpToSubsorting *)
val propCount: unit -> int
val insertions: int ref
val look_ups: int ref
val bucketSizes: unit -> int list
val getBucketSizeStatistics: unit -> string
val getAssertions: assum_base -> Prop.prop list
val addAssertion: Prop.prop * assum_base -> assum_base
val addAssertions: Prop.prop list * assum_base -> assum_base
val isAssertion: Prop.prop * assum_base -> bool
val adjustHashTable: assum_base -> unit
val top_assum_base: assum_base ref
end