• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
      • Apt
      • Zfc
      • Acre
      • Milawa
      • Smtlink
      • Abnf
      • Vwsim
      • Isar
      • Pfcs
        • Proof-support
        • Semantics
        • Lifting
        • R1cs-subset
          • Sr1cs-constraintp
          • R1cs-polynomialp
          • R1cs-constraintp
          • R1cs-monomialp
          • Sr1cs-definitionp
          • R1cs-systemp
          • Sr1cs-systemp
          • Sr1cs-definition-listp
          • Sr1cs-constraint-listp
          • R1cs-constraint-listp
            • R1cs-constraint-listp-basics
        • 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
  • R1cs-subset

R1cs-constraint-listp

Check if a list of PFCS constraints consists of R1CS constraints.

Signature
(r1cs-constraint-listp x) → std::bool

This lifts r1cs-constraintp to lists.

Definitions and Theorems

Function: r1cs-constraint-listp

(defun r1cs-constraint-listp (x)
  (declare (xargs :guard (constraint-listp x)))
  (let ((__function__ 'r1cs-constraint-listp))
    (declare (ignorable __function__))
    (if (consp x)
        (and (r1cs-constraintp (car x))
             (r1cs-constraint-listp (cdr x)))
      t)))

Subtopics

R1cs-constraint-listp-basics
Basic theorems about r1cs-constraint-listp, generated by std::deflist.