FunctionFreeAtom #
A FunctionFreeAtom is a GeneralizedAtom with VarOrConsts.
@[reducible, inline]
abbrev FunctionFreeAtom (sig : Signature) [DecidableEq sig.P] [DecidableEq sig.C] [DecidableEq sig.V] :
Type (max (max u_3 u_2) u_1)
Equations
- FunctionFreeAtom sig = GeneralizedAtom sig.Preds (VarOrConst sig)
Instances For
def FunctionFreeAtom.variables {sig : Signature} [DecidableEq sig.P] [DecidableEq sig.C] [DecidableEq sig.V] (a : FunctionFreeAtom sig) :
Using VarOrConst.filterVars, we can obtain all variables from the terms of the FunctionFreeAtom.
Equations
Instances For
def FunctionFreeAtom.constants {sig : Signature} [DecidableEq sig.P] [DecidableEq sig.C] [DecidableEq sig.V] (a : FunctionFreeAtom sig) :
Using VarOrConst.filterConsts, we can obtain all constants from the terms of the FunctionFreeAtom.
Equations
Instances For
@[simp]
theorem FunctionFreeAtom.mem_variables {sig : Signature} [DecidableEq sig.P] [DecidableEq sig.C] [DecidableEq sig.V] {a : FunctionFreeAtom sig} {v : sig.V} :
A variable occurs in variables iff it is a term of the `FunctionFreeAtom.
@[simp]
theorem FunctionFreeAtom.mem_constants {sig : Signature} [DecidableEq sig.P] [DecidableEq sig.C] [DecidableEq sig.V] {a : FunctionFreeAtom sig} {c : sig.C} :
A constant occurs in constants iff it is a term of the `FunctionFreeAtom.