equal
deleted
inserted
replaced
665 fun const_ast_tr intern ctxt [Ast.Variable c] = |
665 fun const_ast_tr intern ctxt [Ast.Variable c] = |
666 let |
666 let |
667 val Const (c', _) = ProofContext.read_const_proper ctxt false c; |
667 val Const (c', _) = ProofContext.read_const_proper ctxt false c; |
668 val d = if intern then Lexicon.mark_const c' else c; |
668 val d = if intern then Lexicon.mark_const c' else c; |
669 in Ast.Constant d end |
669 in Ast.Constant d end |
|
670 | const_ast_tr intern ctxt [Ast.Appl [Ast.Constant "_constrain", x, T]] = |
|
671 Ast.Appl [Ast.Constant "_constrain", const_ast_tr intern ctxt [x], T] |
670 | const_ast_tr _ _ asts = raise Ast.AST ("const_ast_tr", asts); |
672 | const_ast_tr _ _ asts = raise Ast.AST ("const_ast_tr", asts); |
671 |
673 |
672 |
674 |
673 (* setup translations *) |
675 (* setup translations *) |
674 |
676 |