Please sign in to comment.
Conversion to add NUMERAL to numeric literals
Applied (with CONV_RULE) to all theorems resulting from reading an OpenTheory article. Articles don't have to (and probably won't) use HOL4's NUMERAL tag on their literals, but many HOL4 tactics and rewrites exploit it. Notes: - Definitions can still end up without tags, since they are byproducts of defining constants and not actually part of an article's exports (but usually there would be an exported theorem corresponding to each definition, which will get tags added). - Hypotheses won't be treated (just because CONV_RULE doesn't do that; a hyp+concl-affecting rule could be used instead). - In future it would be good to support more variations on numerals, for example by translating binary numerals to Norrish numerals. Currently I think reading binary numerals will fail because there's no mapping for Number.Numeral.bit0.
- Loading branch information...
Showing with 36 additions and 1 deletion.