• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
      • Apt
      • Zfc
      • Acre
      • Milawa
      • Smtlink
        • Z3-installation
        • Smt-hint
        • Tutorial
        • Status
        • Developer
          • Verified
            • Uninterpreted-fn-cp
            • Smt-hint-interface
            • Function-expansion
            • Smt-config
            • Fty-support
            • Smt-computed-hints
            • Add-hypo-cp
            • Smt-hint-please
            • Type-extract-cp
            • Smt-extract
            • Smtlink-process-user-hint
              • Process-smtlink-hints
              • Function-syntax
              • Smtlink-hint-syntax
              • Argument-lst-syntax
              • Hypothesis-lst-syntax
              • Translate-cmp-smtlink
                • Trans-argument
                • Trans-hypothesis
                  • Trans-more-returns
                  • Trans-hypotheses
                  • Trans-hint-option
                  • Trans-hint
                  • Trans-functions
                  • Trans-function
                  • Trans-func-option
                  • Wrld-fn-len
                  • Trans-returns
                  • Trans-formals
                  • Trans-guard
                • Process-hint-clause-processor
                • Smt-solver-params
                • Hints-syntax
                • True-set-equiv-relation
              • Smt-basics
              • Smt-type-hyp
              • Smt-magic-fix
            • Trusted
        • Abnf
        • Vwsim
        • Isar
        • Wp-gen
        • Dimacs-reader
        • Pfcs
        • Legacy-defrstobj
        • Proof-checker-array
        • Soft
        • C
        • Farray
        • Rp-rewriter
        • Instant-runoff-voting
        • Imp-language
        • Sidekick
        • Leftist-trees
        • Java
        • Taspi
        • Bitcoin
        • Riscv
        • Des
        • Ethereum
        • X86isa
        • Sha-2
        • Yul
        • Zcash
        • Proof-checker-itp13
        • Regex
        • ACL2-programming-language
        • Json
        • Jfkr
        • Equational
        • Cryptography
        • Poseidon
        • Where-do-i-place-my-book
        • Axe
        • Bigmems
        • Builtins
        • Execloader
        • Aleo
        • Solidity
        • Paco
        • Concurrent-programs
        • Bls12-377-curves
      • Debugging
      • Std
      • Proof-automation
      • Macro-libraries
      • ACL2
      • Interfacing-tools
      • Hardware-verification
      • Software-verification
      • Math
      • Testing-utilities
    • Translate-cmp-smtlink

    Trans-hypothesis

    Signature
    (trans-hypothesis val state) → *

    Definitions and Theorems

    Function: trans-hypothesis

    (defun trans-hypothesis (val state)
      (declare (xargs :stobjs (state)))
      (declare (xargs :guard t))
      (let ((acl2::__function__ 'trans-hypothesis))
        (declare (ignorable acl2::__function__))
        (b* (((unless (and (true-listp val) (car val)))
              val)
             ((mv err term)
              (acl2::translate-cmp
                   (car val)
                   t t nil
                   'smtlink-process-user-hint->trans-hypothesis
                   (w state)
                   (default-state-vars t)))
             ((when err)
              (er hard?
                  'smtlink-process-user-hint->trans-hypothesis
                  "Error ~
        translating form: ~q0"
                  (car val))))
          (cons term (cdr val)))))