other
(in-package "GL")
other
(include-book "shape-spec-defs")
other
(defaggregate glcp-config ((abort-indeterminate booleanp :default t) (abort-ctrex booleanp :default t) (exec-ctrex booleanp :default t) (ctrex-transform :default '(lambda (x) x)) (abort-vacuous booleanp :default t) (check-vacuous booleanp :default t) (n-counterexamples natp :rule-classes (:rewrite :type-prescription) :default 3) (hyp-clk posp :rule-classes (:rewrite :type-prescription) :default 1000000) (concl-clk posp :rule-classes (:rewrite :type-prescription) :default 1000000) (clause-proc symbolp :rule-classes (:rewrite :type-prescription)) (overrides) (param-bfr :default t) (term-level-counterexample-scheme symbolp :default :depgraph) top-level-term (shape-spec-alist shape-spec-bindingsp) run-before-cases run-after-cases case-split-override (split-conses booleanp :default nil) (split-fncalls booleanp :default nil) (lift-ifsp booleanp :default t) (prof-enabledp booleanp :default nil) (rewrite-rule-table :default nil) (branch-merge-rules :default nil)) :tag :glcp-config)
other
(defund-inline glcp-config-update-param (p config) (declare (xargs :guard (glcp-config-p config))) (change-glcp-config config :param-bfr p))
other
(defthm param-bfr-of-glcp-config-update-param (equal (glcp-config->param-bfr (glcp-config-update-param p config)) p) :hints (("Goal" :in-theory (enable glcp-config-update-param))))
other
(defthm glcp-config->overrides-of-glcp-config-update-param (equal (glcp-config->overrides (glcp-config-update-param p config)) (glcp-config->overrides config)) :hints (("Goal" :in-theory (enable glcp-config-update-param))))
other
(defthm glcp-config->top-level-term-of-glcp-config-update-param (equal (glcp-config->top-level-term (glcp-config-update-param p config)) (glcp-config->top-level-term config)) :hints (("Goal" :in-theory (enable glcp-config-update-param))))
other
(defund-inline glcp-config-update-term (term config) (declare (xargs :guard (glcp-config-p config))) (change-glcp-config config :top-level-term term))
other
(defthm param-bfr-of-glcp-config-update-term (equal (glcp-config->param-bfr (glcp-config-update-term term config)) (glcp-config->param-bfr config)) :hints (("Goal" :in-theory (enable glcp-config-update-term))))
other
(defthm glcp-config->overrides-of-glcp-config-update-term (equal (glcp-config->overrides (glcp-config-update-term term config)) (glcp-config->overrides config)) :hints (("Goal" :in-theory (enable glcp-config-update-term))))
other
(defthm glcp-config->top-level-term-of-glcp-config-update-term (equal (glcp-config->top-level-term (glcp-config-update-term term config)) term) :hints (("Goal" :in-theory (enable glcp-config-update-term))))