• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
      • Apt
      • Zfc
      • Acre
      • Milawa
      • Smtlink
      • Abnf
      • Vwsim
      • Isar
      • Wp-gen
      • Dimacs-reader
      • Pfcs
        • Proof-support
        • Abstract-syntax
        • R1cs-subset
        • Semantics
          • Semantics-deeply-embedded
          • Lifting
            • Lift-thm
            • Lift-thm-constr-satp-specialized-lemma
            • Lift-thm-definition-satp-specialized-lemma
            • Lift-thm-constr-to-def-satp-specialized-lemmas
            • Lift-info
              • Lift-info-fix
              • Lift-info-equiv
              • Make-lift-info
              • Change-lift-info
              • Lift-info->hyps
              • Lift-info->def
              • Lift-infop
              • Lift-thm-def-hyps
              • Lift-thm-asgfree-pairs
              • Lift-thm-free-inst
              • Lift-thm-type-prescriptions-for-called-preds
              • Lift-fn
              • Lift-thm-omap-keys-lemma-instances
              • Lift-rules
              • Lift-table-add
              • Lift
              • Lift-thm-asgfree-pairs-aux
              • Lift-thm-called-lift-thms
              • Lift-table
            • Semantics-shallowly-embedded
          • Abstract-syntax-operations
          • Indexed-names
          • Well-formedness
          • Concrete-syntax
          • R1cs-bridge
          • Parser-interface
        • 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
    • Lift-info

    Lift-infop

    Recognizer for lift-info structures.

    Signature
    (lift-infop x) → *

    Definitions and Theorems

    Function: lift-infop

    (defun lift-infop (x)
      (declare (xargs :guard t))
      (let ((__function__ 'lift-infop))
        (declare (ignorable __function__))
        (and (mbe :logic (and (alistp x)
                              (equal (strip-cars x) '(def hyps)))
                  :exec (fty::alist-with-carsp x '(def hyps)))
             (b* ((def (cdr (std::da-nth 0 x)))
                  (hyps (cdr (std::da-nth 1 x))))
               (and (definitionp def)
                    (true-listp hyps))))))

    Theorem: consp-when-lift-infop

    (defthm consp-when-lift-infop
      (implies (lift-infop x) (consp x))
      :rule-classes :compound-recognizer)