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

This commit is contained in:
Leonardo de Moura 2015-03-04 18:05:12 -08:00
parent cc2d988aea
commit c6d15dc198
4 changed files with 11 additions and 4 deletions

View file

@ -10,7 +10,10 @@ bool.band.eq_tt_elim_left|eq (bool.band ?a ?b) bool.tt → eq ?a bool.tt
bool.band.tt_right|∀ (a : bool), eq (bool.band a bool.tt) a bool.band.tt_right|∀ (a : bool), eq (bool.band a bool.tt) a
bool.bor.tt_right|∀ (a : bool), eq (bool.bor a bool.tt) bool.tt bool.bor.tt_right|∀ (a : bool), eq (bool.bor a bool.tt) bool.tt
bool.bor.tt_left|∀ (a : bool), eq (bool.bor bool.tt a) bool.tt bool.bor.tt_left|∀ (a : bool), eq (bool.bor bool.tt a) bool.tt
bool.absurd_of_eq_ff_of_eq_tt|eq ?a bool.ff → eq ?a bool.tt → ?B
bool.eq_tt_of_ne_ff|ne ?a bool.ff → eq ?a bool.tt
bool.ff_ne_tt|not (eq bool.ff bool.tt) bool.ff_ne_tt|not (eq bool.ff bool.tt)
bool.eq_ff_of_ne_tt|ne ?a bool.tt → eq ?a bool.ff
bool.cond.tt|∀ (t e : ?A), eq (bool.cond bool.tt t e) t bool.cond.tt|∀ (t e : ?A), eq (bool.cond bool.tt t e) t
-- ENDFINDP -- ENDFINDP
-- BEGINWAIT -- BEGINWAIT
@ -23,6 +26,9 @@ band.eq_tt_elim_left|eq (band ?a ?b) tt → eq ?a tt
band.tt_right|∀ (a : bool), eq (band a tt) a band.tt_right|∀ (a : bool), eq (band a tt) a
bor.tt_right|∀ (a : bool), eq (bor a tt) tt bor.tt_right|∀ (a : bool), eq (bor a tt) tt
bor.tt_left|∀ (a : bool), eq (bor tt a) tt bor.tt_left|∀ (a : bool), eq (bor tt a) tt
absurd_of_eq_ff_of_eq_tt|eq ?a ff → eq ?a tt → ?B
eq_tt_of_ne_ff|ne ?a ff → eq ?a tt
ff_ne_tt|not (eq ff tt) ff_ne_tt|not (eq ff tt)
eq_ff_of_ne_tt|ne ?a tt → eq ?a ff
cond.tt|∀ (t e : ?A), eq (cond tt t e) t cond.tt|∀ (t e : ?A), eq (cond tt t e) t
-- ENDFINDP -- ENDFINDP

View file

@ -6,5 +6,7 @@ EVAL
check Type.{1} check Type.{1}
VISIT simple.lean VISIT simple.lean
WAIT WAIT
SET
pp.universes false
EVAL EVAL
check tst.foo check tst.foo

View file

@ -8,6 +8,8 @@ Type₁ : Type₂
-- ENDEVAL -- ENDEVAL
-- BEGINWAIT -- BEGINWAIT
-- ENDWAIT -- ENDWAIT
-- BEGINSET
-- ENDSET
-- BEGINEVAL -- BEGINEVAL
tst.foo.{l_1 l_2} : ?A → ?B → ?A tst.foo : ?A → ?B → ?A
-- ENDEVAL -- ENDEVAL

View file

@ -25,7 +25,6 @@ pos_num.lt|pos_num → pos_num → bool
pos_num.rec_on|Π (n : pos_num), ?C pos_num.one → (Π (a : pos_num), ?C a → ?C (pos_num.bit1 a)) → (Π (a : pos_num), ?C a → ?C (pos_num.bit0 a)) → ?C n pos_num.rec_on|Π (n : pos_num), ?C pos_num.one → (Π (a : pos_num), ?C a → ?C (pos_num.bit1 a)) → (Π (a : pos_num), ?C a → ?C (pos_num.bit0 a)) → ?C n
pos_num.brec_on|Π (n : pos_num), (Π (n : pos_num), pos_num.below n → ?C n) → ?C n pos_num.brec_on|Π (n : pos_num), (Π (n : pos_num), pos_num.below n → ?C n) → ?C n
pos_num.add|pos_num → pos_num → pos_num pos_num.add|pos_num → pos_num → pos_num
pos_num.equal|pos_num → pos_num → bool
pos_num|Type pos_num|Type
-- ENDFINDP -- ENDFINDP
-- BEGINWAIT -- BEGINWAIT
@ -55,7 +54,6 @@ pos_num.lt|pos_num → pos_num → bool
pos_num.rec_on|Π (n : pos_num), ?C pos_num.one → (Π (a : pos_num), ?C a → ?C (pos_num.bit1 a)) → (Π (a : pos_num), ?C a → ?C (pos_num.bit0 a)) → ?C n pos_num.rec_on|Π (n : pos_num), ?C pos_num.one → (Π (a : pos_num), ?C a → ?C (pos_num.bit1 a)) → (Π (a : pos_num), ?C a → ?C (pos_num.bit0 a)) → ?C n
pos_num.brec_on|Π (n : pos_num), (Π (n : pos_num), pos_num.below n → ?C n) → ?C n pos_num.brec_on|Π (n : pos_num), (Π (n : pos_num), pos_num.below n → ?C n) → ?C n
pos_num.add|pos_num → pos_num → pos_num pos_num.add|pos_num → pos_num → pos_num
pos_num.equal|pos_num → pos_num → bool
pos_num|Type pos_num|Type
-- ENDFINDP -- ENDFINDP
-- BEGINFINDP -- BEGINFINDP
@ -81,6 +79,5 @@ pos_num.lt|pos_num → pos_num → bool
pos_num.rec_on|Π (n : pos_num), ?C pos_num.one → (Π (a : pos_num), ?C a → ?C (pos_num.bit1 a)) → (Π (a : pos_num), ?C a → ?C (pos_num.bit0 a)) → ?C n pos_num.rec_on|Π (n : pos_num), ?C pos_num.one → (Π (a : pos_num), ?C a → ?C (pos_num.bit1 a)) → (Π (a : pos_num), ?C a → ?C (pos_num.bit0 a)) → ?C n
pos_num.brec_on|Π (n : pos_num), (Π (n : pos_num), pos_num.below n → ?C n) → ?C n pos_num.brec_on|Π (n : pos_num), (Π (n : pos_num), pos_num.below n → ?C n) → ?C n
pos_num.add|pos_num → pos_num → pos_num pos_num.add|pos_num → pos_num → pos_num
pos_num.equal|pos_num → pos_num → bool
pos_num|Type pos_num|Type
-- ENDFINDP -- ENDFINDP