Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/dwarf.lem
Original file line number Diff line number Diff line change
Expand Up @@ -699,9 +699,11 @@ let partialNaturalFromInteger (i:integer) : natural =

val natural_nat_shift_left : natural -> nat -> natural
declare ocaml target_rep function natural_nat_shift_left = `Nat_big_num.shift_left`
declare hol target_rep function natural_nat_shift_left n m = (naturalPow 2 m) * n

val natural_nat_shift_right : natural -> nat -> natural
declare ocaml target_rep function natural_nat_shift_right = `Nat_big_num.shift_right`
declare hol target_rep function natural_nat_shift_right n m = n / (naturalPow 2 m)



Expand Down