• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
      • Apt
      • Zfc
      • Acre
      • Milawa
      • Smtlink
      • Abnf
      • Vwsim
      • Isar
      • Pfcs
        • Proof-support
          • Constraint-relation-satp
          • Constraint-equal-satp
          • Constraint-relation-nofreevars-satp
          • Exec-proof-tree-when-constraint-relation
          • Constraint-satp-of-relation
            • Exec-proof-tree-when-constraint-equal
            • Constraint-satp-of-relation-when-nofreevars
            • Constraint-list-satp-of-atom
            • Constraint-list-satp-of-cons
            • Constraint-satp-to-definition-satp
            • Constraint-satp-of-equal
            • Constraint-list-satp-of-append
            • Constraint-list-satp-of-rev
            • Constraint-list-satp-of-nil
          • Semantics
          • Lifting
          • 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
        • Riscv
        • Instant-runoff-voting
        • Imp-language
        • Sidekick
        • Leftist-trees
        • Java
        • Taspi
        • 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
    • Proof-support

    Constraint-satp-of-relation

    Proof rule for relation application constraints.

    This says that the satisfaction of a relation application constraint reduces to constraint-relation-satp.

    This rule lets us dispense with the existentially quantified proof tree, limiting the existential quantification to the extended assignment in constraint-relation-satp. Some existential quantification is unavoidable in general, but the one for the extended assignment is simpler to handle than the one for the whole proof tree.

    Definitions and Theorems

    Theorem: constraint-satp-of-relation

    (defthm constraint-satp-of-relation
     (implies
       (and (assignmentp asg)
            (assignment-wfp asg p)
            (constraint-case constr :relation))
       (equal
            (constraint-satp constr defs asg p)
            (constraint-relation-satp (constraint-relation->name constr)
                                      (constraint-relation->args constr)
                                      defs asg p))))