• 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
      • C
        • Syntax-for-tools
        • Atc
        • Language
        • Transformation-tools
          • Simpadd0
          • Splitgso
          • Constant-propagation
          • Specialize
            • Specialize-implementation
              • Param-declon-list-remove-param-by-ident
              • Specialize-fundef
              • Specialize-extdecl
              • Specialize-filepath-transunit-map
              • Specialize-extdecl-list
              • Specialize-transunit-ensemble
              • Param-declon-to-decl
              • Specialize-transunit
              • Ident-from-param-declon
              • Specialize-event-generation
                • Specialize-process-inputs-and-gen-everything
                • Specialize-gen-everything
                  • Specialize-fn
                  • Specialize-macro-definition
                • Specialize-input-processing
            • Split-fn
            • Split-fn-when
            • Split-all-gso
            • Copy-fn
            • Rename
            • Utilities
          • Representation
          • Insertion-sort
          • Pack
        • 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
      • Macro-libraries
      • ACL2
      • Interfacing-tools
      • Hardware-verification
      • Software-verification
      • Math
      • Testing-utilities
    • Specialize-event-generation

    Specialize-gen-everything

    Generate all the events.

    Signature
    (specialize-gen-everything tunits const-new target param const) 
      → 
    event
    Arguments
    tunits — Guard (transunit-ensemblep tunits).
    const-new — Guard (symbolp const-new).
    target — Guard (identp target).
    param — Guard (identp param).
    const — Guard (exprp const).
    Returns
    event — Type (pseudo-event-formp event).

    Definitions and Theorems

    Function: specialize-gen-everything

    (defun specialize-gen-everything
           (tunits const-new target param const)
      (declare (xargs :guard (and (transunit-ensemblep tunits)
                                  (symbolp const-new)
                                  (identp target)
                                  (identp param)
                                  (exprp const))))
      (b*
        ((tunits
              (specialize-transunit-ensemble tunits target param const))
         (defconst-event
              (cons 'defconst
                    (cons const-new
                          (cons (cons 'quote (cons tunits 'nil))
                                'nil)))))
        defconst-event))

    Theorem: pseudo-event-formp-of-specialize-gen-everything

    (defthm pseudo-event-formp-of-specialize-gen-everything
      (b* ((event (specialize-gen-everything
                       tunits const-new target param const)))
        (pseudo-event-formp event))
      :rule-classes :rewrite)