• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
      • Apt
      • Zfc
      • Acre
      • Milawa
      • Smtlink
      • Abnf
      • Vwsim
      • Isar
      • Pfcs
        • Proof-support
        • Semantics
        • Lifting
          • Lift-thm
          • Lift-var-name-list
          • Lift-thm-constr-satp-specialized-lemma
          • Lift-thm-constr-to-def-satp-specialized-lemmas
          • Lift-thm-definition-satp-specialized-lemma
          • Lift-info
          • Lift-var-name
          • Lift-thm-def-hyps
          • Lift-definition
          • Lift-expression
          • Lift-thm-asgfree-pairs
          • Lift
          • Lift-thm-free-inst
          • Lift-fn
          • Lift-thm-type-prescriptions-for-called-preds
          • Lift-rel-name
          • Lift-constraint
          • Lift-thm-omap-keys-lemma-instances
          • Lift-rules
          • Lift-thm-called-lift-thms
          • Lift-table-add
          • Lift-rel-name-set-to-list
          • Lift-gen-fep-terms
          • Lift-expression-list
          • Lift-constraint-list
            • Lift-var-name-set-to-list
            • Lift-thm-asgfree-pairs-aux
            • Current-package+
            • Lift-table
          • R1cs-subset
          • Indexed-names
          • Well-formedness
          • Abstract-syntax
          • Concrete-syntax
          • R1cs-bridge
          • Parser-interface
        • Wp-gen
        • Dimacs-reader
        • Legacy-defrstobj
        • Proof-checker-array
        • Soft
        • C
        • Farray
        • Rp-rewriter
        • Instant-runoff-voting
        • Imp-language
        • Sidekick
        • Leftist-trees
        • Java
        • Taspi
        • Riscv
        • 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
    • Lifting

    Lift-constraint-list

    Shallowly embedded semantics of a list of constraints.

    Signature
    (lift-constraint-list constrs prime state) → terms
    Arguments
    constrs — Guard (constraint-listp constrs).
    prime — Guard (symbolp prime).
    Returns
    terms — Type (true-listp terms).

    This lifts lift-constraint to lists. We obtain a list of terms.

    Definitions and Theorems

    Function: lift-constraint-list

    (defun lift-constraint-list (constrs prime state)
      (declare (xargs :stobjs (state)))
      (declare (xargs :guard (and (constraint-listp constrs)
                                  (symbolp prime))))
      (let ((__function__ 'lift-constraint-list))
        (declare (ignorable __function__))
        (cond ((endp constrs) nil)
              (t (cons (lift-constraint (car constrs)
                                        prime state)
                       (lift-constraint-list (cdr constrs)
                                             prime state))))))

    Theorem: true-listp-of-lift-constraint-list

    (defthm true-listp-of-lift-constraint-list
      (b* ((terms (lift-constraint-list constrs prime state)))
        (true-listp terms))
      :rule-classes :rewrite)