def seek_fit

bendtorch-core@0.1.0.0 · src/storage/api.bend:608

import bendtorch-core@0.1.0.0/src/storage/api.bend as Api
import Base
import bendtorch-core@0.1.0.0/src/storage/model.bend as Model

608def seek_fit(+n: Nat, +k: Nat, +c: Nat, +decided: {True{} == Nat.is_le(n, c) : Bool}, +sized: {c == Model.capacity(k) : Nat}) ->
609  {Nat.is_le(n, Model.capacity(k)) == True{} : Bool}:
610  %sized : {Nat.is_le(n, _) == True{} : Bool}
611  Equal.sym(Bool, True{}, Nat.is_le(n, c), decided)

Uses (5)

Used by (1)