Preserve the freedom in an equation

For the sole type equation x=yx=y, consider these substitutions, with unlisted variables unchanged and zz a fresh variable:


S1={x↦y},S2={x↦Int, y↦Int},S3={x↦List(z), y↦List(z)}.\begin{aligned} S_1&=\{x\mapsto y\},\\ S_2&=\{x\mapsto\mathrm{Int},\ y\mapsto\mathrm{Int}\},\\ S_3&=\{x\mapsto\mathrm{List}(z),\ y\mapsto\mathrm{List}(z)\}. \end{aligned}


Which statements are true under structural equality of finite types? Select all that apply.

Choose an answer

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

More Unification Questions: