• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
    • Debugging
    • Std
    • Community
    • Proof-automation
      • Gl
      • Witness-cp
      • Ccg
      • Install-not-normalized
      • Rewrite$
      • Fgl
        • Fgl-rewrite-rules
        • Fgl-function-mode
        • Fgl-object
        • Fgl-solving
        • Fgl-handling-if-then-elses
        • Fgl-getting-bits-from-objects
        • Fgl-primitive-and-meta-rules
        • Fgl-counterexamples
          • Def-ctrex-rule
          • Fgl-counterexample-implementation-details
            • Cgraph
              • Cgraph-p
              • Ctrex-rule
                • Ctrex-rule-fix
                • Make-ctrex-rule
                • Ctrex-rule-p
                • Ctrex-rule-equiv
                • Ctrex-rule->dep-success-vars
                • Change-ctrex-rule
                  • Ctrex-rule->unify-subst
                  • Ctrex-rule->ruletype
                  • Ctrex-rule->priority
                  • Ctrex-rule->value
                  • Ctrex-rule->target
                  • Ctrex-rule->success
                  • Ctrex-rule->match
                  • Ctrex-rule->deps
                  • Ctrex-rule->order
                  • Ctrex-rule->name
                • Cgraph-fix
                • Cgraph-equiv
              • Cgraph-derive-assignments-for-vars
              • Cgraph-derive-assignments-obj
              • Cgraph-derive-assignments-bindings
          • Fgl-interpreter-overview
          • Fgl-correctness-of-binding-free-variables
          • Fgl-debugging
          • Fgl-testbenches
          • Def-fgl-boolean-constraint
          • Fgl-stack
          • Fgl-rewrite-tracing
          • Def-fgl-param-thm
          • Def-fgl-thm
          • Fgl-fast-alist-support
          • Fgl-array-support
          • Advanced-equivalence-checking-with-fgl
          • Fgl-fty-support
          • Fgl-internals
        • Removable-runes
        • Efficiency
        • Rewrite-bounds
        • Bash
        • Def-dag-measure
        • Bdd
        • Remove-hyps
        • Contextual-rewriting
        • Simp
        • Rewrite$-hyps
        • Bash-term-to-dnf
        • Use-trivial-ancestors-check
        • Minimal-runes
        • Clause-processor-tools
        • Fn-is-body
        • Without-subsumption
        • Rewrite-equiv-hint
        • Def-bounds
        • Rewrite$-context
        • Try-gl-concls
        • Hint-utils
      • Macro-libraries
      • ACL2
      • Interfacing-tools
      • Hardware-verification
      • Software-verification
      • Math
      • Testing-utilities
    • Ctrex-rule

    Change-ctrex-rule

    Modifying constructor for ctrex-rule structures.

    Syntax
    (change-ctrex-rule x 
                       [:name <name>] 
                       [:match <match>] 
                       [:unify-subst <unify-subst>] 
                       [:target <target>] 
                       [:deps <deps>] 
                       [:dep-success-vars <dep-success-vars>] 
                       [:success <success>] 
                       [:priority <priority>] 
                       [:value <value>] 
                       [:order <order>] 
                       [:ruletype <ruletype>]) 
    

    This is an often useful alternative to make-ctrex-rule.

    We construct a new ctrex-rule structure that is a copy of x, except that you can explicitly change some particular fields. Any fields you don't mention just keep their values from x.

    Definition

    This is an ordinary change- macro introduced by defprod.

    Macro: change-ctrex-rule

    (defmacro change-ctrex-rule (x &rest args)
      (std::change-aggregate
           'ctrex-rule
           x args
           '((:name . ctrex-rule->name)
             (:match . ctrex-rule->match)
             (:unify-subst . ctrex-rule->unify-subst)
             (:target . ctrex-rule->target)
             (:deps . ctrex-rule->deps)
             (:dep-success-vars . ctrex-rule->dep-success-vars)
             (:success . ctrex-rule->success)
             (:priority . ctrex-rule->priority)
             (:value . ctrex-rule->value)
             (:order . ctrex-rule->order)
             (:ruletype . ctrex-rule->ruletype))
           'change-ctrex-rule
           'nil))