• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
    • Debugging
    • Community
    • Std
    • Proof-automation
    • Macro-libraries
    • ACL2
    • Interfacing-tools
    • Hardware-verification
    • Software-verification
      • Kestrel-books
        • Crypto-hdwallet
        • Apt
        • Error-checking
        • Fty-extensions
        • Isar
        • Kestrel-utilities
        • Set
        • C
          • Syntax-for-tools
          • Atc
          • Transformation-tools
            • Simpadd0
            • Proof-generation
              • Xeq-fundef
              • Xeq-expr-cond
              • Xeq-expr-binary
              • Xeq-block-item-list-cons
              • Xeq-stmt-ifelse
              • Xeq-expr-const
              • Gen-param-thms
              • Gen-from-params
              • Xeq-decl-decl
              • Gout
              • Gen-block-item-list-thm
              • Xeq-stmt-while
              • Xeq-stmt-dowhile
              • Gin
              • Xeq-expr-ident
              • Gen-block-item-thm
              • Xeq-stmt-if
              • Xeq-expr-cast
              • Gen-initer-single-thm
              • Gen-init-scope-thm
              • Gen-expr-thm
              • Xeq-expr-unary
              • Gen-decl-thm
              • Gen-stmt-thm
              • Xeq-stmt-return
              • Xeq-stmt-expr
              • Xeq-block-item-decl
              • Xeq-block-item-stmt
              • Xeq-stmt-compound
              • Xeq-initer-single
              • Gen-thm-name
              • Gin-update
              • Gen-var-assertions
              • Tyspecseq-to-type
              • Xeq-block-item-list-empty
              • Gout-no-thm
                • Irr-gout
              • Split-gso
              • Wrap-fn
              • Constant-propagation
              • Specialize
              • Split-fn
              • Split-fn-when
              • Split-all-gso
              • Copy-fn
              • Variables-in-computation-states
              • Rename
              • Utilities
              • Proof-generation-theorems
              • Input-processing
            • Language
            • Representation
            • Insertion-sort
            • Pack
          • Soft
          • Bv
          • Imp-language
          • Ethereum
          • Event-macros
          • Java
          • Riscv
          • Bitcoin
          • Zcash
          • Yul
          • ACL2-programming-language
          • Prime-fields
          • Json
          • Syntheto
          • File-io-light
          • Cryptography
          • Number-theory
          • Axe
          • Lists-light
          • Builtins
          • Solidity
          • Helpers
          • Htclient
          • Typed-lists-light
          • Arithmetic-light
        • X86isa
        • Axe
        • Execloader
      • Math
      • Testing-utilities
    • Proof-generation

    Gout-no-thm

    Build a gout without a theorem name.

    Signature
    (gout-no-thm gin) → gout
    Arguments
    gin — Guard (ginp gin).
    Returns
    gout — Type (goutp gout).

    This is used for constructs for which we do not generate proofs yet. The events, theorem index, and variable-type map are taken from a gin, as they result from previous transformations.

    Definitions and Theorems

    Function: gout-no-thm

    (defun gout-no-thm (gin)
      (declare (xargs :guard (ginp gin)))
      (let ((__function__ 'gout-no-thm))
        (declare (ignorable __function__))
        (b* (((gin gin) gin))
          (make-gout :events gin.events
                     :thm-index gin.thm-index
                     :thm-name nil
                     :vartys gin.vartys))))

    Theorem: goutp-of-gout-no-thm

    (defthm goutp-of-gout-no-thm
      (b* ((gout (gout-no-thm gin)))
        (goutp gout))
      :rule-classes :rewrite)

    Theorem: gout-no-thm-of-gin-fix-gin

    (defthm gout-no-thm-of-gin-fix-gin
      (equal (gout-no-thm (gin-fix gin))
             (gout-no-thm gin)))

    Theorem: gout-no-thm-gin-equiv-congruence-on-gin

    (defthm gout-no-thm-gin-equiv-congruence-on-gin
      (implies (gin-equiv gin gin-equiv)
               (equal (gout-no-thm gin)
                      (gout-no-thm gin-equiv)))
      :rule-classes :congruence)