equal
deleted
inserted
replaced
518 val tac = ALLGOALS (ProofContext.fact_tac facts); |
518 val tac = ALLGOALS (ProofContext.fact_tac facts); |
519 val prfx = class_prefix class; |
519 val prfx = class_prefix class; |
520 in |
520 in |
521 thy |
521 thy |
522 |> fold_map (get_remove_global_constraint o fst o snd) params |
522 |> fold_map (get_remove_global_constraint o fst o snd) params |
523 ||> prove_interpretation tac ((false, prfx), []) (Locale.Locale class) (inst, defs) |
523 ||> prove_interpretation tac ((false, prfx), []) (Locale.Locale class) |
|
524 (inst, map (fn def => (("", []), def)) defs) |
524 |-> (fn cs => fold (Sign.add_const_constraint o apsnd SOME) cs) |
525 |-> (fn cs => fold (Sign.add_const_constraint o apsnd SOME) cs) |
525 end; |
526 end; |
526 |
527 |
527 fun intro_classes_tac facts st = |
528 fun intro_classes_tac facts st = |
528 let |
529 let |