instance Std.DTreeMap.Internal.Zipper.instFinite {α : Type u} {β : α → Type v} :
Iterators.Finite (Zipper α β) Id
@[instance_reducible]
instance Std.DTreeMap.Internal.Zipper.instIteratorLoop {α : Type u} {β : α → Type v} {m : Type (max u v) → Type w} [Monad m] :
IteratorLoop (Zipper α β) Id m
@[instance_reducible, inline]
instance Std.DTreeMap.Internal.Zipper.instToIterator {α : Type u} {β : α → Type v} :
ToIterator (Zipper α β) Id (Zipper α β) ((a : α) × β a)
theorem Std.DTreeMap.Internal.Zipper.toList_iterOfTree {α : Type u} {β : α → Type v} (t : Impl α β) :
def Std.DTreeMap.Internal.RxcIterator.step {α : Type u} {β : α → Type v} [Ord α] :
RxcIterator α β → IterStep (IterM Id ((a : α) × β a)) ((a : α) × β a)
Instances For
@[instance_reducible]
instance Std.DTreeMap.Internal.instIteratorRxcIteratorIdSigma {α : Type u} {β : α → Type v} [Ord α] :
Iterator (RxcIterator α β) Id ((a : α) × β a)
instance Std.DTreeMap.Internal.instFinite {α : Type u} {β : α → Type v} [Ord α] :
Iterators.Finite (RxcIterator α β) Id
@[instance_reducible]
instance Std.DTreeMap.Internal.RxcIterator.instIteratorLoop {α : Type u} {β : α → Type v} [Ord α] {m : Type (max u v) → Type w} [Monad m] :
IteratorLoop (RxcIterator α β) Id m
def Std.DTreeMap.Internal.RxoIterator.step {α : Type u} {β : α → Type v} [Ord α] :
RxoIterator α β → IterStep (IterM Id ((a : α) × β a)) ((a : α) × β a)
Instances For
@[instance_reducible]
instance Std.DTreeMap.Internal.instIteratorRxoIteratorIdSigma {α : Type u} {β : α → Type v} [Ord α] :
Iterator (RxoIterator α β) Id ((a : α) × β a)
instance Std.DTreeMap.Internal.Rxo.instFinite {α : Type u} {β : α → Type v} [Ord α] :
Iterators.Finite (RxoIterator α β) Id
@[instance_reducible]
instance Std.DTreeMap.Internal.RxoIterator.instIteratorLoop {α : Type u} {β : α → Type v} [Ord α] {m : Type (max u v) → Type w} [Monad m] :
IteratorLoop (RxoIterator α β) Id m
@[instance_reducible]
instance Std.DTreeMap.Internal.instSliceableImplRicSlice {α : Type u} {β : α → Type v} [Ord α] :
Ric.Sliceable (Impl α β) α (RicSlice α β)
@[instance_reducible, inline]
instance Std.DTreeMap.Internal.RicSlice.instToIterator {α : Type u_1} {β : α → Type v} [Ord α] :
ToIterator (Slice (RicSliceData α β)) Id (RxcIterator α β) ((a : α) × β a)
theorem Std.DTreeMap.Internal.toList_ric {α : Type u} {β : α → Type v} [Ord α] [TransOrd α] (t : Impl α β) (ordered : t.Ordered) (bound : α) :
Slice.toList (Ric.Sliceable.mkSlice t *...=bound) = List.filter (fun (e : (a : α) × β a) => (compare e.fst bound).isLE) t.toList
@[reducible, inline]
Instances For
@[instance_reducible]
instance Std.DTreeMap.Internal.Unit.instSliceableImplUnitRicSlice {α : Type u} [Ord α] :
Ric.Sliceable (Impl α fun (x : α) => Unit) α (RicSlice α)
@[instance_reducible, inline]
instance Std.DTreeMap.Internal.Unit.RicSlice.instToIterator {α : Type u_1} [Ord α] :
ToIterator (Slice (RicSliceData α)) Id
(Iterators.Types.Map (RxcIterator α fun (x : α) => Unit) Id Id (fun ⦃x : Type u_1⦄ => monadLift)
fun (b : (_ : α) × Unit) => pure b.fst)
α
theorem Std.DTreeMap.Internal.Unit.toList_ric {α : Type u} [Ord α] [TransOrd α] (t : Impl α fun (x : α) => Unit) (ordered : t.Ordered) (bound : α) :
Slice.toList (Ric.Sliceable.mkSlice t *...=bound) = List.filter (fun (e : α) => (compare e bound).isLE) t.keys
@[instance_reducible]
instance Std.DTreeMap.Internal.Const.instSliceableImplRicSlice {α : Type u} {β : Type v} [Ord α] :
Ric.Sliceable (Impl α fun (x : α) => β) α (RicSlice α β)
@[instance_reducible, inline]
instance Std.DTreeMap.Internal.Const.RicSlice.instToIterator {α : Type u_1} {β : Type v} [Ord α] :
ToIterator (Slice (RicSliceData α β)) Id
(Iterators.Types.Map (RxcIterator α fun (x : α) => β) Id Id (fun ⦃x : Type (max v u_1)⦄ => monadLift)
fun (b : (_ : α) × β) => pure (b.fst, b.snd))
(α × β)
theorem Std.DTreeMap.Internal.Const.toList_ric {α : Type u} {β : Type v} [Ord α] [TransOrd α] (t : Impl α fun (x : α) => β) (ordered : t.Ordered) (bound : α) :
Slice.toList (Ric.Sliceable.mkSlice t *...=bound) = List.filter (fun (e : α × β) => (compare e.fst bound).isLE) (Impl.Const.toList t)
@[instance_reducible]
instance Std.DTreeMap.Internal.instSliceableImplRioSlice {α : Type u} {β : α → Type v} [Ord α] :
Rio.Sliceable (Impl α β) α (RioSlice α β)
@[instance_reducible, inline]
instance Std.DTreeMap.Internal.RioSlice.instToIterator {α : Type u_1} {β : α → Type v} [Ord α] :
ToIterator (Slice (RioSliceData α β)) Id (RxoIterator α β) ((a : α) × β a)
theorem Std.DTreeMap.Internal.toList_rio {α : Type u} {β : α → Type v} [Ord α] [TransOrd α] (t : Impl α β) (ordered : t.Ordered) (bound : α) :
Slice.toList (Rio.Sliceable.mkSlice t *...bound) = List.filter (fun (e : (a : α) × β a) => (compare e.fst bound).isLT) t.toList
@[reducible, inline]
Instances For
@[instance_reducible]
instance Std.DTreeMap.Internal.Unit.instSliceableImplUnitRioSlice {α : Type u} [Ord α] :
Rio.Sliceable (Impl α fun (x : α) => Unit) α (RioSlice α)
@[instance_reducible, inline]
instance Std.DTreeMap.Internal.Unit.RioSlice.instToIterator {α : Type u_1} [Ord α] :
ToIterator (Slice (RioSliceData α)) Id
(Iterators.Types.Map (RxoIterator α fun (x : α) => Unit) Id Id (fun ⦃x : Type u_1⦄ => monadLift)
fun (b : (_ : α) × Unit) => pure b.fst)
α
theorem Std.DTreeMap.Internal.Unit.toList_rio {α : Type u} [Ord α] [TransOrd α] (t : Impl α fun (x : α) => Unit) (ordered : t.Ordered) (bound : α) :
Slice.toList (Rio.Sliceable.mkSlice t *...bound) = List.filter (fun (e : α) => (compare e bound).isLT) t.keys
@[instance_reducible]
instance Std.DTreeMap.Internal.Const.instSliceableImplRioSlice {α : Type u} {β : Type v} [Ord α] :
Rio.Sliceable (Impl α fun (x : α) => β) α (RioSlice α β)
@[instance_reducible, inline]
instance Std.DTreeMap.Internal.Const.RioSlice.instToIterator {α : Type u_1} {β : Type v} [Ord α] :
ToIterator (Slice (RioSliceData α β)) Id
(Iterators.Types.Map (RxoIterator α fun (x : α) => β) Id Id (fun ⦃x : Type (max v u_1)⦄ => monadLift)
fun (b : (_ : α) × β) => pure (b.fst, b.snd))
(α × β)
theorem Std.DTreeMap.Internal.Const.toList_rio {α : Type u} {β : Type v} [Ord α] [TransOrd α] (t : Impl α fun (x : α) => β) (ordered : t.Ordered) (bound : α) :
Slice.toList (Rio.Sliceable.mkSlice t *...bound) = List.filter (fun (e : α × β) => (compare e.fst bound).isLT) (Impl.Const.toList t)
@[instance_reducible]
instance Std.DTreeMap.Internal.instSliceableImplRccSlice {α : Type u} {β : α → Type v} [Ord α] :
Rcc.Sliceable (Impl α β) α (RccSlice α β)
@[instance_reducible, inline]
instance Std.DTreeMap.Internal.RccSlice.instToIterator {α : Type u_1} {β : α → Type v} [Ord α] :
ToIterator (Slice (RccSliceData α β)) Id (RxcIterator α β) ((a : α) × β a)
@[reducible, inline]
Instances For
@[instance_reducible]
instance Std.DTreeMap.Internal.Unit.instSliceableImplUnitRccSlice {α : Type u} [Ord α] :
Rcc.Sliceable (Impl α fun (x : α) => Unit) α (RccSlice α)
@[instance_reducible, inline]
instance Std.DTreeMap.Internal.Unit.RccSlice.instToIterator {α : Type u_1} [Ord α] :
ToIterator (Slice (RccSliceData α)) Id
(Iterators.Types.Map (RxcIterator α fun (x : α) => Unit) Id Id (fun ⦃x : Type u_1⦄ => monadLift)
fun (b : (_ : α) × Unit) => pure b.fst)
α
theorem Std.DTreeMap.Internal.Unit.toList_rcc {α : Type u} [Ord α] [TransOrd α] (t : Impl α fun (x : α) => Unit) (ordered : t.Ordered) (lowerBound upperBound : α) :
Slice.toList (Rcc.Sliceable.mkSlice t (lowerBound...=upperBound)) = List.filter (fun (e : α) => decide ((compare e lowerBound).isGE = true ∧ (compare e upperBound).isLE = true)) t.keys
@[instance_reducible]
instance Std.DTreeMap.Internal.Const.instSliceableImplRccSlice {α : Type u} {β : Type v} [Ord α] :
Rcc.Sliceable (Impl α fun (x : α) => β) α (RccSlice α β)
@[instance_reducible, inline]
instance Std.DTreeMap.Internal.Const.RccSlice.instToIterator {α : Type u_1} {β : Type v} [Ord α] :
ToIterator (Slice (RccSliceData α β)) Id
(Iterators.Types.Map (RxcIterator α fun (x : α) => β) Id Id (fun ⦃x : Type (max v u_1)⦄ => monadLift)
fun (b : (_ : α) × β) => pure (b.fst, b.snd))
(α × β)
theorem Std.DTreeMap.Internal.Const.toList_rcc {α : Type u} {β : Type v} [Ord α] [TransOrd α] (t : Impl α fun (x : α) => β) (ordered : t.Ordered) (lowerBound upperBound : α) :
Slice.toList (Rcc.Sliceable.mkSlice t (lowerBound...=upperBound)) = List.filter
(fun (e : α × β) => decide ((compare e.fst lowerBound).isGE = true ∧ (compare e.fst upperBound).isLE = true))
(Impl.Const.toList t)
@[instance_reducible]
instance Std.DTreeMap.Internal.instSliceableImplRcoSlice {α : Type u} {β : α → Type v} [Ord α] :
Rco.Sliceable (Impl α β) α (RcoSlice α β)
@[instance_reducible, inline]
instance Std.DTreeMap.Internal.RcoSlice.instToIterator {α : Type u_1} {β : α → Type v} [Ord α] :
ToIterator (Slice (RcoSliceData α β)) Id (RxoIterator α β) ((a : α) × β a)
@[reducible, inline]
Instances For
@[instance_reducible]
instance Std.DTreeMap.Internal.Unit.instSliceableImplUnitRcoSlice {α : Type u} [Ord α] :
Rco.Sliceable (Impl α fun (x : α) => Unit) α (RcoSlice α)
@[instance_reducible, inline]
instance Std.DTreeMap.Internal.Unit.RcoSlice.instToIterator {α : Type u_1} [Ord α] :
ToIterator (Slice (RcoSliceData α)) Id
(Iterators.Types.Map (RxoIterator α fun (x : α) => Unit) Id Id (fun ⦃x : Type u_1⦄ => monadLift)
fun (b : (_ : α) × Unit) => pure b.fst)
α
theorem Std.DTreeMap.Internal.Unit.toList_rco {α : Type u} [Ord α] [TransOrd α] (t : Impl α fun (x : α) => Unit) (ordered : t.Ordered) (lowerBound upperBound : α) :
Slice.toList (Rco.Sliceable.mkSlice t (lowerBound...upperBound)) = List.filter (fun (e : α) => decide ((compare e lowerBound).isGE = true ∧ (compare e upperBound).isLT = true)) t.keys
@[instance_reducible]
instance Std.DTreeMap.Internal.Const.instSliceableImplRcoSlice {α : Type u} {β : Type v} [Ord α] :
Rco.Sliceable (Impl α fun (x : α) => β) α (RcoSlice α β)
@[instance_reducible, inline]
instance Std.DTreeMap.Internal.Const.RcoSlice.instToIterator {α : Type u_1} {β : Type v} [Ord α] :
ToIterator (Slice (RcoSliceData α β)) Id
(Iterators.Types.Map (RxoIterator α fun (x : α) => β) Id Id (fun ⦃x : Type (max v u_1)⦄ => monadLift)
fun (b : (_ : α) × β) => pure (b.fst, b.snd))
(α × β)
theorem Std.DTreeMap.Internal.Const.toList_rco {α : Type u} {β : Type v} [Ord α] [TransOrd α] (t : Impl α fun (x : α) => β) (ordered : t.Ordered) (lowerBound upperBound : α) :
Slice.toList (Rco.Sliceable.mkSlice t (lowerBound...upperBound)) = List.filter
(fun (e : α × β) => decide ((compare e.fst lowerBound).isGE = true ∧ (compare e.fst upperBound).isLT = true))
(Impl.Const.toList t)
@[instance_reducible]
instance Std.DTreeMap.Internal.instSliceableImplRooSlice {α : Type u} {β : α → Type v} [Ord α] :
Roo.Sliceable (Impl α β) α (RooSlice α β)
@[instance_reducible, inline]
instance Std.DTreeMap.Internal.RooSlice.instToIterator {α : Type u_1} {β : α → Type v} [Ord α] :
ToIterator (Slice (RooSliceData α β)) Id (RxoIterator α β) ((a : α) × β a)
@[reducible, inline]
Instances For
@[instance_reducible]
instance Std.DTreeMap.Internal.Unit.instSliceableImplUnitRooSlice {α : Type u} [Ord α] :
Roo.Sliceable (Impl α fun (x : α) => Unit) α (RooSlice α)
@[instance_reducible, inline]
instance Std.DTreeMap.Internal.Unit.RooSlice.instToIterator {α : Type u_1} [Ord α] :
ToIterator (Slice (RooSliceData α)) Id
(Iterators.Types.Map (RxoIterator α fun (x : α) => Unit) Id Id (fun ⦃x : Type u_1⦄ => monadLift)
fun (b : (_ : α) × Unit) => pure b.fst)
α
theorem Std.DTreeMap.Internal.Unit.toList_roo {α : Type u} [Ord α] [TransOrd α] (t : Impl α fun (x : α) => Unit) (ordered : t.Ordered) (lowerBound upperBound : α) :
Slice.toList (Roo.Sliceable.mkSlice t (lowerBound<...upperBound)) = List.filter (fun (e : α) => decide ((compare e lowerBound).isGT = true ∧ (compare e upperBound).isLT = true)) t.keys
@[instance_reducible]
instance Std.DTreeMap.Internal.Const.instSliceableImplRooSlice {α : Type u} {β : Type v} [Ord α] :
Roo.Sliceable (Impl α fun (x : α) => β) α (RooSlice α β)
@[instance_reducible, inline]
instance Std.DTreeMap.Internal.Const.RooSlice.instToIterator {α : Type u_1} {β : Type v} [Ord α] :
ToIterator (Slice (RooSliceData α β)) Id
(Iterators.Types.Map (RxoIterator α fun (x : α) => β) Id Id (fun ⦃x : Type (max v u_1)⦄ => monadLift)
fun (b : (_ : α) × β) => pure (b.fst, b.snd))
(α × β)
theorem Std.DTreeMap.Internal.Const.toList_roo {α : Type u} {β : Type v} [Ord α] [TransOrd α] (t : Impl α fun (x : α) => β) (ordered : t.Ordered) (lowerBound upperBound : α) :
Slice.toList (Roo.Sliceable.mkSlice t (lowerBound<...upperBound)) = List.filter
(fun (e : α × β) => decide ((compare e.fst lowerBound).isGT = true ∧ (compare e.fst upperBound).isLT = true))
(Impl.Const.toList t)
@[instance_reducible]
instance Std.DTreeMap.Internal.instSliceableImplRocSlice {α : Type u} {β : α → Type v} [Ord α] :
Roc.Sliceable (Impl α β) α (RocSlice α β)
@[instance_reducible, inline]
instance Std.DTreeMap.Internal.RocSlice.instToIterator {α : Type u_1} {β : α → Type v} [Ord α] :
ToIterator (Slice (RocSliceData α β)) Id (RxcIterator α β) ((a : α) × β a)
@[reducible, inline]
Instances For
@[instance_reducible]
instance Std.DTreeMap.Internal.Unit.instSliceableImplUnitRocSlice {α : Type u} [Ord α] :
Roc.Sliceable (Impl α fun (x : α) => Unit) α (RocSlice α)
@[instance_reducible, inline]
instance Std.DTreeMap.Internal.Unit.RocSlice.instToIterator {α : Type u_1} [Ord α] :
ToIterator (Slice (RocSliceData α)) Id
(Iterators.Types.Map (RxcIterator α fun (x : α) => Unit) Id Id (fun ⦃x : Type u_1⦄ => monadLift)
fun (b : (_ : α) × Unit) => pure b.fst)
α
theorem Std.DTreeMap.Internal.Unit.toList_roc {α : Type u} [Ord α] [TransOrd α] (t : Impl α fun (x : α) => Unit) (ordered : t.Ordered) (lowerBound upperBound : α) :
Slice.toList (Roc.Sliceable.mkSlice t (lowerBound<...=upperBound)) = List.filter (fun (e : α) => decide ((compare e lowerBound).isGT = true ∧ (compare e upperBound).isLE = true)) t.keys
@[instance_reducible]
instance Std.DTreeMap.Internal.Const.instSliceableImplRocSlice {α : Type u} {β : Type v} [Ord α] :
Roc.Sliceable (Impl α fun (x : α) => β) α (RocSlice α β)
@[instance_reducible, inline]
instance Std.DTreeMap.Internal.Const.RocSlice.instToIterator {α : Type u_1} {β : Type v} [Ord α] :
ToIterator (Slice (RocSliceData α β)) Id
(Iterators.Types.Map (RxcIterator α fun (x : α) => β) Id Id (fun ⦃x : Type (max v u_1)⦄ => monadLift)
fun (b : (_ : α) × β) => pure (b.fst, b.snd))
(α × β)
theorem Std.DTreeMap.Internal.Const.toList_roc {α : Type u} {β : Type v} [Ord α] [TransOrd α] (t : Impl α fun (x : α) => β) (ordered : t.Ordered) (lowerBound upperBound : α) :
Slice.toList (Roc.Sliceable.mkSlice t (lowerBound<...=upperBound)) = List.filter
(fun (e : α × β) => decide ((compare e.fst lowerBound).isGT = true ∧ (compare e.fst upperBound).isLE = true))
(Impl.Const.toList t)
@[instance_reducible]
instance Std.DTreeMap.Internal.instSliceableImplRciSlice {α : Type u} {β : α → Type v} [Ord α] :
Rci.Sliceable (Impl α β) α (RciSlice α β)
@[instance_reducible, inline]
instance Std.DTreeMap.Internal.RciSlice.instToIterator {α : Type u_1} {β : α → Type v} [Ord α] :
ToIterator (Slice (RciSliceData α β)) Id (Zipper α β) ((a : α) × β a)
theorem Std.DTreeMap.Internal.toList_rci {α : Type u} {β : α → Type v} [Ord α] [TransOrd α] (t : Impl α β) (ordered : t.Ordered) (lowerBound : α) :
Slice.toList (Rci.Sliceable.mkSlice t (lowerBound...*)) = List.filter (fun (e : (a : α) × β a) => (compare e.fst lowerBound).isGE) t.toList
@[reducible, inline]
Instances For
@[instance_reducible]
instance Std.DTreeMap.Internal.Unit.instSliceableImplUnitRciSlice {α : Type u} [Ord α] :
Rci.Sliceable (Impl α fun (x : α) => Unit) α (RciSlice α)
@[instance_reducible, inline]
instance Std.DTreeMap.Internal.Unit.RciSlice.instToIterator {α : Type u_1} [Ord α] :
ToIterator (Slice (RciSliceData α)) Id
(Iterators.Types.Map (Zipper α fun (x : α) => Unit) Id Id (fun ⦃x : Type u_1⦄ => monadLift)
fun (b : (_ : α) × Unit) => pure b.fst)
α
theorem Std.DTreeMap.Internal.Unit.toList_rci {α : Type u} [Ord α] [TransOrd α] (t : Impl α fun (x : α) => Unit) (ordered : t.Ordered) (lowerBound : α) :
Slice.toList (Rci.Sliceable.mkSlice t (lowerBound...*)) = List.filter (fun (e : α) => (compare e lowerBound).isGE) t.keys
@[instance_reducible]
instance Std.DTreeMap.Internal.Const.instSliceableImplRciSlice {α : Type u} {β : Type v} [Ord α] :
Rci.Sliceable (Impl α fun (x : α) => β) α (RciSlice α β)
@[instance_reducible, inline]
theorem Std.DTreeMap.Internal.Const.toList_rci {α : Type u} {β : Type v} [Ord α] [TransOrd α] (t : Impl α fun (x : α) => β) (ordered : t.Ordered) (lowerBound : α) :
Slice.toList (Rci.Sliceable.mkSlice t (lowerBound...*)) = List.filter (fun (e : α × β) => (compare e.fst lowerBound).isGE) (Impl.Const.toList t)
@[instance_reducible]
instance Std.DTreeMap.Internal.instSliceableImplRoiSlice {α : Type u} {β : α → Type v} [Ord α] :
Roi.Sliceable (Impl α β) α (RoiSlice α β)
@[instance_reducible, inline]
instance Std.DTreeMap.Internal.RoiSlice.instToIterator {α : Type u_1} {β : α → Type v} [Ord α] :
ToIterator (Slice (RoiSliceData α β)) Id (Zipper α β) ((a : α) × β a)
theorem Std.DTreeMap.Internal.toList_roi {α : Type u} {β : α → Type v} [Ord α] [TransOrd α] (t : Impl α β) (ordered : t.Ordered) (lowerBound : α) :
Slice.toList (Roi.Sliceable.mkSlice t (lowerBound<...*)) = List.filter (fun (e : (a : α) × β a) => (compare e.fst lowerBound).isGT) t.toList
@[reducible, inline]
Instances For
@[instance_reducible]
instance Std.DTreeMap.Internal.Unit.instSliceableImplUnitRoiSlice {α : Type u} [Ord α] :
Roi.Sliceable (Impl α fun (x : α) => Unit) α (RoiSlice α)
@[instance_reducible, inline]
instance Std.DTreeMap.Internal.Unit.RoiSlice.instToIterator {α : Type u_1} [Ord α] :
ToIterator (Slice (RoiSliceData α)) Id
(Iterators.Types.Map (Zipper α fun (x : α) => Unit) Id Id (fun ⦃x : Type u_1⦄ => monadLift)
fun (b : (_ : α) × Unit) => pure b.fst)
α
theorem Std.DTreeMap.Internal.Unit.toList_roi {α : Type u} [Ord α] [TransOrd α] (t : Impl α fun (x : α) => Unit) (ordered : t.Ordered) (lowerBound : α) :
Slice.toList (Roi.Sliceable.mkSlice t (lowerBound<...*)) = List.filter (fun (e : α) => (compare e lowerBound).isGT) t.keys
@[instance_reducible]
instance Std.DTreeMap.Internal.Const.instSliceableImplRoiSlice {α : Type u} {β : Type v} [Ord α] :
Roi.Sliceable (Impl α fun (x : α) => β) α (RoiSlice α β)
@[instance_reducible, inline]
theorem Std.DTreeMap.Internal.Const.toList_roi {α : Type u} {β : Type v} [Ord α] [TransOrd α] (t : Impl α fun (x : α) => β) (ordered : t.Ordered) (lowerBound : α) :
Slice.toList (Roi.Sliceable.mkSlice t (lowerBound<...*)) = List.filter (fun (e : α × β) => (compare e.fst lowerBound).isGT) (Impl.Const.toList t)
@[reducible, inline]
Instances For
@[instance_reducible]
instance Std.DTreeMap.Internal.instSliceableImplRiiSlice {α : Type u} {β : α → Type v} :
Rii.Sliceable (Impl α β) α (RiiSlice α β)
@[instance_reducible, inline]
instance Std.DTreeMap.Internal.RiiSlice.instToIterator {α : Type u_1} {β : α → Type v} :
ToIterator (Slice (RiiSliceData α β)) Id (Zipper α β) ((a : α) × β a)
@[reducible, inline]
Instances For
@[instance_reducible]
instance Std.DTreeMap.Internal.Unit.instSliceableImplUnitRiiSlice {α : Type u} :
Rii.Sliceable (Impl α fun (x : α) => Unit) α (RiiSlice α)
@[instance_reducible, inline]
instance Std.DTreeMap.Internal.Unit.RiiSlice.instToIterator {α : Type u} :
ToIterator (Slice (RiiSliceData α)) Id
(Iterators.Types.Map (Zipper α fun (x : α) => Unit) Id Id (fun ⦃x : Type u⦄ => monadLift) fun (b : (_ : α) × Unit) =>
pure b.fst)
α
@[reducible, inline]
Instances For
@[instance_reducible]
instance Std.DTreeMap.Internal.Const.instSliceableImplRiiSlice {α : Type u} {β : Type v} :
Rii.Sliceable (Impl α fun (x : α) => β) α (RiiSlice α β)
@[instance_reducible, inline]
theorem Std.DTreeMap.Internal.Const.toList_rii {α : Type u} {β : Type v} (t : Impl α fun (x : α) => β) :