Skip to content

NonZero (clamp) Proof - #200

Closed
lang280 wants to merge 6 commits into
model-checking:mainfrom
lang280:nonezero_clamp
Closed

NonZero (clamp) Proof#200
lang280 wants to merge 6 commits into
model-checking:mainfrom
lang280:nonezero_clamp

Conversation

@lang280

@lang280 lang280 commented Dec 1, 2024

Copy link
Copy Markdown

Working on #71 (Safety of NonZero)

We are looking for feedback on our proof for clamp.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 and MIT licenses.

@lang280
lang280 requested a review from a team as a code owner December 1, 2024 21:52
Comment thread library/core/src/num/nonzero.rs Outdated
Comment thread library/core/src/num/nonzero.rs Outdated
Comment thread library/core/src/num/nonzero.rs Outdated
Comment thread library/core/src/num/nonzero.rs Outdated
@lang280
lang280 requested a review from carolynzech December 4, 2024 01:53
Comment thread library/core/src/num/nonzero.rs Outdated
Comment thread library/core/src/num/nonzero.rs Outdated

@carolynzech carolynzech left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Instead of having a module for each function, can you move all of these harnesses inside of mod verify?

@lang280

lang280 commented Dec 10, 2024

Copy link
Copy Markdown
Author

Instead of having a module for each function, can you move all of these harnesses inside of mod verify?

Done in NonZero (rotate_left & rotate_right) Proof #202

}

#[cfg(kani)]
mod macro_nonzero_check_clamp {

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you please merge this into the verify module as you did in #202?

@carolynzech

Copy link
Copy Markdown

Closing because this work got incorporated into #202

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.

3 participants