• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
    • Debugging
    • Std
    • Community
    • Proof-automation
    • ACL2
    • Macro-libraries
    • Interfacing-tools
    • Hardware-verification
    • Software-verification
      • Kestrel-books
        • Crypto-hdwallet
        • Apt
          • Simplify-defun
          • Isodata
          • Tailrec
          • Schemalg
          • Restrict
          • Expdata
          • Casesplit
          • Simplify-term
          • Simplify-defun-sk
          • Parteval
          • Solve
            • Solve-implementation
              • Solve-event-generation
              • Solve-fn
              • Solve-input-processing
                • Solve-process-inputs
                • Solve-process-solution-name
                • Solve-process-old
                • Solve-process-solution-guard-hints
                • Solve-process-solution-body
                • Solve-process-solution-hints
                • Solve-process-solution-guard
                • Solve-process-solution-enable
                  • Solve-process-method
                  • Solve-process-method-rules
                  • *solve-call-axe-rewriter*
                  • *solve-call-ACL2-rewriter*
                • Solve-macro-definition
                • Solve-call-ACL2-rewriter
            • Wrap-output
            • Propagate-iso
            • Simplify
            • Finite-difference
            • Drop-irrelevant-params
            • Copy-function
            • Lift-iso
            • Rename-params
            • Utilities
            • Simplify-term-programmatic
            • Simplify-defun-sk-programmatic
            • Simplify-defun-programmatic
            • Simplify-defun+
            • Common-options
            • Common-concepts
          • Error-checking
          • Fty-extensions
          • Isar
          • Kestrel-utilities
          • Set
          • Soft
          • C
          • Bv
          • Imp-language
          • Event-macros
          • Java
          • Bitcoin
          • Ethereum
          • Yul
          • Zcash
          • ACL2-programming-language
          • Prime-fields
          • Json
          • Syntheto
          • File-io-light
          • Cryptography
          • Number-theory
          • Lists-light
          • Axe
          • Builtins
          • Solidity
          • Helpers
          • Htclient
          • Typed-lists-light
          • Arithmetic-light
        • X86isa
        • Axe
        • Execloader
      • Math
      • Testing-utilities
    • Solve-input-processing

    Solve-process-solution-enable

    Process the :solution-enable input.

    Signature
    (solve-process-solution-enable solution-enable 
                                   solution-enable? f-existsp ctx state) 
     
      → 
    (mv erp nothing state)
    Arguments
    solution-enable? — Guard (booleanp solution-enable?).
    f-existsp — Guard (booleanp f-existsp).
    Returns
    nothing — Type (null nothing).

    Definitions and Theorems

    Function: solve-process-solution-enable

    (defun solve-process-solution-enable
           (solution-enable solution-enable? f-existsp ctx state)
     (declare (xargs :stobjs (state)))
     (declare (xargs :guard (and (booleanp solution-enable?)
                                 (booleanp f-existsp))))
     (let ((__function__ 'solve-process-solution-enable))
      (declare (ignorable __function__))
      (if
       (and solution-enable? f-existsp)
       (er-soft+
        ctx t nil
        "Since the :SOLUTION-name input ~
                     specifies an existing function, ~
                     the :SOLUTION-ENABLE input must be absent.")
       (ensure-value-is-boolean$ solution-enable
                                 "The :SOLUTION-ENABLE input" t nil))))

    Theorem: null-of-solve-process-solution-enable.nothing

    (defthm null-of-solve-process-solution-enable.nothing
      (b* (((mv ?erp ?nothing acl2::?state)
            (solve-process-solution-enable
                 solution-enable
                 solution-enable? f-existsp ctx state)))
        (null nothing))
      :rule-classes :rewrite)