96c9c7505a
Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
9 lines
255 B
Text
9 lines
255 B
Text
variable vec : Nat → Type
|
|
definition vec_with_len := sig len, vec len
|
|
variable n : Nat
|
|
variable v : vec n
|
|
check tuple n, v
|
|
check (have vec_with_len : tuple n, v)
|
|
check (let v2 : vec_with_len := tuple n, v
|
|
in v2)
|
|
check (tuple vec_with_len : n, v)
|