Currently, the Lean Backend only supports arrays where the size is an integer literal. This was done to avoid issues of type equality between types like Vector Nat 5 and Vector Nat (5:usize).toNat. Instead, a proper treatment of usize should help lifting this restriction, having any pure expression as a vector size.
Currently, the Lean Backend only supports arrays where the size is an integer literal. This was done to avoid issues of type equality between types like
Vector Nat 5andVector Nat (5:usize).toNat. Instead, a proper treatment ofusizeshould help lifting this restriction, having any pure expression as a vector size.