is_axiom : ((string # string) -> bool)

SYNOPSIS
Tests if there is an axiom with the given name in the given theory.

DESCRIBE
The call is_axiom(`th`,`ax`), where th is the name of a theory (as usual `-` means the current theory), tests if there is an axiom called ax in that theory.

FAILURE
Fails unless the given theory is an ancestor.

EXAMPLE
#is_axiom(`bool`,`BOOL_CASES_AX`);;
true : bool

#is_axiom(`bool`,`INFINITY_AX`);;
false : bool

#is_axiom(`ind`,`INFINITY_AX`);;
true : bool

SEEALSO  axioms,   new_axiom

HOL  Kananaskis 0