• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
    • Debugging
    • Community
    • Std
    • Proof-automation
    • Macro-libraries
    • ACL2
      • Theories
      • Rule-classes
      • Proof-builder
      • Recursion-and-induction
      • Hons-and-memoization
      • Events
      • Parallelism
      • History
      • Programming
      • Operational-semantics
      • Real
      • Start-here
        • Gentle-introduction-to-ACL2-programming
        • ACL2-tutorial
          • Introduction-to-the-theorem-prover
          • Pages Written Especially for the Tours
          • The-method
          • Advanced-features
          • Interesting-applications
          • Tips
          • Alternative-introduction
          • Tidbits
          • Annotated-ACL2-scripts
          • Startup
          • ACL2-as-standalone-program
          • ACL2-sedan
            • Defunc
            • Cgen
            • Ccg
            • Defdata
            • ACL2s-user-guide
            • ACL2s-tutorial
            • ACL2s-implementation-notes
            • Match
            • ACL2s-faq
            • ACL2s-intro
            • ACL2s-defaults
            • Definec
            • ACL2s-utilities
              • Make-n-ary-macro
              • Remove-dups
              • ACL2-pc::instantiate
                • N<
                • Test-then-skip-proofs
                • ACL2-pc::claim-simple
                • ACL2-pc::pro-or-skip
                • ACL2-pc::retain-or-skip
                • ACL2-pc::repeat-until-done
                • ACL2-pc::drop-or-skip
                • ACL2-pc::cg-or-skip
                • ACL2-pc::by
                • ACL2-pc::split-in-theory
                • Thm-no-test
                • Defthmd-no-test
                • Defthm-no-test
              • ACL2s-interface
              • ACL2s-installation
            • Talks
            • Nqthm-to-ACL2
            • Tours
            • Emacs
          • About-ACL2
            • Recursion-and-induction
            • Operational-semantics
            • Soundness
            • Release-notes
            • Workshops
            • ACL2-tutorial
              • Introduction-to-the-theorem-prover
              • Pages Written Especially for the Tours
              • The-method
              • Advanced-features
              • Interesting-applications
              • Tips
              • Alternative-introduction
              • Tidbits
              • Annotated-ACL2-scripts
              • Startup
              • ACL2-as-standalone-program
              • ACL2-sedan
                • Defunc
                • Cgen
                • Ccg
                • Defdata
                • ACL2s-user-guide
                • ACL2s-tutorial
                • ACL2s-implementation-notes
                • Match
                • ACL2s-faq
                • ACL2s-intro
                • ACL2s-defaults
                • Definec
                • ACL2s-utilities
                  • Make-n-ary-macro
                  • Remove-dups
                  • ACL2-pc::instantiate
                    • N<
                    • Test-then-skip-proofs
                    • ACL2-pc::claim-simple
                    • ACL2-pc::pro-or-skip
                    • ACL2-pc::retain-or-skip
                    • ACL2-pc::repeat-until-done
                    • ACL2-pc::drop-or-skip
                    • ACL2-pc::cg-or-skip
                    • ACL2-pc::by
                    • ACL2-pc::split-in-theory
                    • Thm-no-test
                    • Defthmd-no-test
                    • Defthm-no-test
                  • ACL2s-interface
                  • ACL2s-installation
                • Talks
                • Nqthm-to-ACL2
                • Tours
                • Emacs
              • Version
              • Acknowledgments
              • Using-ACL2
              • Releases
              • How-to-contribute
              • Pre-built-binary-distributions
              • Common-lisp
              • Installation
              • Mailing-lists
              • Git-quick-start
              • Copyright
              • ACL2-help
          • Miscellaneous
          • Output-controls
          • Bdd
          • Macros
          • Installation
          • Mailing-lists
        • Interfacing-tools
        • Hardware-verification
        • Software-verification
        • Math
        • Testing-utilities
      • Proof-builder-commands
      • ACL2s-utilities

      ACL2-pc::instantiate

      Instantiate a theorem

      Example:
      (instantiate car-cons (x (append a b)) (y nil))
      ;; This will add the following hypothesis:
      ;; (let ((x (append a b))
      ;;       (y nil))
      ;;   (equal (car (cons x y)) x))
      
      General Form:
      (instantiate thm-name subst1 ... substk)

      where each substi is an assignment of a variable used in the formula associated with thm-name to a term.

      Note that the variables used in the formula associated with thm-name may be in a different package than the one you are currently in. In this case, explicitly specify the package when writing variable names in substitutions.