Closed myreen closed 1 week ago
This is pretty related to #549
Many properties of these functions that appear across the CakeML proofs have good_dimindex(:'a)
as an assumption. However, I don't think good_dimindex
should appear in this byteTheory
. What do you think @myreen?
@xrchz I agree that good_dimindex
shouldn't feature in byteTheory
. However, one might still have theorems for 32 and 64 cases in byteTheory
.
It's probable that these theorems could/should be generalised. E.g., maybe they work for any word size above 8, or any multiple of 8. I guess this issue should include attempting to generalise theorems if possible, so that more can be put in byteTheory
.
This is done right? I see byteTheory in HOL now.
This issue is about:
byteScript.sml
;By "byte-access functions" I mean functions such as
set_byte
andget_byte
in wordSem, and also conversions between words and lists of bytes.