equal
deleted
inserted
replaced
611 else (body, bodyT, Object_Logic.atomize (Thm.cterm_of thy t)) |
611 else (body, bodyT, Object_Logic.atomize (Thm.cterm_of thy t)) |
612 end; |
612 end; |
613 |
613 |
614 (* achieve plain syntax for locale predicates (without "PROP") *) |
614 (* achieve plain syntax for locale predicates (without "PROP") *) |
615 |
615 |
616 fun aprop_tr' n c = (Syntax.mark_const c, fn ctxt => fn args => |
616 fun aprop_tr' n c = (Lexicon.mark_const c, fn ctxt => fn args => |
617 if length args = n then |
617 if length args = n then |
618 Syntax.const "_aprop" $ (* FIXME avoid old-style early externing (!??) *) |
618 Syntax.const "_aprop" $ (* FIXME avoid old-style early externing (!??) *) |
619 Term.list_comb (Syntax.free (Consts.extern (ProofContext.consts_of ctxt) c), args) |
619 Term.list_comb (Syntax.free (Consts.extern (ProofContext.consts_of ctxt) c), args) |
620 else raise Match); |
620 else raise Match); |
621 |
621 |