• 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
              • Smtlink-hint
                • Smtlink-hint-p
                • Make-smtlink-hint
                • Func
                • Smtlink-hint-fix
                • Maybe-smtlink-hint
                • Hint-pair
                • Decl
                • Binding
                • Smtlink-hint-equiv
                • Let-binding
                • Change-smtlink-hint
                • Smtlink-hint->expanded-clause-w/-hint
                • Smtlink-hint->type-decl-list
                • Smtlink-hint->fast-functions
                • Smtlink-hint->expanded-g/type
                • Smtlink-hint->smt-params
                • Smtlink-hint->let-binding
                • Smtlink-hint->hypotheses
                • Smtlink-hint->fty-info
                • Smtlink-hint->wrld-fn-len
                • Smtlink-hint->symbols
                • Smtlink-hint->smt-fname
                • Smtlink-hint->smt-dir
                • Smtlink-hint->smt-cnf
                  • Smtlink-hint->rm-file
                  • Smtlink-hint->main-hint
                  • Smtlink-hint->int-to-rat
                  • Smtlink-hint->functions
                  • Smtlink-hint->fty-types
                  • Smtlink-hint->custom-p
                  • Smtlink-hint->fty
                  • Smtlink-hint->abs
                • Smt-hint
                • Make-alist-fn-lst
                • True-list-fix
              • Function-expansion
              • Smt-config
              • Fty-support
              • Smt-computed-hints
              • Add-hypo-cp
              • Smt-hint-please
              • Type-extract-cp
              • Smt-extract
              • Smtlink-process-user-hint
              • 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
        • Riscv
        • Instant-runoff-voting
        • Imp-language
        • Sidekick
        • Leftist-trees
        • Java
        • Taspi
        • Bitcoin
        • 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
        • Aleo
        • Bigmems
        • Builtins
        • Execloader
        • Solidity
        • Paco
        • Concurrent-programs
        • Bls12-377-curves
      • Debugging
      • Std
      • Community
      • Proof-automation
      • Macro-libraries
      • ACL2
      • Interfacing-tools
      • Hardware-verification
      • Software-verification
      • Math
      • Testing-utilities
    • Smtlink-hint

    Smtlink-hint->smt-cnf

    Get the smt-cnf field from a smtlink-hint.

    Signature
    (smtlink-hint->smt-cnf x) → smt-cnf
    Arguments
    x — Guard (smtlink-hint-p x).
    Returns
    smt-cnf — Type (smtlink-config-p smt-cnf).

    This is an ordinary field accessor created by defprod.

    Definitions and Theorems

    Function: smtlink-hint->smt-cnf$inline

    (defun smtlink-hint->smt-cnf$inline (x)
      (declare (xargs :guard (smtlink-hint-p x)))
      (declare (xargs :guard t))
      (let ((acl2::__function__ 'smtlink-hint->smt-cnf))
        (declare (ignorable acl2::__function__))
        (mbe :logic
             (b* ((x (and t x)))
               (smtlink-config-fix (cdr (std::da-nth 18 x))))
             :exec (cdr (std::da-nth 18 x)))))

    Theorem: smtlink-config-p-of-smtlink-hint->smt-cnf

    (defthm smtlink-config-p-of-smtlink-hint->smt-cnf
      (b* ((smt-cnf (smtlink-hint->smt-cnf$inline x)))
        (smtlink-config-p smt-cnf))
      :rule-classes :rewrite)

    Theorem: smtlink-hint->smt-cnf$inline-of-smtlink-hint-fix-x

    (defthm smtlink-hint->smt-cnf$inline-of-smtlink-hint-fix-x
      (equal (smtlink-hint->smt-cnf$inline (smtlink-hint-fix x))
             (smtlink-hint->smt-cnf$inline x)))

    Theorem: smtlink-hint->smt-cnf$inline-smtlink-hint-equiv-congruence-on-x

    (defthm
        smtlink-hint->smt-cnf$inline-smtlink-hint-equiv-congruence-on-x
      (implies (smtlink-hint-equiv x x-equiv)
               (equal (smtlink-hint->smt-cnf$inline x)
                      (smtlink-hint->smt-cnf$inline x-equiv)))
      :rule-classes :congruence)