forked from rust-lang/rust
    
        
        - 
                Notifications
    
You must be signed in to change notification settings  - Fork 58
 
NonZero (unchecked_mul & unchecked_add) Proof for Contracts #338
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
          
     Merged
      
      
            tautschnig
  merged 45 commits into
  model-checking:main
from
tautschnig:unchecked_mull_add
  
      
      
   
  Jun 14, 2025 
      
    
                
     Merged
            
            NonZero (unchecked_mul & unchecked_add) Proof for Contracts #338
                    tautschnig
  merged 45 commits into
  model-checking:main
from
tautschnig:unchecked_mull_add
  
      
      
   
  Jun 14, 2025 
              
            Conversation
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
    Added contract and placeholder harness
Corrected issues from Pull Request
Restored previous cargo files
Co-authored-by: Carolyn Zech <cmzech@amazon.com>
Co-authored-by: Carolyn Zech <cmzech@amazon.com>
Co-authored-by: Carolyn Zech <cmzech@amazon.com>
Co-authored-by: Carolyn Zech <cmzech@amazon.com>
Co-authored-by: Zyad Hassan <88045115+zhassan-aws@users.noreply.github.com>
Co-authored-by: Carolyn Zech <carolynzech@gmail.com>
| 
           Draft for now; needs a subtree update to pass CI. It could still technically be reviewed before that, but I think it's better to save the second review for when things are passing and we can sanity-check that we are indeed proving the right thing with the new Kani version.  | 
    
              
                    carolynzech
  
              
              approved these changes
              
                  
                    May 22, 2025 
                  
              
              
            
            
              
                    thanhnguyen-aws
  
              
              approved these changes
              
                  
                    Jun 13, 2025 
                  
              
              
            
            
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
      
  Add this suggestion to a batch that can be applied as a single commit.
  This suggestion is invalid because no changes were made to the code.
  Suggestions cannot be applied while the pull request is closed.
  Suggestions cannot be applied while viewing a subset of changes.
  Only one suggestion per line can be applied in a batch.
  Add this suggestion to a batch that can be applied as a single commit.
  Applying suggestions on deleted lines is not supported.
  You must change the existing code in this line in order to create a valid suggestion.
  Outdated suggestions cannot be applied.
  This suggestion has been applied or marked resolved.
  Suggestions cannot be applied from pending reviews.
  Suggestions cannot be applied on multi-line comments.
  Suggestions cannot be applied while the pull request is queued to merge.
  Suggestion cannot be applied right now. Please check back later.
  
    
  
    
Towards #71
These are the changes contributed by SahithiMV in #184 plus the proposed changes in that PR.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 and MIT licenses.