Skip to content

Commit

Permalink
Update src/Init/Data/BitVec/Bitblast.lean
Browse files Browse the repository at this point in the history
Co-authored-by: Alex Keizer <alex@keizer.dev>
  • Loading branch information
bollu and alexkeizer authored Sep 5, 2024
1 parent f917a23 commit 42fefae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Init/Data/BitVec/Bitblast.lean
Original file line number Diff line number Diff line change
Expand Up @@ -513,7 +513,7 @@ structure DivModState (w : Nat) : Type where
r : BitVec w

/-- A `DivModState` is lawful if the remainder width `wr` plus the dividend width `wn` equals `w`,
and that the bitvectors `r` and `n` have values in these bounds given these bitwidths.
and the bitvectors `r` and `n` have values in the bounds given by bitwidths `wr`, resp. `wn`.
This is a proof engineering choice: An alternative world could have
`r : BitVec wr` and `n : BitVec wn`, but this required much more dependent typing coercions.
Expand Down

0 comments on commit 42fefae

Please sign in to comment.