equal
deleted
inserted
replaced
46 fun prove_vc vc_name lthy = |
46 fun prove_vc vc_name lthy = |
47 let |
47 let |
48 val thy = Proof_Context.theory_of lthy; |
48 val thy = Proof_Context.theory_of lthy; |
49 val (ctxt, stmt) = get_vc thy vc_name |
49 val (ctxt, stmt) = get_vc thy vc_name |
50 in |
50 in |
51 Specification.theorem Thm.theoremK NONE |
51 Specification.theorem true Thm.theoremK NONE |
52 (fn thmss => (Local_Theory.background_theory |
52 (fn thmss => (Local_Theory.background_theory |
53 (SPARK_VCs.mark_proved vc_name (flat thmss)))) |
53 (SPARK_VCs.mark_proved vc_name (flat thmss)))) |
54 (Binding.name vc_name, []) [] ctxt stmt false lthy |
54 (Binding.name vc_name, []) [] ctxt stmt false lthy |
55 end; |
55 end; |
56 |
56 |