Preface
Basic Techniques for Permutations and Ordering (Perm)
Insertion Sort (Sort)
Insertion Sort With Multisets (Multiset)
Selection Sort, With Specification and Proof of Correctness (Selection)
Binary Search Trees (SearchTree)
- Top
- Total and Partial Maps
- Sections
- Program for Binary Search Trees
- Search Tree Examples
- What Should We Prove About Search trees?
- Efficiency of Search Trees
- Proof of Correctness
- Correctness Proof of the elements Function
- Representation Invariants
- Preservation of Representation Invariant
- We Got Lucky
- Every Well-Formed Tree Does Actually Relate to an Abstraction
- It Wasn't Really Luck, Actually