Skip to content

Implement proper cnull register#54

Merged
JuneRousseau merged 6 commits intomainfrom
cnull-register
Jan 5, 2026
Merged

Implement proper cnull register#54
JuneRousseau merged 6 commits intomainfrom
cnull-register

Conversation

@JuneRousseau
Copy link
Collaborator

This PR properly implements the cnull register, which always contains 0. It fixes the operational semantic by using the following custom maps:

  • (!!ᵣ): special lookup that returns WInt 0 if we lookup cnull.
  • <[ r := w ]ᵣ>: special insert that insert WInt 0 if we insert cnull.

It implements an extension of the tactic simplify_map_eq with the tactic simpl_map_regs, and preserves as much as possible the proofs of the program logic.

@JuneRousseau JuneRousseau changed the title Cnull register Implement proper cnull register Jan 4, 2026
@JuneRousseau JuneRousseau merged commit 8566f87 into main Jan 5, 2026
1 check passed
@JuneRousseau JuneRousseau deleted the cnull-register branch January 5, 2026 11:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant