• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
    • Debugging
    • Community
    • Std
    • Proof-automation
    • Macro-libraries
    • ACL2
    • Interfacing-tools
      • Io
      • Defttag
      • Sys-call
      • Save-exec
      • Quicklisp
      • Oslib
      • Std/io
      • Bridge
      • Clex
      • Tshell
      • Unsound-eval
      • Hacker
      • ACL2s-interface
        • Itest?-query
        • ACL2s-event
        • ACL2s-query
        • Quiet-mode-hooks
        • ACL2s-interface-symbol-package-tips
        • ACL2s-compute
        • ACL2s-interface::ACL2s-interface-utils
          • Quiet-mode
          • Capture-output
        • Startup-banner
        • Command-line
      • Hardware-verification
      • Software-verification
      • Math
      • Testing-utilities
    • ACL2s-interface

    ACL2s-interface::ACL2s-interface-utils

    Some utilities built into the ACL2s interface.

    • (flatten-and l): Given a list of terms representing the conjunction of those terms, recursively flatten any conjunctions inside those terms.
    • (conjunction-terms x y): Given two terms, produce the conjunction of them, simplifying if either of the terms has a top-level conjunction.
    • (cnf-disjunct-to-or expr): Given a CNF disjunct, convert to an equivalent ACL2s expression by adding 'or.
    • (get-hyps expr): Get the hypotheses of an implication, returning nil if the given expression is not an implication.
    • (get-conc expr): Get the conclusion of an implication, returning nil if the given expression is not an implication.