lean2/tests/lean/coercion1.lean
Leonardo de Moura a341643335 Fix unit tests for Windows
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
2013-09-03 10:44:51 -07:00

15 lines
278 B
Text

Variable T : Type
Variable R : Type
Variable f : T -> R
Coercion f
Show Environment 2
Variable g : T -> R
Coercion g
Variable h : Pi (x : Type), x
Coercion h
Definition T2 : Type := T
Definition R2 : Type := R
Variable f2 : T2 -> R2
Coercion f2
Variable id : T -> T
Coercion id