equal
deleted
inserted
replaced
28 let |
28 let |
29 val ctxt = ProofContext.init_global thy |
29 val ctxt = ProofContext.init_global thy |
30 |> ProofContext.allow_dummies |
30 |> ProofContext.allow_dummies |
31 |> ProofContext.set_mode ProofContext.mode_schematic; |
31 |> ProofContext.set_mode ProofContext.mode_schematic; |
32 val parse = if T = propT then Syntax.parse_prop else Syntax.parse_term; |
32 val parse = if T = propT then Syntax.parse_prop else Syntax.parse_term; |
33 in parse ctxt s |> Type_Infer.constrain T |> Syntax.check_term ctxt end; |
33 in parse ctxt s |> Type.constraint T |> Syntax.check_term ctxt end; |
34 |
34 |
35 |
35 |
36 (**** METAHYPS -- tactical for using hypotheses as meta-level assumptions |
36 (**** METAHYPS -- tactical for using hypotheses as meta-level assumptions |
37 METAHYPS (fn prems => tac prems) i |
37 METAHYPS (fn prems => tac prems) i |
38 |
38 |