File: SET_TAC.doc

package info (click to toggle)
hol-light 20170109-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 36,568 kB
  • ctags: 8,549
  • sloc: ml: 540,018; cpp: 439; lisp: 286; java: 279; makefile: 262; sh: 229; yacc: 108; perl: 78; ansic: 57; sed: 39
file content (34 lines) | stat: -rw-r--r-- 847 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
\DOC SET_TAC

\TYPE {SET_TAC : thm list -> tactic}

\SYNOPSIS
Attempt to prove goal using basic set-theoretic reasoning.

\DESCRIBE
When applied to a goal and a list of lemmas to use, the tactic {SET_TAC} puts
the lemmas into the goal as antecedents, expands various set-theoretic
definitions explicitly and then attempts to solve the result using {MESON}. It 
does not by default use the assumption list of the goal, but this can be done 
using {ASM SET_TAC} in place of plain {SET_TAC}.

\FAILURE
Fails if the simple translation does not suffice, or the resulting goal is too
deep for {MESON}.

\EXAMPLE
Given the following goal:
{
  # g `!s. (UNIONS s = {{}}) <=> !t. t IN s ==> t = {{}}`;;
}
\noindent the following solves it:
{
  # e(SET_TAC[]);;
  ...
  val it : goalstack = No subgoals
}

\SEEALSO
ASM, MESON, MESON_TAC, SET_RULE.

\ENDDOC