/fav-ssr

Functional Algorithms Verified in SSReflect

Primary LanguageCoq

Functional Algorithms Verified in SSReflect

A port of https://functional-algorithms-verified.org/ to Coq/SSReflect.

Besides Mathcomp, this also requires the Equations plugin.

Contents

  1. Basics

Part I: Sorting and Selection

  1. Sorting
  2. Selection

Part II: Search Trees

  1. Binary Trees
  2. Binary Search Trees
  3. Abstract Data Types
  4. 2-3 Trees
  5. Red-Black Trees
  6. AVL Trees
  7. Beyond Insert and Delete: \cup, \cap and -
  8. Arrays via Braun Trees
  9. Tries
  10. Huffman’s Algorithm

Part III: Priority Queues

  1. Priority Queues
  2. Leftist Heaps
  3. Priority Queues via Braun Trees
  4. Binomial Heaps

Part IV: Advanced Design and Analysis Techniques

  1. Dynamic Programming
  2. Amortized Analysis
  3. Queues
  4. Splay Trees
  5. Skew Heaps
  6. Pairing Heaps