stlc sub 4
This commit is contained in:
parent
b1bc4ce430
commit
00988db325
|
@ -6,3 +6,12 @@
|
|||
< (where x_new ,(variable-not-in (term (x_1 e x_2))
|
||||
---
|
||||
> (where x_new ,(variable-not-in (term e)
|
||||
290a291,298
|
||||
> (define small-counter-example
|
||||
> ;; XXX I don't think this actually has an error because if x_1 !=
|
||||
> ;; x_2 and v is a closed term, then what could go wrong? If we
|
||||
> ;; remove the other special case of subst for λs that match, then it
|
||||
> ;; would be bad, though.
|
||||
> (term ((λ (x int) (λ (y int) (λ (y int) ((+ x) y))))
|
||||
> 1)))
|
||||
> (test-equal (check small-counter-example) #f)
|
||||
|
|
|
@ -288,3 +288,11 @@
|
|||
(generate-term stlc M #:i-th index)
|
||||
(set! index (add1 index))))))
|
||||
|
||||
(define small-counter-example
|
||||
;; XXX I don't think this actually has an error because if x_1 !=
|
||||
;; x_2 and v is a closed term, then what could go wrong? If we
|
||||
;; remove the other special case of subst for λs that match, then it
|
||||
;; would be bad, though.
|
||||
(term ((λ (x int) (λ (y int) (λ (y int) ((+ x) y))))
|
||||
1)))
|
||||
(test-equal (check small-counter-example) #f)
|
||||
|
|
Loading…
Reference in New Issue
Block a user