find slightly smaller counter examples for a few bugs

This commit is contained in:
Robby Findler 2014-03-21 14:53:09 -05:00
parent ea8889397b
commit d05834afb7
6 changed files with 6 additions and 6 deletions

View File

@ -8,6 +8,6 @@
> [(subst x y M_x)
298a299,302
> (define small-counter-example
> (term ((λ (x int) (λ (y (list int)) (hd y))) 1)))
> (term (λ (x int) ((λ (x int) x) x))))
> (test-equal (check small-counter-example) #f)
>

View File

@ -45,6 +45,6 @@
> (equal? t-type red-type))))))))))
298a288,291
> (define small-counter-example
> (term ((λ (x int) (λ (y (list int)) (hd y))) 1)))
> (term ((λ (a (list int)) (λ (x int) x)) nil)))
> (test-equal (check small-counter-example) #f)
>

View File

@ -297,7 +297,7 @@
(generate-term stlc M #:i-th (pick-an-index 0.035)))
(define small-counter-example
(term ((λ (x int) (λ (y (list int)) (hd y))) 1)))
(term (λ (x int) ((λ (x int) x) x))))
(test-equal (check small-counter-example) #f)
(define (ordered-enum-generator)

View File

@ -286,7 +286,7 @@
(generate-term stlc M #:i-th (pick-an-index 0.035)))
(define small-counter-example
(term ((λ (x int) (λ (y (list int)) (hd y))) 1)))
(term ((λ (a (list int)) (λ (x int) x)) nil)))
(test-equal (check small-counter-example) #f)
(define (ordered-enum-generator)

View File

@ -9,5 +9,5 @@
270a271,274
>
> (define small-counter-example
> (term ((λ (x (list int)) 1) 7)))
> (term ((λ (x int) cons) cons)))
> (test-equal (check small-counter-example) #f)

View File

@ -270,5 +270,5 @@
(set! index (add1 index))))))
(define small-counter-example
(term ((λ (x (list int)) 1) 7)))
(term ((λ (x int) cons) cons)))
(test-equal (check small-counter-example) #f)