• Top
    • Documentation
    • Books
    • Recursion-and-induction
    • Boolean-reasoning
    • Projects
    • Debugging
    • Std
    • Proof-automation
      • Gl
        • Term-level-reasoning
        • Glmc
        • Other-resources
        • Optimization
        • Reference
          • Def-gl-thm
          • Shape-specs
          • Symbolic-objects
          • Gl-aside
          • Def-gl-param-thm
          • Symbolic-arithmetic
          • Bfr
          • Def-gl-boolean-constraint
          • Gl-mbe
          • Bvec
          • Flex-bindings
          • Auto-bindings
          • Gl-interp
          • Gl-set-uninterpreted
          • Def-gl-clause-processor
            • Def-glcp-ctrex-rewrite
            • ACL2::always-equal
            • Gl-hint
            • Def-gl-rewrite
            • Def-gl-branch-merge
            • Gl-force-check
            • Gl-concretize
            • Gl-assert
            • Gl-param-thm
            • Gl-simplify-satlink-mode
            • Gl-satlink-mode
            • Gl-bdd-mode
            • Gl-aig-bddify-mode
            • Gl-fraig-satlink-mode
          • Debugging
          • Basic-tutorial
        • Witness-cp
        • Ccg
        • Install-not-normalized
        • Rewrite$
        • Removable-runes
        • Efficiency
        • Rewrite-bounds
        • Bash
        • Def-dag-measure
        • Fgl
        • 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
      • Testing-utilities
      • Math
    • Reference

    Def-gl-clause-processor

    Define a GL clause processor with a given set of built-in symbolic counterparts.

    Usage:

    (def-gl-clause-processor my-gl-clause-processor
      :output with-output-settings)

    The above form defines a GL clause processor function named my-gl-clause-processor. This clause processor is defined so that it can execute all existing symbolic counterpart functions.

    If one adds symbolic counterpart functions, either by hand-coding them, using make-g-world, or including books that add them, one will need to define a new GL clause processor.

    Each GL clause processor has an associated sets of functions that it can directly execute symbolically. DEF-GL-CLAUSE-PROCESSOR makes a new processor that can execute the full set of existing symbolic counterparts. (Symbolic counterparts may be defined by hand or using make-g-world.)

    It used to be the case that the clause processor also had a fixed set of functions it could execute concretely. That is no longer the case. We still accept the old form of def-gl-clause-processor, which takes an additional argument after the name of the clause processor and before the :output keyword (if any). However, this is deprecated and a message will be printed saying so.

    See def-gl-thm and gl-hint for information on using the GL clause processor to prove theorems.