• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
    • Debugging
    • Community
    • Std
    • Proof-automation
    • ACL2
    • Macro-libraries
    • Interfacing-tools
    • Hardware-verification
    • Software-verification
      • Kestrel-books
        • Crypto-hdwallet
        • Apt
          • Isodata
          • Simplify-defun
          • Tailrec
          • Schemalg
            • Schemalg-implementation
              • Schemalg-event-generation
                • Schemalg-gen-everything
                • Schemalg-gen-x-z1...zm
                • Schemalg-gen-old-if-new
                • Schemalg-gen-equal-algo
                • Schemalg-gen-algo-divconq-list-0-1-2
                • Schemalg-gen-algo-correct-divconq-list-0-1-2
                • Schemalg-gen-algo-correct-divconq-list-0-1
                • Schemalg-gen-spec-2
                • Schemalg-gen-algo-correct-divconq-oset-0-1
                • Schemalg-gen-algo-correct
                • Schemalg-gen-algo-divconq-oset-0-1
                • Schemalg-gen-spec-1-divconq-oset-0-1
                • Schemalg-gen-spec-1-divconq-list-0-1
                • Schemalg-gen-algo-divconq-list-0-1
                • Schemalg-gen-algo
                • Schemalg-gen-spec-1
                • Schemalg-gen-spec-1-divconq-list-0-1-2
                • Schemalg-gen-spec-0
                • Schemalg-gen-spec-0-divconq-oset-0-1
                • Schemalg-gen-spec-0-divconq-list-0-1-2
                • Schemalg-gen-spec-0-divconq-list-0-1
                • Schemalg-gen-new
                • Schemalg-gen-?f1...?fp
                • Schemalg-gen-x-z1...zm-aux
                • Schemalg-fn
                • Schemalg-macro-definition
                • Schemalg-input-processing
              • 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
          • Error-checking
          • Fty-extensions
          • Isar
          • Kestrel-utilities
          • Set
          • Soft
          • C
          • Bv
          • Imp-language
          • Event-macros
          • Java
          • Riscv
          • Bitcoin
          • Ethereum
          • Yul
          • Zcash
          • ACL2-programming-language
          • Prime-fields
          • Json
          • Syntheto
          • File-io-light
          • Cryptography
          • Number-theory
          • Lists-light
          • Axe
          • Builtins
          • Solidity
          • Helpers
          • Htclient
          • Typed-lists-light
          • Arithmetic-light
        • X86isa
        • Axe
        • Execloader
      • Math
      • Testing-utilities
    • Schemalg-event-generation

    Schemalg-gen-x-z1...zm-aux

    Signature
    (schemalg-gen-x-z1...zm-aux terms-to-do 
                                vars-done x-a1...am x-x1...xn x y) 
     
      → 
    vars
    Arguments
    terms-to-do — Guard (pseudo-term-listp terms-to-do).
    vars-done — Guard (symbol-listp vars-done).
    x-a1...am — Guard (pseudo-term-listp x-a1...am).
    x-x1...xn — Guard (symbol-listp x-x1...xn).
    x — Guard (symbolp x).
    y — Guard (symbolp y).
    Returns
    vars — A symbol-listp.

    Definitions and Theorems

    Function: schemalg-gen-x-z1...zm-aux

    (defun schemalg-gen-x-z1...zm-aux
           (terms-to-do vars-done x-a1...am x-x1...xn x y)
     (declare (xargs :guard (and (pseudo-term-listp terms-to-do)
                                 (symbol-listp vars-done)
                                 (pseudo-term-listp x-a1...am)
                                 (symbol-listp x-x1...xn)
                                 (symbolp x)
                                 (symbolp y))))
     (let ((__function__ 'schemalg-gen-x-z1...zm-aux))
      (declare (ignorable __function__))
      (b*
       (((when (endp terms-to-do)) nil)
        (term (car terms-to-do))
        (var
            (if (and (symbolp term)
                     (not (member-eq term (remove1-eq term x-a1...am))))
                term
              (genvar x "VAR$" nil
                      (append vars-done x-x1...xn (list y))))))
       (cons var
             (schemalg-gen-x-z1...zm-aux (cdr terms-to-do)
                                         (cons var vars-done)
                                         x-a1...am x-x1...xn x y)))))