Completeness theorem for parse-alpha/digit/dash.
Theorem:
(defthm parse-alpha/digit/dash-when-tree-match (implies (and (tree-match-element-p tree (!_ (/_ *alpha*) (/_ *digit*) (/_ "-")) *grammar*) (tree-terminatedp tree)) (equal (parse-alpha/digit/dash (append (tree->string tree) rest-input)) (mv nil (tree-fix tree) (nat-list-fix rest-input)))))