• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
    • Debugging
    • Std
    • Proof-automation
    • Macro-libraries
      • B*
      • Defunc
      • Fty
      • Apt
      • Std/util
      • Defdata
      • Defrstobj
      • Seq
      • Match-tree
      • Defrstobj
      • With-supporters
      • Def-partial-measure
      • Template-subst
      • Soft
      • Defthm-domain
      • Event-macros
      • Def-universal-equiv
      • Def-saved-obligs
      • With-supporters-after
      • Definec
      • Sig
      • Outer-local
      • Data-structures
        • Deflist
        • Defalist
        • Memory
        • Defstructure
        • Array1
          • Defarray1type
          • Array1-lemmas
          • Reset-array1
            • Reset-array1*
            • Array1-functions
            • Array1-disabled-lemmas
          • Utilities
      • ACL2
      • Interfacing-tools
      • Hardware-verification
      • Software-verification
      • Math
      • Testing-utilities
    • Reset-array1

    Reset-array1*

    Rewrite: (RESET-ARRAY1 name l) = (LIST (HEADER name l)).

    This definition of RESET-ARRAY1 is logically equivalent to the actual definition. The actual definition, which includes a COMPRESS1 call, has the run-time side-effect of re-installing the new array. The COMPRESS1 is logically redundant, however.

    This lemma is exported DISABLED, however this is the preferred definition to use to reason about RESET-ARRAY1.

    Definitions and Theorems

    Theorem: reset-array1*

    (defthm reset-array1*
      (implies (array1p name l)
               (equal (reset-array1 name l)
                      (list (header name l)))))