equal
deleted
inserted
replaced
133 val ((_, intros), ctxt') = Variable.import true intros ctxt |
133 val ((_, intros), ctxt') = Variable.import true intros ctxt |
134 val (intros', (local_defs, thy')) = (fold_map o fold_map_atoms) |
134 val (intros', (local_defs, thy')) = (fold_map o fold_map_atoms) |
135 (flatten constname) (map prop_of intros) ([], thy) |
135 (flatten constname) (map prop_of intros) ([], thy) |
136 val ctxt'' = Proof_Context.transfer thy' ctxt' |
136 val ctxt'' = Proof_Context.transfer thy' ctxt' |
137 val intros'' = |
137 val intros'' = |
138 map (fn t => Goal.prove ctxt'' [] [] t (fn _ => ALLGOALS Skip_Proof.cheat_tac)) intros' |
138 map (fn t => Goal.prove ctxt'' [] [] t (fn _ => ALLGOALS (Skip_Proof.cheat_tac ctxt''))) intros' |
139 |> Variable.export ctxt'' ctxt |
139 |> Variable.export ctxt'' ctxt |
140 in |
140 in |
141 (intros'', (local_defs, thy')) |
141 (intros'', (local_defs, thy')) |
142 end |
142 end |
143 |
143 |