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› ✐‹contributor ‹Balazs Toth›› abbreviation (input) subst_updates where "subst_updates σ update x ≡ get_or (update x) (σ x)" abbreviation (input) apply_subst where "apply_subst x σ ≡ σ x"