bend-kit-collections
Releases (6)
Definitions (620)
deque.bend
- law Deque.to_list.newLAW: a new deque reads as the empty list
- law Deque.to_list.push_frontLAW: push_front puts the element at the head of the list
- law Deque.pop_front.push_frontLAW: pop_front undoes push_front
- law Deque.pop_back.push_backLAW: pop_back undoes push_back
- law Deque.lemma.append_nil
- law Deque.lemma.append_assoc
- law Deque.to_list.from_listLAW: a list read into a deque reads back as itself
- law Deque.lemma.reverse_goreversing onto an accumulator is reversing, then appending it
- law Deque.to_list.push_backLAW: push_back puts the element at the end of the list
heap.bend
- type Heap
- def Heap.new
- def Heap.size
- def Heap.peek
- def Heap.merge.goThe smaller root wins: its right child merges with the other heap and becomes the left, and its old left becomes the right (a skew heap's swap, which keeps merges short on average).
- def Heap.merge
- def Heap.push
- def Heap.popthe top, and the heap without it; None on an empty heap
- def Heap.from_list
- def Heap.to_list.go
- def Heap.to_listthe elements, smallest first
- def Heap.sortheapsort
- law Heap.pop.push_newLAW: popping what was pushed onto an empty heap gives it back
- law Heap.size.pushLAW: a push adds one to the size
hmap.bend
- type Entry
- type HMap
- def HMap.new
- def HMap.bool
- def HMap.entries.put
- def HMap.entries.get
- def HMap.entries.del
- def HMap.split.side
- def HMap.split
- def HMap.put.go
- def HMap.put
- def HMap.get.go
- def HMap.get
- def HMap.leafAn emptied bucket becomes HNil.
- def HMap.joinRebuilds a branch; one with two empty subtries becomes HNil.
- def HMap.del.go
- def HMap.del
- def HMap.size
nat_order.bend
- def mul3
- def wok
- def wok_l
- def wok_r
- def wok_i
- def LE
- def tr
- def sy
- def cong_add
- def step
- type Lin
- type Vs
- def F
- def ladd
- def lsc
- def lsuc
- def lle
- def F_add
- def comb
- def scale
- def and5_1
- def and5_r
- def F_mono
- def le_succ_false
- def contraA combined hypothesis F(p) <= F(q) with q < p term by term is false.
- def F0
- def cv_c
- def az2
- def cv_1
- def cv_2
- def cv_3
- def cv_4
- def cv_add
- def cv_mul
- def cvle
- def gt_le
- def ngt_le
- def by_contraProves x <= y from a refutation of y < x.
- def alm
- def near
- def rls.c0a.k
- def rls.c0a
- def rls.c0b.k
- def rls.c0b
- def rls.w0
- def rls.c1a.k
- def rls.c1a
- def rls.c1b.k
- def rls.c1b
- def rls.w1
- def rhs.c0a.k
- def rhs.c0a
- def rhs.c0b.k
- def rhs.c0b
- def rhs.w0
- def rhs.c1a.k
- def rhs.c1a
- def rhs.c1b.k
- def rhs.c1b