Skip to content

Commit 2716ed8

Browse files
committed
saw-core: Add missing Variable/Variable case to alphaEquiv.
1 parent 4b94b12 commit 2716ed8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

saw-core/src/SAWCore/Term/Functor.hs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -523,6 +523,7 @@ alphaEquiv = term
523523
termf (Pi _ t1 u1) (Pi _ t2 u2) = term t1 t2 && term u1 u2
524524
termf (LocalVar i1) (LocalVar i2) = i1 == i2
525525
termf (Constant x1) (Constant x2) = x1 == x2
526+
termf (Variable x1) (Variable x2) = x1 == x2
526527
termf _ _ = False
527528

528529
ftermf :: FlatTermF Term -> FlatTermF Term -> Bool

0 commit comments

Comments
 (0)