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
|
2014-02-10 17:03:42 +00:00
|
|
|
check pair n v
|
|
|
|
check (show vec_with_len, from pair n v)
|
|
|
|
check (let v2 : vec_with_len := pair n v
|
2014-02-04 18:12:39 +00:00
|
|
|
in v2)
|
2014-02-10 17:03:42 +00:00
|
|
|
check (pair n v : vec_with_len)
|