Theory Abstract_Substitution.Substitution_First_Order_Term
theory Substitution_First_Order_Term
imports
Based_Substitution
"First_Order_Terms.Unification"
"Regular_Tree_Relations.Ground_Terms"
begin
section ‹Substitutions for first order terms›
subsection ‹Interpretations for first order terms›
abbreviation (input) subst_updates where
"subst_updates σ update x ≡ get_or (update x) (σ x)"
abbreviation (input) apply_subst where
"apply_subst x σ ≡ σ x"
abbreviation (input) is_ground where
"is_ground t ≡ vars_term t = {}"