stlc sub 3

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

View File

@ -6,3 +6,7 @@
< ((subst M x v) (subst N x v))]
---
> ((subst N x v) (subst M x v))]
290a291,293
> (define small-counter-example
> (term ((λ (x int) (+ 1)) 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) (+ 1)) 1)))
(test-equal (check small-counter-example) #f)