Skip to content

whonore/FunProofs

Repository files navigation

FunProofs

Simple Coq proofs of random, interesting mathematical and data structure properties.

Proofs

  • BBQ: An array-based implementation of a bounded buffer queue matches a list-based implementation.
  • BoolComplete: Functionally complete sets of boolean operations to express all truth tables.
  • DerivParse: Regular expression parser using derivatives.
  • Div9: Divisibility rules.
  • FizzBuzz.v: The FizzBuzz interview question.
  • Graham (incomplete): Graham's number and Knuth up-arrow notation.
  • Hats: Optimal strategy for a red/blue hat logic problem.
  • OddE: All odd numbers have an 'e' in English.
  • Quorum: Two majority subsets have a non-empty intersection.
  • Sqrt2: Irrationality of sqrt 2.
  • TriSum.v: The triangle sum and related sums for other powers.

Releases

No releases published

Packages

No packages published