• Top
    • Documentation
    • Books
    • Boolean-reasoning
    • Projects
      • Apt
      • Zfc
      • Acre
      • Milawa
      • Smtlink
      • Abnf
        • Deftreeops
        • Defdefparse
        • Defgrammar
        • Tree-utilities
        • Notation
          • Syntax-abstraction
          • Semantics
          • Abstract-syntax
            • Convenience-constructors
            • Num-val
            • Char-val
            • Repeat-range
            • Rulename
              • Rulenamep
              • Rulename-fix
              • Rulename-equiv
              • Make-rulename
              • Rulename->get
                • Change-rulename
              • Rule
              • Rulename-option
              • Num-base
              • Rule-option
              • Prose-val
              • Rulelist
              • Char-val-set
              • Rulename-set
              • Rulename-list
              • Grammar
              • Alt/conc/rep/elem
            • Core-rules
            • Concrete-syntax
          • Grammar-parser
          • Meta-circular-validation
          • Parsing-primitives-defresult
          • Parsing-primitives-seq
          • Operations
          • Examples
          • Differences-with-paper
          • Constructor-utilities
          • Grammar-printer
          • Parsing-tools
        • Vwsim
        • Isar
        • Wp-gen
        • Dimacs-reader
        • Pfcs
        • Legacy-defrstobj
        • Proof-checker-array
        • Soft
        • C
        • Farray
        • Rp-rewriter
        • Instant-runoff-voting
        • Imp-language
        • Sidekick
        • Leftist-trees
        • Java
        • Taspi
        • Bitcoin
        • Riscv
        • 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
        • Bigmems
        • Builtins
        • Execloader
        • Aleo
        • Solidity
        • Paco
        • Concurrent-programs
        • Bls12-377-curves
      • Debugging
      • Std
      • Proof-automation
      • Macro-libraries
      • ACL2
      • Interfacing-tools
      • Hardware-verification
      • Software-verification
      • Math
      • Testing-utilities
    • Rulename

    Rulename->get

    Get the get field from a rulename.

    Signature
    (rulename->get x) → get
    Arguments
    x — Guard (rulenamep x).
    Returns
    get — Type (common-lisp::stringp get).

    This is an ordinary field accessor created by fty::defprod.

    Definitions and Theorems

    Function: rulename->get$inline

    (defun rulename->get$inline (x)
      (declare (xargs :guard (rulenamep x)))
      (declare (xargs :guard t))
      (let ((__function__ 'rulename->get))
        (declare (ignorable __function__))
        (mbe :logic
             (b* ((x (and t x)))
               (str-fix (std::da-nth 0 (cdr x))))
             :exec (std::da-nth 0 (cdr x)))))

    Theorem: stringp-of-rulename->get

    (defthm stringp-of-rulename->get
      (b* ((get (rulename->get$inline x)))
        (common-lisp::stringp get))
      :rule-classes :rewrite)

    Theorem: rulename->get$inline-of-rulename-fix-x

    (defthm rulename->get$inline-of-rulename-fix-x
      (equal (rulename->get$inline (rulename-fix x))
             (rulename->get$inline x)))

    Theorem: rulename->get$inline-rulename-equiv-congruence-on-x

    (defthm rulename->get$inline-rulename-equiv-congruence-on-x
      (implies (rulename-equiv x x-equiv)
               (equal (rulename->get$inline x)
                      (rulename->get$inline x-equiv)))
      :rule-classes :congruence)