• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
      • 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
        • Zfc
        • Acre
        • Milawa
        • Smtlink
        • Abnf
        • Vwsim
        • Isar
        • Wp-gen
        • Dimacs-reader
        • Pfcs
        • Legacy-defrstobj
        • C
        • Proof-checker-array
        • Soft
        • Farray
        • Rp-rewriter
        • Instant-runoff-voting
        • Imp-language
        • Sidekick
        • Ethereum
        • Leftist-trees
        • Java
        • Riscv
        • Taspi
        • Bitcoin
        • Zcash
        • Des
        • X86isa
        • Sha-2
        • Yul
        • Proof-checker-itp13
        • Regex
        • ACL2-programming-language
        • Json
        • Jfkr
        • Equational
        • Cryptography
        • Axe
        • Poseidon
        • Where-do-i-place-my-book
        • Aleo
        • Bigmems
        • Builtins
        • Execloader
        • Solidity
        • Paco
        • Concurrent-programs
        • Bls12-377-curves
      • Debugging
      • Community
      • Std
      • Proof-automation
      • Macro-libraries
      • ACL2
      • Interfacing-tools
      • Hardware-verification
      • Software-verification
      • Math
      • Testing-utilities
    • Schemalg-input-processing

    Schemalg-process-fvar-1-name

    Process the :fvar-1-name input.

    Signature
    (schemalg-process-fvar-1-name fvar-1-name 
                                  ?f acl2::names-to-avoid ctx state) 
     
      → 
    (mv acl2::erp acl2::result state)
    Arguments
    ?f — Guard (symbolp ?f).
    acl2::names-to-avoid — Guard (symbol-listp acl2::names-to-avoid).
    Returns
    acl2::result — A (tuple (fn symbolp) (updated-names-to-avoid symbol-listp) result).

    Definitions and Theorems

    Function: schemalg-process-fvar-1-name

    (defun schemalg-process-fvar-1-name
           (fvar-1-name ?f acl2::names-to-avoid ctx state)
     (declare (xargs :stobjs (state)))
     (declare (xargs :guard (and (symbolp ?f)
                                 (symbol-listp acl2::names-to-avoid))))
     (let ((__function__ 'schemalg-process-fvar-1-name))
      (declare (ignorable __function__))
      (b*
       (((er &)
         (ensure-value-is-symbol$ fvar-1-name
                                  (msg "The ~x0 input" :fvar-1-name)
                                  t nil))
        (acl2::fn (if (eq fvar-1-name :auto)
                      (add-suffix ?f "-1")
                    fvar-1-name))
        ((er acl2::names-to-avoid)
         (ensure-symbol-is-fresh-event-name$
          acl2::fn
          (msg
           "The name ~x0 specified (perhaps by default) by the ~x1 input"
           acl2::fn :fvar-1-name)
          'function
          acl2::names-to-avoid t nil)))
       (value (list acl2::fn acl2::names-to-avoid)))))