theory Context_Functor imports Regular_Tree_Relations.Term_Context Abstract_Substitution.Natural_Functor begin