• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
    • Debugging
    • Community
    • Std
    • Proof-automation
      • Gl
      • Witness-cp
      • Ccg
      • Install-not-normalized
      • Rewrite$
      • Fgl
        • Fgl-rewrite-rules
        • Fgl-function-mode
        • Fgl-object
          • Fgl-object-eval
          • Fgl-object-p
          • G-map
          • G-ite
          • G-cons
          • G-concrete
          • G-apply
          • G-integer
          • Fgl-object-equiv
          • G-boolean
          • G-var
          • Fgl-bitvector
          • Fgl-object-kind
          • Summarize-fgl-object
          • Fgl-make-isomorphic
          • Fgl-object-alist
          • Fgl-objectlist
            • Fgl-objectlist-equiv
            • Fgl-objectlist-p
              • Fgl-objectlist-p-basics
              • Fgl-objectlist-fix
            • Fgl-object-fix
            • Fgl-object-count
          • Fgl-solving
          • Fgl-handling-if-then-elses
          • Fgl-counterexamples
          • Fgl-getting-bits-from-objects
          • Fgl-primitive-and-meta-rules
          • Fgl-interpreter-overview
          • Fgl-correctness-of-binding-free-variables
          • Fgl-debugging
          • Fgl-testbenches
          • Def-fgl-boolean-constraint
          • Fgl-stack
          • Def-fgl-param-thm
          • Fgl-rewrite-tracing
          • Def-fgl-thm
          • Fgl-fast-alist-support
          • Fgl-array-support
          • Advanced-equivalence-checking-with-fgl
          • Fgl-fty-support
          • Fgl-internals
        • Removable-runes
        • Efficiency
        • Rewrite-bounds
        • Bash
        • Def-dag-measure
        • Bdd
        • Remove-hyps
        • Contextual-rewriting
        • Simp
        • Rewrite$-hyps
        • Bash-term-to-dnf
        • Use-trivial-ancestors-check
        • Minimal-runes
        • Clause-processor-tools
        • Fn-is-body
        • Without-subsumption
        • Rewrite-equiv-hint
        • Def-bounds
        • Rewrite$-context
        • Try-gl-concls
        • Hint-utils
      • Macro-libraries
      • ACL2
      • Interfacing-tools
      • Hardware-verification
      • Software-verification
      • Math
      • Testing-utilities
    • Fgl-objectlist-p

    Fgl-objectlist-p-basics

    Basic theorems about fgl-objectlist-p, generated by deflist.

    Definitions and Theorems

    Theorem: fgl-objectlist-p-of-cons

    (defthm fgl-objectlist-p-of-cons
      (equal (fgl-objectlist-p (cons a x))
             (and (fgl-object-p a)
                  (fgl-objectlist-p x)))
      :rule-classes ((:rewrite)))

    Theorem: fgl-objectlist-p-of-cdr-when-fgl-objectlist-p

    (defthm fgl-objectlist-p-of-cdr-when-fgl-objectlist-p
      (implies (fgl-objectlist-p (double-rewrite x))
               (fgl-objectlist-p (cdr x)))
      :rule-classes ((:rewrite)))

    Theorem: fgl-objectlist-p-when-not-consp

    (defthm fgl-objectlist-p-when-not-consp
      (implies (not (consp x))
               (equal (fgl-objectlist-p x) (not x)))
      :rule-classes ((:rewrite)))

    Theorem: fgl-object-p-of-car-when-fgl-objectlist-p

    (defthm fgl-object-p-of-car-when-fgl-objectlist-p
      (implies (fgl-objectlist-p x)
               (fgl-object-p (car x)))
      :rule-classes ((:rewrite)))

    Theorem: true-listp-when-fgl-objectlist-p-compound-recognizer

    (defthm true-listp-when-fgl-objectlist-p-compound-recognizer
      (implies (fgl-objectlist-p x)
               (true-listp x))
      :rule-classes :compound-recognizer)

    Theorem: fgl-objectlist-p-of-list-fix

    (defthm fgl-objectlist-p-of-list-fix
      (implies (fgl-objectlist-p x)
               (fgl-objectlist-p (list-fix x)))
      :rule-classes ((:rewrite)))

    Theorem: fgl-objectlist-p-of-rev

    (defthm fgl-objectlist-p-of-rev
      (equal (fgl-objectlist-p (rev x))
             (fgl-objectlist-p (list-fix x)))
      :rule-classes ((:rewrite)))