pub type Substitution = HashMap<String, ProofTerm>;Expand description
A substitution mapping variable names to terms.
Substitutions are the output of unification. Applying a substitution to both sides of a unification problem yields identical terms.
§Example
After unifying Mortal(x) with Mortal(Socrates):
{ "x" ↦ Constant("Socrates") }§Operations
unify_terms- Creates substitutions from term unificationapply_subst_to_term- Applies substitution to a termcompose_substitutions- Combines two substitutions
Aliased Type§
pub struct Substitution { /* private fields */ }