• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
      • Apt
      • Zfc
      • Acre
      • Milawa
      • Smtlink
      • Abnf
      • Vwsim
      • Isar
      • Wp-gen
      • Dimacs-reader
      • Pfcs
        • Proof-support
        • Semantics
          • Exec-proof-tree
          • Assertion-list->constr-list
          • Assertion-list->asg-list
          • Eval-expr-list
          • Eval-expr
          • Assignment-wfp
          • Assertion
          • Proof-outcome
          • Proof-list-outcome
            • Proof-list-outcome-fix
            • Proof-list-outcome-case
            • Proof-list-outcome-equiv
            • Proof-list-outcomep
            • Proof-list-outcome-assertions
              • Proof-list-outcome-assertions->get
                • Make-proof-list-outcome-assertions
                • Change-proof-list-outcome-assertions
              • Proof-list-outcome-kind
              • Proof-list-outcome-fail
              • Proof-list-outcome-error
            • Assertion-list-from
            • Definition-satp
            • Constraint-satp
            • Assignment
            • System-satp
            • Constraint-list-satp
            • Assertion-list
            • Assignment-list
            • Proof-trees
          • Lifting
          • R1cs-subset
          • Well-formedness
          • Abstract-syntax
          • Concrete-syntax
          • R1cs-bridge
          • Parser-interface
        • Legacy-defrstobj
        • C
        • Proof-checker-array
        • Soft
        • Farray
        • Rp-rewriter
        • Instant-runoff-voting
        • Imp-language
        • Sidekick
        • Ethereum
        • Leftist-trees
        • Java
        • Riscv
        • Taspi
        • Bitcoin
        • Zcash
        • Des
        • X86isa
        • Sha-2
        • Yul
        • Proof-checker-itp13
        • Regex
        • ACL2-programming-language
        • Json
        • Jfkr
        • Equational
        • Cryptography
        • Axe
        • Poseidon
        • Where-do-i-place-my-book
        • Aleo
        • Bigmems
        • Builtins
        • Execloader
        • Solidity
        • Paco
        • Concurrent-programs
        • Bls12-377-curves
      • Debugging
      • Community
      • Std
      • Proof-automation
      • Macro-libraries
      • ACL2
      • Interfacing-tools
      • Hardware-verification
      • Software-verification
      • Math
      • Testing-utilities
    • Proof-list-outcome-assertions

    Proof-list-outcome-assertions->get

    Get the get field from a proof-list-outcome-assertions.

    Signature
    (proof-list-outcome-assertions->get x) → get
    Arguments
    x — Guard (proof-list-outcomep x).
    Returns
    get — Type (assertion-listp get).

    This is an ordinary field accessor created by fty::defprod.

    Definitions and Theorems

    Function: proof-list-outcome-assertions->get$inline

    (defun proof-list-outcome-assertions->get$inline (x)
      (declare (xargs :guard (proof-list-outcomep x)))
      (declare (xargs :guard (equal (proof-list-outcome-kind x)
                                    :assertions)))
      (let ((__function__ 'proof-list-outcome-assertions->get))
        (declare (ignorable __function__))
        (mbe :logic
             (b* ((x (and (equal (proof-list-outcome-kind x)
                                 :assertions)
                          x)))
               (assertion-list-fix (std::da-nth 0 (cdr x))))
             :exec (std::da-nth 0 (cdr x)))))

    Theorem: assertion-listp-of-proof-list-outcome-assertions->get

    (defthm assertion-listp-of-proof-list-outcome-assertions->get
      (b* ((get (proof-list-outcome-assertions->get$inline x)))
        (assertion-listp get))
      :rule-classes :rewrite)

    Theorem: proof-list-outcome-assertions->get$inline-of-proof-list-outcome-fix-x

    (defthm
     proof-list-outcome-assertions->get$inline-of-proof-list-outcome-fix-x
     (equal (proof-list-outcome-assertions->get$inline
                 (proof-list-outcome-fix x))
            (proof-list-outcome-assertions->get$inline x)))

    Theorem: proof-list-outcome-assertions->get$inline-proof-list-outcome-equiv-congruence-on-x

    (defthm
     proof-list-outcome-assertions->get$inline-proof-list-outcome-equiv-congruence-on-x
     (implies
          (proof-list-outcome-equiv x x-equiv)
          (equal (proof-list-outcome-assertions->get$inline x)
                 (proof-list-outcome-assertions->get$inline x-equiv)))
     :rule-classes :congruence)

    Theorem: proof-list-outcome-assertions->get-when-wrong-kind

    (defthm proof-list-outcome-assertions->get-when-wrong-kind
      (implies (not (equal (proof-list-outcome-kind x)
                           :assertions))
               (equal (proof-list-outcome-assertions->get x)
                      (assertion-list-fix nil))))