Skip to content

[Lean] Arrays with non-integer-literal size #1713

@clementblaudeau

Description

@clementblaudeau

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P1Max prioritybackendIssue in one of the backends (i.e. F*, Coq, EC...)leanRelated to the Lean backend or library

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions