Tree matching theorem for parse-digit.
Theorem:
(defthm tree-match-of-parse-digit (b* (((mv error? tree? &) (parse-digit input))) (implies (and (not error?) (equal element (element-rulename *digit*))) (tree-match-element-p tree? element *grammar*))))