• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
    • Debugging
    • Std
    • Proof-automation
    • Macro-libraries
    • ACL2
    • Interfacing-tools
    • Hardware-verification
      • Gl
      • Esim
      • Vl2014
        • Warnings
        • Primitives
        • Use-set
        • Syntax
        • Getting-started
        • Utilities
        • Loader
        • Transforms
        • Lint
          • Vl-lintconfig-p
          • Lucid
          • Skip-detection
            • Sd-problem-p
              • Sd-problem
              • Make-sd-problem
              • Change-sd-problem
                • Make-honsed-sd-problem
                • Honsed-sd-problem
                • Sd-problem->type
                • Sd-problem->priority
                • Sd-problem->key
                • Sd-problem->groupsize
                • Sd-problem->ctx
              • Sd-keylist-find-skipped
              • Sd-keylist->indicies
              • Sd-key-p
              • Sd-patalist-compare
              • Sd-analyze-ctxexprs
              • Sd-problemlist-p
              • Sd-patalist-p
              • Sd-keygen
              • Sd-patalist
              • Sd-keylist-p
              • Sd-analyze-modulelist
              • Sd-analyze-module-aux
              • Sd-analyze-module
              • Sd-pp-problem-long
              • Sd-analyze-modulelist-aux
              • Sd-problem-score
              • Sd-pp-problem-header
              • Sd-analyze-design
              • Sd-problem->
              • Sd-pp-problem-brief
              • Sd-pp-problemlist-long
              • Sd-pp-problemlist-brief
              • Sd-natlist-linear-increments-p
              • Sd-keylist-linear-increments-p
            • Vl-lintresult-p
            • Lint-warning-suppression
            • Condcheck
            • Selfassigns
            • Leftright-check
            • Dupeinst-check
            • Oddexpr-check
            • Remove-toohard
            • Qmarksize-check
            • Portcheck
            • Duplicate-detect
            • Vl-print-certain-warnings
            • Duperhs-check
            • *vl-lint-help*
            • Lint-stmt-rewrite
            • Drop-missing-submodules
            • Check-case
            • Drop-user-submodules
            • Check-namespace
            • Vl-lint
          • Mlib
          • Server
          • Kit
          • Printer
          • Esim-vl
          • Well-formedness
        • Sv
        • Fgl
        • Vwsim
        • Vl
        • X86isa
        • Svl
        • Rtl
      • Software-verification
      • Math
      • Testing-utilities
    • Sd-problem-p

    Change-sd-problem

    A copying macro that lets you create new sd-problem-p structures, based on existing structures.

    Syntax:

    (change-sd-problem x 
                       [:type <type>] 
                       [:priority <priority>] 
                       [:groupsize <groupsize>] 
                       [:key <key>] 
                       [:ctx <ctx>]) 
    

    This is a sometimes useful alternative to make-sd-problem. It constructs a new sd-problem-p 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 defaggregate.

    Macro: change-sd-problem

    (defmacro change-sd-problem (x &rest args)
      (std::change-aggregate 'sd-problem
                             x args
                             '((:type . sd-problem->type)
                               (:priority . sd-problem->priority)
                               (:groupsize . sd-problem->groupsize)
                               (:key . sd-problem->key)
                               (:ctx . sd-problem->ctx))
                             'change-sd-problem
                             'remake-sd-problem))