Skip to content

Add missing arithmetic operations for integer types (Lean) #1619

@clementblaudeau

Description

@clementblaudeau

In the Lean prelude, some of the (panicking) arithmetic operations are missing, see for instance (addition on u8) :
https://hax-playground.cryspen.com/#lean/latest-main/gist=909e42ba23d6ea1ee254adbd9e7db7b4

The missing operations should be added to the prelude, even without the specification lemmas.

Metadata

Metadata

Labels

leanRelated to the Lean backend or libraryproof-libIssues related the backend-specific definitions (in the proof-lib folder)

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions