Skip to content

Commit

Permalink
Tweak to a cv_inline theorem
Browse files Browse the repository at this point in the history
Co-authored-by: Magnus Myreen <myreen@chalmers.se>
  • Loading branch information
hrutvik and myreen committed Mar 15, 2024
1 parent 9b018ee commit 18509e7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cv_translator/cv_primScript.sml
Expand Up @@ -860,7 +860,8 @@ QED

Theorem cv_inline_word_ror[cv_inline]:
!r a. (a : 'a word) #>> r =
let d = dimindex (:'a);
let a = a;
d = dimindex (:'a);
r = r MOD d
in a << (d - r) || a >>> r
Proof
Expand Down

0 comments on commit 18509e7

Please sign in to comment.