Abstract Rewriting Systems #
Here, we define the basic structure of an abstract rewriting system. We also define some derived structures, namely that of a sub-ARS and a component.
The union of the indexed relations of an ARS.
Equations
- A.union_rel x y = ∃ (i : I), A.rel i x y
Instances For
The union of reduction relations with an index smaller than i.
Equations
- A.union_lt i x y = ∃ j < i, A.rel j x y
Instances For
If a -> b with an index smaller than i, then certainly a -> b with an index smaller than (max i j).
The convertability relation ≡ generated from the union of ARS relations.
Note that this is denoted using = in TeReSe, which we use for equality.
Instances For
SubARS B is a sub-ARS of B.
- p : β → Prop
This SubARS contains the elements in the subtype
{b // p b}. - ars : Thesis.ARS { b : β // self.p b } I
The underlying ARS of this SubARS.
- restrict : ∀ (i : I) (a b : { b : β // self.p b }), self.ars.rel i a b ↔ B.rel i ↑a ↑b
- closed : ∀ (i : I) (a b : β), self.p a ∧ B.rel i a b → self.p b
Instances For
The subtype of this SubARS.
Equations
- S.Subtype = { b : β // S.p b }
Instances For
The restriction property of a SubARS extends to the union of rewrite relations.
The closure property of a SubARS extends to the union of rewrite relations.
The restriction property of a SubARS extends to the (partial) union of rewrite relations.
The closure property of a SubARS extends to the (partial) union of rewrite relations.
The sub-ARS generated by a subset of β
Equations
- One or more equations did not get rendered due to their size.
Instances For
The reduction graph of an element b in an ARS B is the sub-ARS containing all reducts of b.
Equations
- B.reduction_graph b = Thesis.SubARS.generate B {b}
Instances For
A component of A is a sub-ARS of A containing elements that are convertible to one another.
- ars : Thesis.ARS { b : α // self.p b } I
- component_restrict : ∀ {a b : α}, self.p a → self.p b → A.conv a b
- component_closed : ∀ {a b : α}, self.p a → A.conv a b → self.p b
- component_nonempty : ∃ (a : α), self.p a
Instances For
The component of a ∈ α w.r.t. conversion is the sub-ARS component a
with set of elements { a' | a ≡ a' } and the reduction relation restricted
to this convertability class.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The set of components of this ARS.
Instances For
A component is unique; that is to say, if any element appears in two components, the components must be the equal to one another.
The element from which a component is derived is trivially a member of that component.
The restriction property of a sub-ARS extends to the reflexive-transitive closure of its reduction relations.
The restriction property of a sub-ARS extends to the reflexive-transitive closure of the union of its reduction relations.
The restriction property of a sub-ARS extends to the reflexive-transitive closure of the (partial) union of its reduction relations.
The closure property of a sub-ARS extends to the reflexive-transitive closure of its reduction relations.
The closure property of a sub-ARS extends to the reflexive-transitive closure of the union of its reduction relations.
The closure property of a sub-ARS extends to the reflexive-transitive closure of the (partial) union of its reduction relations.
A sub-ARS of a confluent ARS is confluent.
A sub-ARS of a strongly normalizing ARS is strongly normalizing.
A sub-ARS of a weakly confluent ARS is weakly confluent.