fix(tests/lean): adjust tests to reflect changes in the standard library

This commit is contained in:
Leonardo de Moura 2015-02-01 11:36:38 -08:00
parent 7e5fb3e493
commit 6cd4972a84
4 changed files with 6 additions and 5 deletions

View file

@ -1,8 +1,8 @@
(a, false, b, true, c) : prod num (prod Prop (prod num (prod Prop num))) (a, false, b, true, c) : num × (Prop × (num × (Prop × num)))
prod.mk a (prod.mk false (prod.mk b (prod.mk true c))) : prod num (prod Prop (prod num (prod Prop num))) prod.mk a (prod.mk false (prod.mk b (prod.mk true c))) : prod num (prod Prop (prod num (prod Prop num)))
(a, false, b, true, c) : prod (prod (prod (prod num Prop) num) Prop) num (a, false, b, true, c) : num × Prop × num × Prop × num
prod.mk (prod.mk (prod.mk (prod.mk c true) b) false) a : prod (prod (prod (prod num Prop) num) Prop) num prod.mk (prod.mk (prod.mk (prod.mk c true) b) false) a : prod (prod (prod (prod num Prop) num) Prop) num
(a, false, b, true, c) : prod (prod (prod (prod num Prop) num) Prop) num (a, false, b, true, c) : num × Prop × num × Prop × num
prod.mk (prod.mk (prod.mk (prod.mk a false) b) true) c : prod (prod (prod (prod num Prop) num) Prop) num prod.mk (prod.mk (prod.mk (prod.mk a false) b) true) c : prod (prod (prod (prod num Prop) num) Prop) num
(a, false, b, true, c) : prod num (prod Prop (prod num (prod Prop num))) (a, false, b, true, c) : num × (Prop × (num × (Prop × num)))
prod.mk c (prod.mk true (prod.mk b (prod.mk false a))) : prod num (prod Prop (prod num (prod Prop num))) prod.mk c (prod.mk true (prod.mk b (prod.mk false a))) : prod num (prod Prop (prod num (prod Prop num)))

View file

@ -1,3 +1,4 @@
nonexhaustive.lean:2:0: warning: imported file uses 'sorry'
nonexhaustive.lean:6:11: error: invalid non-exhaustive set of recursive equations, left-hand-side(s) after elaboration: nonexhaustive.lean:6:11: error: invalid non-exhaustive set of recursive equations, left-hand-side(s) after elaboration:
@foo 0 (@nil A) @foo 0 (@nil A)

View file

@ -8,7 +8,6 @@ constant g : num → num
check f ∘ g ∘ g check f ∘ g ∘ g
check typeof id : num → num check typeof id : num → num
check num → num ⟨is_typeof⟩ id
constant h : num → bool → num constant h : num → bool → num

View file

@ -1,2 +1,3 @@
unzip_error.lean:2:0: warning: imported file uses 'sorry'
unzip_error.lean:9:2: error: invalid recursive equation, left-hand-side contains meta-variable (possible solution: provide implicit parameters occurring in left-hand-side explicitly) unzip_error.lean:9:2: error: invalid recursive equation, left-hand-side contains meta-variable (possible solution: provide implicit parameters occurring in left-hand-side explicitly)
match (@mk (vector A ?M_1) (vector B ?M_1) va vb) match (@mk (vector A ?M_1) (vector B ?M_1) va vb)