mit-plv / bbv

Bedrock Bit Vector Library
MIT License
27 stars 23 forks source link

add lemmas about ZToWord and about natToWord and mod #8

Closed samuelgruetter closed 6 years ago

samuelgruetter commented 6 years ago

Only backwards-compatible additions, so I could also have just pushed this, but I made a PR because I'm adding Require Import Coq.micromega.Lia. -- is that fine?

It adds hints about rational numbers, but nothing about real numbers, so auto with * might become a bit slower, and I'm not doing anything about that. Does anyone have experience with Set Loose Hint Behavior "Strict"., which might help here, but I didn't get to work as explained in https://github.com/mit-plv/bbv/pull/6?