RuleSet #
@[reducible, inline]
abbrev RuleSet (sig : Signature) [DecidableEq sig.P] [DecidableEq sig.C] [DecidableEq sig.V] :
Type (max (max u_3 u_2) u_1)
A RuleSet is a Set (Rule sig).
Equations
- RuleSet sig = CustomBasicDatastructures.Set (Rule sig)
Instances For
def RuleSet.isDeterministic {sig : Signature} [DecidableEq sig.P] [DecidableEq sig.C] [DecidableEq sig.V] (rs : RuleSet sig) :
A RuleSet is is deterministic if each rule is.
Equations
- rs.isDeterministic = ∀ (r : Rule sig), r ∈ rs → r.isDeterministic = true
Instances For
def RuleSet.predicates {sig : Signature} [DecidableEq sig.P] [DecidableEq sig.C] [DecidableEq sig.V] (rs : RuleSet sig) :
The predicate symbols of a RuleSet are the predicate symbols from all rules.
Instances For
def RuleSet.constants {sig : Signature} [DecidableEq sig.P] [DecidableEq sig.C] [DecidableEq sig.V] (rs : RuleSet sig) :
The constants of a RuleSet are the constants from all rules.
Instances For
def RuleSet.head_constants {sig : Signature} [DecidableEq sig.P] [DecidableEq sig.C] [DecidableEq sig.V] (rs : RuleSet sig) :
The head constants of a RuleSet are the head constants from all rules.
Instances For
def RuleSet.skolem_functions {sig : Signature} [DecidableEq sig.P] [DecidableEq sig.C] [DecidableEq sig.V] (rs : RuleSet sig) :
The Skolem function symbols of a RuleSet are the Skolem function symbols from all rules.
Instances For
theorem RuleSet.predicates_finite_of_finite {sig : Signature} [DecidableEq sig.P] [DecidableEq sig.C] [DecidableEq sig.V] (rs : RuleSet sig) :
If the RuleSet is finite, so are the RuleSet.predicates.
theorem RuleSet.constants_finite_of_finite {sig : Signature} [DecidableEq sig.P] [DecidableEq sig.C] [DecidableEq sig.V] (rs : RuleSet sig) :
If the RuleSet is finite, so are the RuleSet.constants.
theorem RuleSet.head_constants_finite_of_finite {sig : Signature} [DecidableEq sig.P] [DecidableEq sig.C] [DecidableEq sig.V] (rs : RuleSet sig) :
If the RuleSet is finite, so are the RuleSet.head_constants.
theorem RuleSet.skolem_functions_finite_of_finite {sig : Signature} [DecidableEq sig.P] [DecidableEq sig.C] [DecidableEq sig.V] (rs : RuleSet sig) :
If the RuleSet is finite, so are the RuleSet.skolem_functions.
theorem RuleSet.head_constants_subset_constants {sig : Signature} [DecidableEq sig.P] [DecidableEq sig.C] [DecidableEq sig.V] (rs : RuleSet sig) :
The RuleSet.head_constants are a subset of the RuleSet.constants.