Skip to content

Formalization in Coq of recreational puzzles involving scales.

License

Notifications You must be signed in to change notification settings

fsmith1024/scales

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Scales

A classic puzzle involves determining the minimum number of times a scale must be used to find a single fake coin in a collection of coins. This project concerns using formal methods to prove properties regarding such puzzles. In particular, we prove that the algorithm given for finding a fake coin known to be lighter than the real coins is optimal for any number of coins.

This proof is formalized in Coq.

Enjoy,

Fred Smith

About

Formalization in Coq of recreational puzzles involving scales.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published