• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
      • Apt
        • Simplify-defun
        • Isodata
        • 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
        • Zfc
        • Acre
        • Milawa
        • Smtlink
        • Abnf
        • Vwsim
        • Isar
        • Pfcs
        • Wp-gen
        • Dimacs-reader
        • Legacy-defrstobj
        • Proof-checker-array
        • Soft
        • C
        • 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
    • 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)