• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
      • Apt
      • Zfc
      • Acre
      • Milawa
      • Smtlink
      • Abnf
      • Vwsim
      • Isar
      • Wp-gen
      • Dimacs-reader
      • Pfcs
      • Legacy-defrstobj
      • Proof-checker-array
      • Soft
        • Soft-future-work
        • Soft-macros
          • Defun-inst
          • Defequal
          • Defsoft
          • Defthm-inst
          • Defun2
          • Defunvar
          • Defun-sk2
          • Defchoose2
          • Defthm-2nd-order
          • Define-sk2
          • Defund-sk2
          • Define2
          • Defund2
        • Updates-to-workshop-material
        • Soft-implementation
        • Soft-notions
      • C
      • Farray
      • Rp-rewriter
      • Instant-runoff-voting
      • Imp-language
      • Sidekick
      • Leftist-trees
      • Java
      • Taspi
      • Bitcoin
      • Riscv
      • 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
      • Bigmems
      • Builtins
      • Execloader
      • Aleo
      • Solidity
      • Paco
      • Concurrent-programs
      • Bls12-377-curves
    • Debugging
    • Std
    • Proof-automation
    • Macro-libraries
    • ACL2
    • Interfacing-tools
    • Hardware-verification
    • Software-verification
    • Math
    • Testing-utilities
  • Soft

Soft-macros

Macros provided by SOFT.

defunvar, defsoft, defun2, defund2, defchoose2, defun-sk2, define2, and define-sk2 are wrappers of existing events that record function variables and dependencies of functions on them. They set the stage for defun-inst and defthm-inst.

defun-inst provides the ability to concisely generate functions, and automatically prove their termination if recursive, by specifying replacements of function variables.

defthm-inst provides the ability to concisely generate and automatically prove theorems, by specifying replacements of function variables.

Subtopics

Defun-inst
Introduce a function by instantiating a second-order functions.
Defequal
Introduce an equality between functions.
Defsoft
Record an existing function as second-order.
Defthm-inst
Introduce a theorem by instantiating a second-order theorem.
Defun2
Introduce a second-order function via a second-order version of defun.
Defunvar
Introduce a function variable.
Defun-sk2
Introduce a second-order function via a second-order version of defun-sk.
Defchoose2
Introduce a second-order function via a second-order version of defchoose.
Defthm-2nd-order
Introduce a second-order theorem.
Define-sk2
Introduce a second-order function via a second-order version of std::define-sk.
Defund-sk2
Introduce a second-order function via a second-order version of ACL2::defund-sk.
Define2
Introduce a second-order function via a second-order version of define.
Defund2
Introduce a second-order function via a second-order version of defund.