We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 65df60f + 44b4499 commit 3c7122aCopy full SHA for 3c7122a
.gitignore
@@ -7,6 +7,8 @@
7
*.ui
8
*.o
9
.hol
10
+.HOLMK
11
+.hollogs
12
13
# TacticToe
14
*Script_ttt.sml
misc/preamble.sml
@@ -47,7 +47,11 @@ fun impl_subgoal_tac th =
47
(* -- *)
48
49
fun check_tag t = Tag.isEmpty t orelse Tag.isDisk t
50
-val check_thm = Lib.assert (check_tag o Thm.tag)
+fun check_thm t = (
51
+ prove(T, fn g => (
52
+ (if check_tag (Thm.tag t) then () else failwith "theorem depends on cheats");
53
+ ACCEPT_TAC TRUTH g));
54
+ t)
55
56
val option_bind_tm = prim_mk_const{Thy="option",Name="OPTION_BIND"};
57
val option_ignore_bind_tm = prim_mk_const{Thy="option",Name="OPTION_IGNORE_BIND"};
0 commit comments