Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
*.ui
*.o
.hol
.HOLMK
.hollogs

# TacticToe
*Script_ttt.sml
Expand Down
4 changes: 3 additions & 1 deletion misc/preamble.sml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,9 @@ fun impl_subgoal_tac th =
(* -- *)

fun check_tag t = Tag.isEmpty t orelse Tag.isDisk t
val check_thm = Lib.assert (check_tag o Thm.tag)
fun check_thm t = prove(T, fn g => (
(if check_tag (Thm.tag t) then () else failwith "theorem depends on cheats");
ACCEPT_TAC TRUTH g))

val option_bind_tm = prim_mk_const{Thy="option",Name="OPTION_BIND"};
val option_ignore_bind_tm = prim_mk_const{Thy="option",Name="OPTION_IGNORE_BIND"};
Expand Down