Documentation

Batteries.Data.BinomialHeap.Lemmas

@[simp]
theorem Batteries.BinomialHeap.Imp.HeapNode.WF.realSize_eq {α : Type u_1} {le : ααBool} {a : α} {n : Nat} {s : Batteries.BinomialHeap.Imp.HeapNode α} :
Batteries.BinomialHeap.Imp.HeapNode.WF le a s ns.realSize + 1 = 2 ^ n
@[simp]
theorem Batteries.BinomialHeap.Imp.Heap.WF.size_eq {α : Type u_1} {le : ααBool} {n : Nat} {s : Batteries.BinomialHeap.Imp.Heap α} :
Batteries.BinomialHeap.Imp.Heap.WF le n ss.size = s.realSize