File: equals_thm.doc

package info (click to toggle)
hol-light 20230128-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 45,636 kB
  • sloc: ml: 688,681; cpp: 439; makefile: 302; lisp: 286; java: 279; sh: 251; yacc: 108; perl: 78; ansic: 57; sed: 39; python: 13
file content (21 lines) | stat: -rw-r--r-- 517 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
\DOC equals_thm

\TYPE {equals_thm : thm -> thm -> bool}

\SYNOPSIS
Equality test on theorems.

\DESCRIBE
The call {equals_thm th1 th2} returns {true} if and only if both the
conclusions and assumptions of the two theorems {th1} and {th2} are exactly the
same. The same can be achieved by a simple equality test, but it is better
practice to use this function because it will also work in the proof recording
version of HOL Light (see the {Proofrecording} subdirectory).

\FAILURE
Never fails.

\SEEALSO
=?.

\ENDDOC