Skip to content
scrambled
Programming Language Theory Flashcard

What is the formal definition for alpha-equivalence?

Books Concepts Decklanguage theory

Question

What is the formal definition for alpha-equivalence?

Answer

Alpha-equivalence is a relation =α on the set of terms/ASTs. Given 𝒜 as a set of ASTs. Then:

  • x=αx.

  • o(x→1.a1;…;x→n.an)=αo(x→1′.a1′;…;x→n′.an′) if for every 1≤i≤n, ρi:x→i↔z→i and ρi′:x→i′↔z→i and ρi(ai)=αρi′(ai′).