(id-existsp id aignet) checks whether an ID is in bounds for an aignet.
Executable version of
Function:
(defun aignet$a::id-existsp (id aignet) (declare (xargs :guard (and (natp id) (aignet$a::aignet-well-formedp aignet)))) (let ((__function__ 'aignet$a::id-existsp)) (declare (ignorable __function__)) (aignet-idp id aignet)))
Function:
(defun aignet-idp (id aignet) (declare (xargs :guard (and (natp id) (node-listp aignet)))) (let ((__function__ 'aignet-idp)) (declare (ignorable __function__)) (<= (lnfix id) (fanin-count aignet))))