Skip to content

Commit d334ea0

Browse files
committed
Use antiquotations for proofs
1 parent e1583f3 commit d334ea0

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

Tools/bmv_monad_def.ML

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -905,7 +905,7 @@ fun mk_bmv_monad const_policy fact_policy qualify bmv_b_opt (model: thm bmv_mona
905905

906906
val SSupp_premss = @{map 4} (mk_small_prems ops (#RVrs consts) (#Vrs consts) (#extra_Vrs consts))
907907
hss rhoss Injss (#extra_Vrs (#consts model));
908-
908+
909909
fun split_Uns thm = case try (fn () => thm RS @{thm Un_empty[THEN iffD1]}) () of
910910
NONE => [thm]
911911
| SOME thm' => split_Uns (thm' RS conjunct1) @ [thm' RS conjunct2]
@@ -921,7 +921,7 @@ fun mk_bmv_monad const_policy fact_policy qualify bmv_b_opt (model: thm bmv_mona
921921
mk_SSupp Inj
922922
) $ HOLogic.mk_comp (Term.list_comb (Map, fs), rho)) (mk_SSupp Inj $ rho)
923923
) in SOME (Goal.prove_sorry lthy (names (fs @ [rho])) [] goal (fn {context=ctxt, ...} => EVERY1 [
924-
rtac ctxt subsetI,
924+
rtac ctxt @{thm subsetI},
925925
K (Local_Defs.unfold0_tac ctxt @{thms SSupp_def mem_Collect_eq}),
926926
etac ctxt @{thm contrapos_nn},
927927
rtac ctxt @{thm trans[OF comp_apply]},
@@ -2688,4 +2688,4 @@ val _ = Outer_Syntax.local_theory_to_proof @{command_keyword pbmv_monad}
26882688
) [])
26892689
>> pbmv_monad_cmd)
26902690

2691-
end
2691+
end

Tools/bmv_monad_tacs.ML

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ fun mk_SSupp_Sb_subsets T Injs SSupp_prems Sb hs rhos Sb_Injs lthy =
1717
(mk_Un (mk_SSupp Inj $ rho, mk_SSupp Inj $ rho'))
1818
);
1919
in SOME (Goal.prove_sorry lthy (names (rho' :: hs @ rhos)) SSupp_prems goal (fn {context=ctxt, prems} => EVERY1 [
20-
rtac ctxt subsetI,
20+
rtac ctxt @{thm subsetI},
2121
K (Local_Defs.unfold0_tac ctxt @{thms SSupp_def mem_Collect_eq Un_iff de_Morgan_conj[symmetric]}),
2222
etac ctxt @{thm contrapos_nn},
2323
etac ctxt conjE,
@@ -165,4 +165,4 @@ fun mk_IImsupp_Sb_boundss var_class T Sb Injs Vrs hs rhos SSupp_prems IImsupp_Sb
165165
]) end
166166
) Vrs)) Injs
167167

168-
end
168+
end

0 commit comments

Comments
 (0)