FunctionFreeConjunction #
A conjunction of FunctionFreeAtoms $p(x, y) \land q(y)$ can simply be represented as a list of FunctionFreeAtoms.
Equations
- FunctionFreeConjunction sig = List (FunctionFreeAtom sig)
Instances For
The terms of a FunctionFreeConjunction are the terms of all its atoms.
Equations
- conj.terms = List.flatMap GeneralizedAtom.terms conj
Instances For
The vars of a FunctionFreeConjunction are the variables of all its atoms.
Equations
- conj.vars = List.flatMap FunctionFreeAtom.variables conj
Instances For
The consts of a FunctionFreeConjunction are the constants of all its atoms.
Equations
- conj.consts = List.flatMap FunctionFreeAtom.constants conj
Instances For
The predicates of a FunctionFreeConjunction are the predicates of all its atoms.
Equations
- conj.predicates = List.map GeneralizedAtom.predicate conj
Instances For
Different from the definition, we can also say that a variable is in variables iff there is a FunctionFreeAtom in the conjunction that features the variable as a term.
Different from the definition, we can also say that a variable is in variables iff it occurs as a term.
Different from the definition, we can also say that a constant is in consts iff there is a FunctionFreeAtom in the conjunction that features the constant as a term.
Different from the definition, we can also say that a constant is in consts iff it occurs as a term.