Skip to content

ChrisHughes24/lean3bits

Folders and files

NameName
Last commit message
Last commit date

Latest commit

2c18de3 · May 30, 2023

History

34 Commits
Nov 21, 2022
May 6, 2023
May 6, 2023
May 30, 2023
Nov 2, 2022
Nov 21, 2022

Repository files navigation

Tools for proving equalities of operations on bitvectors

This repository contains a program for deciding equalities of operations on bitvectors involving a combination of the group operations, unity and the bitwise operations. For example, it can verify the equality x + y = ( x y ) / + 2 ( x & y ) .

There is a proof of decidablity in src/v1/decide.lean. However this proof is a very slow algorithm. There is also a much faster algorithm demonstrated in src/v3/tests.lean. This second algorithm does not yet have a Lean proof of correctness.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages