Skip to main content

structurally_equal

Function structurally_equal 

Source
pub fn structurally_equal(e1: &Expr, e2: &Expr) -> bool
Expand description

Structural equality: same as alpha_equiv but uses a simpler name-blind comparison.

Two expressions are structurally equal if they differ only in the names given to binders (which are cosmetic in de Bruijn representation).