• Top
    • Documentation
    • Books
    • Recursion-and-induction
    • Boolean-reasoning
    • Projects
    • Debugging
    • Std
    • Proof-automation
    • Macro-libraries
    • ACL2
    • Interfacing-tools
    • Hardware-verification
    • Software-verification
      • Kestrel-books
        • Crypto-hdwallet
        • Error-checking
        • Apt
        • Abnf
        • Fty-extensions
        • Isar
        • Kestrel-utilities
        • Prime-field-constraint-systems
          • Proof-support
          • R1cs-subset
          • Semantics
          • Abstract-syntax
          • Well-formedness
          • Abstract-syntax-operations
          • R1cs-bridge
            • R1cs-constraints-to-pfcs
            • R1cs-vector-to-pfcs
            • R1cs-vec-elem-to-pfcs
            • R1cs-to-pfcs
            • R1cs-constraint-to-pfcs
          • Concrete-syntax
          • Prime-field-library-extensions
          • R1cs-library-extensions
        • Soft
        • Bv
        • Imp-language
        • Event-macros
        • Bitcoin
        • Ethereum
        • Yul
        • Zcash
        • ACL2-programming-language
        • Prime-fields
        • Java
        • C
        • Syntheto
        • Number-theory
        • Cryptography
        • Lists-light
        • File-io-light
        • Json
        • Built-ins
        • Solidity
        • Axe
        • Std-extensions
        • Htclient
        • Typed-lists-light
        • Arithmetic-light
      • X86isa
      • Execloader
      • Axe
    • Testing-utilities
    • Math
  • Prime-field-constraint-systems

R1cs-bridge

Bridge between PFCSes and R1CSes.

PFCSes are a generalization of R1CSes. Thus, there is an embedding of R1CSes into PFCSes, which we reify by providing a mapping from R1CSes and PFCSes.

Subtopics

R1cs-constraints-to-pfcs
Translate a list of R1CS constraints to a list of PFCS constraints.
R1cs-vector-to-pfcs
Translate an R1CS (sparse) vector to a PFCS expression.
R1cs-vec-elem-to-pfcs
Translate an R1CS vector element to a PFCS expression.
R1cs-to-pfcs
Translate an R1CS to a PFCS.
R1cs-constraint-to-pfcs
Translate an R1CS constraint to a PFCS constraint.