## Natural relations between substitutions

### Remember to vote up questions/answers you find interesting or helpful (requires 15 reputation points)

Consider two contexts $\Gamma,\Delta$ (from some background type theory), and substitutions $s_1,s_2:\Gamma\rightarrow \Delta$. In the case of $1$-element contexts, we get that a substitution is simply a term in the $\lambda$-calculus; in that case, we know that the 'natural' relations between terms arise from $\beta$-reduction (and sometimes $\eta$-contraction, $\delta$-convertibility and $\alpha$-renaming). For example, Robert Seely conjectured [that article claims a proof, but a full proof only came many years later] that if the contexts belong from some dependently typed theory, there is a correspondance with locally cartesian closed categories, where the $2$-cells are given exactly by rewrites engendered by $\beta$ and $\eta$.

My question is, in general, what are the general relations which are considered natural between substitutions $s_1,s_2:\Gamma\rightarrow\Delta$ ?

Since the category of contexts is the opposite of the category of theory presentations, it is fairly natural to conjecture that this will be related to morphisms of theory interpretations. So, looking at $2$-categories as CAT-enriched categories, one finds some work on categories of interpretations, but it is not clear to me that this is indeed the right direction to look into.

In particular (from my admittedly CS-biased point-of-view), I would have expected something which more closely resembles term-rewriting in some guise. But maybe I am simply not recognizing that what is given above is a semantic counterpart to something more operational.

-
{"extraction_info": {"found_math": true, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 0, "mathjax_tag": 0, "mathjax_inline_tex": 13, "mathjax_display_tex": 0, "mathjax_asciimath": 0, "img_math": 0, "codecogs_latex": 0, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0}, "config": {"markdown_headings": true, "markdown_code": true, "boilerplate_config": {"ratio_threshold": 0.18, "absolute_threshold": 10, "end_threshold": 5, "enable": true}, "remove_buttons": true, "remove_image_figures": true, "remove_link_clusters": true, "table_config": {"min_rows": 2, "min_cols": 3, "format": "github"}, "remove_chinese": true, "remove_edit_buttons": true, "extract_latex": true}, "english_confidence": 0.9398504495620728, "perplexity_flag": "middle"}