• Top
    • Documentation
    • Books
    • Boolean-reasoning
      • Ipasir
      • Aignet
      • Aig
      • Satlink
        • Sat-solver-options
          • Unsat-checking
          • Check-config
            • Pigeon-hole
            • Simple-sat
            • Assert-unsat
            • Assert-sat
          • Config-p
          • Logical-story
          • Dimacs
          • Gather-benchmarks
          • Cnf
          • Satlink-extra-hook
          • Sat
        • Truth
        • Ubdds
        • Bdd
        • Faig
        • Bed
        • 4v
      • Projects
      • Debugging
      • Std
      • Proof-automation
      • Macro-libraries
      • ACL2
      • Interfacing-tools
      • Hardware-verification
      • Software-verification
      • Math
      • Testing-utilities
    • Check-config

    Assert-sat

    Signature
    (assert-sat formula &key (config 'config)) → *
    Arguments
    formula — Guard (lit-list-listp formula).
    config — Guard (config-p config).

    Definitions and Theorems

    Function: assert-sat-fn

    (defun assert-sat-fn (formula config)
      (declare (xargs :guard (and (lit-list-listp formula)
                                  (config-p config))))
      (let ((__function__ 'assert-sat))
        (declare (ignorable __function__))
        (or (equal (simple-sat formula :config config)
                   :sat)
            (raise "Expected formula ~x0 to be satisfiable!"
                   formula))))