C API for SMTCoq
Functions
Defining function and predicate symbols of first-order logic

Functions

FUNSYM funsym (char *name, size_t arity, const SORT *domain, SORT codomain)
 Defining a function or predicate symbol of first-order logic. More...
 

Detailed Description

Defining function and predicate symbols of first-order logic.

Function Documentation

◆ funsym()

FUNSYM funsym ( char *  name,
size_t  arity,
const SORT *  domain,
SORT  codomain 
)

Defining a function or predicate symbol of first-order logic.

This function defines an uninterpreted function or predicate symbol.

Parameters
nameThe name of the symbol.
arityThe arity of the symbol.
domainThe (possibly empty) pointer to the list of the sorts corresponding to the domain of the symbol.
codomainThe sort corresponding to the codomain of the symbol.
Returns
The corresponding function or predicate symbol.