stlc sub 2

This commit is contained in:
Jay McCarthy 2014-03-19 15:16:00 -06:00
parent 9b8697fa6e
commit 84fcd48039
2 changed files with 7 additions and 0 deletions

View File

@ -6,3 +6,7 @@
< (λ (x_new τ) (subst (replace M x_1 x_new) x_2 v))
---
> (λ (x_new τ) (subst (replace M x_new x_1) x_2 v))
290a291,293
> (define small-counter-example
> (term ((λ (x int) (λ (y int) y)) 1)))
> (test-equal (check small-counter-example) #f)

View File

@ -288,3 +288,6 @@
(generate-term stlc M #:i-th index)
(set! index (add1 index))))))
(define small-counter-example
(term ((λ (x int) (λ (y int) y)) 1)))
(test-equal (check small-counter-example) #f)