Constraints induced by a terminated tree that matches
Theorem:
(defthm constraints-from-tree-match-dec-val (implies (and (tree-match-element-p tree (element-rulename *dec-val*) *grammar*) (tree-terminatedp tree)) (member-equal (car (tree->string tree)) (chars=>nats '(#\D #\d)))) :rule-classes nil)