We use the same approach used to define rbtree: 1- Structure with minimal number of invariants, AND 2- well_formed inductive predicate We can use the well_formed predicate to prove auxiliary invariants later. Example: the keys stored in every bucket have the correct hash code. This implementation does not depend on the tactic framework, and it is not a mess like the one in mathlib. |
||
|---|---|---|
| .. | ||
| basic.lean | ||