2014-02-04 18:12:39 +00:00
|
|
|
variable vec : Nat → Type
|
|
|
|
definition vec_with_len := sig len, vec len
|
|
|
|
variable n : Nat
|
|
|
|
variable v : vec n
|
|
|
|
check tuple n, v
|
2014-02-06 15:50:22 +00:00
|
|
|
check (show vec_with_len, from tuple n, v)
|
2014-02-04 18:12:39 +00:00
|
|
|
check (let v2 : vec_with_len := tuple n, v
|
|
|
|
in v2)
|
|
|
|
check (tuple vec_with_len : n, v)
|