• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
      • Apt
      • Zfc
      • Acre
      • Milawa
      • Smtlink
      • Abnf
      • Vwsim
      • Isar
      • Wp-gen
      • Dimacs-reader
      • Pfcs
        • Proof-support
          • Constraint-relation-satp
          • Constraint-relation-nofreevars-satp
          • Constraint-equal-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
          • Well-formedness
          • Abstract-syntax
          • 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
        • Riscv
        • 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
      • Community
      • Std
      • Proof-automation
      • ACL2
      • Macro-libraries
      • Interfacing-tools
      • Hardware-verification
      • Software-verification
      • Math
      • Testing-utilities
    • Proof-support

    Constraint-satp-of-equal

    Proof rule for equality constraints.

    This says that the satisfaction of an equality constraint reduces to the two expressions being equal and non-erroneous.

    This rule lets us dispense with the existentially quantified proof tree for the case of equality constraints.

    Definitions and Theorems

    Theorem: constraint-satp-of-equal

    (defthm constraint-satp-of-equal
     (implies
          (and (assignment-wfp asg p)
               (constraint-case constr :equal))
          (equal (constraint-satp constr defs asg p)
                 (constraint-equal-satp (constraint-equal->left constr)
                                        (constraint-equal->right constr)
                                        asg p))))