Datasets:
Tasks:
Text Generation
Modalities:
Text
Sub-tasks:
language-modeling
Languages:
English
Size:
100K - 1M
License:
Download formal/hol/Help/ABBREV_TAC.doc from hoskinson-center/proof-pile: direct link, hf CLI and curl.
- Browser
- Download file 1.06 kB
-
https://huggingface.co/datasets/hoskinson-center/proof-pile/resolve/3d7992e06484fc7cbcb933984a1f6b380e3c703b/formal/hol/Help/ABBREV_TAC.doc
- Command line
-
hf download hf://datasets/hoskinson-center/proof-pile@3d7992e06484fc7cbcb933984a1f6b380e3c703b/formal/hol/Help/ABBREV_TAC.doc
-
curl -L -o ABBREV_TAC.doc https://huggingface.co/datasets/hoskinson-center/proof-pile/resolve/3d7992e06484fc7cbcb933984a1f6b380e3c703b/formal/hol/Help/ABBREV_TAC.doc
1.06 kB
| \DOC ABBREV_TAC | |
| \TYPE {ABBREV_TAC : term -> (string * thm) list * term -> goalstate} | |
| \SYNOPSIS | |
| Tactic to introduce an abbreviation. | |
| \DESCRIBE | |
| The tactic {ABBREV_TAC `x = t`} abbreviates any instances of the term {t} in | |
| the goal (assumptions or conclusion) with {x}, and adds a new assumption {t = | |
| x}. (Reversed so that rules like {ASM_REWRITE_TAC} will not immediately expand | |
| it again.) The LHS may be of the form {f x} in which case abstraction will | |
| happen first. | |
| \FAILURE | |
| Fails unless the left-hand side is a variable or a variable applied to a list | |
| of variable arguments. | |
| \EXAMPLE | |
| { | |
| # g `(12345 + 12345) + f(12345 + 12345) = f(12345 + 12345)`;; | |
| Warning: Free variables in goal: f | |
| val it : goalstack = 1 subgoal (1 total) | |
| `(12345 + 12345) + f (12345 + 12345) = f (12345 + 12345)` | |
| # e(ABBREV_TAC `n = 12345 + 12345`);; | |
| val it : goalstack = 1 subgoal (1 total) | |
| 0 [`12345 + 12345 = n`] | |
| `n + f n = f n` | |
| } | |
| \USES | |
| Convenient for abbreviating large and unwieldy expressions as a sort of `local | |
| definition'. | |
| \SEEALSO | |
| EXPAND_TAC. | |
| \ENDDOC | |