Extend a context with a list of premises.
(atc-context-extend context premises) → new-context
Function:
(defun atc-context-extend (context premises) (declare (xargs :guard (and (atc-contextp context) (atc-premise-listp premises)))) (let ((__function__ 'atc-context-extend)) (declare (ignorable __function__)) (change-atc-context context :premises (append (atc-context->premises context) premises))))
Theorem:
(defthm atc-contextp-of-atc-context-extend (b* ((new-context (atc-context-extend context premises))) (atc-contextp new-context)) :rule-classes :rewrite)