• 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
        • Representation
        • Transformation-tools
          • Simpadd0
          • Splitgso
            • Splitgso-implementation
              • Abstract-syntax-replace-field-access
              • Splitgso-process-inputs-and-gen-everything
              • Splitgso-fn
              • Match-simple-declor-ident
              • Splitgso-input-processing
              • Splitgso-event-generation
                • Splitgso-gen-everything
                • Splitgso-macro-definition
            • Constant-propagation
            • Split-fn
            • Specialize
            • Split-all-gso
            • Copy-fn
            • Rename
            • Utilities
          • Insertion-sort
          • Pack
        • Farray
        • Rp-rewriter
        • Instant-runoff-voting
        • Imp-language
        • Sidekick
        • Leftist-trees
        • Java
        • Taspi
        • Riscv
        • 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
      • ACL2
      • Macro-libraries
      • Interfacing-tools
      • Hardware-verification
      • Software-verification
      • Math
      • Testing-utilities
    • Splitgso-event-generation

    Splitgso-gen-everything

    Generate all the events.

    Signature
    (splitgso-gen-everything tunits object-ident filepath? 
                             new-object1 new-object2 new-type1 
                             new-type2 split-members const-new) 
     
      → 
    (mv erp event)
    Arguments
    tunits — Guard (transunit-ensemblep tunits).
    object-ident — Guard (identp object-ident).
    filepath? — Guard (c$::filepath-optionp filepath?).
    new-object1 — Guard (ident-optionp new-object1).
    new-object2 — Guard (ident-optionp new-object2).
    new-type1 — Guard (ident-optionp new-type1).
    new-type2 — Guard (ident-optionp new-type2).
    split-members — Guard (ident-listp split-members).
    const-new — Guard (symbolp const-new).
    Returns
    event — Type (pseudo-event-formp event).

    Definitions and Theorems

    Function: splitgso-gen-everything

    (defun splitgso-gen-everything
           (tunits object-ident filepath?
                   new-object1 new-object2 new-type1
                   new-type2 split-members const-new)
     (declare (xargs :guard (and (transunit-ensemblep tunits)
                                 (identp object-ident)
                                 (c$::filepath-optionp filepath?)
                                 (ident-optionp new-object1)
                                 (ident-optionp new-object2)
                                 (ident-optionp new-type1)
                                 (ident-optionp new-type2)
                                 (ident-listp split-members)
                                 (symbolp const-new))))
     (declare (xargs :guard (transunit-ensemble-annop tunits)))
     (let ((__function__ 'splitgso-gen-everything))
       (declare (ignorable __function__))
       (b*
        (((reterr) '(_))
         ((erp tunits)
          (splitgso-transunit-ensemble filepath? object-ident
                                       new-object1 new-object2 new-type1
                                       new-type2 split-members tunits))
         (defconst-event
              (cons 'defconst
                    (cons const-new
                          (cons (cons 'quote (cons tunits 'nil))
                                'nil)))))
        (retok defconst-event))))

    Theorem: pseudo-event-formp-of-splitgso-gen-everything.event

    (defthm pseudo-event-formp-of-splitgso-gen-everything.event
     (b* (((mv acl2::?erp acl2::?event)
           (splitgso-gen-everything tunits object-ident filepath?
                                    new-object1 new-object2 new-type1
                                    new-type2 split-members const-new)))
       (pseudo-event-formp event))
     :rule-classes :rewrite)