• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
    • Debugging
    • Community
    • Std
    • Proof-automation
    • Macro-libraries
      • B*
      • Defunc
      • Fty
      • Apt
        • Isodata
        • Simplify-defun
        • Tailrec
        • Schemalg
          • Schemalg-implementation
            • Schemalg-event-generation
            • Schemalg-fn
            • Schemalg-macro-definition
            • Schemalg-input-processing
              • Schemalg-process-inputs
              • Schemalg-process-schema-inputs
              • Schemalg-process-divconq-list-0-1-2-inputs
              • Schemalg-process-divconq-oset-0-1-inputs
              • Schemalg-process-divconq-list-0-1-inputs
              • Schemalg-process-algo-name
              • Schemalg-process-oset-input
              • Schemalg-process-list-input
              • Schemalg-check-allowed-input
              • Schemalg-process-tail-output
              • Schemalg-process-cdr-output
              • Schemalg-process-spec-2-name
              • Schemalg-process-spec-1-name
              • Schemalg-process-spec-0-name
              • Schemalg-process-equal-algo-name
              • Schemalg-process-fvar-2-name
              • Schemalg-process-fvar-1-name
              • Schemalg-process-fvar-0-name
              • Schemalg-process-schema
                • Schemalg-process-algo-name-aux
                • *schemalg-schemas*
            • Schemalg-divconq-oset-0-1
            • Schemalg-divconq-list-0-1
          • Restrict
          • Expdata
          • Casesplit
          • Simplify-term
          • Simplify-defun-sk
          • Parteval
          • Solve
          • Wrap-output
          • Propagate-iso
          • Simplify
          • Finite-difference
          • Drop-irrelevant-params
          • Copy-function
          • Lift-iso
          • Rename-params
          • Utilities
          • Simplify-term-programmatic
          • Simplify-defun-sk-programmatic
          • Simplify-defun-programmatic
          • Simplify-defun+
          • Common-options
          • Common-concepts
        • 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
      • ACL2
        • Theories
        • Rule-classes
        • Proof-builder
        • Recursion-and-induction
        • Hons-and-memoization
        • Events
        • Parallelism
        • History
        • Programming
        • Operational-semantics
        • Real
        • Start-here
        • Miscellaneous
        • Output-controls
        • Bdd
        • Macros
          • Make-event
          • Defmacro
          • Untranslate-patterns
          • Tc
          • Trans*
          • Macro-aliases-table
          • Macro-args
          • Defabbrev
          • User-defined-functions-table
          • Trans
          • Untranslate-for-execution
          • Macro-libraries
            • B*
            • Defunc
            • Fty
            • Apt
              • Isodata
              • Simplify-defun
              • Tailrec
              • Schemalg
                • Schemalg-implementation
                  • Schemalg-event-generation
                  • Schemalg-fn
                  • Schemalg-macro-definition
                  • Schemalg-input-processing
                    • Schemalg-process-inputs
                    • Schemalg-process-schema-inputs
                    • Schemalg-process-divconq-list-0-1-2-inputs
                    • Schemalg-process-divconq-oset-0-1-inputs
                    • Schemalg-process-divconq-list-0-1-inputs
                    • Schemalg-process-algo-name
                    • Schemalg-process-oset-input
                    • Schemalg-process-list-input
                    • Schemalg-check-allowed-input
                    • Schemalg-process-tail-output
                    • Schemalg-process-cdr-output
                    • Schemalg-process-spec-2-name
                    • Schemalg-process-spec-1-name
                    • Schemalg-process-spec-0-name
                    • Schemalg-process-equal-algo-name
                    • Schemalg-process-fvar-2-name
                    • Schemalg-process-fvar-1-name
                    • Schemalg-process-fvar-0-name
                    • Schemalg-process-schema
                      • Schemalg-process-algo-name-aux
                      • *schemalg-schemas*
                  • Schemalg-divconq-oset-0-1
                  • Schemalg-divconq-list-0-1
                • Restrict
                • Expdata
                • Casesplit
                • Simplify-term
                • Simplify-defun-sk
                • Parteval
                • Solve
                • Wrap-output
                • Propagate-iso
                • Simplify
                • Finite-difference
                • Drop-irrelevant-params
                • Copy-function
                • Lift-iso
                • Rename-params
                • Utilities
                • Simplify-term-programmatic
                • Simplify-defun-sk-programmatic
                • Simplify-defun-programmatic
                • Simplify-defun+
                • Common-options
                • Common-concepts
              • 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
            • Add-macro-fn
            • Check-vars-not-free
            • Safe-mode
            • Trans1
            • Defmacro-untouchable
            • Set-duplicate-keys-action
            • Add-macro-alias
            • Magic-macroexpand
            • Defmacroq
            • Trans!
            • Remove-macro-fn
            • Remove-macro-alias
            • Add-binop
            • Untrans-table
            • Trans*-
            • Remove-binop
            • Tcp
            • Tca
          • Installation
          • Mailing-lists
        • Interfacing-tools
        • Hardware-verification
        • Software-verification
        • Math
        • Testing-utilities
      • Schemalg-input-processing

      Schemalg-process-schema

      Process the :schema input.

      Signature
      (schemalg-process-schema schema schema? ctx state) 
        → 
      (mv erp nothing state)
      Arguments
      schema? — Guard (booleanp schema?).
      Returns
      nothing — Type (null nothing).

      Definitions and Theorems

      Function: schemalg-process-schema

      (defun schemalg-process-schema (schema schema? ctx state)
       (declare (xargs :stobjs (state)))
       (declare (xargs :guard (booleanp schema?)))
       (let ((__function__ 'schemalg-process-schema))
        (declare (ignorable __function__))
        (if (member-eq schema *schemalg-schemas*)
            (value nil)
         (if schema?
          (er-soft+
           ctx t nil
           "The :SCHEMA input must be ~v0, ~
                         but it is ~x1 instead."
           *schemalg-schemas* schema)
          (er-soft+ ctx t nil
                    "The :SCHEMA input must be supplied.")))))

      Theorem: null-of-schemalg-process-schema.nothing

      (defthm null-of-schemalg-process-schema.nothing
        (b* (((mv ?erp ?nothing acl2::?state)
              (schemalg-process-schema schema schema? ctx state)))
          (null nothing))
        :rule-classes :rewrite)